updated desktop hyprland config
This commit is contained in:
@@ -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 = DP-2, 3440x1440@100.0, 1476x144, 1, bitdepth, 10, cm, auto
|
||||||
monitor = HDMI-A-1, 1920x1080@60.0, 0x1584, 1
|
monitor = HDMI-A-1, 1920x1080@60.0, 0x1584, 1
|
||||||
|
|
||||||
monitor = , preferred, auto, 1
|
|
||||||
|
|
||||||
|
@@ -54,6 +54,7 @@ bind = $mainMod, E, exec, $fileManager
|
|||||||
bind = $mainMod, D, exec, $launcher
|
bind = $mainMod, D, exec, $launcher
|
||||||
bind = $mainMod SHIFT, D, exec, $uuctl
|
bind = $mainMod SHIFT, D, exec, $uuctl
|
||||||
bind = $mainMod, PERIOD, exec, $emote
|
bind = $mainMod, PERIOD, exec, $emote
|
||||||
|
bind = $mainMod, F12, exec, pkill -SIGUSR2 waybar
|
||||||
|
|
||||||
# swaync Binds
|
# swaync Binds
|
||||||
bind = $mainMod, Grave, exec, $notcenter
|
bind = $mainMod, Grave, exec, $notcenter
|
||||||
|
@@ -1,10 +1,10 @@
|
|||||||
# ~/.config/hypr/conf.d/50-autostart.conf
|
# ~/.config/hypr/conf.d/50-autostart.conf
|
||||||
|
|
||||||
exec-once = uwsm app -- swaync
|
exec-once = uwsm app -- swaync
|
||||||
exec-once = xsettingsd
|
|
||||||
exec-once = ~/.config/waybar/scripts/hyprsunset_daemon.sh
|
|
||||||
exec-once = uwsm app -- waybar
|
exec-once = uwsm app -- waybar
|
||||||
|
exec-once = xsettingsd
|
||||||
exec-once = hyprsunset
|
exec-once = hyprsunset
|
||||||
|
exec-once = ~/.config/waybar/scripts/hyprsunset_daemon.sh
|
||||||
|
|
||||||
exec = hyprpaper -c $HOME/.config/hyprpaper.conf
|
exec = hyprpaper -c $HOME/.config/hyprpaper.conf
|
||||||
exec = swayosd-server
|
exec = swayosd-server
|
||||||
|
@@ -1,46 +1,22 @@
|
|||||||
# ~/.config/hypr/hypridle.conf
|
# Same as cn-arch: lock at 10 min, screen off at 15 min.
|
||||||
|
|
||||||
### based on the example config from hyprland.org
|
|
||||||
|
|
||||||
general {
|
general {
|
||||||
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
|
lock_cmd = hyprlock
|
||||||
before_sleep_cmd = loginctl lock-session # lock before suspend.
|
before_sleep_cmd = hyprlock
|
||||||
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
|
after_sleep_cmd = hyprctl dispatch dpms on
|
||||||
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 after 10 minutes
|
||||||
#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.
|
|
||||||
#}
|
|
||||||
|
|
||||||
listener {
|
listener {
|
||||||
timeout = 300 # 5min
|
timeout = 600
|
||||||
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
|
on-timeout = hyprlock
|
||||||
on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired.
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# DPMS off after 15 minutes (wakes on input)
|
||||||
listener {
|
listener {
|
||||||
timeout = 1800 # 30min
|
timeout = 900
|
||||||
on-timeout = loginctl lock-session # lock screen when timeout has passed
|
on-timeout = hyprctl dispatch dpms off
|
||||||
|
on-resume = hyprctl dispatch dpms on
|
||||||
}
|
}
|
||||||
|
|
||||||
listener {
|
|
||||||
timeout = 3600 # 60min
|
|
||||||
on-timeout = systemctl hibernate # hibernate and suspend pc
|
|
||||||
}
|
|
||||||
|
@@ -1,75 +1,36 @@
|
|||||||
# ~/.config/hypr/hyprlock.conf
|
# Same minimal lock as cn-arch
|
||||||
|
|
||||||
general {
|
|
||||||
hide_cursor = true
|
|
||||||
ignore_empty_input = true
|
|
||||||
}
|
|
||||||
|
|
||||||
##################
|
|
||||||
### BACKGROUND ###
|
|
||||||
##################
|
|
||||||
|
|
||||||
background {
|
background {
|
||||||
monitor = eDP-1
|
monitor =
|
||||||
path = $HOME/.config/hypr/images/standard.jpg
|
path = ~/.config/hypr/images/standard.jpg
|
||||||
|
blur_size = 8
|
||||||
|
blur_passes = 2
|
||||||
|
brightness = 0.7
|
||||||
}
|
}
|
||||||
|
|
||||||
#############
|
|
||||||
### INPUT ###
|
|
||||||
#############
|
|
||||||
|
|
||||||
input-field {
|
input-field {
|
||||||
size = 250, 60
|
monitor =
|
||||||
outline_thickness = 2
|
outline_thickness = 2
|
||||||
dots_size = 0.2 # you control the look of the dots manually
|
rounding = 8
|
||||||
dots_spacing = 0.35
|
size = 300, 42
|
||||||
|
position = 0, -100
|
||||||
dots_center = true
|
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 {
|
label {
|
||||||
monitor =
|
monitor =
|
||||||
text = cmd[update:1000] echo "$(date +"%A, %B %d")"
|
text = $TIME
|
||||||
color = rgba(202, 211, 232, 0.75) # Sea Foam a bit lighter
|
font_size = 32
|
||||||
font_size = 22
|
position = 0, 40
|
||||||
font_family = Inconsolata Nerd Font Mono
|
color = rgba(ffffffff)
|
||||||
position = 0, 300
|
|
||||||
halign = center
|
|
||||||
valign = center
|
|
||||||
}
|
}
|
||||||
|
|
||||||
############
|
|
||||||
### TIME ###
|
|
||||||
############
|
|
||||||
|
|
||||||
label {
|
label {
|
||||||
monitor =
|
monitor =
|
||||||
text = cmd[update:1000] echo "$(date +"%-I:%M")"
|
text = $USER
|
||||||
color = rgba(202, 211, 232, 0.75)
|
font_size = 16
|
||||||
font_size = 95
|
position = 0, 80
|
||||||
font_family = Inconsolata Nerd Font Mono Bold
|
color = rgba(ddddddff)
|
||||||
position = 0, 200
|
|
||||||
halign = center
|
|
||||||
valign = center
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -1,10 +1,5 @@
|
|||||||
# ~/.config/hypr/hyprpaper.conf
|
# ~/.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 your ultrawide as a quick fallback
|
||||||
preload = $HOME/.config/hypr/images/standard.jpg
|
preload = $HOME/.config/hypr/images/standard.jpg
|
||||||
preload = $HOME/.config/hypr/images/ultrawide.jpg
|
preload = $HOME/.config/hypr/images/ultrawide.jpg
|
||||||
|
Reference in New Issue
Block a user