This commit is contained in:
Evan Reichard 2025-04-06 23:51:09 -04:00
parent f7f502d7b9
commit e3d49f5328
2 changed files with 18 additions and 3 deletions

View File

@ -27,7 +27,9 @@ $menu = wofi --show drun
# exec-once = $terminal
# exec-once = nm-applet &
exec-once = uwsm app -- waybar & uwsm app -- $terminal & uwsm app -- firefox
exec-once = uwsm app -- waybar
exec-once = uwsm app -- $terminal
exec-once = uwsm app -- firefox
#############################
@ -193,8 +195,12 @@ gestures {
# See https://wiki.hyprland.org/Configuring/Keywords/
$mainMod = SUPER # Sets "Windows" key as main modifier
bind = $mainMod_ALT, 1, exec, hyprshot -m output
bind = $mainMod_ALT, 2, exec, hyprshot -m window
bind = $mainMod_ALT, 3, exec, hyprshot -m region
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Q, exec, $terminal
bind = $mainMod, RETURN, exec, $terminal
bind = $mainMod, W, killactive,
bind = $mainMod, M, exit,
bind = $mainMod, E, exec, $fileManager
@ -245,7 +251,7 @@ bind = $mainMod, mouse_up, workspace, e-1
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
# Laptop multimedia keys for volume and LCD brightness
# Generic Laptop Multimedia Keys for Volume and LCD brightness
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
@ -253,6 +259,10 @@ bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-
# macOS Keyboard Brightness
bindel = ALT, XF86MonBrightnessUp, exec, brightnessctl -d kbd_backlight s 10%+
bindel = ALT, XF86MonBrightnessDown, exec, brightnessctl -d kbd_backlight s 10%-
# Requires playerctl
bindl = , XF86AudioNext, exec, playerctl next
bindl = , XF86AudioPause, exec, playerctl play-pause

View File

@ -1,6 +1,8 @@
{ lib, pkgs, config, namespace, ... }:
let
inherit (lib) mkIf;
inherit (lib.${namespace}) enabled;
cfg = config.${namespace}.programs.graphical.wms.hyprland;
in
{
@ -9,6 +11,9 @@ in
};
config = mkIf cfg.enable {
services.swaync = enabled;
services.hyprpaper = enabled;
wayland.windowManager.hyprland = {
enable = true;
extraConfig = builtins.readFile ./config/hyprland.conf;