diff --git a/misc/face.png b/misc/face.png new file mode 100644 index 0000000..6d2345f Binary files /dev/null and b/misc/face.png differ diff --git a/misc/lock-screen.png b/misc/lock-screen.png new file mode 100644 index 0000000..7542547 Binary files /dev/null and b/misc/lock-screen.png differ diff --git a/misc/wallpaper.png b/misc/wallpaper.png index 879b65a..3c31091 100644 Binary files a/misc/wallpaper.png and b/misc/wallpaper.png differ diff --git a/modules/wm/hyprland/config/hypr/hyprland.conf b/modules/wm/hyprland/config/hypr/hyprland.conf index b23b069..745b2b5 100644 --- a/modules/wm/hyprland/config/hypr/hyprland.conf +++ b/modules/wm/hyprland/config/hypr/hyprland.conf @@ -10,6 +10,8 @@ $menu = wofi --show drun ### AUTOSTART ### ################# +exec-once = swaybg -i ~/nix-config/misc/wallpaper.png + # Autostart necessary processes (like notifications daemons, status bars, etc.) # Or execute your favorite apps at launch like this: diff --git a/modules/wm/hyprland/config/hypr/hyprlock.conf b/modules/wm/hyprland/config/hypr/hyprlock.conf index be00954..c9eeabe 100644 --- a/modules/wm/hyprland/config/hypr/hyprlock.conf +++ b/modules/wm/hyprland/config/hypr/hyprlock.conf @@ -1,8 +1,7 @@ -source = $HOME/.config/hypr/mocha.conf - $accent = $mauve $accentAlpha = $mauveAlpha $font = JetBrainsMono Nerd Font +$nix = $HOME/nix-config # GENERAL general { @@ -13,7 +12,7 @@ general { # BACKGROUND background { monitor = - path = $HOME/.config/background + path = $nix/misc/lock-screen.png blur_passes = 0 color = $base } @@ -57,7 +56,7 @@ label { # USER AVATAR image { monitor = - path = $HOME/.face + path = $nix/misc/face.png size = 100 border_color = $accent position = 0, 75 @@ -77,7 +76,7 @@ input-field { inner_color = $surface0 font_color = $text fade_on_empty = false - placeholder_text = 󰌾 Logged in as $USER + placeholder_text = Logged in as $USER hide_input = false check_color = $accent fail_color = $red diff --git a/modules/wm/hyprland/config/hypr/keybinds.conf b/modules/wm/hyprland/config/hypr/keybinds.conf index 4d89b98..a75a013 100644 --- a/modules/wm/hyprland/config/hypr/keybinds.conf +++ b/modules/wm/hyprland/config/hypr/keybinds.conf @@ -8,8 +8,10 @@ bind = ALT, Q, exec, $terminal bind = ALT, F4, killactive bind = CONTROL, Q, killactive + bind = , F11, fullscreen -bind = $mainMod, L, exec, hyprlock +bind = $mainMod, P, exec, hyprlock + bind = $mainMod, H, movefocus, l bind = $mainMod, L, movefocus, r @@ -55,7 +57,6 @@ bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+ bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%- - bindl = , XF86AudioNext, exec, playerctl next bindl = , XF86AudioPause, exec, playerctl play-pause bindl = , XF86AudioPlay, exec, playerctl play-pause diff --git a/modules/wm/hyprland/default.nix b/modules/wm/hyprland/default.nix index ab61e30..d2e70d1 100644 --- a/modules/wm/hyprland/default.nix +++ b/modules/wm/hyprland/default.nix @@ -30,6 +30,7 @@ in { xdg-desktop-portal-hyprland playerctl hyprlock + brightnessctl ]; services.logind.extraConfig = ''