adopt hypridle and hyprlock; byebye swayidle and swaylock

This commit is contained in:
end-4
2024-02-20 22:24:39 +07:00
parent f2cbac2e6a
commit ac2b144f97
13 changed files with 228 additions and 62 deletions
@@ -0,0 +1,34 @@
$SLURP_COMMAND="$(slurp -d -c {{ $onSecondaryContainer }}BB -b {{ $secondaryContainer }}44 -s 00000000)"
general {
col.active_border = rgba({{ $onSurface }}45)
col.inactive_border = rgba({{ $outline }}33)
}
misc {
background_color = rgba({{ $surface }}FF)
}
plugin {
hyprbars {
# Honestly idk if it works like css, but well, why not
bar_text_font = Rubik, Geist, AR One Sans, Reddit Sans, Inter, Roboto, Ubuntu, Noto Sans, sans-serif
bar_height = 30
bar_padding = 10
bar_button_padding = 5
bar_precedence_over_border = true
bar_part_of_window = true
bar_color = rgba({{ $background }}FF)
col.text = rgba({{ $onBackground }}FF)
# example buttons (R -> L)
# hyprbars-button = color, size, on-click
hyprbars-button = rgb({{ $onBackground }}), 13, 󰖭, hyprctl dispatch killactive
hyprbars-button = rgb({{ $onBackground }}), 13, 󰖯, hyprctl dispatch fullscreen 1
hyprbars-button = rgb({{ $onBackground }}), 13, 󰖰, hyprctl dispatch movetoworkspacesilent special
}
}
windowrulev2 = bordercolor rgba({{ $primary }}AA) rgba({{ $primary }}77),pinned:1