use swappy for screenshots

parent 8d80ee88
......@@ -288,7 +288,7 @@ done
mkdir -p %buildroot%_sysconfdir/ximperdistro/
cp -r configs/hyprland %buildroot%_sysconfdir/ximperdistro/
for i in swaync wofi wlogout ; do
for i in swaync wofi wlogout swappy; do
ln -s %_sysconfdir/ximperdistro/hyprland/$i %buildroot%_sysconfdir/skel/.config/$i
done
......@@ -380,6 +380,7 @@ fi
%_sysconfdir/skel/.config/waybar
%_sysconfdir/skel/.config/wofi
%_sysconfdir/skel/.config/wlogout
%_sysconfdir/skel/.config/swappy
%_sysconfdir/ximperdistro/hyprland
%files slideshow
......
......@@ -23,11 +23,11 @@ bind = $mainMod, B, exec, pkill -SIGUSR2 waybar
bind = $mainMod CTRL, B, exec, pkill waybar || waybar
# Скриншот монитора / Screenshot of the monitor
bind = , Print, exec, hyprshot -m output -o "$(xdg-user-dir PICTURES)/Снимки экрана" -f "снимок-$(date +%s).png" -z
bind = , Print, exec, hyprshot -m output -z --raw | swappy -f -
# Скриншот региона / Screenshot of the region
bind = $mainMod, Print, exec, hyprshot -m region -o "$(xdg-user-dir PICTURES)/Снимки экрана" -f "снимок-$(date +%s).png" -z
bind = $mainMod, Print, exec, hyprshot -m region -z --raw | swappy -f -
# Скриншот окна / Screenshot of the window
bind = SHIFT, Print, exec, hyprshot -m window -o "$(xdg-user-dir PICTURES)/Снимки экрана" -f "снимок-$(date +%s).png" -z
bind = SHIFT, Print, exec, hyprshot -m window -z --raw | swappy -f -
#---------- УПРАВЛЕНИЕ ГРОМКОСТЬЮ ---- VOLUME CONTROL
binde= , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+
......
[Default]
save_dir="$(xdg-user-dir PICTURES)/Снимки экрана"
save_filename_format=снимок-%Y%m%d-%H%M%S.png
show_panel=true
auto_save=true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment