update
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
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.
|
||||
}
|
||||
|
||||
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.
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 300 # 5min
|
||||
on-timeout = loginctl lock-session # lock screen when timeout has passed
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 330 # 5.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.
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 1800 # 30min
|
||||
on-timeout = systemctl suspend # suspend pc
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
source = ~/.config/Ax-Shell/config/hypr/colors.conf
|
||||
|
||||
# BACKGROUND
|
||||
background {
|
||||
monitor =
|
||||
path = ~/.current.wall #path to background image
|
||||
blur_passes = 3
|
||||
blur_size = 3
|
||||
contrast = 1.0
|
||||
brightness = 0.5
|
||||
vibrancy = 0.0
|
||||
vibrancy_darkness = 0.0
|
||||
}
|
||||
|
||||
# GENERAL
|
||||
general {
|
||||
grace = 0
|
||||
hide_cursor = true
|
||||
}
|
||||
|
||||
# INPUT FIELD
|
||||
input-field {
|
||||
monitor =
|
||||
size = 256, 48
|
||||
outline_thickness = 0
|
||||
dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
|
||||
dots_spacing = 0.5 # Scale of dots' absolute size, 0.0 - 1.0
|
||||
dots_center = true
|
||||
outer_color = rgba(00000000)
|
||||
inner_color = rgba(0, 0, 0, 1)
|
||||
font_color = rgb($foreground)
|
||||
fail_color = rgb($error)
|
||||
check_color = rgb($tertiary)
|
||||
capslock_color = rgb($secondary)
|
||||
fade_on_empty = false
|
||||
font_family = Iosevka Nerd Font
|
||||
placeholder_text = ... #text for input password
|
||||
hide_input = false
|
||||
position = 0, -100
|
||||
halign = center
|
||||
valign = center
|
||||
shadow_passes = 1
|
||||
shadow_size = 5
|
||||
shadow_boost = 0.5
|
||||
}
|
||||
|
||||
# TIME
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:1000] echo "$(date +"%H:%M:%S")"
|
||||
color = rgb($foreground)
|
||||
font_size = 14
|
||||
font_family = Iosevka Nerd Font Bold
|
||||
position = 0, -150
|
||||
halign = center
|
||||
valign = center
|
||||
shadow_passes = 1
|
||||
shadow_size = 5
|
||||
shadow_boost = 0.5
|
||||
}
|
||||
|
||||
# USER
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:1000] echo "$USER@$(hostname)"
|
||||
color = rgb($foreground)
|
||||
font_size = 14
|
||||
font_family = Iosevka Nerd Font Bold Italic
|
||||
position = 0, -50
|
||||
halign = center
|
||||
valign = center
|
||||
shadow_passes = 1
|
||||
shadow_size = 5
|
||||
shadow_boost = 0.5
|
||||
}
|
||||
|
||||
# PICTURE
|
||||
image {
|
||||
path = .face.icon
|
||||
size = 200
|
||||
position = 0, 75
|
||||
halign = center
|
||||
valign = center
|
||||
border_size = 3
|
||||
border_color = rgb($primary)
|
||||
shadow_passes = 1
|
||||
shadow_size = 5
|
||||
shadow_boost = 0.5
|
||||
}
|
||||
Reference in New Issue
Block a user