feat(satty): replace flameshot

This commit is contained in:
2026-03-12 18:28:31 +01:00
parent 5b367986ee
commit e52005df82
5 changed files with 8 additions and 22 deletions

View File

@@ -8,7 +8,7 @@ bindsym $mod+Return exec $term
bindsym $mod+d exec $menu
bindsym $mod+u exec $lockscreen
bindsym $mod+Shift+Ctrl+Alt+space exec 1password --quick-access
bindsym Print exec flameshot gui
bindsym Print exec ~/.config/sway/scripts/screenshot.sh
# notifications
bindsym $mod+n exec swaync-client -t -sw

View File

@@ -14,6 +14,7 @@ assign [app_id="org.telegram.desktop"] workspace 8
assign [class="Rocket.Chat"] workspace 8
# rules
for_window [app_id="com.gabm.satty"] fullscreen enable
for_window [class="net-runelite.*"] floating enable
no_focus [class="net-runelite.*"]

5
sway/scripts/screenshot.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/usr/bin/env bash
# screenshot focused monitor with satty
output=$(swaymsg -t get_outputs | jq -r '.[] | select(.focused) | .name')
grim -o "$output" - | satty -f - --fullscreen