1

Home: Add hyprsunset with keybindings

This commit is contained in:
2025-07-02 18:07:45 +02:00
parent 33501f8af7
commit 0cce656f02
2 changed files with 23 additions and 11 deletions

View File

@ -110,10 +110,11 @@
};
always-exec = [
"dunst" # Notifications
# "dunst" # Notifications
"wl-paste -t text --watch clipman store --no-persist"
"wl-paste -p -t text --watch clipman store -P --histpath=\"~/.local/share/clipman-primary.json\""
"hyprctl setcursor Bibata-Modern-Classic 16"
"hyprsunset --identity"
# HACK: Hyprland doesn't set the xwayland/x11 keymap correctly
"setxkbmap -layout ${hyprland.kb-layout} -variant ${hyprland.kb-variant} -model pc104"
@ -160,6 +161,9 @@ in {
packages = with pkgs; [
hyprpaper # Wallpaper setter
hyprpicker # Color picker
# hyprpolkitagent # Ugly polkit authentication GUI
hyprland-qt-support
hyprsunset # Blue light filter
wl-clipboard
clipman # Clipboard manager (wl-paste)
@ -171,18 +175,20 @@ in {
grim # Grab images from compositor
# Deps for Qt5 and Qt6 apps (e.g., Nextcloud)
libsForQt5.qtwayland
kdePackages.qtwayland
qt5.qtwayland
qt6.qtwayland
];
file = {
".config/hypr/keybindings.info".text = lib.pipe (hyprland.keybindings.bindings
// always-bind) [
(builtins.mapAttrs mkBindsHelp)
builtins.attrValues
builtins.concatLists
(builtins.concatStringsSep "\n")
];
".config/hypr/keybindings.info".text =
lib.pipe
(hyprland.keybindings.bindings // always-bind)
[
(builtins.mapAttrs mkBindsHelp)
builtins.attrValues
builtins.concatLists
(builtins.concatStringsSep "\n")
];
};
};