summary refs log tree commit diff
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2022-11-18 17:32:01 +0100
committerRobert Günzler <r@gnzler.io>2022-11-18 18:38:19 +0100
commitf43d079c051524bc559e6d9328ce310b0a49c21e (patch)
treed58af109275deea93fb4cdb09478e787c58ca9ad
parent69b79cec96193fb65e56d3fee4426fd73088a056 (diff)
sway: update
-rw-r--r--.config/sway/auto.conf3
-rw-r--r--.config/sway/binds.conf16
-rw-r--r--.config/sway/config6
-rw-r--r--.config/sway/input.conf1
4 files changed, 19 insertions, 7 deletions
diff --git a/.config/sway/auto.conf b/.config/sway/auto.conf
index 755095d..766974b 100644
--- a/.config/sway/auto.conf
+++ b/.config/sway/auto.conf
@@ -18,6 +18,7 @@ for_window [app_id="firefox" title="^File Upload$"] floating enable
 for_window [app_id="firefox" title="^Open Firefox in Troubleshoot Mode?$"] floating enable
 for_window [app_id="firefox" title="^Save As$"] floating enable
 for_window [app_id="firefox"] mark browser
+for_window [app_id="librefox"] mark browser
 for_window [app_id="imv"] floating enable; inhibit_idle open
 for_window [app_id="launcher"] floating enable
 for_window [app_id="mpv"] floating enable; inhibit_idle fullscreen
@@ -27,6 +28,8 @@ for_window [app_id="obs" title="^Local File$"] floating enable; exec centercon -
 for_window [app_id="org.polymc.PolyMC" title="$Console"] floating enable
 for_window [app_id="slack"] mark mail
 for_window [app_id="zoom" title="Settings"] floating enable
+for_window [app_id="zoom" title="^as_toolbar$"] floating enable
+for_window [app_id="zoom" title="^zoom$"] floating enable
 for_window [class="Chromium-browser"] mark browser
 for_window [class="Slack"] mark mail
 for_window [app_id="" title="^Slack"] mark mail
diff --git a/.config/sway/binds.conf b/.config/sway/binds.conf
index b7f618c..fc84b56 100644
--- a/.config/sway/binds.conf
+++ b/.config/sway/binds.conf
@@ -88,8 +88,9 @@ bindsym $mod+Delete [urgent="latest"] focus
 # Workspaces {{{
 # Note: workspaces can have any name you want, not just numbers.
 # We just use 1-10 as the default.
-# bindsym $mod+Shift+comma workspace prev
-# bindsym $mod+Shift+period workspace next
+bindsym $mod+n workspace next
+bindsym $mod+p workspace prev
+
 # switch to workspace
 bindsym $mod+1 workspace $ws1
 bindsym $mod+2 workspace $ws2
@@ -245,7 +246,7 @@ mode "menu" {
 # }}}
 
 # Misc {{{
-bindsym $mod+i exec anthywl-toggle
+bindsym $mod+Shift+i exec anthywl-toggle
 # bindsym $mod+Shift+x mark --toggle "x"
 # bindsym $mod+x [con_mark="x"] focus
 # bindsym $mod+Ctrl+x swap container with mark "x"
@@ -267,11 +268,12 @@ bindsym XF86AudioNext exec playerctl -p playerctld next
 bindsym XF86AudioPrev exec playerctl -p playerctld previous
 
 bindsym XF86WakeUp exec true
-bindsym XF86Display output - dpms on; exec kanshictl reload
-bindsym XF86Tools output - dpms toggle
+bindsym XF86Display output eDP-1 dpms off; output eDP-1 dpms on; exec kanshictl reload
+bindsym XF86Tools output eDP-1 dpms toggle
 bindsym XF86Keyboard exec true
 bindsym XF86Favorites exec s6-svc -r $HOME/.local/share/s6/wlsunset
 
-# macro01
-bindcode 0x290 exec notify-send "macro" "1"
+bindsym $mod+F1 exec notify-send "hello from F1"
+bindsym $mod+F2 exec notify-send "hello from F2"
+bindsym $mod+F3 exec notify-send "hello from F3"
 # }}}
diff --git a/.config/sway/config b/.config/sway/config
index 70e1a6f..cf93cc8 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -82,3 +82,9 @@ exec_always {
 }
 
 include config.d/*
+
+# bar tasks {
+#     swaybar_command waybar -b tasks -c ~/.config/waybar/taskbar.jsonc -l off
+# 		mode hide
+# 		hidden_state show
+# }
diff --git a/.config/sway/input.conf b/.config/sway/input.conf
index 635d298..4246663 100644
--- a/.config/sway/input.conf
+++ b/.config/sway/input.conf
@@ -53,6 +53,7 @@ input $trackpoint {
 # ---------
 input $slimblade {
 	natural_scroll disabled
+	pointer_accel 1
 }
 bindsym --input-device=$slimblade --whole-window button8 seat - cursor press button3, seat - cursor release button3
 bindsym --input-device=$slimblade --whole-window button3 seat - cursor press button8, seat - cursor release button8