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