waybar restyle, new themes
Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
@ -8,7 +8,7 @@
|
|||||||
self.nixosModules.desktop
|
self.nixosModules.desktop
|
||||||
self.nixosModules.system
|
self.nixosModules.system
|
||||||
./disko
|
./disko
|
||||||
./minecraft.nix
|
# ./minecraft.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
@ -31,7 +31,7 @@
|
|||||||
};
|
};
|
||||||
stylix = {
|
stylix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
theme = "helios";
|
theme = "rose-pine-dawn";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
terminal.wezterm.enable = true;
|
terminal.wezterm.enable = true;
|
||||||
terminal.ghostty.enable = true;
|
terminal.ghostty.enable = true;
|
||||||
systemd.user.settings.Manager.DefaultEnvironment = {
|
systemd.user.settings.Manager.DefaultEnvironment = {
|
||||||
TERMINAL = "ghostty";
|
TERMINAL = "wezterm";
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
@ -34,19 +34,27 @@ in {
|
|||||||
};
|
};
|
||||||
"org/gnome/desktop/interface" = {
|
"org/gnome/desktop/interface" = {
|
||||||
icon-theme = config.gtk.iconTheme.name;
|
icon-theme = config.gtk.iconTheme.name;
|
||||||
|
color-scheme =
|
||||||
|
if config.stylix.polarity == "dark"
|
||||||
|
then lib.mkDefault "prefer-dark"
|
||||||
|
else lib.mkDefault "prefer-light";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
gtk = {
|
gtk = {
|
||||||
enable = true;
|
enable = true;
|
||||||
iconTheme = {
|
iconTheme = let
|
||||||
|
papirusPackage =
|
||||||
|
if (lib.strings.hasPrefix "rose-pine" osConfig.module.stylix.theme)
|
||||||
|
then pkgs.papirus-icon-theme.override {color = "indigo";}
|
||||||
|
else if (lib.strings.hasPrefix "nord" osConfig.module.stylix.theme)
|
||||||
|
then pkgs.papirus-icon-theme.override {color = "nordic";}
|
||||||
|
else pkgs.papirus-icon-theme;
|
||||||
|
in {
|
||||||
name =
|
name =
|
||||||
if config.stylix.polarity == "dark"
|
if config.stylix.polarity == "dark"
|
||||||
then "Papirus-Dark"
|
then "Papirus-Dark"
|
||||||
else "Papirus-Light";
|
else "Papirus-Light";
|
||||||
package =
|
package = papirusPackage;
|
||||||
if (removeSuffix "-light" theme) == "nord"
|
|
||||||
then pkgs.papirus-nord
|
|
||||||
else pkgs.papirus-icon-theme;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
qt = {
|
qt = {
|
||||||
|
@ -14,11 +14,12 @@
|
|||||||
settings = {
|
settings = {
|
||||||
bar-0 = {
|
bar-0 = {
|
||||||
# layer = "top";
|
# layer = "top";
|
||||||
position = "top";
|
position = "bottom";
|
||||||
height = 24;
|
height = 24;
|
||||||
spacing = 4;
|
spacing = 6;
|
||||||
# margin-left = 63;
|
margin-left = 24 + 3;
|
||||||
# margin-right = 63;
|
margin-right = 24 + 3;
|
||||||
|
margin-bottom = 3;
|
||||||
reload_style_on_change = true;
|
reload_style_on_change = true;
|
||||||
modules-left = [
|
modules-left = [
|
||||||
"niri/language"
|
"niri/language"
|
||||||
@ -96,7 +97,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
"tray" = {
|
"tray" = {
|
||||||
icon-size = 16;
|
icon-size = 20;
|
||||||
spacing = 6;
|
spacing = 6;
|
||||||
};
|
};
|
||||||
"clock" = {
|
"clock" = {
|
||||||
@ -217,10 +218,8 @@
|
|||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
}
|
}
|
||||||
window#waybar {
|
window#waybar {
|
||||||
background-color: @base00;
|
background-color: transparent;
|
||||||
color: @base05;
|
color: @base05;
|
||||||
transition-property: background-color;
|
|
||||||
transition-duration: 0.5s;
|
|
||||||
}
|
}
|
||||||
.modules-center {
|
.modules-center {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
@ -228,17 +227,18 @@
|
|||||||
.mpris.stopped {
|
.mpris.stopped {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
.mpris.playing,
|
|
||||||
.mpris.paused,
|
|
||||||
.modules-left,
|
.modules-left,
|
||||||
|
.modules-center,
|
||||||
.modules-right {
|
.modules-right {
|
||||||
/* border-top-left-radius: 12px;
|
/* border-bottom-left-radius: 12px;
|
||||||
border-top-right-radius: 12px;
|
border-bottom-right-radius: 12px;
|
||||||
border-bottom-left-radius: 0px;
|
border-top-left-radius: 0px;
|
||||||
border-bottom-right-radius: 0px;
|
border-top-right-radius: 0px; */
|
||||||
background-color: @base00;
|
background-color: @base00;
|
||||||
color: @base05; */
|
border-radius: 12px;
|
||||||
margin: 0 0.5em;
|
border: 3px solid @base0D;
|
||||||
|
color: @base05;
|
||||||
|
padding: 0 0.4em;
|
||||||
}
|
}
|
||||||
tooltip {
|
tooltip {
|
||||||
background: @base01;
|
background: @base01;
|
||||||
@ -261,8 +261,9 @@
|
|||||||
}
|
}
|
||||||
#battery,
|
#battery,
|
||||||
#backlight,
|
#backlight,
|
||||||
#workspaces,
|
/* #workspaces,
|
||||||
#taskbar,
|
#taskbar,
|
||||||
|
#privacy, */
|
||||||
#taskbar button,
|
#taskbar button,
|
||||||
#language,
|
#language,
|
||||||
#clock,
|
#clock,
|
||||||
@ -270,16 +271,15 @@
|
|||||||
#backlight,
|
#backlight,
|
||||||
#wireplumber,
|
#wireplumber,
|
||||||
#workspaces button,
|
#workspaces button,
|
||||||
#custom-separator {
|
|
||||||
padding: 0 0.3em;
|
|
||||||
}
|
|
||||||
#custom-notification,
|
#custom-notification,
|
||||||
#idle_inhibitor,
|
#idle_inhibitor,
|
||||||
#power-profiles-daemon,
|
#power-profiles-daemon,
|
||||||
#privacy,
|
|
||||||
#privacy-item,
|
#privacy-item,
|
||||||
|
#custom-separator {
|
||||||
|
padding: 0 0.3em;
|
||||||
|
}
|
||||||
#tray button {
|
#tray button {
|
||||||
padding: 0 0.4em;
|
padding: 0 0.3em;
|
||||||
margin: 0 0.2em;
|
margin: 0 0.2em;
|
||||||
}
|
}
|
||||||
#workspaces button.active {
|
#workspaces button.active {
|
||||||
|
@ -41,8 +41,60 @@
|
|||||||
name = "wallhaven-yq7gox.jpg";
|
name = "wallhaven-yq7gox.jpg";
|
||||||
sha256 = "09s31spp9mq71fgkl1w80nzdc1458p1gjfyi3y6fy14wj2dza0pj";
|
sha256 = "09s31spp9mq71fgkl1w80nzdc1458p1gjfyi3y6fy14wj2dza0pj";
|
||||||
};
|
};
|
||||||
|
mountains-black = builtins.fetchurl {
|
||||||
|
url = "https://w.wallhaven.cc/full/9d/wallhaven-9djzww.jpg";
|
||||||
|
name = "wallhaven-9djzww.jpg";
|
||||||
|
sha256 = "1p2si922i9qs09h8c74lrvx0f284g0xvm7lh85gk1x7lqhn611zm";
|
||||||
|
};
|
||||||
|
cyber-dawn = builtins.fetchurl {
|
||||||
|
url = "https://w.wallhaven.cc/full/ym/wallhaven-ymo2y7.png";
|
||||||
|
name = "wallhaven-ymo2y7.png";
|
||||||
|
sha256 = "1b3j0hxxy8m25scq42lxsxc99xvr15pha1j4wplgz761asrvxly3";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
themes = {
|
themes = {
|
||||||
|
rose-pine-dawn = {
|
||||||
|
polarity = "light";
|
||||||
|
scheme = "${pkgs.base16-schemes}/share/themes/rose-pine-dawn.yaml";
|
||||||
|
wallpaper = wallpapers.cyber-dawn;
|
||||||
|
|
||||||
|
serif = {
|
||||||
|
package = iosevkaPackage;
|
||||||
|
name = "Iosevka Nerd Font Propo";
|
||||||
|
};
|
||||||
|
|
||||||
|
monospace = {
|
||||||
|
package = iosevkaTermPackage;
|
||||||
|
name = "IosevkaTerm Nerd Font Mono";
|
||||||
|
};
|
||||||
|
|
||||||
|
cursor = {
|
||||||
|
package = pkgs.bibata-cursors;
|
||||||
|
name = "Bibata-Modern-Ice";
|
||||||
|
size = 24;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
rose-pine-moon = {
|
||||||
|
polarity = "dark";
|
||||||
|
scheme = "${pkgs.base16-schemes}/share/themes/rose-pine-moon.yaml";
|
||||||
|
wallpaper = wallpapers.cyber-dawn;
|
||||||
|
|
||||||
|
serif = {
|
||||||
|
package = iosevkaPackage;
|
||||||
|
name = "Iosevka Nerd Font Propo";
|
||||||
|
};
|
||||||
|
|
||||||
|
monospace = {
|
||||||
|
package = iosevkaTermPackage;
|
||||||
|
name = "IosevkaTerm Nerd Font Mono";
|
||||||
|
};
|
||||||
|
|
||||||
|
cursor = {
|
||||||
|
package = pkgs.bibata-cursors;
|
||||||
|
name = "Bibata-Modern-Classic";
|
||||||
|
size = 24;
|
||||||
|
};
|
||||||
|
};
|
||||||
nord = {
|
nord = {
|
||||||
polarity = "dark";
|
polarity = "dark";
|
||||||
scheme = "${pkgs.base16-schemes}/share/themes/nord.yaml";
|
scheme = "${pkgs.base16-schemes}/share/themes/nord.yaml";
|
||||||
|
Reference in New Issue
Block a user