update sway config

This commit is contained in:
dalahast 2020-09-07 15:20:53 +02:00
parent e71c853be9
commit 877b5069a6
Signed by: dalahast
GPG Key ID: 504A02165E7FA6B2

@ -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:
#