This commit is contained in:
2026-07-01 20:59:13 -05:00
parent 02dc9d6c34
commit bca3b74d1d
14 changed files with 1076 additions and 462 deletions
+18 -10
View File
@@ -1,9 +1,13 @@
{ pkgs, inputs, lib, ... }:
{
services.hyprpolkitagent.enable = true;
services.hyprpolkitagent.enable = false;
programs.hyprshot.enable = true;
programs.hyprlock.enable = true;
wayland.windowManager.hyprland.configType = "hyprlang";
wayland.windowManager.hyprland.extraConfig = ''
source = ./dms/colors.conf
'';
wayland.windowManager.hyprland = {
enable = true;
package = null;
@@ -12,8 +16,6 @@
# Variables
"$terminal" = "kitty -e nu";
"$fileManager" = "kitty -e yazi";
"$menu" = "noctalia-shell ipc call launcher toggle";
"$bar" = "noctalia-shell";
"$mainMod" = "SUPER";
# Monitors
@@ -34,6 +36,9 @@
sdrbrightness = 1;
sdrsaturation = 1;
sdr_min_luminance = 0.005;
min_luminance = 0;
max_luminance = 1300;
max_avg_luminance = 400;
sdr_max_luminance = 200;
supports_hdr = 1;
supports_wide_color = 1;
@@ -48,11 +53,9 @@
# Startup applications
exec-once = [
"noctalia-shell"
"hyprlock"
"dms run"
"hyprctl dispatch workspace 1"
"pw-metadata -n settings 0 clock.force-quantum 2048"
"systemctl --user start hyprpolkitagent"
"sunshine"
""
];
@@ -145,16 +148,23 @@
bind = [
"$mainMod, Return, exec, $terminal"
"$mainMod, Q, killactive"
"$mainMod, M, exec, noctalia-shell ipc call lockScreen lock"
"$mainMod, M, exec, dms ipc call lock lock"
"$mainMod, E, exec, $fileManager"
"$mainMod, Y, exec, dms ipc call dankdash wallpaper"
"$mainMod, TAB, exec, dms ipc call hypr toggleOverview"
"$mainMod, C, exec, dms ipc call clipboard toggle"
"$mainMod, comma, exec, dms ipc call settings focusOrToggle"
"$mainMod, V, togglefloating"
"$mainMod, Space, exec, $menu"
"$mainMod, B, exec, zen"
"$mainMod, P, pseudo"
"$mainMod, space, exec, dms ipc call spotlight toggle"
# "$mainMod, J, togglesplit"
"$mainMod, F, fullscreen"
", XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+"
", XF86AudioLowerVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%-"
", XF86AudioMute, exec, dms ipc call audio mute"
", XF86MonBrightnessUp, exec, dms ipc call brightness increment 5"
", XF86MonBrightnessDown, exec, dms ipc call brightness decrement 5"
"$mainMod, left, movefocus, l"
"$mainMod, right, movefocus, r"
"$mainMod, up, movefocus, u"
@@ -183,8 +193,6 @@
"$mainMod SHIFT, S, movetoworkspace, special:magic"
"$mainMod, mouse_down, workspace, e+1"
"$mainMod, mouse_up, workspace, e-1"
", code:76, exec, killall -SIGUSR1 gpu-screen-recorder"
", code:75, exec, killall -SIGINT gpu-screen-recorder"
];
bindm = [