meow
This commit is contained in:
parent
d90e44b8cb
commit
cca8deb36c
7 changed files with 459 additions and 36 deletions
|
|
@ -43,34 +43,7 @@
|
|||
programs.nix-index = {
|
||||
enable = true;
|
||||
};
|
||||
/*
|
||||
stylix = {
|
||||
enable = true;
|
||||
polarity = "dark";
|
||||
opacity = {
|
||||
popups = 1.0;
|
||||
terminal = 1.0;
|
||||
};
|
||||
|
||||
fonts = {
|
||||
serif = config.stylix.fonts.sansSerif;
|
||||
sansSerif = {
|
||||
package = pkgs.adwaita-fonts;
|
||||
name = "Adwaita Sans";
|
||||
};
|
||||
|
||||
monospace = {
|
||||
package = pkgs.nerd-fonts.geist-mono;
|
||||
name = "Geist Nerd Font Mono";
|
||||
};
|
||||
|
||||
emoji = {
|
||||
package = pkgs.noto-fonts-emoji;
|
||||
name = "Noto Color Emoji";
|
||||
};
|
||||
};
|
||||
};
|
||||
*/
|
||||
# set cursor size and dpi for 4k monitor
|
||||
|
||||
# Packages that should be installed to the user profile.
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
{ config
|
||||
, lib
|
||||
, pkgs
|
||||
, ...
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
makeCommand = command: {
|
||||
|
|
@ -93,11 +94,11 @@ in
|
|||
border = {
|
||||
enable = true;
|
||||
width = 2;
|
||||
#active.color = "#${base0D}";
|
||||
#inactive.color = "#${base07}";
|
||||
active.color = "#ff69b4";
|
||||
inactive.color = "#7d0d2d";
|
||||
};
|
||||
shadow = {
|
||||
enable = false;
|
||||
enable = true;
|
||||
};
|
||||
preset-column-widths = [
|
||||
{ proportion = 0.25; }
|
||||
|
|
|
|||
30
modules/stylix.nix
Normal file
30
modules/stylix.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ pkgs, config, ... }:
|
||||
{
|
||||
stylix = {
|
||||
image = ../assets/wp6553608.jpg;
|
||||
enable = true;
|
||||
polarity = "dark";
|
||||
opacity = {
|
||||
popups = 1.0;
|
||||
terminal = 1.0;
|
||||
};
|
||||
|
||||
fonts = {
|
||||
serif = config.stylix.fonts.sansSerif;
|
||||
sansSerif = {
|
||||
package = pkgs.adwaita-fonts;
|
||||
name = "Adwaita Sans";
|
||||
};
|
||||
|
||||
monospace = {
|
||||
package = pkgs.nerd-fonts.geist-mono;
|
||||
name = "Geist Nerd Font Mono";
|
||||
};
|
||||
|
||||
emoji = {
|
||||
package = pkgs.noto-fonts-emoji;
|
||||
name = "Noto Color Emoji";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,4 +1,123 @@
|
|||
{ ... }:
|
||||
{
|
||||
programs.waybar.enable = true;
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
mainBar = {
|
||||
layer = "top";
|
||||
position = "top";
|
||||
height = 28;
|
||||
output = [ "eDP-1" ];
|
||||
margin = "10 20";
|
||||
modules-left = [
|
||||
"niri/workspaces"
|
||||
"custom/catgirl-status"
|
||||
];
|
||||
modules-center = [ "sway/window" ];
|
||||
modules-right = [
|
||||
"battery"
|
||||
"network"
|
||||
"clock"
|
||||
];
|
||||
|
||||
# Empty but cute custom catgirl status
|
||||
"custom/catgirl-status" = {
|
||||
interval = 10;
|
||||
exec = ''
|
||||
echo ""
|
||||
'';
|
||||
format = "{}";
|
||||
max-length = 40;
|
||||
tooltip = false;
|
||||
};
|
||||
|
||||
# Niri workspaces with icons & cute style
|
||||
"niri/workspaces" = {
|
||||
all-outputs = true;
|
||||
disable-click = false; # allow click to switch workspaces
|
||||
format = "{icon}";
|
||||
format-icons = {
|
||||
# Named workspaces, you must have matching names in niri config
|
||||
"browser" = "🌐";
|
||||
"discord" = "💬";
|
||||
"chat" = "🐱";
|
||||
# States
|
||||
"focused" = "⭐";
|
||||
"active" = "●";
|
||||
"urgent" = "❗";
|
||||
"empty" = "○";
|
||||
"default" = "•";
|
||||
};
|
||||
disable-markup = false;
|
||||
max-length = 6;
|
||||
};
|
||||
|
||||
battery = {
|
||||
format = "🔋 {capacity}%";
|
||||
low = 20;
|
||||
critical = 10;
|
||||
format-low = "⚠️ {capacity}%";
|
||||
format-critical = "🚨 {capacity}%";
|
||||
tooltip = true;
|
||||
};
|
||||
|
||||
network = {
|
||||
interface = "wlan0";
|
||||
format-connected = "📶 {essid}";
|
||||
format-disconnected = "📡 disconnected";
|
||||
tooltip = true;
|
||||
};
|
||||
|
||||
clock = {
|
||||
format = "{:%a %b %d, %H:%M}";
|
||||
tooltip = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
style = ''
|
||||
* {
|
||||
font-family: "Comic Mono", "Fira Mono", monospace;
|
||||
border-radius: 12px;
|
||||
font-weight: 600;
|
||||
padding: 5px 15px;
|
||||
}
|
||||
window#waybar {
|
||||
background-color: #3A3A58;
|
||||
color: #FF69B4;
|
||||
border: 2px solid #FF69B4;
|
||||
box-shadow: 0 0 15px #FF69B4AA;
|
||||
}
|
||||
#workspaces button {
|
||||
background-color: #FF69B4;
|
||||
color: #3A3A58;
|
||||
margin: 0 3px;
|
||||
border-radius: 8px;
|
||||
padding: 3px 10px;
|
||||
transition: background-color 0.2s ease;
|
||||
}
|
||||
#workspaces button:hover {
|
||||
background-color: #FFB6C1;
|
||||
color: #1A1A2E;
|
||||
}
|
||||
#workspaces button.active {
|
||||
background-color: #FF69B4;
|
||||
color: #FFF0F5;
|
||||
font-weight: bold;
|
||||
}
|
||||
#clock {
|
||||
font-style: italic;
|
||||
color: #FFC0CB;
|
||||
}
|
||||
#battery, #network {
|
||||
color: #FFB6C1;
|
||||
}
|
||||
#custom-catgirl-status {
|
||||
font-size: 1.1em;
|
||||
color: #FF69B4;
|
||||
font-weight: bold;
|
||||
font-family: "Comic Mono", monospace;
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue