mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-01-11 22:30:25 +01:00
feat: replace old viewnior with imv
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 --
|
||||
|
||||
@@ -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