hyprland: restart foot/waybar/hyprpaper on startup

Add bind to pull emacs config before starting

Set steam workspace rule back to silent to avoid popups stealing focus
all the time...
This commit is contained in:
Evie Litherland-Smith 2024-03-24 08:31:26 +00:00
parent e6fb581ac8
commit e59297c801

View file

@ -202,7 +202,7 @@
"workspace 2, firefox" "workspace 2, firefox"
"workspace 3, (signal|whatsapp-for-linux|teams-for-linux)" "workspace 3, (signal|whatsapp-for-linux|teams-for-linux)"
"workspace 4, (libreoffice|soffice)(.*)" "workspace 4, (libreoffice|soffice)(.*)"
"workspace 5, steam" "workspace 5 silent, steam" # Keep silent to avoid popups taking focus
"workspace 6, (WebCord|com.obsproject.Studio)" "workspace 6, (WebCord|com.obsproject.Studio)"
# Float + move system windows # Float + move system windows
@ -291,6 +291,7 @@
# Common program shortcuts # Common program shortcuts
"SUPER, Return, exec, ${foot.package}/bin/footclient" "SUPER, Return, exec, ${foot.package}/bin/footclient"
"SUPER, E, exec, ${emacs.finalPackage}/bin/emacsclient -c" "SUPER, E, exec, ${emacs.finalPackage}/bin/emacsclient -c"
"SUPER SHIFT, E, exec, ${git.package}/bin/git -C ${config.xdg.configHome}/emacs pull --ff-only && ${emacs.finalPackage}/bin/emacsclient -c"
# Rofi binds # Rofi binds
"SUPER, Space, exec, pkill rofi || ${rofi.finalPackage}/bin/rofi -show drun" "SUPER, Space, exec, pkill rofi || ${rofi.finalPackage}/bin/rofi -show drun"
@ -370,7 +371,7 @@
}; };
extraConfig = '' extraConfig = ''
exec-once = systemctl --user import-environment WAYLAND_DISPLAY QT_QPA_PLATFORMTHEME exec-once = systemctl --user import-environment WAYLAND_DISPLAY QT_QPA_PLATFORMTHEME
exec-once = systemctl --user restart "xdg-desktop-portal*" exec-once = systemctl --user restart "xdg-desktop-portal*" foot waybar hyprpaper
''; '';
}; };
xdg.configFile = { xdg.configFile = {