feat: replace old viewnior with imv

This commit is contained in:
ryan4yin
2023-05-06 04:27:38 +08:00
parent 90c61f0625
commit 7619f7ca41
4 changed files with 11 additions and 11 deletions
-2
View File
@@ -41,8 +41,6 @@
mpd # for playing system sounds mpd # for playing system sounds
mpc-cli # command-line mpd client mpc-cli # command-line mpd client
ncmpcpp # a mpd client with a UI ncmpcpp # a mpd client with a UI
viewnior # Elegant Image Viewer
]; ];
# if use vscode in wayland, uncomment those line # if use vscode in wayland, uncomment those line
+1 -1
View File
@@ -77,7 +77,7 @@ dwindle {
windowrule=float,foot-float windowrule=float,foot-float
windowrule=float,yad|nm-connection-editor|pavucontrolk windowrule=float,yad|nm-connection-editor|pavucontrolk
windowrule=float,xfce-polkit|kvantummanager|qt5ct windowrule=float,xfce-polkit|kvantummanager|qt5ct
windowrule=float,feh|Viewnior|Gpicview|Gimp|nomacs windowrule=float,feh|imv|Gpicview|Gimp|nomacs
windowrule=float,VirtualBox Manager|qemu|Qemu-system-x86_64 windowrule=float,VirtualBox Manager|qemu|Qemu-system-x86_64
windowrule=float,xfce4-appfinder windowrule=float,xfce4-appfinder
+1 -1
View File
@@ -12,7 +12,7 @@ file="Screenshot_${time}_${RANDOM}.png"
notify_cmd_shot="notify-send -h string:x-canonical-private-synchronous:shot-notify -u low -i ${iDIR}/picture.png" notify_cmd_shot="notify-send -h string:x-canonical-private-synchronous:shot-notify -u low -i ${iDIR}/picture.png"
notify_view () { notify_view () {
${notify_cmd_shot} "Copied to clipboard." ${notify_cmd_shot} "Copied to clipboard."
viewnior ${dir}/"$file" imv ${dir}/"$file"
if [[ -e "$dir/$file" ]]; then if [[ -e "$dir/$file" ]]; then
${notify_cmd_shot} "Screenshot Saved." ${notify_cmd_shot} "Screenshot Saved."
else else
+3 -1
View File
@@ -15,8 +15,10 @@
pulsemixer pulsemixer
# images # images
imv viu # terminal image viewer
imv # simple image viewer
imagemagick imagemagick
deepin.image-editor
]; ];
programs = { programs = {