diff options
| -rw-r--r-- | .gitignore | 2 | ||||
| -rw-r--r-- | easyeffectsrc | 2 | ||||
| -rw-r--r-- | firejail/brave.profile | 2 | ||||
| -rw-r--r-- | firejail/qutebrowser.profile | 2 | ||||
| -rw-r--r-- | lf/lfrc | 30 | ||||
| -rw-r--r-- | mpv/mpv.conf | 2 | ||||
| -rw-r--r-- | ncmpcpp/config | 3 | ||||
| -rw-r--r-- | nvim/lua/options.lua | 3 | ||||
| -rw-r--r-- | nvim/lua/plugins.lua | 2 | ||||
| -rw-r--r-- | pypr/config.toml | 78 | ||||
| -rw-r--r-- | sh/aliases | 1 | ||||
| -rw-r--r-- | wireplumber/wireplumber.conf.d/alsa-vm.conf | 17 |
12 files changed, 138 insertions, 6 deletions
@@ -122,6 +122,7 @@ kritarc ksh/history kwalletrc lab/ +Ladybird/ lbry/ LBRY/ LBRY-GTK/ @@ -161,6 +162,7 @@ musnify-mpd/musnify-mpd.config mutt/ ncmpcpp/error.log neofetch/ +net.tropicbliss.cosmicextappletcaffeine/ newsboat/cache.db newsboat/urls nextcloud/ diff --git a/easyeffectsrc b/easyeffectsrc new file mode 100644 index 0000000..a4cbf66 --- /dev/null +++ b/easyeffectsrc @@ -0,0 +1,2 @@ +[UiSettings] +ColorScheme=BreezeDark diff --git a/firejail/brave.profile b/firejail/brave.profile new file mode 100644 index 0000000..735c05b --- /dev/null +++ b/firejail/brave.profile @@ -0,0 +1,2 @@ +whitelist ~/.local/share/brave_profiles +include /etc/firejail/brave.profile diff --git a/firejail/qutebrowser.profile b/firejail/qutebrowser.profile new file mode 100644 index 0000000..608aff7 --- /dev/null +++ b/firejail/qutebrowser.profile @@ -0,0 +1,2 @@ +whitelist ~/.local/share/qutebrowser-profiles +include /etc/firejail/qutebrowser.profile @@ -2,7 +2,7 @@ set ratios 1:2:3 set previewer ~/.config/lf/previewer set cleaner ~/.config/lf/cleaner # Basic Settings -set sixel true +#set sixel true set preview true set drawbox false set icons true @@ -30,6 +30,30 @@ cmd open ${{ esac }} +# Override paste command +cmd paste ${{ + while read -r line; do + set -- "$@" "$line" + done < ~/.local/share/lf/files + mode="$1" + shift + case "$mode" in + copy) + echo "lf-paste in ${PWD}: rsync -av --backup -- $@ ." >> ~/.cache/lf.log + rsync -av --backup --progress -- "$@" . | + stdbuf -i0 -o0 -e0 tr '\r' '\n' | + while IFS= read -r line; do + lf -remote "send $id echo $line" + done + ;; + move) + echo "lf-paste in ${PWD}: mv -n -- $@ ." >> ~/.cache/lf.log + mv -n -- "$@" .;; + esac + rm ~/.local/share/lf/files + lf -remote "send clear" +}} + cmd execute ${{ exec "$f" }} cmd vimv ${{ exec vimv }} @@ -37,13 +61,13 @@ cmd vimv ${{ exec vimv }} cmd mkdir ${{ printf "Directory Name: " read ans - mkdir $ans + mkdir "$ans" }} cmd mkfile ${{ printf "File Name: " read ans - $EDITOR $ans + $EDITOR "$ans" }} cmd chmod ${{ diff --git a/mpv/mpv.conf b/mpv/mpv.conf index 649af35..7cc3ab4 100644 --- a/mpv/mpv.conf +++ b/mpv/mpv.conf @@ -1,5 +1,5 @@ save-position-on-quit ao=pipewire,pulse,jack -vo=gpu +vo=gpu-next hwdec=yes audio-channels=2 diff --git a/ncmpcpp/config b/ncmpcpp/config index 2b4b68f..4cc4311 100644 --- a/ncmpcpp/config +++ b/ncmpcpp/config @@ -30,7 +30,7 @@ mpd_host = ~/.config/mpd/socket # ## Needed for tag editor and file operations to work. ## -#mpd_music_dir = ~/music +mpd_music_dir = ~/Music # #mpd_crossfade_time = 5 # @@ -271,6 +271,7 @@ visualizer_look = ●▮ ## notifications etc. ## #execute_on_song_change = "" +execute_on_song_change = "songinfo" # ## ## Note: Custom command that will be executed each time player state diff --git a/nvim/lua/options.lua b/nvim/lua/options.lua index ae802be..86dd977 100644 --- a/nvim/lua/options.lua +++ b/nvim/lua/options.lua @@ -84,3 +84,6 @@ vim.g.indent_guides_enable_on_vim_startup = 0 -- vim-signify vim.opt.updatetime = 100 + +-- vim-latex-live-preview +vim.g.livepreview_previewer = 'zathura' diff --git a/nvim/lua/plugins.lua b/nvim/lua/plugins.lua index 0984c21..7428e3b 100644 --- a/nvim/lua/plugins.lua +++ b/nvim/lua/plugins.lua @@ -50,7 +50,7 @@ require("lazy").setup({ 'axvr/org.vim', 'ziglang/zig.vim', 'jdonaldson/vaxe', - 'xuhdev/vim-latex-live-preview', + --'xuhdev/vim-latex-live-preview', 'waycrate/swhkd-vim', 'HiPhish/guile.vim', 'preservim/nerdtree', diff --git a/pypr/config.toml b/pypr/config.toml new file mode 100644 index 0000000..3110ba5 --- /dev/null +++ b/pypr/config.toml @@ -0,0 +1,78 @@ +[pyprland] +plugins = [ + "toggle_special", + "scratchpads", + "expose" +] + +[scratchpads.sphtop] +animation = "fromBottom" +command = "kitty --class sphtop -e htop" +class = "sphtop" +size = "50% 50%" + +[scratchpads.spterm] +animation = "fromBottom" +command = "kitty --class spterm" +class = "spterm" +size = "50% 50%" + +[scratchpads.sppmxr] +animation = "fromBottom" +command = "kitty --class sppmxr -e pulsemixer" +class = "sppmxr" +size = "50% 50%" + +[scratchpads.spblue] +animation = "fromBottom" +command = "kitty --class spblue -e bluetoothctl" +class = "spblue" +size = "50% 50%" + +[scratchpads.spncmp] +animation = "fromBottom" +command = "kitty --class spncmp -e ncmpcpp" +class = "spncmp" +size = "50% 50%" + +[scratchpads.spmutt] +animation = "fromBottom" +command = "kitty --class spmutt -e neomutt" +class = "spmutt" +size = "50% 50%" + +[scratchpads.spprof] +animation = "fromBottom" +command = "kitty --class spprof -e profanity" +class = "spprof" +size = "50% 50%" + +[scratchpads.spirss] +animation = "fromBottom" +command = "kitty --class spirss -e irssi" +class = "spirss" +size = "50% 50%" + +[scratchpads.spvimw] +animation = "fromBottom" +command = "kitty --class spvimw -e vw" +class = "spvimw" +size = "50% 50%" + +[scratchpads.trmc] +animation = "fromBottom" +command = "kitty --class trmc -e tremc" +class = "trmc" +size = "50% 50%" + +[scratchpads.helvum] +animation = "fromBottom" +command = "helvum" +class = "org.pipewire.Helvum" +size = "50% 50%" + +[scratchpads.easyfx] +animation = "fromBottom" +command = "easyeffects" +class = "com.github.wwmm.easyeffects" +size = "50% 50%" @@ -28,6 +28,7 @@ esac alias ll='ls -l' alias lt='ls -l --total-size' alias lts='ls -l --total-size --sort size --reverse' +alias lta='ls -la --total-size --sort size --reverse' alias la='ls -a' alias lla='ls -la' alias lb='lsblk' diff --git a/wireplumber/wireplumber.conf.d/alsa-vm.conf b/wireplumber/wireplumber.conf.d/alsa-vm.conf new file mode 100644 index 0000000..22ca815 --- /dev/null +++ b/wireplumber/wireplumber.conf.d/alsa-vm.conf @@ -0,0 +1,17 @@ +# ALSA node property overrides for HDMI output + +monitor.alsa.rules = [ + # Generic PCI cards on any VM type + { + matches = [ + { node.name = "~alsa_output.*" } + ] + actions = { + update-props = { + audio.format = "S16LE" + audio.channels = 2 + audio.position = "FR,FL" + } + } + } +] |
