aboutsummaryrefslogtreecommitdiff
path: root/Common/sway
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
parent5cfffcdc264e62f2b1680620774e34d9f60a4d4e (diff)
downloaddotfiles-643fdee5981c72dd5e972d3158806e90ae4b420f.tar.gz
dotfiles-643fdee5981c72dd5e972d3158806e90ae4b420f.zip
Do some changes, switch to alacritty, etc
Diffstat (limited to 'Common/sway')
-rw-r--r--Common/sway/autostart4
-rw-r--r--Common/sway/config20
l---------Common/sway/sway1
-rw-r--r--Common/sway/variables2
4 files changed, 17 insertions, 10 deletions
diff --git a/Common/sway/autostart b/Common/sway/autostart
index 5b8710e..9adfafc 100644
--- a/Common/sway/autostart
+++ b/Common/sway/autostart
@@ -1,5 +1,5 @@
-exec rm /tmp/nwg-shell-check-update.lock
-exec wlsunset -l 59.9614 -L 10.925 -t 4500 -T 6500 -g 1.0
+#exec rm /tmp/nwg-shell-check-update.lock
+#exec wlsunset -l 59.9614 -L 10.925 -t 4500 -T 6500 -g 1.0
#exec swaync -s /home/jakob/.config/swaync/preset-1.css
exec nm-applet --indicator
#exec_always nwg-autotiling
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
diff --git a/Common/sway/sway b/Common/sway/sway
new file mode 120000
index 0000000..f217ee1
--- /dev/null
+++ b/Common/sway/sway
@@ -0,0 +1 @@
+/home/jakob/_code/dotfiles/Common/sway \ No newline at end of file
diff --git a/Common/sway/variables b/Common/sway/variables
index a0d521b..934265d 100644
--- a/Common/sway/variables
+++ b/Common/sway/variables
@@ -1,4 +1,4 @@
-set $term foot
+set $term alacritty
set $browser google-chrome-stable --enable-features=UseOzonePlatform --ozone-platform=wayland
set $filemanager thunar
set $editor emacs