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

6
.gitignore vendored
View File

@@ -91,6 +91,7 @@ eww/scripts/*
!sway/scripts
sway/scripts/*
!sway/scripts/power-menu.sh
!sway/scripts/screenshot.sh
# bin
!bin
@@ -107,8 +108,3 @@ swaync/*
!fuzzel
fuzzel/*
!fuzzel/fuzzel.ini
# flameshot
!flameshot
flameshot/*
!flameshot/flameshot.ini

View File

@@ -1,16 +0,0 @@
[General]
contrastOpacity=188
contrastUiColor=#000000
disabledGrimWarning=true
drawColor=#00ffff
saveAfterCopy=true
savePath=/home/matej/screens
showHelp=false
showMagnifier=true
showSelectionGeometryHideTime=3000
uiColor=#ffffff
useGrimAdapter=true
[Shortcuts]
TYPE_ACCEPT=
TYPE_COPY=Space

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