Major update to handle multiple systems

This commit is contained in:
Emmet
2025-02-12 14:12:11 -06:00
parent 0453901d17
commit cd1d2d866b
34 changed files with 2040 additions and 456 deletions

View File

@@ -50,382 +50,322 @@ in
enable = true;
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
plugins = [ ];
settings = { };
settings = {
exec-once = [
"hyprctl setcursor ${config.gtk.cursorTheme.name} ${builtins.toString config.gtk.cursorTheme.size}"
"hyprpaper"
"eww open-many bar:first bar:second bar:third --arg first:monitor=0 --arg second:monitor=1 --arg third:monitor=2"
"hypridle"
"hyprland-monitor-attached ~/.local/bin/eww-reload-bars.sh"
"iio-hyprland"
"hyprprofile Default"
"ydotoold"
"sleep 10 && nextcloud"
"sleep 13 && caffeine"
"nm-applet"
"blueman-applet"
"GOMAXPROCS=1 syncthing --no-browser"
"STEAM_FRAME_FORCE_CLOSE=1 steam -silent"
"protonmail-bridge --noninteractive"
"sleep 5 && libinput-gestures"
"obs-notification-mute-daemon"
"alacritty --class scratch_term"
"kitty --class scratch_ranger -e ranger"
"alacritty --class scratch_numbat -e numbat"
"kitty --class scratch_music -e ncmpcpp"
"alacritty --class scratch_btm -e btm"
"element-desktop"
];
general = {
layout = "master";
border_size = 5;
"col.active_border" = "0xff${config.lib.stylix.colors.base08} 0xff${config.lib.stylix.colors.base09} 0xff${config.lib.stylix.colors.base0A} 0xff${config.lib.stylix.colors.base0B} 0xff${config.lib.stylix.colors.base0C} 0xff${config.lib.stylix.colors.base0D} 0xff${config.lib.stylix.colors.base0E} 0xff${config.lib.stylix.colors.base0F} 270deg";
"col.inactive_border" = "0xff${config.lib.stylix.colors.base02}";
resize_on_border = true;
gaps_in = 7;
gaps_out = 7;
};
decoration = {
rounding = 8;
dim_special = 0.0;
blur = {
enabled = true;
size = 5;
passes = 2;
ignore_opacity = true;
contrast = 1.17;
brightness = (if (config.stylix.polarity == "dark") then "0.65" else "1.45");
xray = true;
special = true;
popups = true;
};
};
cursor = {
no_warps = false;
inactive_timeout = 30;
};
misc = {
disable_hyprland_logo = true;
mouse_move_enables_dpms = true;
enable_swallow = true;
swallow_regex = "(scratch_term)|(Alacritty)|(kitty)";
font_family = font;
};
bezier = [
"wind, 0.05, 0.9, 0.1, 1.05"
"winIn, 0.1, 1.1, 0.1, 1.0"
"winOut, 0.3, -0.3, 0, 1"
"liner, 1, 1, 1, 1"
"linear, 0.0, 0.0, 1.0, 1.0"
];
animations = {
enabled = "yes";
animation = [
"windowsIn, 1, 6, winIn, popin"
"windowsOut, 1, 5, winOut, popin"
"windowsMove, 1, 5, wind, slide"
"border, 1, 10, default"
"borderangle, 1, 100, linear, loop"
"fade, 1, 10, default"
"workspaces, 1, 5, wind"
"windows, 1, 6, wind, slide"
"specialWorkspace, 1, 6, default, slidefadevert -50%"
];
};
input = {
kb_layout = "us";
kb_options = "caps:escape";
repeat_delay = 450;
repeat_rate = 50;
accel_profile = "adaptive";
follow_mouse = 2;
float_switch_override_focus = 0;
};
binds = {
movefocus_cycles_fullscreen = false;
};
bind = [
"SUPER,code:9,exec,nwggrid-wrapper"
"SUPER,code:66,exec,nwggrid-wrapper"
"SUPER,SPACE,fullscreen,1"
"SUPERSHIFT,F,fullscreen,0"
"SUPER,Y,workspaceopt,allfloat"
"ALT,TAB,cyclenext"
"ALT,TAB,bringactivetotop"
"ALTSHIFT,TAB,cyclenext,prev"
"ALTSHIFT,TAB,bringactivetotop"
''SUPER,V,exec,wl-copy $(wl-paste | tr "\n" " ")''
"SUPERSHIFT,T,exec,screenshot-ocr"
"CTRLALT,Delete,exec,hyprctl kill"
"SUPERSHIFT,K,exec,hyprctl kill"
",code:172,exec,mpc toggle"
",code:208,exec,mpc toggle"
",code:209,exec,mpc toggle"
",code:174,exec,mpc stop"
",code:171,exec,mpc next"
",code:173,exec,mpc prev"
"SUPER,R,pass,^(com\.obsproject\.Studio)$"
"SUPERSHIFT,R,pass,^(com\.obsproject\.Studio)$"
"SUPER,RETURN,exec,${term}"
"SUPERSHIFT,RETURN,exec,${term} --class float_term"
"SUPER,A,exec,${spawnEditor}"
"SUPER,S,exec,${spawnBrowser}"
"SUPERCTRL,S,exec,container-open"
"SUPERCTRL,P,pin"
"SUPER,code:47,exec,fuzzel"
"SUPER,X,exec,fnottctl dismiss"
"SUPERSHIFT,X,exec,fnottctl dismiss all"
"SUPER,Q,killactive"
"SUPERSHIFT,Q,exit"
"SUPER,T,togglefloating"
",code:148,exec,${term} -e numbat"
'',code:107,exec,grim -g "$(slurp)"''
''SHIFT,code:107,exec,grim -g "$(slurp -o)''
"SUPER,code:107,exec,grim"
''CTRL,code:107,exec,grim -g "$(slurp)" - | wl-copy''
''SHIFTCTRL,code:107,exec,grim -g "$(slurp -o)" - | wl-copy''
"SUPERCTRL,code:107,exec,grim - | wl-copy"
",code:122,exec,swayosd-client --output-volume lower"
",code:123,exec,swayosd-client --output-volume raise"
",code:121,exec,swayosd-client --output-volume mute-toggle"
",code:256,exec,swayosd-client --output-volume mute-toggle"
"SHIFT,code:122,exec,swayosd-client --output-volume lower"
"SHIFT,code:123,exec,swayosd-client --output-volume raise"
",code:232,exec,swayosd-client --brightness lower"
",code:233,exec,swayosd-client --brightness raise"
",code:237,exec,brightnessctl --device='asus::kbd_backlight' set 1-"
",code:238,exec,brightnessctl --device='asus::kbd_backlight' set +1"
",code:255,exec,airplane-mode"
"SUPER,C,exec,wl-copy $(hyprpicker)"
"SUPERSHIFT,S,exec,systemctl suspend"
"SUPERCTRL,L,exec,loginctl lock-session"
"SUPER,H,movefocus,l"
"SUPER,J,movefocus,d"
"SUPER,K,movefocus,u"
"SUPER,L,movefocus,r"
"SUPERSHIFT,H,movewindow,l"
"SUPERSHIFT,J,movewindow,d"
"SUPERSHIFT,K,movewindow,u"
"SUPERSHIFT,L,movewindow,r"
"SUPER,1,focusworkspaceoncurrentmonitor,1"
"SUPER,2,focusworkspaceoncurrentmonitor,2"
"SUPER,3,focusworkspaceoncurrentmonitor,3"
"SUPER,4,focusworkspaceoncurrentmonitor,4"
"SUPER,5,focusworkspaceoncurrentmonitor,5"
"SUPER,6,focusworkspaceoncurrentmonitor,6"
"SUPER,7,focusworkspaceoncurrentmonitor,7"
"SUPER,8,focusworkspaceoncurrentmonitor,8"
"SUPER,9,focusworkspaceoncurrentmonitor,9"
"SUPERCTRL,right,exec,hyprnome"
"SUPERCTRL,left,exec,hyprnome --previous"
"SUPERSHIFT,right,exec,hyprnome --move"
"SUPERSHIFT,left,exec,hyprnome --previous --move"
"SUPERSHIFT,1,movetoworkspace,1"
"SUPERSHIFT,2,movetoworkspace,2"
"SUPERSHIFT,3,movetoworkspace,3"
"SUPERSHIFT,4,movetoworkspace,4"
"SUPERSHIFT,5,movetoworkspace,5"
"SUPERSHIFT,6,movetoworkspace,6"
"SUPERSHIFT,7,movetoworkspace,7"
"SUPERSHIFT,8,movetoworkspace,8"
"SUPERSHIFT,9,movetoworkspace,9"
''SUPER,Z,exec,if hyprctl clients | grep scratch_term; then echo "scratch_term respawn not needed"; else alacritty --class scratch_term; fi''
"SUPER,Z,togglespecialworkspace,scratch_term"
''SUPER,F,exec,if hyprctl clients | grep scratch_ranger; then echo "scratch_ranger respawn not needed"; else kitty --class scratch_ranger -e ranger; fi''
"SUPER,F,togglespecialworkspace,scratch_ranger"
''SUPER,N,exec,if hyprctl clients | grep scratch_numbat; then echo "scratch_ranger respawn not needed"; else alacritty --class scratch_numbat -e numbat; fi''
"SUPER,N,togglespecialworkspace,scratch_numbat"
''SUPER,M,exec,if hyprctl clients | grep scratch_music; then echo "scratch_music respawn not needed"; else kitty --class scratch_music -e ncmpcpp; fi''
"SUPER,M,togglespecialworkspace,scratch_music"
''SUPER,B,exec,if hyprctl clients | grep scratch_btm; then echo "scratch_ranger respawn not needed"; else alacritty --class scratch_btm -e btm; fi''
"SUPER,B,togglespecialworkspace,scratch_btm"
''SUPER,D,exec,if hyprctl clients | grep Element; then echo "scratch_ranger respawn not needed"; else element-desktop; fi''
"SUPER,D,togglespecialworkspace,scratch_element"
''SUPER,equal, exec, hyprctl keyword cursor:zoom_factor "$(hyprctl getoption cursor:zoom_factor | grep float | awk '{print $2 + 0.5}')"''
''SUPER,minus, exec, hyprctl keyword cursor:zoom_factor "$(hyprctl getoption cursor:zoom_factor | grep float | awk '{print $2 - 0.5}')"''
"SUPER,I,exec,networkmanager_dmenu"
"SUPER,P,exec,keepmenu"
"SUPERSHIFT,P,exec,hyprprofile-dmenu"
"SUPERCTRL,R,exec,phoenix refresh"
];
bindm = [
"SUPER,mouse:272,movewindow"
"SUPER,mouse:273,resizewindow"
];
bindl = [
",switch:on:Lid Switch,exec,loginctl lock-session"
];
windowrulev2 = [
"float,class:^(scratch_term)$"
"size 80% 85%,class:^(scratch_term)$"
"workspace special:scratch_term silent ,class:^(scratch_term)$"
"center,class:^(scratch_term)$"
"float,class:^(float_term)$"
"center,class:^(float_term)$"
"float,class:^(scratch_ranger)$"
"size 80% 85%,class:^(scratch_ranger)$"
"workspace special:scratch_ranger silent,class:^(scratch_ranger)$"
"center,class:^(scratch_ranger)$"
"float,class:^(scratch_numbat)$"
"size 80% 85%,class:^(scratch_numbat)$"
"workspace special:scratch_numbat silent,class:^(scratch_numbat)$"
"center,class:^(scratch_numbat)$"
"float,class:^(scratch_btm)$"
"size 80% 85%,class:^(scratch_btm)$"
"workspace special:scratch_btm silent,class:^(scratch_btm)$"
"center,class:^(scratch_btm)$"
"float,class:^(Element)$"
"size 85% 90%,class:^(Element)$"
"workspace special:scratch_element silent,class:^(Element)$"
"center,class:^(Element)$"
"float,class:^(scratch_music)$"
"size 80% 85%,class:^(scratch_music)$"
"workspace special:scratch_music silent,class:^(scratch_music)$"
"center,class:^(scratch_music)$"
"float,title:^(Save to Disk)$"
"size 70% 75%,title:^(Save to Disk)$"
"center,title:^(Save to Disk)$"
"opacity 0.80,class:^(org.pulseaudio.pavucontrol)$"
"float,class:^(pokefinder)$"
"float,class:^(Waydroid)$"
"float,title:(Blender Render)"
"size 86% 85%,title:(Blender Render)"
"center,title:(Blender Render)"
"float,class:^(org.inkscape.Inkscape)$"
"float,class:^(pinta)$"
"float,class:^(krita)$"
"float,class:^(Gimp)"
"float,class:^(Gimp)"
"float,class:^(libresprite)$"
"float,title:(Open Images)"
"size 86% 85%,title:(Open Images)"
"center,title:(Open Images)"
"float,title:(Create new document)"
"size 86% 85%,title:(Create new document)"
"center,title:(Create new document)"
"size 86% 85%,title:(Create new document)"
"float,title:(Create New Node)"
"size 70% 70%,title:(Create New Node)"
"center,title:(Create New Node)"
"float,title:(Resource)"
"size 70% 70%,title:(Resource)"
"center,title:(Resource)"
"tile,title:(Godot)"
"opacity 0.80,title:ORUI"
"opacity 1.0,class:^(org.qutebrowser.qutebrowser),fullscreen:1"
"opacity 0.85,class:^(Element)$"
"opacity 0.85,class:^(Logseq)$"
"opacity 1.0,class:^(Brave-browser),fullscreen:1"
"opacity 1.0,class:^(librewolf),fullscreen:1"
"opacity 0.85,title:^(My Local Dashboard Awesome Homepage - qutebrowser)$"
"opacity 0.85,title:\[.*\] - My Local Dashboard Awesome Homepage"
"opacity 0.85,class:^(org.keepassxc.KeePassXC)$"
"opacity 0.85,class:^(org.gnome.Nautilus)$"
"opacity 0.85,class:^(org.gnome.Nautilus)$"
"opacity 0.85,initialTitle:^(Notes)$,initialClass:^(Brave-browser)$"
];
layerrule = [
"blur,waybar"
"blur,eww"
"blur,launcher # fuzzel"
"blur,~nwggrid"
"blur,gtk-layer-shell"
"xray 1,waybar"
"xray 1,eww"
"xray 1,~nwggrid"
"xray 1,gtk-layer-shell"
"ignorezero, gtk-layer-shell"
"ignorezero, eww"
"animation fade,~nwggrid"
"animation popin 80%, eww"
];
blurls = [
"waybar"
"launcher # fuzzel"
"~nwggrid"
"gtk-layer-shell"
];
xwayland = {
force_zero_scaling = true;
};
};
systemd.variables = ["--all"];
extraConfig = ''
exec-once = hyprctl setcursor ${config.gtk.cursorTheme.name} ${builtins.toString config.gtk.cursorTheme.size}
exec-once = sleep 10 && nextcloud
exec-once = iio-hyprland
exec-once = hyprprofile Default
exec-once = ydotoold
exec-once = sleep 10 && caffeine
#exec-once = STEAM_FRAME_FORCE_CLOSE=1 steam -silent
exec-once = nm-applet
exec-once = blueman-applet
exec-once = GOMAXPROCS=1 syncthing --no-browser
exec-once = protonmail-bridge --noninteractive
exec-once = eww open-many bar:first bar:second bar:third --arg first:monitor=0 --arg second:monitor=1 --arg third:monitor=2
exec-once = hyprland-monitor-attached ~/.local/bin/eww-reload-bars.sh
exec-once = emacs --daemon
exec-once = hypridle
exec-once = sleep 5 && libinput-gestures
exec-once = obs-notification-mute-daemon
exec-once = hyprpaper
bezier = wind, 0.05, 0.9, 0.1, 1.05
bezier = winIn, 0.1, 1.1, 0.1, 1.0
bezier = winOut, 0.3, -0.3, 0, 1
bezier = liner, 1, 1, 1, 1
bezier = linear, 0.0, 0.0, 1.0, 1.0
animations {
enabled = yes
animation = windowsIn, 1, 6, winIn, popin
animation = windowsOut, 1, 5, winOut, popin
animation = windowsMove, 1, 5, wind, slide
animation = border, 1, 10, default
animation = borderangle, 1, 100, linear, loop
animation = fade, 1, 10, default
animation = workspaces, 1, 5, wind
animation = windows, 1, 6, wind, slide
animation = specialWorkspace, 1, 6, default, slidefadevert -50%
}
general {
layout = master
border_size = 5
col.active_border = 0xff'' + config.lib.stylix.colors.base08 + " " + ''0xff'' + config.lib.stylix.colors.base09 + " " + ''0xff'' + config.lib.stylix.colors.base0A + " " + ''0xff'' + config.lib.stylix.colors.base0B + " " + ''0xff'' + config.lib.stylix.colors.base0C + " " + ''0xff'' + config.lib.stylix.colors.base0D + " " + ''0xff'' + config.lib.stylix.colors.base0E + " " + ''0xff'' + config.lib.stylix.colors.base0F + " " + ''270deg
col.inactive_border = 0xff'' + config.lib.stylix.colors.base02 + ''
resize_on_border = true
gaps_in = 7
gaps_out = 7
}
cursor {
no_warps = false
inactive_timeout = 30
}
bind=SUPER,code:9,exec,nwggrid-wrapper
bind=SUPER,code:66,exec,nwggrid-wrapper
bind=SUPER,SPACE,fullscreen,1
bind=SUPERSHIFT,F,fullscreen,0
bind=SUPER,Y,workspaceopt,allfloat
bind=ALT,TAB,cyclenext
bind=ALT,TAB,bringactivetotop
bind=ALTSHIFT,TAB,cyclenext,prev
bind=ALTSHIFT,TAB,bringactivetotop
bind=SUPER,V,exec,wl-copy $(wl-paste | tr '\n' ' ')
bind=SUPERSHIFT,T,exec,screenshot-ocr
bind=CTRLALT,Delete,exec,hyprctl kill
bind=SUPERSHIFT,K,exec,hyprctl kill
bind=,code:172,exec,mpc toggle
bind=,code:208,exec,mpc toggle
bind=,code:209,exec,mpc toggle
bind=,code:174,exec,mpc stop
bind=,code:171,exec,mpc next
bind=,code:173,exec,mpc prev
bind = SUPER,R,pass,^(com\.obsproject\.Studio)$
bind = SUPERSHIFT,R,pass,^(com\.obsproject\.Studio)$
bind=SUPER,RETURN,exec,'' + term + ''
bind=SUPERSHIFT,RETURN,exec,'' + term + " " + '' --class float_term
bind=SUPER,A,exec,'' + spawnEditor + ''
bind=SUPER,S,exec,'' + spawnBrowser + ''
bind=SUPERCTRL,S,exec,container-open # qutebrowser only
bind=SUPERCTRL,P,pin
bind=SUPER,code:47,exec,fuzzel
bind=SUPER,X,exec,fnottctl dismiss
bind=SUPERSHIFT,X,exec,fnottctl dismiss all
bind=SUPER,Q,killactive
bind=SUPERSHIFT,Q,exit
bindm=SUPER,mouse:272,movewindow
bindm=SUPER,mouse:273,resizewindow
bind=SUPER,T,togglefloating
bind=,code:148,exec,''+ term + " "+''-e numbat
bind=,code:107,exec,grim -g "$(slurp)"
bind=SHIFT,code:107,exec,grim -g "$(slurp -o)"
bind=SUPER,code:107,exec,grim
bind=CTRL,code:107,exec,grim -g "$(slurp)" - | wl-copy
bind=SHIFTCTRL,code:107,exec,grim -g "$(slurp -o)" - | wl-copy
bind=SUPERCTRL,code:107,exec,grim - | wl-copy
bind=,code:122,exec,swayosd-client --output-volume lower
bind=,code:123,exec,swayosd-client --output-volume raise
bind=,code:121,exec,swayosd-client --output-volume mute-toggle
bind=,code:256,exec,swayosd-client --output-volume mute-toggle
bind=SHIFT,code:122,exec,swayosd-client --output-volume lower
bind=SHIFT,code:123,exec,swayosd-client --output-volume raise
bind=,code:232,exec,swayosd-client --brightness lower
bind=,code:233,exec,swayosd-client --brightness raise
bind=,code:237,exec,brightnessctl --device='asus::kbd_backlight' set 1-
bind=,code:238,exec,brightnessctl --device='asus::kbd_backlight' set +1
bind=,code:255,exec,airplane-mode
bind=SUPER,C,exec,wl-copy $(hyprpicker)
bind=SUPERSHIFT,S,exec,systemctl suspend
bindl=,switch:on:Lid Switch,exec,loginctl lock-session
bind=SUPERCTRL,L,exec,loginctl lock-session
bind=SUPER,H,movefocus,l
bind=SUPER,J,movefocus,d
bind=SUPER,K,movefocus,u
bind=SUPER,L,movefocus,r
bind=SUPERSHIFT,H,movewindow,l
bind=SUPERSHIFT,J,movewindow,d
bind=SUPERSHIFT,K,movewindow,u
bind=SUPERSHIFT,L,movewindow,r
bind=SUPER,1,focusworkspaceoncurrentmonitor,1
bind=SUPER,2,focusworkspaceoncurrentmonitor,2
bind=SUPER,3,focusworkspaceoncurrentmonitor,3
bind=SUPER,4,focusworkspaceoncurrentmonitor,4
bind=SUPER,5,focusworkspaceoncurrentmonitor,5
bind=SUPER,6,focusworkspaceoncurrentmonitor,6
bind=SUPER,7,focusworkspaceoncurrentmonitor,7
bind=SUPER,8,focusworkspaceoncurrentmonitor,8
bind=SUPER,9,focusworkspaceoncurrentmonitor,9
bind=SUPERCTRL,right,exec,hyprnome
bind=SUPERCTRL,left,exec,hyprnome --previous
bind=SUPERSHIFT,right,exec,hyprnome --move
bind=SUPERSHIFT,left,exec,hyprnome --previous --move
bind=SUPERSHIFT,1,movetoworkspace,1
bind=SUPERSHIFT,2,movetoworkspace,2
bind=SUPERSHIFT,3,movetoworkspace,3
bind=SUPERSHIFT,4,movetoworkspace,4
bind=SUPERSHIFT,5,movetoworkspace,5
bind=SUPERSHIFT,6,movetoworkspace,6
bind=SUPERSHIFT,7,movetoworkspace,7
bind=SUPERSHIFT,8,movetoworkspace,8
bind=SUPERSHIFT,9,movetoworkspace,9
exec-once = alacritty --class scratch_term
exec-once = kitty --class scratch_ranger -e ranger
exec-once = alacritty --class scratch_numbat -e numbat
exec-once = kitty --class scratch_music -e ncmpcpp
exec-once = alacritty --class scratch_btm -e btm
exec-once = element-desktop
exec-once = pavucontrol
bind=SUPER,Z,exec,if hyprctl clients | grep scratch_term; then echo "scratch_term respawn not needed"; else alacritty --class scratch_term; fi
bind=SUPER,Z,togglespecialworkspace,scratch_term
bind=SUPER,F,exec,if hyprctl clients | grep scratch_ranger; then echo "scratch_ranger respawn not needed"; else kitty --class scratch_ranger -e ranger; fi
bind=SUPER,F,togglespecialworkspace,scratch_ranger
bind=SUPER,N,exec,if hyprctl clients | grep scratch_numbat; then echo "scratch_ranger respawn not needed"; else alacritty --class scratch_numbat -e numbat; fi
bind=SUPER,N,togglespecialworkspace,scratch_numbat
bind=SUPER,M,exec,if hyprctl clients | grep scratch_music; then echo "scratch_music respawn not needed"; else kitty --class scratch_music -e ncmpcpp; fi
bind=SUPER,M,togglespecialworkspace,scratch_music
bind=SUPER,B,exec,if hyprctl clients | grep scratch_btm; then echo "scratch_ranger respawn not needed"; else alacritty --class scratch_btm -e btm; fi
bind=SUPER,B,togglespecialworkspace,scratch_btm
bind=SUPER,D,exec,if hyprctl clients | grep Element; then echo "scratch_ranger respawn not needed"; else element-desktop; fi
bind=SUPER,D,togglespecialworkspace,scratch_element
bind=SUPER,code:172,exec,togglespecialworkspace,scratch_pavucontrol
bind=SUPER,code:172,exec,if hyprctl clients | grep pavucontrol; then echo "scratch_ranger respawn not needed"; else pavucontrol; fi
$scratchpadsize = size 80% 85%
$scratch_term = class:^(scratch_term)$
windowrulev2 = float,$scratch_term
windowrulev2 = $scratchpadsize,$scratch_term
windowrulev2 = workspace special:scratch_term silent ,$scratch_term
windowrulev2 = center,$scratch_term
$float_term = class:^(float_term)$
windowrulev2 = float,$float_term
windowrulev2 = center,$float_term
$scratch_ranger = class:^(scratch_ranger)$
windowrulev2 = float,$scratch_ranger
windowrulev2 = $scratchpadsize,$scratch_ranger
windowrulev2 = workspace special:scratch_ranger silent,$scratch_ranger
windowrulev2 = center,$scratch_ranger
$scratch_numbat = class:^(scratch_numbat)$
windowrulev2 = float,$scratch_numbat
windowrulev2 = $scratchpadsize,$scratch_numbat
windowrulev2 = workspace special:scratch_numbat silent,$scratch_numbat
windowrulev2 = center,$scratch_numbat
$scratch_btm = class:^(scratch_btm)$
windowrulev2 = float,$scratch_btm
windowrulev2 = $scratchpadsize,$scratch_btm
windowrulev2 = workspace special:scratch_btm silent,$scratch_btm
windowrulev2 = center,$scratch_btm
windowrulev2 = float,class:^(Element)$
windowrulev2 = size 85% 90%,class:^(Element)$
windowrulev2 = workspace special:scratch_element silent,class:^(Element)$
windowrulev2 = center,class:^(Element)$
$scratch_music = class:^(scratch_music)$
windowrulev2 = float,$scratch_music
windowrulev2 = $scratchpadsize,$scratch_music
windowrulev2 = workspace special:scratch_music silent,$scratch_music
windowrulev2 = center,$scratch_music
$savetodisk = title:^(Save to Disk)$
windowrulev2 = float,$savetodisk
windowrulev2 = size 70% 75%,$savetodisk
windowrulev2 = center,$savetodisk
$pavucontrol = class:^(org.pulseaudio.pavucontrol)$
windowrulev2 = float,$pavucontrol
windowrulev2 = size 86% 40%,$pavucontrol
windowrulev2 = move 50% 6%,$pavucontrol
windowrulev2 = workspace special silent,$pavucontrol
windowrulev2 = opacity 0.80,$pavucontrol
$miniframe = title:\*Minibuf.*
windowrulev2 = float,$miniframe
windowrulev2 = size 64% 50%,$miniframe
windowrulev2 = move 18% 25%,$miniframe
windowrulev2 = animation popin 1 20,$miniframe
windowrulev2 = float,class:^(pokefinder)$
windowrulev2 = float,class:^(Waydroid)$
windowrulev2 = float,title:(Blender Render)
windowrulev2 = size 86% 85%,title:(Blender Render)
windowrulev2 = center,title:(Blender Render)
windowrulev2 = float,class:^(org.inkscape.Inkscape)$
windowrulev2 = float,class:^(pinta)$
windowrulev2 = float,class:^(krita)$
windowrulev2 = float,class:^(Gimp)
windowrulev2 = float,class:^(Gimp)
windowrulev2 = float,class:^(libresprite)$
windowrulev2 = float,title:(Open Images)
windowrulev2 = size 86% 85%,title:(Open Images)
windowrulev2 = center,title:(Open Images)
windowrulev2 = float,title:(Create new document)
windowrulev2 = size 86% 85%,title:(Create new document)
windowrulev2 = center,title:(Create new document)
windowrulev2 = size 86% 85%,title:(Create new document)
windowrulev2 = float,title:(Create New Node)
windowrulev2 = size 70% 70%,title:(Create New Node)
windowrulev2 = center,title:(Create New Node)
windowrulev2 = float,title:(Resource)
windowrulev2 = size 70% 70%,title:(Resource)
windowrulev2 = center,title:(Resource)
windowrulev2 = tile,title:(Godot)
windowrulev2 = opacity 0.80,title:ORUI
windowrulev2 = opacity 1.0,class:^(org.qutebrowser.qutebrowser),fullscreen:1
windowrulev2 = opacity 0.85,class:^(Element)$
windowrulev2 = opacity 0.85,class:^(Logseq)$
windowrulev2 = opacity 1.0,class:^(Brave-browser),fullscreen:1
windowrulev2 = opacity 1.0,class:^(librewolf),fullscreen:1
windowrulev2 = opacity 0.85,title:^(My Local Dashboard Awesome Homepage - qutebrowser)$
windowrulev2 = opacity 0.85,title:\[.*\] - My Local Dashboard Awesome Homepage
windowrulev2 = opacity 0.85,class:^(org.keepassxc.KeePassXC)$
windowrulev2 = opacity 0.85,class:^(org.gnome.Nautilus)$
windowrulev2 = opacity 0.85,class:^(org.gnome.Nautilus)$
windowrulev2 = opacity 0.85,initialTitle:^(Notes)$,initialClass:^(Brave-browser)$
layerrule = blur,waybar
layerrule = xray 1,waybar
blurls = waybar
layerrule = ignorezero, eww
layerrule = xray 1,eww
layerrule = blur,launcher # fuzzel
blurls = launcher # fuzzel
layerrule = blur,gtk-layer-shell
layerrule = xray 1,gtk-layer-shell
layerrule = ignorezero, gtk-layer-shell
layerrule = blur,eww
layerrule = xray 1,eww
layerrule = ignorezero, eww
layerrule = animation popin 80%, eww
blurls = gtk-layer-shell
layerrule = blur,~nwggrid
layerrule = xray 1,~nwggrid
layerrule = animation fade,~nwggrid
blurls = ~nwggrid
bind=SUPER,equal, exec, hyprctl keyword cursor:zoom_factor "$(hyprctl getoption cursor:zoom_factor | grep float | awk '{print $2 + 0.5}')"
bind=SUPER,minus, exec, hyprctl keyword cursor:zoom_factor "$(hyprctl getoption cursor:zoom_factor | grep float | awk '{print $2 - 0.5}')"
bind=SUPER,I,exec,networkmanager_dmenu
bind=SUPER,P,exec,keepmenu
bind=SUPERSHIFT,P,exec,hyprprofile-dmenu
bind=SUPERCTRL,R,exec,phoenix refresh
# 3 monitor setup
monitor=eDP-1,1920x1080@300,900x1080,1
monitor=HDMI-A-1,1920x1080,1920x0,1
monitor=DP-1,1920x1080,0x0,1
# hdmi tv
#monitor=eDP-1,1920x1080,1920x0,1
#monitor=HDMI-A-1,1920x1080,0x0,1
# hdmi work projector
#monitor=eDP-1,1920x1080,1920x0,1
#monitor=HDMI-A-1,1920x1200,0x0,1
xwayland {
force_zero_scaling = true
}
binds {
movefocus_cycles_fullscreen = false
}
input {
kb_layout = us
kb_options = caps:escape
repeat_delay = 450
repeat_rate = 50
accel_profile = adaptive
follow_mouse = 2
float_switch_override_focus = 0
}
misc {
disable_hyprland_logo = true
mouse_move_enables_dpms = true
enable_swallow = true
swallow_regex = (scratch_term)|(Alacritty)|(kitty)
font_family = '' + font + ''
}
decoration {
rounding = 8
dim_special = 0.0
blur {
enabled = true
size = 5
passes = 2
ignore_opacity = true
contrast = 1.17
brightness = '' + (if (config.stylix.polarity == "dark") then "0.65" else "1.45") + ''
xray = true
special = true
popups = true
}
}
'';
xwayland = { enable = true; };
systemd.enable = true;
};
@@ -660,8 +600,7 @@ in
background: none;
border-style: none;
box-shadow: none;
color: #'' + config.lib.stylix.colors.base07 + '';
color: #${config.lib.stylix.colors.base07};
font-size: 20px;
}
@@ -672,7 +611,7 @@ in
}
button:hover {
background-color: rgba('' + config.lib.stylix.colors.base07-rgb-r + "," + config.lib.stylix.colors.base07-rgb-g + "," + config.lib.stylix.colors.base07-rgb-b + "," + ''0.15);
background-color: rgba(${config.lib.stylix.colors.base07-rgb-r},${config.lib.stylix.colors.base07-rgb-g},${config.lib.stylix.colors.base07-rgb-b},0.15);
}
button:focus {
@@ -680,25 +619,21 @@ in
}
button:checked {
background-color: rgba('' + config.lib.stylix.colors.base07-rgb-r + "," + config.lib.stylix.colors.base07-rgb-g + "," + config.lib.stylix.colors.base07-rgb-b + "," + ''0.15);
background-color: rgba(${config.lib.stylix.colors.base07-rgb-r},${config.lib.stylix.colors.base07-rgb-g},${config.lib.stylix.colors.base07-rgb-b},0.15);
}
#searchbox {
background: none;
border-color: #'' + config.lib.stylix.colors.base07 + '';
color: #'' + config.lib.stylix.colors.base07 + '';
border-color: #${config.lib.stylix.colors.base07};
color: #${config.lib.stylix.colors.base07};
margin-top: 20px;
margin-bottom: 20px;
font-size: 20px;
}
#separator {
background-color: rgba('' + config.lib.stylix.colors.base00-rgb-r + "," + config.lib.stylix.colors.base00-rgb-g + "," + config.lib.stylix.colors.base00-rgb-b + "," + ''0.55);
color: #'' + config.lib.stylix.colors.base07 + '';
background-color: rgba(${config.lib.stylix.colors.base00-rgb-r},${config.lib.stylix.colors.base00-rgb-g},${config.lib.stylix.colors.base00-rgb-b},0.55);
color: #${config.lib.stylix.colors.base07};
margin-left: 500px;
margin-right: 500px;
margin-top: 10px;
@@ -776,10 +711,8 @@ in
};
};
home.file.".config/hypr/hyprpaper.conf".text = ''
preload = ''+config.stylix.image+''
wallpaper = ,''+config.stylix.image+''
preload = ${config.stylix.image}
wallpaper = ,${config.stylix.image}
'';
};