1
1
Fork 0

Compare commits

...

4 commits

Author SHA1 Message Date
657e7289ec
custom: modify gap
Signed-off-by: Myned <dev@bjork.tech>
2024-10-06 10:45:50 -05:00
2ae2bb6c13
custom: add rounding option
Signed-off-by: Myned <dev@bjork.tech>
2024-10-06 10:45:37 -05:00
8aed7f06f1
hyprland: use custom gap for hotspot
Signed-off-by: Myned <dev@bjork.tech>
2024-10-06 10:44:48 -05:00
b1e8aded32
waybar: use custom gap option
Signed-off-by: Myned <dev@bjork.tech>
2024-10-06 10:44:01 -05:00
4 changed files with 14 additions and 6 deletions

View file

@ -29,8 +29,9 @@ in {
# TODO: Use option for border size # TODO: Use option for border size
border = mkOption {default = 2;}; border = mkOption {default = 2;};
gap = mkOption {default = 10;}; gap = mkOption {default = 5;};
padding = mkOption {default = 56;}; # ?? journalctl --user -u waybar.service | grep height: padding = mkOption {default = 51;}; # ?? journalctl --user -u waybar.service | grep height:
rounding = mkOption {default = 10;};
### Misc ### Misc
wallpaper = mkOption {default = false;}; wallpaper = mkOption {default = false;};

View file

@ -120,7 +120,7 @@ in {
"col.shadow" = "rgba(00000040)"; "col.shadow" = "rgba(00000040)";
blur.enabled = false; blur.enabled = false;
dim_special = 0; dim_special = 0;
rounding = 12; rounding = config.custom.rounding;
shadow_range = 50; shadow_range = 50;
shadow_render_power = 4; # Distance falloff shadow_render_power = 4; # Distance falloff
}; };
@ -197,7 +197,7 @@ in {
# https://wiki.hyprland.org/Configuring/Variables/#cursor # https://wiki.hyprland.org/Configuring/Variables/#cursor
cursor = { cursor = {
hide_on_key_press = true; hide_on_key_press = true;
#// hotspot_padding = 10; hotspot_padding = config.custom.gap;
#// min_refresh_rate = 60; # !! Hardware dependent #// min_refresh_rate = 60; # !! Hardware dependent
#// no_break_fs_vrr = true; #// no_break_fs_vrr = true;
#// no_hardware_cursors = true; #// no_hardware_cursors = true;

View file

@ -43,9 +43,17 @@ in {
# https://www.nerdfonts.com/cheat-sheet # https://www.nerdfonts.com/cheat-sheet
programs.waybar = { programs.waybar = {
enable = true; enable = true;
style = ./style.css; # ?? waybar --log-level debug
systemd.enable = true; # Start on login 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 ### ### SETTINGS ###
# https://github.com/Alexays/Waybar/wiki/Configuration # https://github.com/Alexays/Waybar/wiki/Configuration
#?? pkill -SIGUSR2 -x waybar #?? pkill -SIGUSR2 -x waybar

View file

@ -33,7 +33,6 @@ tooltip {
.horizontal > box { .horizontal > box {
background: #002b36; background: #002b36;
border: 2px #073642 solid; border: 2px #073642 solid;
margin: 0 10px 10px;
padding: 4px; padding: 4px;
} }