Kieran's opinionated (and probably slightly dumb) nix config

feat: add hyprpicker and tofi drun menu

Changed files
+36 -2
home-manager
moonlark
+4 -2
home-manager/dots/hyprland.conf
···
bind = $mainMod, Q, killactive,
bind = $mainMod, M, exit
bind = $mainMod, L, exec, hyprlock
+
bind = $mainMod, ESC, exec, hyprlock
bind = $mainMod, V, togglefloating,
-
bind = $mainMod, R, exec, wofi --show drun
+
bind = $mainMod, S, exec, tofi-drun | xargs xargs hyprctl dispatch exec --
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle
-
bind = $mainMod, L, exec, ~/.config/hypr/scripts/lock.sh
# Tools
bind=CTRL,PRINT,exec,grimblast copy area; notify-desktop "copied screenshot of selection to the clipboard"
bind=ALT,PRINT,exec,grimblast copy active; notify-desktop "copied screenshot of active window to clipboard"
bind=,PRINT,exec,grimblast copy output; notify-desktop "copied screenshot of screen to the clipboard"
+
+
bind=$mainMod, O, exec, hyprpicker -a -f hex
# Controls
bindel =,XF86MonBrightnessDown, exec, brightnessctl set 5%-; notify-desktop "brightness decreased 5%" "Curretly; $(echo "scale=1; 100 * $(brightnessctl g) / $(brightnessctl m)" | bc)%" -t 1200
+31
home-manager/home.nix
···
borderRadius = 5;
};
+
programs.tofi = {
+
enable = true;
+
catppuccin.enable = false;
+
settings = {
+
font = "Fira Sans";
+
font-size = 24;
+
+
prompt-text = ''"> "'';
+
placeholder-text = "search for something";
+
hide-cursor = true;
+
+
corner-radius = 10;
+
outline-width = 3;
+
border-width = 0;
+
padding-left = "4%";
+
padding-top = "2%";
+
padding-right = 0;
+
padding-bottom = 0;
+
+
outline-color = "#1E2030";
+
text-color = "#cad3f5";
+
prompt-color = "#ed8796";
+
placeholder-color = "#8087A2";
+
selection-color = "#eed49f";
+
background-color = "#24273a";
+
+
width = "35%";
+
height = "15%";
+
};
+
};
+
# Nicely reload system units when changing configs
systemd.user.startServices = "sd-switch";
+1
moonlark/configuration.nix
···
pkgs.brightnessctl
inputs.hyprland-contrib.packages.${pkgs.system}.grimblast
pkgs.mako
+
pkgs.hyprpicker
pkgs.notify-desktop
pkgs.bc
pkgs.wl-clipboard