feat(hyprlock): visuals
This commit is contained in:
@@ -3,13 +3,15 @@
|
||||
osConfig,
|
||||
clib,
|
||||
...
|
||||
}: let
|
||||
}:
|
||||
let
|
||||
inherit (lib) mkIf;
|
||||
cfg = osConfig.nixos.programs.hyprland;
|
||||
|
||||
bg = osConfig.settings.theme.background;
|
||||
inherit (clib.theme.bgs) resolve;
|
||||
in {
|
||||
in
|
||||
{
|
||||
config = mkIf cfg.enable {
|
||||
programs.hyprlock = {
|
||||
enable = true;
|
||||
@@ -52,6 +54,7 @@ in {
|
||||
position = "0, 20";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
font_family = "DepartureMono Nerd Font Mono Italic";
|
||||
}
|
||||
];
|
||||
label = [
|
||||
@@ -63,7 +66,7 @@ in {
|
||||
shadow_boost = 0.5;
|
||||
color = "rgba(FFFFFFFF)";
|
||||
font_size = 25;
|
||||
font_family = "Input Mono Compressed";
|
||||
font_family = "DepartureMono Nerd Font Mono Regular";
|
||||
position = "0, 230";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
@@ -76,7 +79,7 @@ in {
|
||||
shadow_boost = 0.5;
|
||||
color = "rgba(FFFFFFFF)";
|
||||
font_size = 85;
|
||||
font_family = "Input Mono Compressed";
|
||||
font_family = "DepartureMono Nerd Font Mono Regular";
|
||||
position = "0, 300";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
|
||||
@@ -131,15 +131,23 @@
|
||||
"3": "3",
|
||||
"4": "4",
|
||||
"5": "5",
|
||||
"active": "_",
|
||||
"default": "_"
|
||||
"6": "6",
|
||||
"7": "7",
|
||||
"8": "8",
|
||||
"9": "9",
|
||||
"default": "_",
|
||||
"active": "_"
|
||||
},
|
||||
"on-click": "activate",
|
||||
"show-special": false,
|
||||
"on-scroll-up": "hyprctl dispatch workspace r-1",
|
||||
"on-scroll-down": "hyprctl dispatch workspace r+1",
|
||||
"persistent-workspaces": {
|
||||
"*": 3
|
||||
"1": [],
|
||||
"2": [],
|
||||
"3": [],
|
||||
"4": [],
|
||||
"5": []
|
||||
}
|
||||
},
|
||||
"niri/workspaces": {
|
||||
|
||||
@@ -28,8 +28,8 @@ tooltip label {
|
||||
margin: 0 0px;
|
||||
background-color: transparent;
|
||||
color: #fbf1c7;
|
||||
border-top: 2px solid transparent;
|
||||
border-bottom: 2px solid transparent;
|
||||
border-top: 4px solid transparent;
|
||||
border-bottom: 4px solid transparent;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
@@ -45,7 +45,7 @@ tooltip label {
|
||||
background-image: url("assets/button.svg");
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 24px 20px;
|
||||
background-size: 21px 18px;
|
||||
}
|
||||
|
||||
#custom-trayicon {
|
||||
|
||||
Reference in New Issue
Block a user