feat(satty): replace flameshot
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
5
sway/scripts/screenshot.sh
Executable 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
|
||||
Reference in New Issue
Block a user