dotfiles

:)
git clone https://git.sr.ht/~ashymad/dotfiles
Log | Files | Refs | Submodules | LICENSE

commit e9cfaa75fe90ff41bbb442aa5bf6cbd835e298aa
parent 85e052d9f391274523d3e800b6c63c4975ab54ae
Author: Szymon Mikulicz <szymon.mikulicz@posteo.net>
Date:   Tue, 11 Nov 2025 10:55:32 +0100

Up

Diffstat:
Mcmus/.cmus/rc | 1-
Mfeh/.fehbg | 2+-
Mfish/.config/fish/config.fish | 8++++++--
Mfoot/.config/foot/foot.ini | 8++++----
Mnvim/.config/nvim/lua/plugins.lua | 21++++++++++-----------
Msway/.config/sway/config | 37+++++++++++++++++++------------------
Mwaybar/.config/waybar/config | 15+++------------
Mzathura/.config/zathura/zathurarc | 2+-
8 files changed, 44 insertions(+), 50 deletions(-)

diff --git a/cmus/.cmus/rc b/cmus/.cmus/rc @@ -4,7 +4,6 @@ set mixer.alsa.device=sysdefault:CARD=CODEC set mixer.alsa.channel=master set mouse=true set resume=true -set status_display_program=/home/szymon.mikulicz/.cmus/cmus-geeqie.sh colorscheme night shell tmux set status off bind -f common q shell tmux bind-key -n 'q' detach \\\; unbind-key -n 'q'; sleep 1; tmux unbind-key -n 'q' diff --git a/feh/.fehbg b/feh/.fehbg @@ -1,6 +1,6 @@ #!/usr/bin/env bash if [[ $1 == "r" ]]; then - WP="$(find ~/Pictures/Wallpapers -type f -name '*.jpg' -o -name '*.png' | perl -MList::Util -e 'print List::Util::shuffle <>' | head -1)" + WP="$(find /usr/share/backgrounds/ -type f -name '*.jpg' -o -name '*.png' | perl -MList::Util -e 'print List::Util::shuffle <>' | head -1)" echo "$WP" ln -fs "$WP" ~/.config/sway/BG fi diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish @@ -9,7 +9,9 @@ if test -n "$NVIM" alias nvim 'nvr -s' end -alias cmus='tmux attach-session -t cmus || tmux new-session -A -D -s cmus /usr/bin/cmus' +source "$HOME/.cargo/env.fish" + +alias cmus='tmux attach-session -t cmus || tmux new-session -A -D -s cmus ~/.local/bin/cmus' alias :q exit alias :e 'nvr -s' @@ -17,4 +19,6 @@ alias :e 'nvr -s' alias :split 'swaymsg split v\; exec alacritty' alias :vsplit 'swaymsg split h\; exec alacritty' -#direnv hook fish | source +set ET_NO_TELEMETRY 1 +set -x SSH_AUTH_SOCK "$XDG_RUNTIME_DIR/arista-ssh/agent.sock" +set -x PERL5LIB "$HOME/.local/lib/perl5/" diff --git a/foot/.config/foot/foot.ini b/foot/.config/foot/foot.ini @@ -8,7 +8,7 @@ # title=foot # locked-title=no -font=CodeNewRoman Nerd Font:size=8 +font=CodeNewRoman Nerd Font:size=9 # font-bold=<bold variant of regular font> # font-italic=<italic variant of regular font> # font-bold-italic=<bold+italic variant of regular font> @@ -21,7 +21,7 @@ font=CodeNewRoman Nerd Font:size=8 # underline-thickness=<font underline thickness> # strikeout-thickness=<font strikeout thickness> # box-drawings-uses-font-glyphs=no -# dpi-aware=no +dpi-aware=yes # initial-window-size-pixels=700x500 # Or, # initial-window-size-chars=<COLSxROWS> @@ -41,7 +41,7 @@ font=CodeNewRoman Nerd Font:size=8 [environment] # name=value -[security] +# [security] # osc52=enabled # disabled|copy-enabled|paste-enabled|enabled [bell] @@ -51,7 +51,7 @@ font=CodeNewRoman Nerd Font:size=8 # command= # command-focused=no -[desktop-notifications] +# [desktop-notifications] # command=notify-send --wait --app-name ${app-id} --icon ${app-id} --category ${category} --urgency ${urgency} --expire-time ${expire-time} --hint STRING:image-path:${icon} --hint BOOLEAN:suppress-sound:${muted} --hint STRING:sound-name:${sound-name} --replace-id ${replace-id} ${action-argument} --print-id -- ${title} ${body} # command-action-argument=--action ${action-name}=${action-label} # close="" diff --git a/nvim/.config/nvim/lua/plugins.lua b/nvim/.config/nvim/lua/plugins.lua @@ -27,6 +27,8 @@ require('lazy').setup({ { 'mboughaba/i3config.vim', ft = {'i3config'}}, + { 'janet-lang/janet.vim', ft = {'janet'}}, + { "nvimdev/lspsaga.nvim", config = function() require('lspsaga').setup({}) @@ -98,23 +100,20 @@ require('lazy').setup({ }, { 'xiyaowong/nvim-transparent', + dependencies = { + 'akinsho/bufferline.nvim', + 'nvim-lualine/lualine.nvim' + }, config = function() - require("transparent").setup({ - extra_groups = { - "BufferLineTabClose", - "BufferlineBufferSelected", - "BufferLineFill", - "BufferLineBackground", - "BufferLineSeparator", - "BufferLineIndicatorSelected", - }, - exclude_groups = {}, -- table: groups you don't want to clear - }) + require("transparent").setup({}) + require('transparent').clear_prefix('BufferLine') + require 'transparent'.clear_prefix("TabLine") end }, {'akinsho/bufferline.nvim', dependencies = 'nvim-tree/nvim-web-devicons', + lazy = false, config = function() vim.opt.termguicolors = true require("bufferline").setup({ diff --git a/sway/.config/sway/config b/sway/.config/sway/config @@ -3,7 +3,7 @@ include /etc/sway/config.d/* set $mod Mod4 -font pango:Tamsyn 7 +font pango:Tamsyn 10 floating_modifier $mod @@ -74,7 +74,6 @@ bindsym $mod+Shift+0 move container to workspace 10 bindsym $mod+Shift+c reload bindsym $mod+Shift+r restart - mode "resize" { bindsym l resize shrink width 10 px or 10 ppt bindsym semicolon resize grow height 10 px or 10 ppt @@ -95,9 +94,9 @@ set $power_control "[l]ock log[o]ut [s]uspend [r]eboot [p]oweroff" mode $power_control { bindsym l exec ~/.config/sway/lock.sh; mode "default" bindsym o exec swaymsg exit; mode "default" - bindsym s exec loginctl suspend; mode "default" - bindsym r exec loginctl reboot; mode "default" - bindsym p exec loginctl poweroff; mode "default" + bindsym s exec systemctl suspend; mode "default" + bindsym r exec systemctl reboot; mode "default" + bindsym p exec systemctl poweroff; mode "default" bindsym Return mode "default" bindsym Escape mode "default" @@ -110,24 +109,23 @@ titlebar_padding 2 2 gaps inner 2 # Pulse Audio controls -bindsym XF86AudioRaiseVolume exec --no-startup-id ~/.local/bin/pwctl 0.1 -bindsym XF86AudioLowerVolume exec --no-startup-id ~/.local/bin/pwctl -0.1 +bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% +bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle # C* Music Player controls -bindsym XF86AudioPlay exec --no-startup-id mpc toggle -bindsym XF86AudioStop exec --no-startup-id mpc stop -bindsym XF86AudioNext exec --no-startup-id mpc next -bindsym XF86AudioPrev exec --no-startup-id mpc prev +bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause +bindsym XF86AudioStop exec --no-startup-id playerctl stop +bindsym XF86AudioNext exec --no-startup-id playerctl next +bindsym XF86AudioPrev exec --no-startup-id playerctl prev -bindsym $mod+c exec alacritty --class CMUS -e fish -c cmus +bindsym $mod+c exec ymuse # Screen brightness controls -bindsym Ctrl+F8 exec backlight - 10 -bindsym Ctrl+F9 exec backlight + 10 - -bindsym Ctrl+Shift+F8 exec backlight - 5 -bindsym Ctrl+Shift+F9 exec backlight + 5 +bindsym XF86MonBrightnessDown exec brightnessctl s 10%- +bindsym XF86MonBrightnessUp exec brightnessctl s +10% +bindsym Ctrl+XF86MonBrightnessDown exec brightnessctl s 1%- +bindsym Ctrl+XF86MonBrightnessUp exec brightnessctl s +1% bindsym Shift+XF86LaunchA input type:touchpad events toggle enabled disabled @@ -158,7 +156,7 @@ for_window [instance="mpv"] pixel 0 for_window [instance="^r_x11$"] floating enable for_window [instance="^octave\-gui$"] floating enable for_window [instance="^matplotlib$"] floating enable -for_window [app_id="CMUS"] floating enable +for_window [app_id="ymuse"] floating enable exec ~/.fehbg exec mako @@ -171,4 +169,7 @@ exec swayidle \ lock '~/.config/sway/lock.sh' \ before-sleep '~/.config/sway/lock.sh' +exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway + exec_always "pkill waybar; waybar" +exec nm-applet diff --git a/waybar/.config/waybar/config b/waybar/.config/waybar/config @@ -2,12 +2,12 @@ { "layer": "top", // Waybar at top layer "position": "top", // Waybar position (top|bottom|left|right) - // "output": "HDMI-A-1"/, - // "height": 5, // Wayba heigh:te + //"output": "HDMI-A-1", + //"height": 30, // Wayba heigh:te // "width": 1280, // Waybar width // Choose the order of the modules "modules-left": ["tray", "sway/workspaces", "sway/mode"], - "modules-center": ["mpd"], + "modules-center": ["mpris"], "modules-right": ["idle_inhibitor", "pulseaudio", "cpu", "memory", "temperature", "battery", "clock"], // Modules configuration "sway/workspaces": { @@ -87,14 +87,5 @@ "default": ["", ""] }, "on-click": "pavucontrol" - }, - "custom/cmus": { - "format": "{}", - "max-length": 40, - "escape": true, - "interval": 1, - "exec": "$HOME/.config/waybar/cmus.sh 2> /dev/null", - "on-click": "cmus-remote --pause", - "exec-if": "pgrep cmus" } } diff --git a/zathura/.config/zathura/zathurarc b/zathura/.config/zathura/zathurarc @@ -1,5 +1,5 @@ set synctex true -set synctex-editor-command "nvr +%{line} %{input}" +set synctex-editor-command "nvim --remote +%{line} %{input}" set default-bg rgba(40,44,52,0.9) set statusbar-bg rgba(40,44,52,1) set recolor true