some more style adjustments

This commit is contained in:
2025-03-08 13:39:35 +01:00
parent 3f7924651e
commit 9d55b1de59
6 changed files with 122 additions and 48 deletions

View File

@@ -154,27 +154,45 @@
", preferred, auto, 1" # automatically add any newly detected monitor
];
xwayland = {
enabled = false;
};
env = [
# force apps to use wayland
"NIXOS_OZONE_WL,1"
"ELECTRON_OZONE_PLATFORM_HINT,wayland"
# set the scale factor for GDK apps
"GDK_SCALE,1.5"
"XCURSOR_SIZE,32"
# set the scale factor for QT apps
"QT_SCALE_FACTOR,1.5"
# set the scale factor for GTK apps
];
};
plugins = [
# Global overview
# inputs.Hyprspace.packages.${pkgs.system}.Hyprspace
# Touch gestures: https://github.com/horriblename/hyprgrass
# inputs.hyprgrass.packages.${pkgs.system}.default
# Virtual desktops: https://github.com/levnikmyskin/hyprland-virtual-desktops
# inputs.hyprland-virtual-desktops.packages.${pkgs.system}.virtual-desktops
];
# TODO - plugins are broken for now
# plugins = [
# # Global overview
# inputs.Hyprspace.packages.${pkgs.system}.Hyprspace
# # Touch gestures: https://github.com/horriblename/hyprgrass
# inputs.hyprgrass.packages.${pkgs.system}.default
# ];
# plugin = {
# touch_gestures = {
# sensitivity = 4.0;
# # must be >= 3
# workspace_swipe_fingers = 3;
# };
# };
};
services.network-manager-applet = {
enable = true;
};
# services.network-manager-applet = {
# enable = true;
# };
services.swaync.enable = true;
}

View File

@@ -16,7 +16,8 @@
blur_size = 10;
};
input-field = {
size = "20%, 5%";
monitor = "";
size = "300, 60";
outline_thickness = 3;
inner_color = "rgba(0, 0, 0, 0.0)";
@@ -28,11 +29,49 @@
fade_on_empty = false;
rounding = 15;
position = "0, -20";
position = "0, -250";
halign = "center";
valign = "center";
};
label = [
{
# Day-Month-Date
monitor = "";
text = ''cmd[update:1000] echo -e "$(date +"%A, %B %d")"'';
# color = foreground;
font_size = 28;
# font_family = font + " Bold";
position = "0, 490";
halign = "center";
valign = "center";
}
# Time
{
monitor = "";
text = ''cmd[update:1000] echo "<span>$(date +"%I:%M")</span>"'';
# color = foreground;
font_size = 160;
# font_family = "steelfish outline regular";
position = "0, 370";
halign = "center";
valign = "center";
}
# USER
{
monitor = "";
text = " $USER";
# color = foreground;
outline_thickness = 2;
dots_size = 0.2; # Scale of input-field height, 0.2 - 0.8
dots_spacing = 0.2; # Scale of dots' absolute size, 0.0 - 1.0
dots_center = true;
font_size = 18;
# font_family = font + " Bold";
position = "0, -180";
halign = "center";
valign = "center";
}
];
};
# Style the lock screen
};
}

View File

@@ -108,6 +108,10 @@
format-plugged = "{capacity}% 󰂄 ";
format-icons = [ "󰁻" "󰁼" "󰁾" "󰂀" "󰂂" "󰁹" ];
};
"backlight" = {
"format" = "{percent}% {icon}",;
"format-icons" = ["" "" "" "" "" "" "" "" ""];
};
"wireplumber" = {
scroll-step = 10;
format = "{icon} {volume}%";# {format_source}";
@@ -133,7 +137,6 @@
"tray" = {
spacing = 5;
};
"custom/notification" = {
tooltip = false;
format = "{icon} {}";
@@ -202,6 +205,12 @@
padding: 3px;
}
#battery.warning {
background:rgba(240, 165, 0, 0.6);
}
#battery.critical {
background:rgba(255, 0, 0, 0.6);
}
'';
};
}