hyprland: theme fuzzel, bind Super+L to hyprlock
Moves fuzzel from system package to home-manager so we can give it a dark/translucent look matching the waybar. Frees Super+L (was a redundant movefocus-right that arrow keys already cover) and points it at hyprlock for screen locking. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
772073454d
commit
56e6041670
1 changed files with 41 additions and 2 deletions
|
|
@ -39,7 +39,6 @@
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
ghostty
|
ghostty
|
||||||
fuzzel
|
|
||||||
mako
|
mako
|
||||||
grim
|
grim
|
||||||
slurp
|
slurp
|
||||||
|
|
@ -205,9 +204,12 @@
|
||||||
"$mod, up, movefocus, u"
|
"$mod, up, movefocus, u"
|
||||||
"$mod, down, movefocus, d"
|
"$mod, down, movefocus, d"
|
||||||
"$mod, H, movefocus, l"
|
"$mod, H, movefocus, l"
|
||||||
"$mod, L, movefocus, r"
|
|
||||||
"$mod, K, movefocus, u"
|
"$mod, K, movefocus, u"
|
||||||
"$mod, J, movefocus, d"
|
"$mod, J, movefocus, d"
|
||||||
|
# L freed for hyprlock — arrow keys still handle right-focus.
|
||||||
|
|
||||||
|
# Lock screen
|
||||||
|
"$mod, L, exec, hyprlock"
|
||||||
|
|
||||||
# Move windows
|
# Move windows
|
||||||
"$mod SHIFT, left, movewindow, l"
|
"$mod SHIFT, left, movewindow, l"
|
||||||
|
|
@ -267,6 +269,43 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.fuzzel = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
main = {
|
||||||
|
font = "FiraMono Nerd Font:size=12";
|
||||||
|
lines = 8;
|
||||||
|
width = 32;
|
||||||
|
horizontal-pad = 18;
|
||||||
|
vertical-pad = 16;
|
||||||
|
inner-pad = 10;
|
||||||
|
icon-theme = "Adwaita";
|
||||||
|
terminal = "ghostty";
|
||||||
|
prompt = "\" \"";
|
||||||
|
};
|
||||||
|
colors = {
|
||||||
|
background = "141414e6";
|
||||||
|
text = "e8e8e8ff";
|
||||||
|
match = "ffffffff";
|
||||||
|
selection = "ffffff14";
|
||||||
|
selection-text = "ffffffff";
|
||||||
|
selection-match = "ffffffff";
|
||||||
|
border = "ffffff20";
|
||||||
|
input = "ffffffff";
|
||||||
|
prompt = "9a9a9aff";
|
||||||
|
placeholder = "6e6e6eff";
|
||||||
|
counter = "6e6e6eff";
|
||||||
|
};
|
||||||
|
border = {
|
||||||
|
width = 1;
|
||||||
|
radius = 10;
|
||||||
|
};
|
||||||
|
dmenu = {
|
||||||
|
exit-immediately-if-empty = "yes";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
home.file.".config/hypr/hyprpaper.conf".text = ''
|
home.file.".config/hypr/hyprpaper.conf".text = ''
|
||||||
preload = ${config.home.homeDirectory}/.local/share/backgrounds/wallpaper.png
|
preload = ${config.home.homeDirectory}/.local/share/backgrounds/wallpaper.png
|
||||||
wallpaper = ,${config.home.homeDirectory}/.local/share/backgrounds/wallpaper.png
|
wallpaper = ,${config.home.homeDirectory}/.local/share/backgrounds/wallpaper.png
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue