Compare commits
6
Commits
b1534e45c4
...
0.56.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
666ad77a02 | ||
|
|
fade16974b | ||
|
|
deed6d81bc | ||
|
|
75ce12490b | ||
|
|
c0201ea4e7 | ||
|
|
320ad9df0f |
+2
-5
@@ -10,11 +10,8 @@ general {
|
||||
|
||||
# dpms
|
||||
listener {
|
||||
# DPMS TIMEOUT
|
||||
timeout = 660
|
||||
# DPMS ONTIMEOUT
|
||||
on-timeout = hyprctl dispatch dpms off
|
||||
# DPMS ONRESUME
|
||||
on-resume = hyprctl dispatch dpms on
|
||||
on-timeout = hyprctl dispatch 'hl.dsp.dpms({ action = "disable" })'
|
||||
on-resume = hyprctl dispatch 'hl.dsp.dpms({ action = "enable" })'
|
||||
}
|
||||
|
||||
|
||||
+2
-5
@@ -30,12 +30,9 @@ listener {
|
||||
|
||||
# dpms
|
||||
listener {
|
||||
# DPMS TIMEOUT
|
||||
timeout = 660
|
||||
# DPMS ONTIMEOUT
|
||||
on-timeout = hyprctl dispatch dpms off
|
||||
# DPMS ONRESUME
|
||||
on-resume = hyprctl dispatch dpms on
|
||||
on-timeout = hyprctl dispatch 'hl.dsp.dpms({ action = "disable" })'
|
||||
on-resume = hyprctl dispatch 'hl.dsp.dpms({ action = "enable" })'
|
||||
}
|
||||
|
||||
# Suspend
|
||||
|
||||
@@ -13,8 +13,8 @@ M.curves = {
|
||||
curve = {
|
||||
type = "spring",
|
||||
mass = 1,
|
||||
stiffness = 50,
|
||||
dampening = 8,
|
||||
stiffness = 500,
|
||||
dampening = 20,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -9,6 +9,15 @@ M.layer_rules = {
|
||||
blur = true,
|
||||
},
|
||||
|
||||
{
|
||||
name = "hibiki",
|
||||
match = {
|
||||
namespace = "^(hibiki)$",
|
||||
},
|
||||
blur = true,
|
||||
ignore_alpha = 0.10,
|
||||
},
|
||||
|
||||
{
|
||||
name = "waybar-translucent-popups",
|
||||
match = {
|
||||
|
||||
@@ -12,6 +12,9 @@ M.confs = {
|
||||
background_color = colorscheme.background,
|
||||
font_family = settings["font_family"],
|
||||
},
|
||||
xwayland = {
|
||||
force_zero_scaling = true,
|
||||
},
|
||||
}
|
||||
|
||||
function M.load()
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [[ ! -d /sys/class/power_supply/BAT1 ]]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Get the current battery percentage
|
||||
battery_percentage=$(cat /sys/class/power_supply/BAT1/capacity)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user