summary refs log tree commit diff
path: root/.config/sway
diff options
context:
space:
mode:
Diffstat (limited to '.config/sway')
-rw-r--r--.config/sway/auto.conf2
-rw-r--r--.config/sway/binds.conf13
-rw-r--r--.config/sway/config20
-rw-r--r--.config/sway/input.conf4
4 files changed, 28 insertions, 11 deletions
diff --git a/.config/sway/auto.conf b/.config/sway/auto.conf
index 6afe96b..fe004f9 100644
--- a/.config/sway/auto.conf
+++ b/.config/sway/auto.conf
@@ -18,6 +18,8 @@ for_window [app_id="firefox" title="^Developer Tools"] floating enable
 for_window [app_id="firefox" title="Sharing Indicator$"] floating enable, border none, move position 0 ppt 50 ppt, sticky enable
 for_window [app_id="firefox" title="^Close tabs?"] floating enable
 for_window [app_id="firefox" title="^File Upload$"] exec centercon -w .6
+for_window [app_id="firefox" title="^Save As$"] exec centercon -w .6
+for_window [app_id="Telegram" title="^Choose Files$"] floating enable; exec centercon -w .6
 
 # Tag windows
 for_window [app_id="firefox"] mark browser
diff --git a/.config/sway/binds.conf b/.config/sway/binds.conf
index f8591d6..838c78e 100644
--- a/.config/sway/binds.conf
+++ b/.config/sway/binds.conf
@@ -35,6 +35,7 @@ bindsym $mod+Shift+e exec swaynag \
 
 bindsym $mod+Shift+backspace exec lock
 
+bindsym Print exec grimshot copy output
 bindsym $mod+Shift+s mode "screengrab"
 mode "screengrab" {
 bindsym a exec grimshot save screen; mode "default"
@@ -49,7 +50,7 @@ bindsym Escape mode "default"
 bindsym $mod+Shift+b border toggle
 bindsym $mod+Shift+r output - transform 90 clockwise
 
-bindsym $mod+a exec soundswitch
+bindsym $mod+Shift+a exec soundswitch
 # }}}
 
 # Moving around {{{
@@ -236,4 +237,14 @@ bindsym XF86MonBrightnessDown exec light -U 5
 bindsym XF86AudioPlay exec playerctl -p playerctld play-pause
 bindsym XF86AudioNext exec playerctl -p playerctld next
 bindsym XF86AudioPrev exec playerctl -p playerctld previous
+
+bindsym XF86WakeUp exec true
+# switch video mode
+bindsym XF86Display exec sh -c 'killall kanshi; exec kanshi'
+# config
+bindsym XF86Tools exec true
+# keyboard
+bindsym XF86Keyboard exec light -S 0
+# bookmarks
+bindsym XF86Favorites exec light -S 100
 # }}}
diff --git a/.config/sway/config b/.config/sway/config
index a2a64e4..c5b46dd 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -1,20 +1,22 @@
 # vim: ft=i3config fdm=marker
 
-exec doas rc gui
-
 output * scale 1
 output * max_render_time 1
 output * adaptive_sync on
 
-exec_always sh -c 'killall kanshi; exec kanshi'
-exec_always sh -c 'killall oguri; exec oguri; oguri-cycle'
-exec_always sh -c 'killall waybar; exec waybar'
-#exec_always kanshictl reload
+# exec_always sh -c 'killall oguri; exec oguri;'
+exec oguri
+# exec_always sh -c 'killall kanshi; exec kanshi;'
+exec kanshi
+# exec_always sh -c 'killall waybar; exec waybar;'
+exec waybar
+
+#exec doas rc sway
 
 exec light -S 80
 exec redshift
+exec pipewire
 exec mako
-# exec mpd-mpris -no-instance
 exec swayidle -w \
 	timeout 540 'lock' \
 	timeout 800 'swaymsg output \* dpms off' \
@@ -39,6 +41,8 @@ set $right l
 
 set $term alacritty
 set $floating_term $term --config-file $HOME/.config/alacritty/launcher.yml --class '__floating-Alacritty'
+# set $term foot
+# set $floating_term $term --app-id '__floating-term'
 set $menu menu -drun
 # set $menu wofi -k /dev/null --terminal $term --show drun
 set $run_menu menu -run
@@ -101,4 +105,4 @@ client.urgent $urgent2 $urgent $text $indicator $urgent
 # }}}
 
 # include config.d/*
-include "`uname -n`"
+# include "`uname -n`"
diff --git a/.config/sway/input.conf b/.config/sway/input.conf
index dc617a6..2635a50 100644
--- a/.config/sway/input.conf
+++ b/.config/sway/input.conf
@@ -14,7 +14,7 @@ input 65261:25700:Input_Club_Infinity_keyboard/QMK {
    repeat_rate 70
    repeat_delay 200
 }
-input 65261:24672:OLKB_Planck {
+input 12951:50895:ZSA_Technology_Labs_Planck_EZ_Glow {
    xkb_layout us
    xkb_variant mac
    xkb_options 'caps:hyper,lvl3:ralt_switch_multikey,eurosign:5'
@@ -22,7 +22,7 @@ input 65261:24672:OLKB_Planck {
    repeat_delay 200
 }
 
-input 2:7:SynPS/2_Synaptics_TouchPad {
+input 1739:0:Synaptics_TM3289-021 {
    tap enabled
    natural_scroll enabled
    accel_profile adaptive