♻️ Moved wallpapers, added wallpapers and secrets to theme and common files
This commit is contained in:
@ -31,13 +31,7 @@ in
|
||||
./zen
|
||||
];
|
||||
|
||||
dconf = {
|
||||
enable = true;
|
||||
settings = {
|
||||
# Prefer dark mode for all GTK apps
|
||||
"org/gnome/desktop/interface".color-scheme = "prefer-dark";
|
||||
};
|
||||
};
|
||||
dconf.enable = true;
|
||||
|
||||
home = {
|
||||
username = username;
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 282 KiB |
@ -7,5 +7,10 @@
|
||||
icon.enable = true;
|
||||
};
|
||||
|
||||
dconf.settings = {
|
||||
# Prefer dark mode for all GTK apps
|
||||
"org/gnome/desktop/interface".color-scheme = "prefer-dark";
|
||||
};
|
||||
|
||||
gtk.enable = true;
|
||||
}
|
||||
|
@ -1,8 +1,6 @@
|
||||
{ lib, theme, ... }:
|
||||
{ theme, ... }:
|
||||
|
||||
{
|
||||
# TODO use catppuccin package
|
||||
|
||||
programs.hyprlock = {
|
||||
enable = true;
|
||||
settings = {
|
||||
@ -10,7 +8,7 @@
|
||||
|
||||
background = [
|
||||
{
|
||||
path = "${../../../wallpapers/catppuccin_page_curl.png}";
|
||||
path = "${theme.wallpaper.lockscreen}";
|
||||
}
|
||||
];
|
||||
|
||||
@ -55,7 +53,7 @@
|
||||
|
||||
# USER AVATAR
|
||||
image = {
|
||||
path = "${../../face.png}";
|
||||
path = builtins.toString theme.avatar.image;
|
||||
size = 100;
|
||||
border_color = "${theme.blueRgb}";
|
||||
position = "0, 75";
|
||||
@ -70,16 +68,16 @@
|
||||
dots_size = 0.2;
|
||||
dots_spacing = 0.2;
|
||||
dots_center = true;
|
||||
outer_color = lib.mkDefault "${theme.blueRgb}";
|
||||
inner_color = lib.mkDefault "${theme.surface0Rgb}";
|
||||
font_color = lib.mkDefault "${theme.textRgb}";
|
||||
outer_color = "${theme.blueRgb}";
|
||||
inner_color = "${theme.surface0Rgb}";
|
||||
font_color = "${theme.textRgb}";
|
||||
fade_on_empty = false;
|
||||
placeholder_text = "<span foreground=\"##${theme.textAlpha}\"> Logged in as <span foreground=\"##${theme.blueAlpha}\">$USER</span></span>";
|
||||
hide_input = false;
|
||||
check_color = lib.mkDefault "${theme.blueRgb}";
|
||||
fail_color = lib.mkDefault "${theme.redRgb}";
|
||||
check_color = "${theme.blueRgb}";
|
||||
fail_color = "${theme.redRgb}";
|
||||
fail_text = "<i>$FAIL <b>($ATTEMPTS)</b></i>";
|
||||
capslock_color = lib.mkDefault "${theme.yellowRgb}";
|
||||
capslock_color = "${theme.yellowRgb}";
|
||||
position = "0, -47"; # TODO change to use % at 25.05
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
|
@ -79,13 +79,13 @@
|
||||
weather = {
|
||||
unit = "metric";
|
||||
location = "Bergen, Norway";
|
||||
key = common.loadSecret lib ../../secrets/weather-api-key;
|
||||
key = common.secret.weatherApiKey lib;
|
||||
};
|
||||
};
|
||||
|
||||
dashboard = {
|
||||
directories.enabled = false;
|
||||
powermenu.avatar.image = "${../../face.png}";
|
||||
powermenu.avatar.image = "${theme.avatar.image}";
|
||||
shortcuts.left = {
|
||||
shortcut1 = {
|
||||
command = common.default.browser;
|
||||
|
@ -1,18 +1,20 @@
|
||||
# Wallpapers
|
||||
{ pkgs, common, ... }:
|
||||
{
|
||||
pkgs,
|
||||
common,
|
||||
theme,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
hyprpaper
|
||||
];
|
||||
home.packages = with pkgs; [ hyprpaper ];
|
||||
|
||||
services.hyprpaper = {
|
||||
enable = true;
|
||||
settings =
|
||||
let
|
||||
wallpaperDir = ../../wallpapers;
|
||||
monitor1 = "${wallpaperDir}/nixos_waves.png";
|
||||
monitor2 = "${wallpaperDir}/ekg_v2.png";
|
||||
monitor1 = builtins.toString theme.wallpaper.monitor1;
|
||||
monitor2 = builtins.toString theme.wallpaper.monitor2;
|
||||
in
|
||||
{
|
||||
ipc = "on";
|
||||
|
@ -15,7 +15,6 @@
|
||||
".config/rofimoji.rc".source = ./rofimoji.rc;
|
||||
};
|
||||
|
||||
# TODO use catppuccin package
|
||||
# TODO Use programs.rofi. Theme is not applied correctly
|
||||
# programs.rofi = {
|
||||
# enable = true;
|
||||
|
Reference in New Issue
Block a user