rice tweaks
This commit is contained in:
parent
744e84f8c7
commit
d625caa14d
4 changed files with 61 additions and 21 deletions
|
|
@ -139,13 +139,13 @@
|
||||||
|
|
||||||
layerrule = [
|
layerrule = [
|
||||||
"no_anim on, match:namespace selection" # hyprshot overlay
|
"no_anim on, match:namespace selection" # hyprshot overlay
|
||||||
|
"no_anim on, match:namespace hyprpicker"
|
||||||
"animation fade, match:namespace swww-daemon"
|
"animation fade, match:namespace swww-daemon"
|
||||||
"animation fade, match:namespace logout_dialog"
|
"animation fade, match:namespace logout_dialog"
|
||||||
"animation fade, match:namespace hyprshutdown"
|
"animation fade, match:namespace hyprshutdown"
|
||||||
"above_lock 1, match:namespace waybar"
|
|
||||||
"above_lock 2, match:namespace notifications"
|
"above_lock 2, match:namespace notifications"
|
||||||
"above_lock 2, match:namespace selection"
|
# "above_lock 1, match:namespace waybar"
|
||||||
"above_lock 2, match:namespace logout_dialog"
|
# "above_lock 2, match:namespace logout_dialog"
|
||||||
];
|
];
|
||||||
|
|
||||||
windowrule = [
|
windowrule = [
|
||||||
|
|
|
||||||
|
|
@ -23,23 +23,60 @@
|
||||||
background = [
|
background = [
|
||||||
{
|
{
|
||||||
path = "screenshot";
|
path = "screenshot";
|
||||||
brightness = 0.25;
|
brightness = 0.5;
|
||||||
blur_passes = 3;
|
blur_passes = 3;
|
||||||
blur_size = 1;
|
blur_size = 2;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
label = [
|
label = [
|
||||||
|
# {
|
||||||
|
# text = "<span> </span>";
|
||||||
|
# color = "$subtext1";
|
||||||
|
# font_size = 64;
|
||||||
|
# position = "0, 0";
|
||||||
|
# shadow_passes = 1;
|
||||||
|
# shadow_boost = 0.5;
|
||||||
|
# halign = "center";
|
||||||
|
# valign = "center";
|
||||||
|
# }
|
||||||
{
|
{
|
||||||
text = "<span> </span>";
|
text = "cmd[update:1000] echo \"<span>$(date +'%I:%M')</span>\"";
|
||||||
color = "$subtext1";
|
color = "rgba(216, 222, 233, 0.7)";
|
||||||
font_size = 64;
|
font_size = "120";
|
||||||
position = "0, 0";
|
font_family = rice.font;
|
||||||
shadow_passes = 1;
|
position = "0, 240";
|
||||||
shadow_boost = 0.5;
|
|
||||||
halign = "center";
|
halign = "center";
|
||||||
valign = "center";
|
valign = "center";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
text = "cmd[update:1000] echo \"$(date +'%A, %d %B')\"";
|
||||||
|
color = "rgba(216, 222, 233, 0.7)";
|
||||||
|
font_size = "30";
|
||||||
|
font_family = rice.font;
|
||||||
|
position = "0, 105";
|
||||||
|
halign = "center";
|
||||||
|
valign = "center";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
text = " Hibernate";
|
||||||
|
color = "rgba(255, 255, 255, 0.7)";
|
||||||
|
font_size = "10";
|
||||||
|
onclick = "systemctl hibernate";
|
||||||
|
font_family = rice.font;
|
||||||
|
position = "${toString (rice.gap.outer + 12)}, -${toString (rice.gap.outer + 8)}";
|
||||||
|
halign = "left";
|
||||||
|
valign = "top";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
text = "cmd[update:1000] echo \" $(upower -i $(upower -e | grep 'BAT') | grep 'percentage' | awk '{print $2}' | sed 's/%//')%\"";
|
||||||
|
color = "rgba(255, 255, 255, 0.7)";
|
||||||
|
font_size = "10";
|
||||||
|
font_family = rice.font;
|
||||||
|
position = "-${toString (rice.gap.outer + 12)}, -${toString (rice.gap.outer + 8)}";
|
||||||
|
halign = "right";
|
||||||
|
valign = "top";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
input-field = [
|
input-field = [
|
||||||
|
|
@ -58,7 +95,7 @@
|
||||||
outer_color = if rice.borders.colored then "$accent" else "$overlay0";
|
outer_color = if rice.borders.colored then "$accent" else "$overlay0";
|
||||||
inner_color = "$crust";
|
inner_color = "$crust";
|
||||||
font_color = "$text";
|
font_color = "$text";
|
||||||
placeholder_text = "Type your password";
|
placeholder_text = " Type your password";
|
||||||
font_family = rice.font;
|
font_family = rice.font;
|
||||||
# font_family = "monospace";
|
# font_family = "monospace";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -61,14 +61,7 @@
|
||||||
bindc = [
|
bindc = [
|
||||||
"SUPER, mouse:274, killactive"
|
"SUPER, mouse:274, killactive"
|
||||||
];
|
];
|
||||||
|
|
||||||
bindl = [
|
|
||||||
", switch:on:Lid Switch, exec, systemctl suspend"
|
|
||||||
"SUPER, SPACE, exec, playerctl play-pause"
|
|
||||||
"SUPER, M, exec, wlogout"
|
|
||||||
"SUPER, TAB, exec, pkill -SIGUSR1 waybar"
|
|
||||||
];
|
|
||||||
|
|
||||||
bindel = [
|
bindel = [
|
||||||
",XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+"
|
",XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+"
|
||||||
",XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
|
",XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
|
||||||
|
|
@ -77,8 +70,18 @@
|
||||||
",XF86MonBrightnessUp, exec, brightnessctl s 10%+"
|
",XF86MonBrightnessUp, exec, brightnessctl s 10%+"
|
||||||
",XF86MonBrightnessDown, exec, brightnessctl s 10%-"
|
",XF86MonBrightnessDown, exec, brightnessctl s 10%-"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
bindl = [
|
||||||
|
", switch:on:Lid Switch, exec, systemctl suspend"
|
||||||
|
"SUPER, SPACE, exec, playerctl play-pause"
|
||||||
|
# "SUPER, M, exec, wlogout"
|
||||||
|
# "SUPER, TAB, exec, pkill -SIGUSR1 waybar"
|
||||||
|
];
|
||||||
|
|
||||||
bind = [
|
bind = [
|
||||||
|
"SUPER, M, exec, wlogout"
|
||||||
|
"SUPER, TAB, exec, pkill -SIGUSR1 waybar"
|
||||||
|
|
||||||
",XF86Favorites, togglespecialworkspace, x"
|
",XF86Favorites, togglespecialworkspace, x"
|
||||||
",XF86Bluetooth, exec, [float; size 75%] uwsm app -- blueman-manager"
|
",XF86Bluetooth, exec, [float; size 75%] uwsm app -- blueman-manager"
|
||||||
",XF86Keyboard, exec, hyprctl dispatch submap reset"
|
",XF86Keyboard, exec, hyprctl dispatch submap reset"
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,7 @@
|
||||||
interval = 5;
|
interval = 5;
|
||||||
format = " {used}";
|
format = " {used}";
|
||||||
on-click = "hyprctl dispatch exec '[float; size 75%]' kitty btop";
|
on-click = "hyprctl dispatch exec '[float; size 75%]' kitty btop";
|
||||||
on-click-right = "kitty sh -c 'sudo nix-collect-garbage -d; nix-collect-garbage -d; read'";
|
on-click-right = "kitty sh -c 'sudo nix-collect-garbage -d; nix-collect-garbage -d; nix store optimise; sudo journalctl --rotate --vacuum-time=1s --vacuum-files=1; read'";
|
||||||
};
|
};
|
||||||
"network" = {
|
"network" = {
|
||||||
interval = 1;
|
interval = 1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue