From 9925ddaa97ca6e061dc455b585a76cb0472cb797 Mon Sep 17 00:00:00 2001 From: lelgenio Date: Tue, 15 Jun 2021 02:18:01 -0300 Subject: [PATCH] greetd: template more of the config, inheriting from sway --- dotfiles/greetd/sway-config | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/dotfiles/greetd/sway-config b/dotfiles/greetd/sway-config index a89a499..b860818 100644 --- a/dotfiles/greetd/sway-config +++ b/dotfiles/greetd/sway-config @@ -1,16 +1,9 @@ -exec "gtkgreet -l --command fish; swaymsg exit" +exec "env GTK_THEME='{{@@ gtk_theme @@}}' CURSOR_THEME='{{@@ cursor_theme @@}}' gtkgreet -l --command fish; swaymsg exit" bindsym Mod4+control+z exec systemctl suspend || loginctl suspend bindsym Mod4+control+e exec systemctl poweroff || loginctl poweroff -set $gnome-schema org.gnome.desktop.interface -exec_always { - # In case of errors, kvantummanager opens a window - # this is retarded - gsettings set $gnome-schema gtk-theme 'materia-lelgenio-red-dark' - gsettings set $gnome-schema icon-theme 'Papirus-Dark' - gsettings set $gnome-schema cursor-theme 'capitaine-cursors' -} +{%@@ include _dotdrop_dotpath + '/sway/visual' @@%} {%@@ include _dotdrop_dotpath + '/sway/input' @@%}