qutebrowser+sway tweaks
This commit is contained in:
+11
-12
@@ -185,8 +185,8 @@ bindsym --whole-window --border {
|
||||
# media keys
|
||||
bindsym {
|
||||
# Volume
|
||||
XF86AudioRaiseVolume exec pamixer -ui 2
|
||||
XF86AudioLowerVolume exec pamixer -ud 2
|
||||
XF86AudioRaiseVolume exec pamixer --unmute -i 2
|
||||
XF86AudioLowerVolume exec pamixer --unmute -d 2
|
||||
XF86AudioMute exec pamixer --toggle-mute
|
||||
Pause exec pamixer -ui 2
|
||||
Print exec pamixer -ud 2
|
||||
@@ -254,6 +254,7 @@ bindsym {
|
||||
|
||||
# Launch the browser
|
||||
$mod+i exec qutebrowser
|
||||
$mod+Shift+i exec env QUTE_ENABLE_GPU=1 qutebrowser
|
||||
|
||||
# Launch the file explorer
|
||||
$mod+o exec pcmanfm
|
||||
@@ -294,10 +295,10 @@ exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CU
|
||||
exec hash dbus-update-activation-environment 2>/dev/null && \
|
||||
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP
|
||||
|
||||
# Start foot server
|
||||
exec systemctl --user enable --now foot-server.service
|
||||
|
||||
exec {
|
||||
# Start foot server
|
||||
exec systemctl --user enable --now foot-server.service
|
||||
|
||||
# Set wallpaper
|
||||
~/.azotebg
|
||||
|
||||
@@ -312,6 +313,9 @@ exec {
|
||||
|
||||
# night-time color shift
|
||||
wlsunset -l 59.91:10.76
|
||||
|
||||
# persist clipboard after close
|
||||
wl-clip-persist --clipboard regular --all-mime-type-regex '(?i)^(?!image/x-inkscape-svg).+'
|
||||
}
|
||||
|
||||
exec_always {
|
||||
@@ -324,10 +328,6 @@ exec_always {
|
||||
|
||||
# nwg-drawer
|
||||
nwg-drawer -r -c 7 -is 90 -mb 10 -ml 50 -mr 50 -mt 10
|
||||
|
||||
# persist clipboard after close
|
||||
pkill -x wl-clip-persist
|
||||
wl-clip-persist --clipboard regular --all-mime-type-regex '(?i)^(?!image/x-inkscape-svg).+'
|
||||
}
|
||||
|
||||
# ------------------------------------------
|
||||
@@ -357,9 +357,8 @@ for_window [app_id="org.mozilla.Thunderbird" title="^((?!Mozilla Thunderbird).)*
|
||||
|
||||
# steam
|
||||
# https://github.com/ValveSoftware/steam-for-linux/issues/1040
|
||||
for_window [app_id="^steam$"] floating enable
|
||||
for_window [app_id="^Steam$"] floating enable
|
||||
for_window [app_id="^steam$" title="^Steam$"] floating disable
|
||||
for_window [app_id="(?i)^steam$"] floating enable
|
||||
for_window [app_id="(?i)^steam$" title="^Steam$"] floating disable
|
||||
|
||||
# Inhibit idle
|
||||
for_window [app_id="firefox"] inhibit_idle fullscreen
|
||||
|
||||
Reference in New Issue
Block a user