aboutsummaryrefslogtreecommitdiff
path: root/Common/sway/config
diff options
context:
space:
mode:
authorjakob.stendahl <jakob.stendahl@infomedia.dk>2023-10-10 07:56:02 +0200
committerjakob.stendahl <jakob.stendahl@infomedia.dk>2023-10-10 07:56:17 +0200
commit643fdee5981c72dd5e972d3158806e90ae4b420f (patch)
treef322414b61e4c59061bcefb00f80b7b3be1d6b87 /Common/sway/config
parent5cfffcdc264e62f2b1680620774e34d9f60a4d4e (diff)
downloaddotfiles-643fdee5981c72dd5e972d3158806e90ae4b420f.tar.gz
dotfiles-643fdee5981c72dd5e972d3158806e90ae4b420f.zip
Do some changes, switch to alacritty, etc
Diffstat (limited to 'Common/sway/config')
-rw-r--r--Common/sway/config20
1 files changed, 13 insertions, 7 deletions
diff --git a/Common/sway/config b/Common/sway/config
index c5c59b9..3e0fc33 100644
--- a/Common/sway/config
+++ b/Common/sway/config
@@ -49,9 +49,9 @@ exec blueman-applet
exec udiskie
### Turn off screen on lid closed
-set $laptop eDP-1
-bindswitch lid:on output $laptop disable
-bindswitch lid:off output $laptop enable
+# set $laptop eDP-1
+# bindswitch lid:on output $laptop disable
+# bindswitch lid:off output $laptop enable
############# Bindings ##################
@@ -160,6 +160,8 @@ bindsym $Mod+Shift+Mod2+KP_Up move container to workspace number 8; workspace
bindsym $Mod+space floating toggle
floating_modifier $Mod normal
+bindsym $Mod+Shift+t sticky toggle
+
# Sway has a "scratchpad", which is a bag of holding for windows.
# You can send windows there and get them back later.
@@ -230,9 +232,10 @@ focus_on_window_activation focus
# container layout
bindsym $Mod+h split h
bindsym $Mod+v split v
-bindsym $Mod+Shift+t layout tabbed
-bindsym $Mod+Shift+s layout stacking
-bindsym $Mod+Shift+h layout toggle split
+#bindsym $Mod+Shift+t layout tabbed
+#bindsym $Mod+Shift+s layout stacking
+#bindsym $Mod+Shift+h layout toggle split
+
default_orientation horizontal
@@ -264,8 +267,11 @@ bar {
# focus, floating, & sticky
for_window [app_id="(?i)(?:blueman-manager|azote|gnome-disks|Thunar|wdisplays)"] floating enable
-for_window [app_id="(?i)(?:pavucontrol|nm-connection-editor|gsimplecal|galculator)"] floating enable
+for_window [app_id="(?i)(?:pavucontrol|nm-connection-editor|gsimplecal|galculator|gnome-calculator|calculator)"] floating enable
for_window [app_id="(?i)(?:firefox|chromium)"] border none
for_window [title="(?i)(?:copying|deleting|moving)"] floating enable
+for_window [title="(?i)(?:Cssh|cssh)"] border none floating enable
+for_window [app_id="(?i)(?:Cssh|cssh)"] floating enable
+for_window [title="CSSH"] floating enable
popup_during_fullscreen smart