feat(satty): replace flameshot
This commit is contained in:
6
.gitignore
vendored
6
.gitignore
vendored
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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