summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.config/sway/config31
-rw-r--r--.config/sway/hibiki36
2 files changed, 31 insertions, 36 deletions
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