Compare commits
3
Commits
07afd6c9ac
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dda24f1cc0 | ||
|
|
6ffcad2e11 | ||
|
|
1816b976b8 |
@@ -25,6 +25,10 @@ output_path = "~/.config/hypr/hyprlock.conf"
|
|||||||
input_path = "~/.config/matugen/templates/wofi.css"
|
input_path = "~/.config/matugen/templates/wofi.css"
|
||||||
output_path = "~/.config/wofi/style.css"
|
output_path = "~/.config/wofi/style.css"
|
||||||
|
|
||||||
|
[templates.hypr]
|
||||||
|
input_path = "~/.config/matugen/templates/hypr.lua"
|
||||||
|
output_path = "~/.config/hypr/config/color.lua"
|
||||||
|
|
||||||
[templates.fish]
|
[templates.fish]
|
||||||
input_path = "~/.config/matugen/templates/fish.fish"
|
input_path = "~/.config/matugen/templates/fish.fish"
|
||||||
output_path = "~/.config/fish/configs/colors.fish"
|
output_path = "~/.config/fish/configs/colors.fish"
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
ACTIVE_COLOR = 0xFF{{ colors.primary.default.hex_stripped }}
|
||||||
|
INACTIVE_COLOR = 0xFF{{ colors.tertiary.default.hex_stripped }}
|
||||||
@@ -69,7 +69,7 @@ input-field {
|
|||||||
# -- uptime view --
|
# -- uptime view --
|
||||||
label {
|
label {
|
||||||
monitor =
|
monitor =
|
||||||
text = cmd[update:60000] echo "uptime: $(bash -c 's=$(cut -d. -f1 /proc/uptime); h=$((s/3600)); m=$(((s%3600)/60)); printf "%02d:%02dh" "$h" "$m"')"
|
text = cmd[update:60000] $XDG_CONFIG_HOME/hypr/scripts/hyprlock/uptime.sh
|
||||||
color = 0xFF{{ colors.surface_tint.default.hex_stripped }}
|
color = 0xFF{{ colors.surface_tint.default.hex_stripped }}
|
||||||
font_size = 14
|
font_size = 14
|
||||||
font_family = JetBrains Mono
|
font_family = JetBrains Mono
|
||||||
@@ -81,7 +81,7 @@ label {
|
|||||||
# -- battery view --
|
# -- battery view --
|
||||||
label {
|
label {
|
||||||
monitor =
|
monitor =
|
||||||
text = cmd[update:1000] bash -c 'cap=$(< /sys/class/power_supply/BAT0/capacity); stat=$(< /sys/class/power_supply/BAT0/status); if [ "$stat" = "Discharging" ]; then printf " %s%%" "$cap"; else if [ "$stat" = "Charging" ]; then printf " %s%%" "$cap"; else if [ "$stat" = "Full" ]; then printf " %s%%" "Full"; else printf ""; fi'
|
text = cmd[update:1000] $XDG_CONFIG_HOME/hypr/scripts/hyprlock/battery.sh
|
||||||
color = 0xFF{{ colors.surface_tint.default.hex_stripped }}
|
color = 0xFF{{ colors.surface_tint.default.hex_stripped }}
|
||||||
font_size = 14
|
font_size = 14
|
||||||
font_family = JetBrains Mono
|
font_family = JetBrains Mono
|
||||||
|
|||||||
Reference in New Issue
Block a user