Compare commits
4 commits
bc85c22f39
...
657e7289ec
Author | SHA1 | Date | |
---|---|---|---|
657e7289ec | |||
2ae2bb6c13 | |||
8aed7f06f1 | |||
b1e8aded32 |
4 changed files with 14 additions and 6 deletions
|
@ -29,8 +29,9 @@ in {
|
|||
# TODO: Use option for border size
|
||||
border = mkOption {default = 2;};
|
||||
|
||||
gap = mkOption {default = 10;};
|
||||
padding = mkOption {default = 56;}; # ?? journalctl --user -u waybar.service | grep height:
|
||||
gap = mkOption {default = 5;};
|
||||
padding = mkOption {default = 51;}; # ?? journalctl --user -u waybar.service | grep height:
|
||||
rounding = mkOption {default = 10;};
|
||||
|
||||
### Misc
|
||||
wallpaper = mkOption {default = false;};
|
||||
|
|
|
@ -120,7 +120,7 @@ in {
|
|||
"col.shadow" = "rgba(00000040)";
|
||||
blur.enabled = false;
|
||||
dim_special = 0;
|
||||
rounding = 12;
|
||||
rounding = config.custom.rounding;
|
||||
shadow_range = 50;
|
||||
shadow_render_power = 4; # Distance falloff
|
||||
};
|
||||
|
@ -197,7 +197,7 @@ in {
|
|||
# https://wiki.hyprland.org/Configuring/Variables/#cursor
|
||||
cursor = {
|
||||
hide_on_key_press = true;
|
||||
#// hotspot_padding = 10;
|
||||
hotspot_padding = config.custom.gap;
|
||||
#// min_refresh_rate = 60; # !! Hardware dependent
|
||||
#// no_break_fs_vrr = true;
|
||||
#// no_hardware_cursors = true;
|
||||
|
|
|
@ -43,9 +43,17 @@ in {
|
|||
# https://www.nerdfonts.com/cheat-sheet
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
style = ./style.css; # ?? waybar --log-level debug
|
||||
systemd.enable = true; # Start on login
|
||||
|
||||
# ?? waybar --log-level debug
|
||||
style = ''
|
||||
${readFile ./style.css}
|
||||
|
||||
.horizontal > box {
|
||||
margin: 0 ${toString config.custom.gap}px ${toString config.custom.gap}px;
|
||||
}
|
||||
'';
|
||||
|
||||
### SETTINGS ###
|
||||
# https://github.com/Alexays/Waybar/wiki/Configuration
|
||||
#?? pkill -SIGUSR2 -x waybar
|
||||
|
|
|
@ -33,7 +33,6 @@ tooltip {
|
|||
.horizontal > box {
|
||||
background: #002b36;
|
||||
border: 2px #073642 solid;
|
||||
margin: 0 10px 10px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue