diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index ce54f5dd..4a7709a1 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -10,10 +10,10 @@ recursive = true; }; - # allow fontconfig to discover fonts and configurations installed through home.packages + # allow fontconfig to discover fonts and configurations installed through home.packages fonts.fontconfig.enable = true; - home.packages = + home.packages = let icomoon-feather-font = pkgs.callPackage ./icomoon-feather-font.nix { }; 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 diff --git a/home/hyprland/hypr-conf/hyprland.conf b/home/hyprland/hypr-conf/hyprland.conf index eba22c75..64d696e4 100644 --- a/home/hyprland/hypr-conf/hyprland.conf +++ b/home/hyprland/hypr-conf/hyprland.conf @@ -2,7 +2,7 @@ #-- Output ---------------------------------------------------- # Configure your Display resolution, offset, scale and Monitors here, use `hyprctl monitors` to get the info. - + # format: # monitor=name,resolution,position,scale monitor=DP-2,3840x2160@144,0x0,1.5 @@ -16,7 +16,7 @@ input { kb_model= kb_options= kb_rules= - follow_mouse=1 + follow_mouse=1 natural_scroll=0 force_no_accel=0 # repeat_rate= @@ -29,7 +29,7 @@ input { general { sensitivity=2.0 apply_sens_to_raw=0 - + gaps_in=5 gaps_out=10 @@ -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 @@ -130,7 +130,7 @@ bind=SUPERSHIFT,W,exec,$browser # -- Wofi -- bind=ALT,F1,exec,$menu1 bind=SUPER,D,exec,$menu2 -bind=ALT,F3,exec,$menu3 +bind=ALT,F3,exec,$menu3 #bind=SUPER,X,exec,$powermenu # -- Hyprland -- diff --git a/home/hyprland/hypr-conf/scripts/screenshot b/home/hyprland/hypr-conf/scripts/screenshot index cd29a82f..5638dc9d 100755 --- a/home/hyprland/hypr-conf/scripts/screenshot +++ b/home/hyprland/hypr-conf/scripts/screenshot @@ -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 diff --git a/home/programs/media.nix b/home/programs/media.nix index 342357b7..6787a7bf 100644 --- a/home/programs/media.nix +++ b/home/programs/media.nix @@ -15,8 +15,10 @@ pulsemixer # images - imv + viu # terminal image viewer + imv # simple image viewer imagemagick + deepin.image-editor ]; programs = {