sway: simplify flameshot bindings, add flameshot dotfiles

This commit is contained in:
Fabio Scotto di Santolo
2026-05-17 12:46:44 +02:00
parent 39e94ed490
commit 5b74c905df
3 changed files with 19 additions and 2 deletions

View File

@@ -174,6 +174,10 @@ desktop_sway_dotfiles:
src: .config/waybar/ src: .config/waybar/
dest: .config/waybar/ dest: .config/waybar/
mode: preserve mode: preserve
- name: flameshot config
src: .config/flameshot/
dest: .config/flameshot/
mode: preserve
- name: alacritty config - name: alacritty config
src: .config/alacritty/ src: .config/alacritty/
dest: .config/alacritty/ dest: .config/alacritty/

View File

@@ -0,0 +1,13 @@
[General]
copyPathAfterSave=false
disabledTrayIcon=true
drawColor=#4a90d9
drawThickness=3
filenamePattern=%Y-%m-%d_%H-%M-%S
savePath=/home/fscotto/Pictures/Screenshots
savePathFixed=true
showDesktopNotification=true
useGrimAdapter=true
showHelp=false
showSidePanelButton=true
startupLaunch=false

View File

@@ -141,10 +141,10 @@ bindsym $mod+Shift+x exec ~/.config/sway/scripts/lockscreen
bindsym $mod+Shift+q kill bindsym $mod+Shift+q kill
# Screenshot # Screenshot
# Print → flameshot GUI (annotations, save + clipboard via portal) # Print → flameshot GUI
# Shift+Print → grim+slurp region → clipboard # Shift+Print → grim+slurp region → clipboard
# Alt+Print → grim focused output → clipboard # Alt+Print → grim focused output → clipboard
bindsym Print exec flameshot gui --path "$HOME/Pictures/Screenshots" --clipboard bindsym Print exec flameshot gui
bindsym Shift+Print exec ~/.config/sway/scripts/screenshot region bindsym Shift+Print exec ~/.config/sway/scripts/screenshot region
bindsym Alt+Print exec ~/.config/sway/scripts/screenshot output bindsym Alt+Print exec ~/.config/sway/scripts/screenshot output