feat(hypr): swappy -> satty
This commit is contained in:
parent
585d764720
commit
f2710d1c19
2 changed files with 20 additions and 13 deletions
|
@ -1,10 +0,0 @@
|
||||||
[Default]
|
|
||||||
save_dir=$HOME/Pictures/Screenshots
|
|
||||||
save_filename_format=swappy-%Y%m%d-%H%M%S.png
|
|
||||||
show_panel=false
|
|
||||||
line_size=5
|
|
||||||
text_size=20
|
|
||||||
text_font=Ubuntu-Mono
|
|
||||||
paint_mode=brush
|
|
||||||
early_exit=false
|
|
||||||
fill_shape=false
|
|
|
@ -29,7 +29,6 @@ in {
|
||||||
"kiorc".source = symlink "${configDir}/kiorc";
|
"kiorc".source = symlink "${configDir}/kiorc";
|
||||||
"mimeapps.list".source = symlink "${configDir}/mimeapps.list";
|
"mimeapps.list".source = symlink "${configDir}/mimeapps.list";
|
||||||
"neofetch".source = symlink "${configDir}/neofetch";
|
"neofetch".source = symlink "${configDir}/neofetch";
|
||||||
"swappy".source = symlink "${configDir}/swappy";
|
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
@ -58,7 +57,22 @@ in {
|
||||||
cliphist
|
cliphist
|
||||||
grim
|
grim
|
||||||
slurp
|
slurp
|
||||||
swappy
|
satty
|
||||||
|
|
||||||
|
# TODO: make an ags widget to select windows, screens or a selection
|
||||||
|
(writeShellApplication {
|
||||||
|
name = "screenshot";
|
||||||
|
runtimeInputs = [
|
||||||
|
config.programs.hyprland.package
|
||||||
|
satty
|
||||||
|
grim
|
||||||
|
jq
|
||||||
|
];
|
||||||
|
text = ''
|
||||||
|
screen=$(hyprctl monitors -j | jq -r '.[] | select(.focused == true).name')
|
||||||
|
exec grim -o "$screen" - | satty -f - --output-filename "/home/matt/Pictures/Screenshots/screenshot-$(date --iso-8601=seconds).png"
|
||||||
|
'';
|
||||||
|
})
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Discord themes for Vencord
|
Discord themes for Vencord
|
||||||
|
@ -104,6 +118,8 @@ in {
|
||||||
"noborder,^(wofi)$"
|
"noborder,^(wofi)$"
|
||||||
"tile,^(libreoffice)$"
|
"tile,^(libreoffice)$"
|
||||||
"float,^(org.gnome.Calculator)$"
|
"float,^(org.gnome.Calculator)$"
|
||||||
|
"float,^(com.gabm.satty)$"
|
||||||
|
"size 1000 700,^(com.gabm.satty)$"
|
||||||
|
|
||||||
"float,^(com.nextcloud.desktopclient.nextcloud)$"
|
"float,^(com.nextcloud.desktopclient.nextcloud)$"
|
||||||
"move cursor -15 -10,^(com.nextcloud.desktopclient.nextcloud)$"
|
"move cursor -15 -10,^(com.nextcloud.desktopclient.nextcloud)$"
|
||||||
|
@ -119,7 +135,8 @@ in {
|
||||||
# Clipboard History
|
# Clipboard History
|
||||||
"$mainMod, V, exec, killall -r wofi || cliphist list | wofi --dmenu | cliphist decode | wl-copy"
|
"$mainMod, V, exec, killall -r wofi || cliphist list | wofi --dmenu | cliphist decode | wl-copy"
|
||||||
|
|
||||||
",Print, exec, grim -g \"$(slurp)\" - | swappy -f -"
|
" , Print, exec, screenshot"
|
||||||
|
"$mainMod, Print, exec, grim -g \"$(slurp)\" - | satty -f - --output-filename \"screenshot-$(date --iso-8601=seconds)\""
|
||||||
"$mainMod SHIFT, C, exec, wl-color-picker"
|
"$mainMod SHIFT, C, exec, wl-color-picker"
|
||||||
|
|
||||||
"$mainMod, T, togglespecialworkspace, thunder"
|
"$mainMod, T, togglespecialworkspace, thunder"
|
||||||
|
|
Loading…
Reference in a new issue