Changes to hyprland

This commit is contained in:
KoenDR06 2025-03-15 14:45:47 +01:00
parent 2a522fffb4
commit b3d3d232f1
7 changed files with 10 additions and 7 deletions

BIN
misc/face.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

BIN
misc/lock-screen.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 KiB

After

Width:  |  Height:  |  Size: 372 KiB

Before After
Before After

View file

@ -10,6 +10,8 @@ $menu = wofi --show drun
### AUTOSTART ### ### AUTOSTART ###
################# #################
exec-once = swaybg -i ~/nix-config/misc/wallpaper.png
# Autostart necessary processes (like notifications daemons, status bars, etc.) # Autostart necessary processes (like notifications daemons, status bars, etc.)
# Or execute your favorite apps at launch like this: # Or execute your favorite apps at launch like this:

View file

@ -1,8 +1,7 @@
source = $HOME/.config/hypr/mocha.conf
$accent = $mauve $accent = $mauve
$accentAlpha = $mauveAlpha $accentAlpha = $mauveAlpha
$font = JetBrainsMono Nerd Font $font = JetBrainsMono Nerd Font
$nix = $HOME/nix-config
# GENERAL # GENERAL
general { general {
@ -13,7 +12,7 @@ general {
# BACKGROUND # BACKGROUND
background { background {
monitor = monitor =
path = $HOME/.config/background path = $nix/misc/lock-screen.png
blur_passes = 0 blur_passes = 0
color = $base color = $base
} }
@ -57,7 +56,7 @@ label {
# USER AVATAR # USER AVATAR
image { image {
monitor = monitor =
path = $HOME/.face path = $nix/misc/face.png
size = 100 size = 100
border_color = $accent border_color = $accent
position = 0, 75 position = 0, 75
@ -77,7 +76,7 @@ input-field {
inner_color = $surface0 inner_color = $surface0
font_color = $text font_color = $text
fade_on_empty = false fade_on_empty = false
placeholder_text = <span foreground="##$textAlpha"><i>󰌾 Logged in as </i><span foreground="##$accentAlpha">$USER</span></span> placeholder_text = Logged in as $USER
hide_input = false hide_input = false
check_color = $accent check_color = $accent
fail_color = $red fail_color = $red

View file

@ -8,8 +8,10 @@ bind = ALT, Q, exec, $terminal
bind = ALT, F4, killactive bind = ALT, F4, killactive
bind = CONTROL, Q, killactive bind = CONTROL, Q, killactive
bind = , F11, fullscreen bind = , F11, fullscreen
bind = $mainMod, L, exec, hyprlock bind = $mainMod, P, exec, hyprlock
bind = $mainMod, H, movefocus, l bind = $mainMod, H, movefocus, l
bind = $mainMod, L, movefocus, r 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 = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+ bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%- bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-
bindl = , XF86AudioNext, exec, playerctl next bindl = , XF86AudioNext, exec, playerctl next
bindl = , XF86AudioPause, exec, playerctl play-pause bindl = , XF86AudioPause, exec, playerctl play-pause
bindl = , XF86AudioPlay, exec, playerctl play-pause bindl = , XF86AudioPlay, exec, playerctl play-pause

View file

@ -30,6 +30,7 @@ in {
xdg-desktop-portal-hyprland xdg-desktop-portal-hyprland
playerctl playerctl
hyprlock hyprlock
brightnessctl
]; ];
services.logind.extraConfig = '' services.logind.extraConfig = ''