From 877b5069a6311dc77b2abcb9354eb40865b2e2d8 Mon Sep 17 00:00:00 2001 From: dalahast Date: Mon, 7 Sep 2020 15:20:53 +0200 Subject: [PATCH] update sway config --- .config/sway/config | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index efe5c7a..41b160f 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -14,7 +14,8 @@ set { $menu wofi --show drun | xargs swaymsg exec -- $runmenu wofi --show run | xargs swaymsg exec -- $gnome-schema org.gnome.desktop.interface - $gtk_theme "Adapta-Nokto-Eta" + #$gtk_theme "Adapta-Nokto-Eta" + $gtk_theme "Matcha-dark-azul" $icon_theme "Papirus-Dark" $bg ~/Pictures/drain.png #$lockscreen exec '~/.local/bin/lockscreen' @@ -34,19 +35,24 @@ set { # exec_always --no-startup-id { pkill flashfocus + pkill autotiling + pulseaudio --daemonize + eval $(/usr/bin/gnome-keyring-daemon --start --components=ssh) + /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 gsettings set $gnome-schema gtk-theme $gtk_theme gsettings set $gnome-schema icon-theme $icon_theme gsettings set $gnome-schema font-name 'Cantarell 10' gsettings set $gnome-schema monospace=font-name 'Anka/Coder 11' mako --anchor top-right > /tmp/mako.log 2>&1 flashfocus + autotiling swaymsg focus output $primary evolution - telegram-desktop + Telegram swayidle -w timeout 1200 exec $lockscreen\ - timeout 1201 'swaymsg "output * dpms off"'\ - resume 'swaymsg "output * dpms on"'\ - before-sleep exec $lockscreen + timeout 1201 'swaymsg "output * dpms off"'\ + resume 'swaymsg "output * dpms on"'\ + before-sleep exec $lockscreen } # @@ -92,10 +98,10 @@ output * bg $bg fill bindsym $mod+Shift+c reload # Exit sway (logs you out of your Wayland session) - bindsym $mod+Shift+e exec swaynag -t warning -m 'Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit' + bindsym $mod+Shift+e exec wlogout #swaynag -t warning -m 'Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit' #Lock the session - bindsym Control+Shift+l exec $lockscreen + bindsym Control+alt+l exec $lockscreen # # Program shortcuts @@ -227,7 +233,7 @@ bindsym { # Assign programs to workspaces assign [app_id="evolution"] comm -assign [instance="telegram-desktop"] comm +assign [app_id="telegramdesktop"] comm # # Layout stuff: #