aboutsummaryrefslogtreecommitdiffstats
path: root/.config/sway/config
diff options
context:
space:
mode:
Diffstat (limited to '.config/sway/config')
-rw-r--r--.config/sway/config18
1 files changed, 13 insertions, 5 deletions
diff --git a/.config/sway/config b/.config/sway/config
index d8feda5..9aede99 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -17,6 +17,7 @@ set $right l
set $term alacritty
# Your preferred application launcher
set $menu rofi -show drun
+set $select_screenshot grim -g "$(slurp)" ~/Downloads/screenshot-"$(date +'%Y-%m-%d_%H-%M-%S')".png
set $screenshot grim ~/Downloads/screenshot-"$(date +'%Y-%m-%d_%H-%M-%S')".png
# lock
@@ -87,6 +88,8 @@ input type:touchpad {
# screenshot
bindsym $mod+Ctrl+u exec $screenshot
+ # selection screenshot
+ bindsym $mod+Ctrl+i exec $select_screenshot
# exit sway (logs you out of your wayland session)
bindsym $mod+Ctrl+e exit
@@ -218,7 +221,8 @@ mode "resize" {
bindsym $mod+r mode "resize"
-for_window [class="Nextcloud"] move container to workspace 2
+for_window [class="Nextcloud"] move container to workspace 10
+for_window [app_id="com.nextcloud.desktopclient.nextcloud"] move container to workspace 10
for_window [class="firefox"] move container to workspace 2
for_window [app_id="firefox"] move container to workspace 2
for_window [class="qutebrowser"] move container to workspace 2
@@ -228,18 +232,21 @@ for_window [class="DialogWindow"] move container to workspace 3
for_window [class="PatchWindow"] move container to workspace 3
for_window [class="PdWindow"] move container to workspace 3
for_window [class="ffado-mixer"] move container to workspace 4
-for_window [class="Carla*"] move container to workspace 4
+for_window [class="Carla"] move container to workspace 4
+for_window [app_id="carla"] move container to workspace 4
for_window [class="Ardour*"] move container to workspace 4
for_window [class="Hydrogen"] move container to workspace 4
for_window [class="Yoshimi"] move container to workspace 4
for_window [class="Zynaddsubfx"] move container to workspace 4
-for_window [class="MediaElch"] move container to workspace 6
for_window [class="Qsynth"] move container to workspace 4
for_window [class="Qsynth"] floating enable
-for_window [app_id="ghb"] move container to workspace 7
-for_window [app_id="shotwell"] move container to workspace 8
for_window [app_id="qjackctl"] move container to workspace 4
for_window [app_id="qjackctl"] floating enable
+for_window [class="Steam"] move container to workspace 5
+for_window [title="Steam - News*"] kill
+for_window [class="MediaElch"] move container to workspace 6
+for_window [app_id="ghb"] move container to workspace 7
+for_window [app_id="shotwell"] move container to workspace 8
# Status Bar:
#
@@ -254,6 +261,7 @@ exec [ -x /usr/bin/swayidle ] && [ -x /usr/bin/swaylock ] && swayidle -w \
timeout 600 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock -f -c 000000'
+exec [ -x /usr/bin/gammastep ] && /usr/bin/gammastep
exec [ -x /usr/bin/lxpolkit ] && /usr/bin/lxpolkit
exec [ -x /usr/bin/nextcloud ] && /usr/bin/nextcloud