diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | easyeffectsrc | 2 | ||||
| -rw-r--r-- | firejail/brave.profile | 2 | ||||
| -rw-r--r-- | firejail/qutebrowser.profile | 2 | ||||
| -rw-r--r-- | hypr/hyprland.conf | 89 | ||||
| -rw-r--r-- | hypr/pyprland.toml | 5 | ||||
| -rw-r--r-- | lf/lfrc | 26 | ||||
| -rw-r--r-- | pypr/config.toml | 78 | ||||
| -rw-r--r-- | wireplumber/wireplumber.conf.d/alsa-vm.conf | 17 |
9 files changed, 153 insertions, 69 deletions
@@ -121,6 +121,7 @@ kritarc ksh/history kwalletrc lab/ +Ladybird/ lbry/ LBRY/ LBRY-GTK/ 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 diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 64384e4..c8acf17 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -22,7 +22,7 @@ exec-once = hyprpaper #exec-once = hypridle exec-once = waybar exec-once = pypr -exec-once = hyprscratch init +#exec-once = hyprscratch init exec-once = lxqt-policykit-agent exec-once = import-gsettings gtk-theme 'Flat-Remix-GTK-Green-Darkest' exec-once = import-gsettings icon-theme 'Papirus-Dark' @@ -200,7 +200,7 @@ plugin { } hyprscrolling { - fullscreen_on_one_column = true + fullscreen_on_one_column = false column_width = 0.5 explicit_column_widths = 0.25, 0.333, 0.5, 0.667, 0.75, 1.0 focus_fit_method = 1 @@ -215,19 +215,19 @@ plugin { # Example windowrule v2 # windowrule = float, class:^(kitty)$, title:^(kitty)$ # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more -windowrulev2 = float, match:class ^(lxqt-policykit-agent)$ -windowrulev2 = tile, match:class ^(REAPER)$, match:title ^(REAPER v[0-9.]* - Registered to [A-Za-z ]* \(Licensed for personal/small business use\))$ -windowrulev2 = tile, match:class ^(REAPER)$, match:title ^(reaper)$ -windowrulev2 = tile, match:class ^(REAPER)$, match:title ^(Mixer)$ -windowrulev2 = move onscreen cursor -50% -50%, match:title ^(menu)$ -windowrulev2 = move cursor, match:class REAPER, match:floating on -windowrulev2 = nofocus, match:class REAPER, match:title ^(menu)$ -windowrulev2 = nofocus, match:class REAPER, match:title ^$ +windowrule = float on, match:class ^(lxqt-policykit-agent)$ +windowrule = tile on, match:class ^(REAPER)$, match:title ^(REAPER v[0-9.]* - Registered to [A-Za-z ]* \(Licensed for personal/small business use\))$ +windowrule = tile on, match:class ^(REAPER)$, match:title ^(reaper)$ +windowrule = tile on, match:class ^(REAPER)$, match:title ^(Mixer)$ +windowrule = move onscreen cursor -50% -50%, match:title ^(menu)$ +windowrule = move cursor, match:class REAPER, match:float on +windowrule = no_focus on, match:class REAPER, match:title ^(menu)$ +windowrule = no_focus on, match:class REAPER, match:title ^$ # See https://wiki.hypr.land/Configuring/Window-Rules/ for more -windowrulev2 = workspace special:easyeffects silent, match:class ^(com\.github\.wwmm\.easyeffects)$ -windowrulev2 = workspace special:sonobus silent, match:class ^(SonoBus)$ +windowrule = workspace special:easyeffects silent, match:class ^(com\.github\.wwmm\.easyeffects)$ +windowrule = workspace special:sonobus silent, match:class ^(SonoBus)$ # Fix brave xray menus -windowrulev2 = xray 0, match:class ^(\s*), match:title ^(\s*)$ +windowrule = xray 0, match:class ^(\s*), match:title ^(\s*)$ # Center floating XWayland windows windowrule = center on, match:xwayland on, match:class negative:^(steam|REAPER)$ # Make Steam Big Picture Mode fullscreen @@ -244,31 +244,7 @@ windowrule = workspace +0, match:workspace name:spirss, match:title negative:spi windowrule = workspace +0, match:workspace name:spvimw, match:title negative:spvimw windowrule = workspace +0, match:workspace name:sptrmc, match:title negative:sptrmc windowrule = workspace +0, match:workspace name:helvum, match:title negative:helvum -windowrule = workspace +0, match:workspace name:easyeffects, match:title negative:easyeffects -windowrule = center on, match:title sphtop -windowrule = center on, match:title spterm -windowrule = center on, match:title sppmxr -windowrule = center on, match:title spblue -windowrule = center on, match:title spncmp -windowrule = center on, match:title spmutt -windowrule = center on, match:title spprof -windowrule = center on, match:title spirss -windowrule = center on, match:title spvimw -windowrule = center on, match:title sptrmc -windowrule = center on, match:title helvum -windowrule = center on, match:title easyeffects -windowrule = size monitor_w/2 monitor_h/2, match:title ^(sphtop)$ -windowrule = size monitor_w/2 monitor_h/2, match:title ^(spterm)$ -windowrule = size monitor_w/2 monitor_h/2, match:title ^(sppmxr)$ -windowrule = size monitor_w/2 monitor_h/2, match:title ^(spblue)$ -windowrule = size monitor_w/2 monitor_h/2, match:title ^(spncmp)$ -windowrule = size monitor_w/2 monitor_h/2, match:title ^(spmutt)$ -windowrule = size monitor_w/2 monitor_h/2, match:title ^(spprof)$ -windowrule = size monitor_w/2 monitor_h/2, match:title ^(spirss)$ -windowrule = size monitor_w/2 monitor_h/2, match:title ^(spvimw)$ -windowrule = size monitor_w/2 monitor_h/2, match:title ^(sptrmc)$ -windowrule = size monitor_w/2 monitor_h/2, match:title ^(helvum)$ -windowrule = size monitor_w/2 monitor_h/2, match:title ^(easyeffects)$ +windowrule = workspace +0, match:workspace name:easyfx, match:title negative:easyfx #}}} #{{{ Layerrules @@ -470,31 +446,18 @@ bind = $mainMod Control, M, exec, volsv -m #}}} #{{{ Scratchpads -workspace = name:sphtop, persistent:false -workspace = name:spterm, persistent:false -workspace = name:sppmxr, persistent:false -workspace = name:spblue, persistent:false -workspace = name:spncmp, persistent:false -workspace = name:spmutt, persistent:false -workspace = name:spprof, persistent:false -workspace = name:spirss, persistent:false -workspace = name:spvimw, persistent:false -workspace = name:sptrmc, persistent:false -workspace = name:helvum, persistent:false -workspace = name:easyeffects, persistent:false -bind = $mainMod CONTROL, Z, exec, hyprscratch toggle sphtop -bind = $mainMod CONTROL, X, exec, hyprscratch toggle spterm -bind = $mainMod CONTROL, C, exec, hyprscratch toggle sppmxr -bind = $mainMod CONTROL, V, exec, hyprscratch toggle spblue -bind = $mainMod CONTROL, B, exec, hyprscratch toggle spncmp -bind = $mainMod CONTROL, A, exec, hyprscratch toggle spmutt -bind = $mainMod CONTROL, S, exec, hyprscratch toggle spprof -bind = $mainMod CONTROL, D, exec, hyprscratch toggle spirss -bind = $mainMod CONTROL, F, exec, hyprscratch toggle spvimw -bind = $mainMod CONTROL, G, exec, hyprscratch toggle sptrmc -bind = $mainMod CONTROL, Q, exec, hyprscratch toggle helvum -bind = $mainMod CONTROL, E, exec, hyprscratch toggle easyeffects -bind = $mainMod CONTROL, r, exec, hyprscratch toggle sonobus +bind = $mainMod CONTROL, Z, exec, pypr toggle sphtop +bind = $mainMod CONTROL, X, exec, pypr toggle spterm +bind = $mainMod CONTROL, C, exec, pypr toggle sppmxr +bind = $mainMod CONTROL, V, exec, pypr toggle spblue +bind = $mainMod CONTROL, B, exec, pypr toggle spncmp +bind = $mainMod CONTROL, A, exec, pypr toggle spmutt +bind = $mainMod CONTROL, S, exec, pypr toggle spprof +bind = $mainMod CONTROL, D, exec, pypr toggle spirss +bind = $mainMod CONTROL, F, exec, pypr toggle spvimw +bind = $mainMod CONTROL, G, exec, pypr toggle sptrmc +bind = $mainMod CONTROL, Q, exec, pypr toggle helvum +bind = $mainMod CONTROL, E, exec, pypr toggle easyfx #}}} #{{{ OBS bindings diff --git a/hypr/pyprland.toml b/hypr/pyprland.toml deleted file mode 100644 index cacd7f1..0000000 --- a/hypr/pyprland.toml +++ /dev/null @@ -1,5 +0,0 @@ -[pyprland] -plugins = [ - "toggle_special", - "expose" -] @@ -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 }} 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%" 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" + } + } + } +] |
