Replace xfce4-screenshooter with wdvn-screenshot

This commit is contained in:
Fierelier 2022-08-25 10:43:52 +02:00
parent b22a1924be
commit c304064437
4 changed files with 10 additions and 5 deletions

View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -e
DIR="$HOME/Pictures/Screenshots"
FILE="$(date --utc "+%Y.%m.%d-%H.%M.%S").png"
scrot --freeze --select "$DIR/$FILE"
xclip -selection clipboard -t image/png -i "$DIR/$FILE"
notify-send "wdvn-screenshot" "Saved. Copied image to clipboard." -t 2000 --icon="insert-image"

View File

@ -1,3 +1,3 @@
#!/bin/bash
export WDVN_PACKAGES_DL="$WDVN_PACKAGES_DL xinit unifont netsurf-gtk xautolock xsecurelock qt5-style-plugins alsa-utils synaptic catfish galculator celluloid gpicview xpdf"
export WDVN_PACKAGES_DL="$WDVN_PACKAGES_DL xinit unifont scrot xclip netsurf-gtk xautolock xsecurelock qt5-style-plugins alsa-utils synaptic catfish galculator celluloid gpicview xpdf"
export WDVN_PACKAGES_REMOVE="$WDVN_PACKAGES_REMOVE xscreensaver"

View File

@ -34,7 +34,6 @@
<property name="&lt;Alt&gt;F2" type="empty">
<property name="startup-notify" type="bool" value="true"/>
</property>
<property name="&lt;Alt&gt;Print" type="string" value="xfce4-screenshooter -w"/>
<property name="&lt;Super&gt;r" type="string" value="xfce4-appfinder -c">
<property name="startup-notify" type="bool" value="true"/>
</property>
@ -43,8 +42,7 @@
<property name="&lt;Alt&gt;F3" type="empty">
<property name="startup-notify" type="bool" value="true"/>
</property>
<property name="Print" type="string" value="xfce4-screenshooter"/>
<property name="&lt;Shift&gt;Print" type="string" value="xfce4-screenshooter -r"/>
<property name="Print" type="string" value="wdvn-screenshot"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;t" type="string" value="exo-open --launch TerminalEmulator"/>
<property name="&lt;Super&gt;p" type="string" value="xfce4-display-settings --minimal"/>
<property name="&lt;Primary&gt;&lt;Shift&gt;Escape" type="string" value="xfce4-taskmanager"/>

View File

@ -1,2 +1,2 @@
#!/bin/bash
export WDVN_PACKAGES_DL="$WDVN_PACKAGES_DL xorg xfce4 xfce4-*-plugin xfce4-power-manager gvfs gvfs-backends gvfs-fuse network-manager-gnome xfce4-terminal xfce4-screenshooter mousepad"
export WDVN_PACKAGES_DL="$WDVN_PACKAGES_DL xorg xfce4 xfce4-*-plugin xfce4-power-manager gvfs gvfs-backends gvfs-fuse network-manager-gnome xfce4-terminal mousepad"