mirror of
https://github.com/d3m0k1d/dots.git
synced 2026-03-14 18:02:44 +00:00
Upd hyprlock and update config for new version hyprland
This commit is contained in:
@@ -259,8 +259,9 @@ bindl = , XF86AudioPrev, exec, playerctl previous
|
|||||||
# Example windowrule
|
# Example windowrule
|
||||||
# windowrule = float,class:^(kitty)$,title:^(kitty)$
|
# windowrule = float,class:^(kitty)$,title:^(kitty)$
|
||||||
|
|
||||||
# Ignore maximize requests from apps. You'll probably like this.
|
|
||||||
windowrule = suppressevent maximize, class:.*
|
|
||||||
|
|
||||||
# Fix some dragging issues with XWayland
|
|
||||||
windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
|
windowrule = suppress_event maximize, match:class .*
|
||||||
|
|
||||||
|
|
||||||
|
windowrule = no_focus on, match:class ^$, match:title ^$, match:xwayland 1, match:float 1, match:fullscreen 0, match:pin 0
|
||||||
|
|||||||
@@ -72,3 +72,61 @@ input-field {
|
|||||||
valign = center
|
valign = center
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = cmd[update:5000] echo " $(cat /sys/class/power_supply/BATT/capacity)%"
|
||||||
|
color = rgba(242, 243, 244, 0.75)
|
||||||
|
font_size = 20
|
||||||
|
font_family = JetBrainsMono Nerd Font
|
||||||
|
halign = right
|
||||||
|
valign = bottom
|
||||||
|
}
|
||||||
|
|
||||||
|
shape {
|
||||||
|
monitor =
|
||||||
|
size = 160, 160
|
||||||
|
color = rgba(0, 0, 0, 0.0)
|
||||||
|
rounding = -1
|
||||||
|
border_size = 2
|
||||||
|
border_color = rgba(242, 243, 244, 0.75)
|
||||||
|
position = 0, 200
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
|
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = cmd[update:2000] echo "CPU $(top -bn1 | grep "Cpu(s)" | awk '{print $2}')% RAM $(free -h | awk '/^Mem:/ {print $3"/"$2}')"
|
||||||
|
color = rgba(242, 243, 244, 0.75)
|
||||||
|
font_size = 14
|
||||||
|
font_family = JetBrainsMono Nerd Font
|
||||||
|
halign = left
|
||||||
|
valign = top
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text =
|
||||||
|
color = rgba(255, 85, 85, 0.8)
|
||||||
|
font_size = 30
|
||||||
|
font_family = JetBrainsMono Nerd Font
|
||||||
|
|
||||||
|
halign = right
|
||||||
|
valign = top
|
||||||
|
onclick = systemctl poweroff
|
||||||
|
}
|
||||||
|
|
||||||
|
# Reboot button
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text =
|
||||||
|
color = rgba(242, 243, 244, 0.75)
|
||||||
|
font_size = 30
|
||||||
|
font_family = JetBrainsMono Nerd Font
|
||||||
|
|
||||||
|
halign = right
|
||||||
|
valign = top
|
||||||
|
onclick = systemctl reboot
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user