updated desktop hyprland config

This commit is contained in:
2025-09-21 19:18:46 +02:00
parent c99843abd4
commit 718fb7d96a
6 changed files with 38 additions and 107 deletions

View File

@@ -2,5 +2,3 @@ monitor = DP-1, 2560x1440@99.95, 1920x1584, 1, bitdepth, 10, cm, auto
monitor = DP-2, 3440x1440@100.0, 1476x144, 1, bitdepth, 10, cm, auto
monitor = HDMI-A-1, 1920x1080@60.0, 0x1584, 1
monitor = , preferred, auto, 1

View File

@@ -54,6 +54,7 @@ bind = $mainMod, E, exec, $fileManager
bind = $mainMod, D, exec, $launcher
bind = $mainMod SHIFT, D, exec, $uuctl
bind = $mainMod, PERIOD, exec, $emote
bind = $mainMod, F12, exec, pkill -SIGUSR2 waybar
# swaync Binds
bind = $mainMod, Grave, exec, $notcenter

View File

@@ -1,10 +1,10 @@
# ~/.config/hypr/conf.d/50-autostart.conf
exec-once = uwsm app -- swaync
exec-once = xsettingsd
exec-once = ~/.config/waybar/scripts/hyprsunset_daemon.sh
exec-once = uwsm app -- waybar
exec-once = xsettingsd
exec-once = hyprsunset
exec-once = ~/.config/waybar/scripts/hyprsunset_daemon.sh
exec = hyprpaper -c $HOME/.config/hyprpaper.conf
exec = swayosd-server

View File

@@ -1,46 +1,22 @@
# ~/.config/hypr/hypridle.conf
### based on the example config from hyprland.org
# Same as cn-arch: lock at 10 min, screen off at 15 min.
general {
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
before_sleep_cmd = loginctl lock-session # lock before suspend.
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
ignore_dbus_inhibit = false # whether to ignore dbus-sent idle-inhibit requests (used by e.g. firefox or steam)
ignore_systemd_inhibit = false # whether to ignore systemd-inhibit --what=idle inhibitors
on_lock_cmd = dbus-send --session --dest=org.freedesktop.secrets \
--type=method_call \
/org/freedesktop/secrets \
org.freedesktop.Secret.Service.Lock \
array:objpath:/org/freedesktop/secrets/collection/login
lock_cmd = hyprlock
before_sleep_cmd = hyprlock
after_sleep_cmd = hyprctl dispatch dpms on
}
#listener {
# timeout = 150 # 2.5min.
# on-timeout = brightnessctl -s set 10 # set monitor backlight to minimum, avoid 0 on OLED monitor.
# on-resume = brightnessctl -r # monitor backlight restore.
#}
# turn off keyboard backlight, comment out this section if you dont have a keyboard backlight.
#listener {
# timeout = 150 # 2.5min.
# on-timeout = brightnessctl -sd rgb:kbd_backlight set 0 # turn off keyboard backlight.
# on-resume = brightnessctl -rd rgb:kbd_backlight # turn on keyboard backlight.
#}
# Lock after 10 minutes
listener {
timeout = 300 # 5min
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired.
timeout = 600
on-timeout = hyprlock
}
# DPMS off after 15 minutes (wakes on input)
listener {
timeout = 1800 # 30min
on-timeout = loginctl lock-session # lock screen when timeout has passed
timeout = 900
on-timeout = hyprctl dispatch dpms off
on-resume = hyprctl dispatch dpms on
}
listener {
timeout = 3600 # 60min
on-timeout = systemctl hibernate # hibernate and suspend pc
}

View File

@@ -1,75 +1,36 @@
# ~/.config/hypr/hyprlock.conf
general {
hide_cursor = true
ignore_empty_input = true
}
##################
### BACKGROUND ###
##################
# Same minimal lock as cn-arch
background {
monitor = eDP-1
path = $HOME/.config/hypr/images/standard.jpg
monitor =
path = ~/.config/hypr/images/standard.jpg
blur_size = 8
blur_passes = 2
brightness = 0.7
}
#############
### INPUT ###
#############
input-field {
size = 250, 60
monitor =
outline_thickness = 2
dots_size = 0.2 # you control the look of the dots manually
dots_spacing = 0.35
rounding = 8
size = 300, 42
position = 0, -100
dots_center = true
# Outer ring transparent, inner pill matches Waybar bg
outer_color = rgba(11, 27, 43, 0) # bg_main fully transparent
inner_color = rgba(11, 27, 43, 0.85) # bg_main at 85% opacity
font_color = rgba(202, 211, 232, 0.8) # content_main at 80%
fade_on_empty = false
rounding = 20 # nice pill shape
check_color = #4F84CC # Abyss Accent
placeholder_text =
hide_input = false
position = 0, -200
halign = center
valign = center
}
############
### DATE ###
############
label {
monitor =
text = cmd[update:1000] echo "$(date +"%A, %B %d")"
color = rgba(202, 211, 232, 0.75) # Sea Foam a bit lighter
font_size = 22
font_family = Inconsolata Nerd Font Mono
position = 0, 300
halign = center
valign = center
text = $TIME
font_size = 32
position = 0, 40
color = rgba(ffffffff)
}
############
### TIME ###
############
label {
monitor =
text = cmd[update:1000] echo "$(date +"%-I:%M")"
color = rgba(202, 211, 232, 0.75)
font_size = 95
font_family = Inconsolata Nerd Font Mono Bold
position = 0, 200
halign = center
valign = center
text = $USER
font_size = 16
position = 0, 80
color = rgba(ddddddff)
}

View File

@@ -1,10 +1,5 @@
# ~/.config/hypr/hyprpaper.conf
#splash = true
splash_color = 4F84CCFF # Abyss Accent w/ full opacity
splash_offset = 2.0
ipc = true
# Preload your ultrawide as a quick fallback
preload = $HOME/.config/hypr/images/standard.jpg
preload = $HOME/.config/hypr/images/ultrawide.jpg