mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-05-20 22:57:17 +02:00
feat: replace old viewnior with imv
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user