From f1f129b483f8b916fa3a44e7897ea9319d82837c Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Wed, 17 Jun 2020 18:20:00 +0200 Subject: sway: move exec from host config to root config --- .config/sway/config | 31 +++++++++++++++++++++++++++++++ .config/sway/hibiki | 36 ------------------------------------ 2 files changed, 31 insertions(+), 36 deletions(-) delete mode 100644 .config/sway/hibiki (limited to '.config') diff --git a/.config/sway/config b/.config/sway/config index 4f9f41b..0aaabc9 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -1,5 +1,31 @@ # vim: ft=i3 fdm=marker +output * scale 1 +exec doas /etc/init.d/kanshi restart + +# output * max_render_time 1 +# output * adaptive_sync on + +exec oguri +exec_always ogurictl output --image output $HOME/.background * + +exec redshift +exec mako +exec mpd-mpris -no-instance +exec swayidle -w \ + timeout 540 'lock' \ + timeout 600 'swaymsg "output * dpms off"' \ + resume 'swaymsg "output * dpms on"' \ + before-sleep 'lock' \ + lock lock + +# for_window [app_id=Alacritty] max_render_time 2 +# for_window [app_id=firefox] max_render_time 3 +# seat * hide_cursor 2000 + +set $laptop eDP-1 +set $desk "Dell Inc. DELL U2518D 3C4YP87AAK3L" + set $mod Mod4 set $alt Mod1 @@ -41,6 +67,8 @@ include binds.conf include auto.conf # style {{{ +font pango:Iosevka Sparkle 12 + set $text #FCFAF2 set $text2 #BDC0BA set $bg #1C1C1C @@ -62,3 +90,6 @@ client.urgent $urgent2 $urgent $text $indicator $urgent # include config.d/* include "`uname -n`" + +exec_always kanshictl reload +exec_always doas /etc/init.d/waybar restart diff --git a/.config/sway/hibiki b/.config/sway/hibiki deleted file mode 100644 index 5a61f59..0000000 --- a/.config/sway/hibiki +++ /dev/null @@ -1,36 +0,0 @@ -# vim: ft=i3 - -set $laptop eDP-1 -set $desk "Dell Inc. DELL U2518D 3C4YP87AAK3L" - -font pango:Iosevka Sparkle 12 - -output * scale 1 -output * max_render_time 1 -output * adaptive_sync on - -# for_window [app_id=Alacritty] max_render_time 2 -# for_window [app_id=firefox] max_render_time 3 -# seat * hide_cursor 2000 - -bar { - swaybar_command waybar -} - -exec oguri -exec_always ogurictl output --image output $HOME/.background * - -exec redshift -exec mako -exec swayidle -w \ - timeout 540 'lock' \ - timeout 600 'swaymsg "output * dpms off"' \ - resume 'swaymsg "output * dpms on"' \ - before-sleep 'lock' \ - lock lock - -exec_always kanshictl reload - -# clampshell mode? -#bindswitch --locked lid:on output $laptop disable -#bindswitch --locked lid:off output $laptop enable -- cgit 1.4.1