some cleanup, back to wpa_supplicant, about to branch for refactor

This commit is contained in:
Matt Nish-Lapidus 2025-02-03 17:09:12 -05:00
parent 29f9ba670f
commit 7b061e6cd8
33 changed files with 2225 additions and 449 deletions

View file

@ -0,0 +1,50 @@
general {
lock_cmd = pidof hyprlock || hyprlock
before_sleep_cmd = loginctl lock-session
}
# battery timers
listener {
timeout = 30
on-timeout = systemd-ac-power || light -S 0
on-resume = systemd-ac-power || light -I
}
listener {
timeout = 30
on-timeout = systemd-ac-power || light -s razer/0003:1532:02B6.0004/backlight -S 0
on-resume = systemd-ac-power || light -s razer/0003:1532:02B6.0004/backlight -S 40
}
listener {
timeout = 120
on-timeout = systemd-ac-power || systemd-ac-power && loginctl lock-session
}
listener {
timeout = 600
on-timeout = systemd-ac-power || systemctl suspend
}
# ac power timers
listener {
timeout = 60
on-timeout = systemd-ac-power && light -S 0
on-resume = systemd-ac-power && light -I
}
listener {
timeout = 60
on-timeout = systemd-ac-power && light -s razer/0003:1532:02B6.0004/backlight -S 0
on-resume = systemd-ac-power && light -s razer/0003:1532:02B6.0004/backlight -S 40
}
listener {
timeout = 300
on-timeout = systemd-ac-power && loginctl lock-session
}
listener {
timeout = 1800
on-timeout = systemd-ac-power && systemctl suspend
}

View file

@ -0,0 +1,53 @@
general {
grace = 1
hide_cursor = true
}
background {
color = rgb(0,0,0)
}
input-field {
monitor =
# size = 250, 60
outline_thickness = 2
dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
dots_spacing = 0.35 # Scale of dots' absolute size, 0.0 - 1.0
dots_center = true
outer_color = rgba(0, 0, 0, 0)
inner_color = rgba(225, 225, 225, 0.25)
font_color = rgb(0,0,0)
fade_on_empty = false
rounding = -1
check_color = rgb(204, 136, 34)
placeholder_text = <i><span foreground="##cdd6f4">hm ...</span></i>
hide_input = false
position = 0, 0
halign = center
valign = center
font_family = JetBrains Mono
}
# DATE
label {
monitor =
text = cmd[update:1000] echo "$(date +"%A, %B %d")"
color = rgba(242, 243, 244, 0.75)
font_size = 32
font_family = JetBrains Mono
position = 0, 300
halign = center
valign = center
}
# TIME
label {
monitor =
text = cmd[update:1000] echo "$(date +"%-I:%M")"
color = rgba(242, 243, 244, 0.75)
font_size = 32
font_family = JetBrains Mono Extrabold
position = 0, 200
halign = center
valign = center
}