mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-15 09:02:40 +02:00
feat: replace old viewnior with imv
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -15,8 +15,10 @@
|
|||||||
pulsemixer
|
pulsemixer
|
||||||
|
|
||||||
# images
|
# images
|
||||||
imv
|
viu # terminal image viewer
|
||||||
|
imv # simple image viewer
|
||||||
imagemagick
|
imagemagick
|
||||||
|
deepin.image-editor
|
||||||
];
|
];
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
|||||||
Reference in New Issue
Block a user