mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-17 10:01:10 +02:00
feat: replace old viewnior with imv
This commit is contained in:
@@ -41,8 +41,6 @@
|
||||
mpd # for playing system sounds
|
||||
mpc-cli # command-line mpd client
|
||||
ncmpcpp # a mpd client with a UI
|
||||
|
||||
viewnior # Elegant Image Viewer
|
||||
];
|
||||
|
||||
# if use vscode in wayland, uncomment those line
|
||||
|
||||
@@ -77,7 +77,7 @@ dwindle {
|
||||
windowrule=float,foot-float
|
||||
windowrule=float,yad|nm-connection-editor|pavucontrolk
|
||||
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,xfce4-appfinder
|
||||
|
||||
|
||||
@@ -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_view () {
|
||||
${notify_cmd_shot} "Copied to clipboard."
|
||||
viewnior ${dir}/"$file"
|
||||
imv ${dir}/"$file"
|
||||
if [[ -e "$dir/$file" ]]; then
|
||||
${notify_cmd_shot} "Screenshot Saved."
|
||||
else
|
||||
|
||||
@@ -15,8 +15,10 @@
|
||||
pulsemixer
|
||||
|
||||
# images
|
||||
imv
|
||||
viu # terminal image viewer
|
||||
imv # simple image viewer
|
||||
imagemagick
|
||||
deepin.image-editor
|
||||
];
|
||||
|
||||
programs = {
|
||||
|
||||
Reference in New Issue
Block a user