aboutsummaryrefslogtreecommitdiffstats
path: root/sway
diff options
context:
space:
mode:
Diffstat (limited to 'sway')
-rw-r--r--sway/conf.d/00-theme-vars.conf2
-rw-r--r--sway/conf.d/10-environment.conf2
-rw-r--r--sway/conf.d/20-binds.conf12
-rw-r--r--sway/conf.d/21-rules.conf3
-rw-r--r--sway/conf.d/22-theme.conf4
5 files changed, 15 insertions, 8 deletions
diff --git a/sway/conf.d/00-theme-vars.conf b/sway/conf.d/00-theme-vars.conf
index c8139fa..73eecfe 100644
--- a/sway/conf.d/00-theme-vars.conf
+++ b/sway/conf.d/00-theme-vars.conf
@@ -3,7 +3,7 @@ set $left h
set $down j
set $up k
set $right l
-set $term kitty
+set $term alacritty
set $menu wofi
# Colours
diff --git a/sway/conf.d/10-environment.conf b/sway/conf.d/10-environment.conf
index 758d3a8..7a76cd1 100644
--- a/sway/conf.d/10-environment.conf
+++ b/sway/conf.d/10-environment.conf
@@ -4,6 +4,6 @@ exec swaymsg -t subscribe '["shutdown"]' && systemctl --user stop sway-session.t
exec wl-paste --type text --watch cliphist store
exec wl-paste --type image --watch cliphist store
-exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
+exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
#exec --no-startup-id /usr/lib/polkit-kde-authentication-agent-1
diff --git a/sway/conf.d/20-binds.conf b/sway/conf.d/20-binds.conf
index f4a4246..8a374c9 100644
--- a/sway/conf.d/20-binds.conf
+++ b/sway/conf.d/20-binds.conf
@@ -110,13 +110,13 @@ bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% && $s
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% && $sink_volume > $wob_socket
# Playback
-# bindsym XF86AudioPrev exec playerctl --player=spotify,%any previous
-# bindsym XF86AudioNext exec playerctl --player=spotify,%any next
-# bindsym XF86AudioPlay exec playerctl --player=spotify,%any play-pause
+bindsym XF86AudioPrev exec sh -c "playerctl --player=spotify,strawberry,%any previous"
+bindsym XF86AudioNext exec sh -c "playerctl --player=spotify,strawberry,%any next"
+bindsym XF86AudioPlay exec sh -c "playerctl --player=spotify,strawberry,%any play-pause"
# gross workaround
-bindsym XF86AudioPrev exec notify-send "$(playerctl --player=spotify,%any previous)"
-bindsym XF86AudioNext exec notify-send "$(playerctl --player=spotify,%any next)"
-bindsym XF86AudioPlay exec notify-send "$(playerctl --player=spotify,%any play-pause)"
+#bindsym XF86AudioPrev exec notify-send "$(playerctl --player=spotify,%any previous)"
+#bindsym XF86AudioNext exec notify-send "$(playerctl --player=spotify,%any next)"
+#bindsym XF86AudioPlay exec notify-send "$(playerctl --player=spotify,%any play-pause)"
# Brightness
bindsym XF86MonBrightnessDown exec brightnessctl set 5- && $brightness > $wob_socket
diff --git a/sway/conf.d/21-rules.conf b/sway/conf.d/21-rules.conf
index 8397f09..2e93154 100644
--- a/sway/conf.d/21-rules.conf
+++ b/sway/conf.d/21-rules.conf
@@ -18,6 +18,9 @@ for_window [window_role="About"] floating enable
for_window [app_id="(?i)Thunderbird" title=".*Reminder"] floating enable
+for_window [app_id="com.nextcloud.desktopclient.nextcloud" title="^Nextcloud$"] floating enable
+for_window [app_id="com.nextcloud.desktopclient.nextcloud" title="^Nextcloud$"] move position cursor
+
for_window [app_id="Zoom Workplace" title="^zoom$"] border none, floating enable
for_window [app_id="Zoom Workplace" title="^(Zoom|About)$"] border pixel, floating enable
diff --git a/sway/conf.d/22-theme.conf b/sway/conf.d/22-theme.conf
index ec55641..52e8673 100644
--- a/sway/conf.d/22-theme.conf
+++ b/sway/conf.d/22-theme.conf
@@ -17,3 +17,7 @@ default_border normal 3
hide_edge_borders smart
default_floating_border normal 3
+
+focus_follows_mouse always
+#mouse_warping container
+#seat seat0 hide_cursor 2000