Update
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
./hyprlock.nix
|
||||
./hypridle.nix
|
||||
./hyprpaper.nix
|
||||
./hyprcursor.nix
|
||||
# ./hyprcursor.nix
|
||||
./hyprpanel.nix
|
||||
];
|
||||
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
{ pkgs, ... }: {
|
||||
# wayland.windowManager.hyprland.settings.exec-once =
|
||||
# [ "${pkgs.hypridle}/bin/hypridle" ];
|
||||
|
||||
services.hypridle = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{ config, ... }: {
|
||||
|
||||
{ config, ... }:
|
||||
let foreground = "rgba(216, 222, 233, 0.70)";
|
||||
in {
|
||||
programs.hyprlock = {
|
||||
enable = true;
|
||||
settings = {
|
||||
@@ -12,10 +13,10 @@
|
||||
# BACKGROUND
|
||||
background = {
|
||||
monitor = "";
|
||||
path = "~/wallpapers/${config.var.theme.wallpaper}";
|
||||
path = toString config.stylix.image;
|
||||
blur_passes = 0;
|
||||
contrast = 0.8916;
|
||||
brightness = 0.8172;
|
||||
brightness = 0.7172;
|
||||
vibrancy = 0.1696;
|
||||
vibrancy_darkness = 0.0;
|
||||
};
|
||||
@@ -25,9 +26,9 @@
|
||||
# Day-Month-Date
|
||||
monitor = "";
|
||||
text = ''cmd[update:1000] echo -e "$(date +"%A, %B %d")"'';
|
||||
color = "rgba(216, 222, 233, .7)";
|
||||
color = foreground;
|
||||
font_size = 28;
|
||||
font_family = "SFProDisplay Nerd Font Bold";
|
||||
font_family = config.stylix.fonts.serif.name + " Bold";
|
||||
position = "0, 490";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
@@ -36,7 +37,7 @@
|
||||
{
|
||||
monitor = "";
|
||||
text = ''cmd[update:1000] echo "<span>$(date +"%I:%M")</span>"'';
|
||||
color = "rgba(216, 222, 233, .7)";
|
||||
color = foreground;
|
||||
font_size = 160;
|
||||
font_family = "steelfish outline regular";
|
||||
position = "0, 370";
|
||||
@@ -47,34 +48,19 @@
|
||||
{
|
||||
monitor = "";
|
||||
text = " $USER";
|
||||
color = "rgba(216, 222, 233, 0.80)";
|
||||
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 = "SFProDisplay Nerd Font Bold";
|
||||
font_family = config.stylix.fonts.serif.name + " Bold";
|
||||
position = "0, -180";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
}
|
||||
];
|
||||
|
||||
# Foreground
|
||||
# image = [{
|
||||
# monitor = "";
|
||||
# path = "~/.config/hypr/foreground.png";
|
||||
# size = 700;
|
||||
# border_size = 0;
|
||||
# rounding = 0;
|
||||
# rotate = 0;
|
||||
# reload_time = 0;
|
||||
# reload_cmd = "";
|
||||
# position = "0, -66";
|
||||
# halign = "center";
|
||||
# valign = "center";
|
||||
# }];
|
||||
|
||||
# INPUT FIELD
|
||||
input-field = [{
|
||||
monitor = "";
|
||||
@@ -85,11 +71,10 @@
|
||||
dots_center = true;
|
||||
outer_color = "rgba(255, 255, 255, 0)";
|
||||
inner_color = "rgba(255, 255, 255, 0.1)";
|
||||
font_color = "rgb(200, 200, 200)";
|
||||
font_color = foreground;
|
||||
fade_on_empty = false;
|
||||
font_family = "SFProDisplay Nerd Font Bold";
|
||||
placeholder_text =
|
||||
''<i><span foreground="##ffffff99">🔒 Enter Pass</span></i>'';
|
||||
font_family = config.stylix.fonts.serif.name + " Bold";
|
||||
placeholder_text = "<i>🔒 Enter Pass</i>";
|
||||
hide_input = false;
|
||||
position = "0, -250";
|
||||
halign = "center";
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"theme.font.name": "${config.var.theme.font}",
|
||||
"theme.font.name": "${config.stylix.fonts.serif.name}",
|
||||
"theme.font.size": "${toString config.var.theme.bar.font-size}px",
|
||||
"theme.bar.outer_spacing": "${
|
||||
if config.var.theme.bar.floating
|
||||
@@ -96,9 +96,9 @@
|
||||
"theme.bar.buttons.padding_x": "0.8rem",
|
||||
"theme.bar.buttons.padding_y": "0.4rem",
|
||||
|
||||
"theme.bar.buttons.workspaces.hover": "#${config.var.theme.colors.accentalt}",
|
||||
"theme.bar.buttons.workspaces.active": "#${config.var.theme.colors.accent}",
|
||||
"theme.bar.buttons.workspaces.available": "#${config.var.theme.colors.bg}",
|
||||
"theme.bar.buttons.workspaces.hover": "#${config.lib.stylix.colors.base0A}",
|
||||
"theme.bar.buttons.workspaces.active": "#${config.lib.stylix.colors.base0D}",
|
||||
"theme.bar.buttons.workspaces.available": "#${config.lib.stylix.colors.base00}",
|
||||
|
||||
"theme.bar.margin_top": "1.0em",
|
||||
"theme.bar.margin_sides": "${toString config.var.theme.gaps-out}px",
|
||||
@@ -168,61 +168,61 @@
|
||||
|
||||
"theme.bar.menus.monochrome": true,
|
||||
"wallpaper.enable": false,
|
||||
"theme.bar.menus.background": "#${config.var.theme.colors.bg}",
|
||||
"theme.bar.menus.cards": "#${config.var.theme.colors.bgalt}",
|
||||
"theme.bar.menus.background": "#${config.lib.stylix.colors.base00}",
|
||||
"theme.bar.menus.cards": "#${config.lib.stylix.colors.base01}",
|
||||
"theme.bar.menus.card_radius": "${
|
||||
toString config.var.theme.rounding
|
||||
}px",
|
||||
"theme.bar.menus.label": "#${config.var.theme.colors.fg}",
|
||||
"theme.bar.menus.text": "#${config.var.theme.colors.fg}",
|
||||
"theme.bar.menus.label": "#${config.lib.stylix.colors.base05}",
|
||||
"theme.bar.menus.text": "#${config.lib.stylix.colors.base05}",
|
||||
"theme.bar.menus.border.size": "${
|
||||
toString config.var.theme.border-size
|
||||
}px",
|
||||
"theme.bar.menus.border.color": "#${config.var.theme.colors.accent}",
|
||||
"theme.bar.menus.border.color": "#${config.lib.stylix.colors.base0D}",
|
||||
"theme.bar.menus.border.radius": "${
|
||||
toString config.var.theme.rounding
|
||||
}px",
|
||||
"theme.bar.menus.popover.text": "#${config.var.theme.colors.fg}",
|
||||
"theme.bar.menus.popover.background": "#${config.var.theme.colors.bgalt}",
|
||||
"theme.bar.menus.listitems.active": "#${config.var.theme.colors.accent}",
|
||||
"theme.bar.menus.icons.active": "#${config.var.theme.colors.accent}",
|
||||
"theme.bar.menus.switch.enabled": "#${config.var.theme.colors.accent}",
|
||||
"theme.bar.menus.check_radio_button.active": "#${config.var.theme.colors.accent}",
|
||||
"theme.bar.menus.buttons.default": "#${config.var.theme.colors.accent}",
|
||||
"theme.bar.menus.buttons.active": "#${config.var.theme.colors.accent}",
|
||||
"theme.bar.menus.iconbuttons.active": "#${config.var.theme.colors.accent}",
|
||||
"theme.bar.menus.progressbar.foreground": "#${config.var.theme.colors.accent}",
|
||||
"theme.bar.menus.slider.primary": "#${config.var.theme.colors.accent}",
|
||||
"theme.bar.menus.tooltip.background": "#${config.var.theme.colors.bgalt}",
|
||||
"theme.bar.menus.tooltip.text": "#${config.var.theme.colors.fg}",
|
||||
"theme.bar.menus.dropdownmenu.background": "#${config.var.theme.colors.bgalt}",
|
||||
"theme.bar.menus.dropdownmenu.text": "#${config.var.theme.colors.fg}",
|
||||
"theme.bar.background": "#${config.var.theme.colors.bg}",
|
||||
"theme.bar.menus.popover.text": "#${config.lib.stylix.colors.base05}",
|
||||
"theme.bar.menus.popover.background": "#${config.lib.stylix.colors.base01}",
|
||||
"theme.bar.menus.listitems.active": "#${config.lib.stylix.colors.base0D}",
|
||||
"theme.bar.menus.icons.active": "#${config.lib.stylix.colors.base0D}",
|
||||
"theme.bar.menus.switch.enabled": "#${config.lib.stylix.colors.base0D}",
|
||||
"theme.bar.menus.check_radio_button.active": "#${config.lib.stylix.colors.base0D}",
|
||||
"theme.bar.menus.buttons.default": "#${config.lib.stylix.colors.base0D}",
|
||||
"theme.bar.menus.buttons.active": "#${config.lib.stylix.colors.base0D}",
|
||||
"theme.bar.menus.iconbuttons.active": "#${config.lib.stylix.colors.base0D}",
|
||||
"theme.bar.menus.progressbar.foreground": "#${config.lib.stylix.colors.base0D}",
|
||||
"theme.bar.menus.slider.primary": "#${config.lib.stylix.colors.base0D}",
|
||||
"theme.bar.menus.tooltip.background": "#${config.lib.stylix.colors.base01}",
|
||||
"theme.bar.menus.tooltip.text": "#${config.lib.stylix.colors.base05}",
|
||||
"theme.bar.menus.dropdownmenu.background": "#${config.lib.stylix.colors.base01}",
|
||||
"theme.bar.menus.dropdownmenu.text": "#${config.lib.stylix.colors.base05}",
|
||||
"theme.bar.background": "#${config.lib.stylix.colors.base00}",
|
||||
"theme.bar.buttons.style": "default",
|
||||
"theme.bar.buttons.monochrome": true,
|
||||
"theme.bar.buttons.text": "#${config.var.theme.colors.fg}",
|
||||
"theme.bar.buttons.background": "#${config.var.theme.colors.bgalt}",
|
||||
"theme.bar.buttons.icon": "#${config.var.theme.colors.accent}",
|
||||
"theme.bar.buttons.notifications.background": "#${config.var.theme.colors.bgalt}",
|
||||
"theme.bar.buttons.hover": "#${config.var.theme.colors.bg}",
|
||||
"theme.bar.buttons.notifications.hover": "#${config.var.theme.colors.bg}",
|
||||
"theme.bar.buttons.notifications.total": "#${config.var.theme.colors.accent}",
|
||||
"theme.bar.buttons.notifications.icon": "#${config.var.theme.colors.accent}",
|
||||
"theme.notification.background": "#${config.var.theme.colors.bgalt}",
|
||||
"theme.notification.actions.background": "#${config.var.theme.colors.accent}",
|
||||
"theme.notification.actions.text": "#${config.var.theme.colors.fg}",
|
||||
"theme.notification.label": "#${config.var.theme.colors.accent}",
|
||||
"theme.notification.border": "#${config.var.theme.colors.bgalt}",
|
||||
"theme.notification.text": "#${config.var.theme.colors.fgalt}",
|
||||
"theme.notification.labelicon": "#${config.var.theme.colors.accent}",
|
||||
"theme.osd.bar_color": "#${config.var.theme.colors.accent}",
|
||||
"theme.osd.bar_overflow_color": "#${config.var.theme.colors.accentalt}",
|
||||
"theme.osd.icon": "#${config.var.theme.colors.bg}",
|
||||
"theme.osd.icon_container": "#${config.var.theme.colors.accent}",
|
||||
"theme.osd.label": "#${config.var.theme.colors.accent}",
|
||||
"theme.osd.bar_container": "#${config.var.theme.colors.bgalt}",
|
||||
"theme.bar.menus.menu.media.background.color": "#${config.var.theme.colors.bgalt}",
|
||||
"theme.bar.menus.menu.media.card.color": "#${config.var.theme.colors.bgalt}",
|
||||
"theme.bar.buttons.text": "#${config.lib.stylix.colors.base05}",
|
||||
"theme.bar.buttons.background": "#${config.lib.stylix.colors.base01}",
|
||||
"theme.bar.buttons.icon": "#${config.lib.stylix.colors.base0D}",
|
||||
"theme.bar.buttons.notifications.background": "#${config.lib.stylix.colors.base01}",
|
||||
"theme.bar.buttons.hover": "#${config.lib.stylix.colors.base00}",
|
||||
"theme.bar.buttons.notifications.hover": "#${config.lib.stylix.colors.base00}",
|
||||
"theme.bar.buttons.notifications.total": "#${config.lib.stylix.colors.base0D}",
|
||||
"theme.bar.buttons.notifications.icon": "#${config.lib.stylix.colors.base0D}",
|
||||
"theme.notification.background": "#${config.lib.stylix.colors.base01}",
|
||||
"theme.notification.actions.background": "#${config.lib.stylix.colors.base0D}",
|
||||
"theme.notification.actions.text": "#${config.lib.stylix.colors.base05}",
|
||||
"theme.notification.label": "#${config.lib.stylix.colors.base0D}",
|
||||
"theme.notification.border": "#${config.lib.stylix.colors.base01}",
|
||||
"theme.notification.text": "#${config.lib.stylix.colors.base05}",
|
||||
"theme.notification.labelicon": "#${config.lib.stylix.colors.base0D}",
|
||||
"theme.osd.bar_color": "#${config.lib.stylix.colors.base0D}",
|
||||
"theme.osd.bar_overflow_color": "#${config.lib.stylix.colors.base0A}",
|
||||
"theme.osd.icon": "#${config.lib.stylix.colors.base00}",
|
||||
"theme.osd.icon_container": "#${config.lib.stylix.colors.base0D}",
|
||||
"theme.osd.label": "#${config.lib.stylix.colors.base0D}",
|
||||
"theme.osd.bar_container": "#${config.lib.stylix.colors.base01}",
|
||||
"theme.bar.menus.menu.media.background.color": "#${config.lib.stylix.colors.base01}",
|
||||
"theme.bar.menus.menu.media.card.color": "#${config.lib.stylix.colors.base01}",
|
||||
"theme.bar.menus.menu.media.card.tint": 90,
|
||||
"bar.customModules.updates.pollingInterval": 1440000,
|
||||
"bar.media.show_active_only": true
|
||||
|
||||
@@ -1,15 +1,10 @@
|
||||
{ pkgs, config, ... }: {
|
||||
# wayland.windowManager.hyprland.settings.exec-once =
|
||||
# [ "${pkgs.hyprpaper}/bin/hyprpaper" ];
|
||||
|
||||
{ ... }: {
|
||||
services.hyprpaper = {
|
||||
enable = true;
|
||||
settings = {
|
||||
ipc = "on";
|
||||
splash = false;
|
||||
splash_offset = 2.0;
|
||||
preload = [ "~/wallpapers/${config.var.theme.wallpaper}" ];
|
||||
wallpaper = [ ",~/wallpapers/${config.var.theme.wallpaper}" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user