From 8432b54eb0184f655ed866d6ccc154acfc836946 Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Wed, 23 Oct 2024 22:33:23 +0200 Subject: [PATCH] Adapt dotfiles to new group syncing in autostart --- .bin/.e | 1 - .config/autostart.toml | 8 ++++---- .config/bspwm/bspwmrc | 1 + .config/hypr/hyprland.conf | 1 + .config/sway/config | 1 + 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.bin/.e b/.bin/.e index 0913d7c..8ef310e 100755 --- a/.bin/.e +++ b/.bin/.e @@ -51,7 +51,6 @@ declare -A directory=( ) declare -A hooks=( - ["autostart.toml"]="autostart-manage sync" ["qutebrowser"]="qutebrowser :config-source" ["qutebrowser-kiosk"]="qutebrowser-kiosk :config-source" # broken due to qutebrowser-kiosk being an alias ["sway"]="sway reload" diff --git a/.config/autostart.toml b/.config/autostart.toml index c08217f..0bd1bf1 100644 --- a/.config/autostart.toml +++ b/.config/autostart.toml @@ -1,5 +1,5 @@ [hosts.portalo] -groups = ['common', 'wayland', 'chat', 'messenger', 'hyprland'] +groups = ['common', 'chat', 'messenger'] [apps.autotiling] command = 'autotiling' @@ -50,7 +50,7 @@ group = 'chat' [apps.hyprland-handler] command = '$XDG_CONFIG_HOME/hypr/handler.sh' hosts = [] -group = 'wayland' +group = 'hyprland' [apps.kdeconnect] command = '$HOME/.nix-profile/libexec/kdeconnectd' @@ -96,7 +96,7 @@ group = '' [apps.sxhkd] command = 'sxhkd' hosts = [] -group = 'x11' +group = 'bspwm' [apps.syncthing] command = 'syncthing serve --no-browser --verbose' @@ -138,7 +138,7 @@ group = 'x11' [apps.waybar] command = 'waybar' hosts = [] -group = 'hyprland' +group = 'wayland' [apps.webhook] command = 'webhook -hooks $XDG_CONFIG_HOME/hooks.yaml -verbose -hotreload' diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc index b573b96..d871f53 100755 --- a/.config/bspwm/bspwmrc +++ b/.config/bspwm/bspwmrc @@ -108,4 +108,5 @@ bspc rule -a 'Thunderbird:Mail' desktop='messenger' locked='true' bspc rule -a 'thunderbird-default:Mail' desktop='messenger' locked='true' bspc rule -a 'thunderbird' desktop='messenger' locked='true' +autostart-manage sync x11,bspwm autostart-manage run-xorg & diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 32d223d..e23de19 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -10,4 +10,5 @@ source = ~/.config/hypr/binds.conf source = ~/.config/hypr/rules.conf exec-once = autostart-manage start wallpaper +exec-once = autostart-manage sync wayland,hyprland exec-once = autostart-manage run-wayland diff --git a/.config/sway/config b/.config/sway/config index b5f5f29..ec0bca0 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -2,4 +2,5 @@ include ~/.config/sway/config.d/*.conf bar swaybar_command waybar +exec_always autostart-manage sync wayland,sway exec_always autostart-manage run-wayland