Switch from flameshot to swappy

- Add swappy configuration
- Replace flameshot keybinding with swappy
This commit is contained in:
Sravan Balaji
2024-09-28 20:08:18 -04:00
parent 271d5b81b6
commit 8bdb059100
5 changed files with 35 additions and 3 deletions

View File

@@ -96,6 +96,7 @@
- [[#config-1][Config]] - [[#config-1][Config]]
- [[#gtk][Gtk]] - [[#gtk][Gtk]]
- [[#qt][Qt]] - [[#qt][Qt]]
- [[#swappy][Swappy]]
- [[#ssh][SSH]] - [[#ssh][SSH]]
- [[#config-2][Config]] - [[#config-2][Config]]
- [[#system-settings][System Settings]] - [[#system-settings][System Settings]]
@@ -8262,7 +8263,7 @@ xf86audionext
# Screenshot # Screenshot
print print
flameshot gui grim -g "$(slurp)" - | swappy -f -
# Brightness Controls # Brightness Controls
xf86monbrightnessup xf86monbrightnessup
@@ -8596,6 +8597,21 @@ show_urls = true
} }
#+END_SRC #+END_SRC
** Swappy
#+BEGIN_SRC conf :tangle swappy/.config/swappy/config
[Default]
save_dir=$HOME/Downloads
save_filename_format=swappy-%Y%m%d-%H%M%S.png
show_panel=false
line_size=5
text_size=20
text_font=sans-serif
paint_mode=brush
early_exit=false
fill_shape=false
#+END_SRC
* SSH * SSH
** Config ** Config
@@ -9010,6 +9026,7 @@ stow-create:
-S snapborg \ -S snapborg \
-S ssh \ -S ssh \
-S starship \ -S starship \
-S swappy \
-S swaync \ -S swaync \
-S swhkd \ -S swhkd \
-S syncthing \ -S syncthing \
@@ -9069,6 +9086,7 @@ stow-delete:
-D snapborg \ -D snapborg \
-D ssh \ -D ssh \
-D starship \ -D starship \
-D swappy \
-D swaync \ -D swaync \
-D swhkd \ -D swhkd \
-D syncthing \ -D syncthing \
@@ -9128,6 +9146,7 @@ stow-recreate:
-R snapborg \ -R snapborg \
-R ssh \ -R ssh \
-R starship \ -R starship \
-R swappy \
-R swaync \ -R swaync \
-R swhkd \ -R swhkd \
-R syncthing \ -R syncthing \

View File

@@ -60,6 +60,7 @@ stow-create:
-S snapborg \ -S snapborg \
-S ssh \ -S ssh \
-S starship \ -S starship \
-S swappy \
-S swaync \ -S swaync \
-S swhkd \ -S swhkd \
-S syncthing \ -S syncthing \
@@ -119,6 +120,7 @@ stow-delete:
-D snapborg \ -D snapborg \
-D ssh \ -D ssh \
-D starship \ -D starship \
-D swappy \
-D swaync \ -D swaync \
-D swhkd \ -D swhkd \
-D syncthing \ -D syncthing \
@@ -178,6 +180,7 @@ stow-recreate:
-R snapborg \ -R snapborg \
-R ssh \ -R ssh \
-R starship \ -R starship \
-R swappy \
-R swaync \ -R swaync \
-R swhkd \ -R swhkd \
-R syncthing \ -R syncthing \

View File

@@ -0,0 +1,10 @@
[Default]
save_dir=$HOME/Downloads
save_filename_format=swappy-%Y%m%d-%H%M%S.png
show_panel=false
line_size=5
text_size=20
text_font=sans-serif
paint_mode=brush
early_exit=false
fill_shape=false

View File

@@ -42,7 +42,7 @@ xf86audionext
# Screenshot # Screenshot
print print
flameshot gui grim -g "$(slurp)" - | swappy -f -
# Brightness Controls # Brightness Controls
xf86monbrightnessup xf86monbrightnessup