Compare commits
5 Commits
7da6384e89
...
f4b3ac54ef
| Author | SHA1 | Date | |
|---|---|---|---|
| f4b3ac54ef | |||
| 61f29392cf | |||
| 8e4ceadfb1 | |||
| 51deed6aa6 | |||
| 38a6c622f7 |
@@ -67,6 +67,7 @@
|
|||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
host = "vanta";
|
host = "vanta";
|
||||||
|
wallpaper = "twilight-village.png";
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
./modules/system
|
./modules/system
|
||||||
|
|||||||
@@ -16,6 +16,7 @@
|
|||||||
./screenshot.nix
|
./screenshot.nix
|
||||||
./ssh.nix
|
./ssh.nix
|
||||||
./stylix.nix
|
./stylix.nix
|
||||||
|
./swaync.nix
|
||||||
./vscode.nix
|
./vscode.nix
|
||||||
./walker.nix
|
./walker.nix
|
||||||
./wallpaper.nix
|
./wallpaper.nix
|
||||||
|
|||||||
@@ -23,6 +23,36 @@
|
|||||||
"${config.xdg.configHome}/hypr/monitors.conf"
|
"${config.xdg.configHome}/hypr/monitors.conf"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
animations = {
|
||||||
|
# Stolen from https://github.com/Vobledoble/nixparency-dots/
|
||||||
|
enabled = true;
|
||||||
|
bezier = [
|
||||||
|
"easeOutQuint,0.23,1,0.32,1"
|
||||||
|
"easeInOutCubic,0.65,0.05,0.36,1"
|
||||||
|
"linear,0,0,1,1"
|
||||||
|
"almostLinear,0.5,0.5,0.75,1.0"
|
||||||
|
"quick,0.15,0,0.1,1"
|
||||||
|
];
|
||||||
|
animation = [
|
||||||
|
"global, 1, 10, default"
|
||||||
|
"border, 1, 5.39, easeOutQuint"
|
||||||
|
"windows, 1, 4.79, easeOutQuint"
|
||||||
|
"windowsIn, 1, 4.1, easeOutQuint, popin 87%"
|
||||||
|
"windowsOut, 1, 1.49, linear, popin 87%"
|
||||||
|
"fadeIn, 1, 1.73, almostLinear"
|
||||||
|
"fadeOut, 1, 1.46, almostLinear"
|
||||||
|
"fade, 1, 3.03, quick"
|
||||||
|
"layers, 1, 3.81, easeOutQuint"
|
||||||
|
"layersIn, 1, 4, easeOutQuint, fade"
|
||||||
|
"layersOut, 1, 1.5, linear, fade"
|
||||||
|
"fadeLayersIn, 1, 1.79, almostLinear"
|
||||||
|
"fadeLayersOut, 1, 1.39, almostLinear"
|
||||||
|
"workspaces, 1, 1.94, almostLinear, fade"
|
||||||
|
"workspacesIn, 1, 1.21, almostLinear, fade"
|
||||||
|
"workspacesOut, 1, 1.94, almostLinear, fade"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
general = {
|
general = {
|
||||||
gaps_in = 5;
|
gaps_in = 5;
|
||||||
gaps_out = 10;
|
gaps_out = 10;
|
||||||
@@ -43,7 +73,14 @@
|
|||||||
size = 8;
|
size = 8;
|
||||||
passes = 3;
|
passes = 3;
|
||||||
new_optimizations = true;
|
new_optimizations = true;
|
||||||
|
popups = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
shadow.enabled = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
misc = {
|
||||||
|
vfr = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
layerrule = [
|
layerrule = [
|
||||||
@@ -57,6 +94,7 @@
|
|||||||
"systemctl --user enable --now hyprpolkitagent.service"
|
"systemctl --user enable --now hyprpolkitagent.service"
|
||||||
"systemctl --user enable app-com.mitchellh.ghostty.service"
|
"systemctl --user enable app-com.mitchellh.ghostty.service"
|
||||||
"wpaperd -d"
|
"wpaperd -d"
|
||||||
|
"swaync"
|
||||||
"pypr"
|
"pypr"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
|
wallpaper,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
@@ -19,7 +20,7 @@ in
|
|||||||
};
|
};
|
||||||
background = [
|
background = [
|
||||||
{
|
{
|
||||||
path = "${config.xdg.userDirs.extraConfig.XDG_WALLPAPERS_DIR}/sunset_bay.jpg";
|
path = "${config.xdg.userDirs.extraConfig.XDG_WALLPAPERS_DIR}/${wallpaper}";
|
||||||
blur_passes = 3;
|
blur_passes = 3;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -29,10 +29,6 @@
|
|||||||
"$mod CTRL SHIFT, left, movetoworkspace, r-1"
|
"$mod CTRL SHIFT, left, movetoworkspace, r-1"
|
||||||
"$mod CTRL SHIFT, right, movetoworkspace, r+1"
|
"$mod CTRL SHIFT, right, movetoworkspace, r+1"
|
||||||
|
|
||||||
# Brightness keys
|
|
||||||
", XF86MonBrightnessUp, exec, brightnessctl set 10%+"
|
|
||||||
", XF86MonBrightnessDown, exec, brightnessctl set 10%-"
|
|
||||||
|
|
||||||
# Screenshoting
|
# Screenshoting
|
||||||
", PRINT, exec, hyprshot -m output --raw | satty --filename -"
|
", PRINT, exec, hyprshot -m output --raw | satty --filename -"
|
||||||
"$mod, PRINT, exec, hyprshot -m window --raw | satty --filename -"
|
"$mod, PRINT, exec, hyprshot -m window --raw | satty --filename -"
|
||||||
@@ -45,6 +41,9 @@
|
|||||||
", XF86AudioMute, exec, pamixer -t"
|
", XF86AudioMute, exec, pamixer -t"
|
||||||
"ALT, XF86AudioMute, exec, pamixer --default-source -t"
|
"ALT, XF86AudioMute, exec, pamixer --default-source -t"
|
||||||
|
|
||||||
|
# Notification Center
|
||||||
|
"$mod, n, exec, swaync-client -t -sw"
|
||||||
|
|
||||||
# Scratchpads
|
# Scratchpads
|
||||||
"$mod, TAB, exec, pypr toggle term"
|
"$mod, TAB, exec, pypr toggle term"
|
||||||
]
|
]
|
||||||
@@ -71,12 +70,16 @@
|
|||||||
"$mod ALT, mouse:272, resizewindow"
|
"$mod ALT, mouse:272, resizewindow"
|
||||||
];
|
];
|
||||||
|
|
||||||
binde = [
|
bindel = [
|
||||||
|
# Volume Controls
|
||||||
", XF86AudioRaiseVolume, exec, pamixer -i 5"
|
", XF86AudioRaiseVolume, exec, pamixer -i 5"
|
||||||
", XF86AudioLowerVolume, exec, pamixer -d 5"
|
", XF86AudioLowerVolume, exec, pamixer -d 5"
|
||||||
"ALT, XF86AudioRaiseVolume, exec, pamixer --default-source -i 5"
|
"ALT, XF86AudioRaiseVolume, exec, pamixer --default-source -i 5"
|
||||||
"ALT, XF86AudioLowerVolume, exec, pamixer --default-source -d 5"
|
"ALT, XF86AudioLowerVolume, exec, pamixer --default-source -d 5"
|
||||||
|
|
||||||
|
# Brightness Controls
|
||||||
|
", XF86MonBrightnessUp, exec, brightnessctl set 5%+"
|
||||||
|
", XF86MonBrightnessDown, exec, brightnessctl set 5%-"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,8 +15,8 @@
|
|||||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
|
||||||
fonts = {
|
fonts = {
|
||||||
monospace = {
|
monospace = {
|
||||||
name = "FiraCode Nerd Font";
|
name = "JetBrainsMono Nerd Font"; # "FiraCode Nerd Font";
|
||||||
package = pkgs.nerd-fonts.fira-code;
|
package = pkgs.nerd-fonts.jetbrains-mono; # pkgs.nerd-fonts.fira-code;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
targets = {
|
targets = {
|
||||||
@@ -31,6 +31,7 @@
|
|||||||
foot.enable = true;
|
foot.enable = true;
|
||||||
lazygit.enable = true;
|
lazygit.enable = true;
|
||||||
starship.enable = true;
|
starship.enable = true;
|
||||||
|
swaync.enable = true;
|
||||||
yazi.enable = true;
|
yazi.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
104
modules/home/swaync.nix
Normal file
104
modules/home/swaync.nix
Normal file
@@ -0,0 +1,104 @@
|
|||||||
|
{
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
services.swaync = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
positionX = "right";
|
||||||
|
positionY = "top";
|
||||||
|
cssPriority = "user"; # "application"
|
||||||
|
|
||||||
|
control-center-width = 380;
|
||||||
|
control-center-height = 860;
|
||||||
|
control-center-margin-top = 10;
|
||||||
|
control-center-margin-bottom = 10;
|
||||||
|
control-center-margin-right = 10;
|
||||||
|
control-center-margin-left = 10;
|
||||||
|
|
||||||
|
notification-window-width = 400;
|
||||||
|
notification-icon-size = 48;
|
||||||
|
notification-body-image-height = 100;
|
||||||
|
notification-body-image-width = 200;
|
||||||
|
|
||||||
|
timeout = 4;
|
||||||
|
timeout-low = 2;
|
||||||
|
timeout-critical = 6;
|
||||||
|
|
||||||
|
fit-to-screen = false;
|
||||||
|
keyboard-shortcuts = true;
|
||||||
|
image-visibility = "when-available";
|
||||||
|
transition-time = 200;
|
||||||
|
hide-on-clear = false;
|
||||||
|
hide-on-action = false;
|
||||||
|
script-fail-notify = true;
|
||||||
|
scripts = {
|
||||||
|
example-script = {
|
||||||
|
exec = "echo 'Do something...'";
|
||||||
|
urgency = "Normal";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
notification-visibility = {
|
||||||
|
example-name = {
|
||||||
|
state = "muted";
|
||||||
|
urgency = "low";
|
||||||
|
app-name = "Spotify";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
widgets = [
|
||||||
|
"label"
|
||||||
|
"buttons-grid"
|
||||||
|
"mpris"
|
||||||
|
"dnd"
|
||||||
|
"title"
|
||||||
|
"notifications"
|
||||||
|
];
|
||||||
|
widget-config = {
|
||||||
|
title = {
|
||||||
|
text = "Notifications";
|
||||||
|
clear-all-button = true;
|
||||||
|
button-text = " ";
|
||||||
|
};
|
||||||
|
dnd = {
|
||||||
|
text = "Do Not Disturb";
|
||||||
|
};
|
||||||
|
label = {
|
||||||
|
max-lines = 1;
|
||||||
|
text = " ";
|
||||||
|
};
|
||||||
|
mpris = {
|
||||||
|
image-size = 96;
|
||||||
|
image-radius = 12;
|
||||||
|
};
|
||||||
|
volume = {
|
||||||
|
label = "";
|
||||||
|
show-per-app = true;
|
||||||
|
};
|
||||||
|
buttons-grid = {
|
||||||
|
actions = [
|
||||||
|
{
|
||||||
|
label = "";
|
||||||
|
command = "pamixer -t";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
label = "";
|
||||||
|
command = "pamixer --default-source -t";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
label = "";
|
||||||
|
command = "nmtui";
|
||||||
|
}
|
||||||
|
# {
|
||||||
|
# label = "";
|
||||||
|
# command = "blueman-manager";
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# label = "";
|
||||||
|
# command = "nwg-look";
|
||||||
|
# }
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
|
wallpaper,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
@@ -18,7 +19,7 @@ in
|
|||||||
mode = "center";
|
mode = "center";
|
||||||
};
|
};
|
||||||
any = {
|
any = {
|
||||||
path = "${wallpapers}/sunset_bay.jpg";
|
path = "${wallpapers}/${wallpaper}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -2,318 +2,11 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
hyprland-workspaces = {
|
separator_blank = {
|
||||||
format = "{icon}";
|
format = "";
|
||||||
show-special = false;
|
interval = "once";
|
||||||
active-only = false;
|
|
||||||
on-click = "activate";
|
|
||||||
on-scroll-up = "hyprctl dispatch workspace e+1";
|
|
||||||
on-scroll-down = "hyprctl dispatch workspace e-1";
|
|
||||||
all-outputs = true;
|
|
||||||
sort-by-number = true;
|
|
||||||
persistent-workspaces = {
|
|
||||||
"1" = [ ];
|
|
||||||
"2" = [ ];
|
|
||||||
"3" = [ ];
|
|
||||||
"4" = [ ];
|
|
||||||
};
|
|
||||||
format-icons = {
|
|
||||||
"1" = " ";
|
|
||||||
"2" = " ";
|
|
||||||
"3" = " ";
|
|
||||||
"4" = " ";
|
|
||||||
"5" = "";
|
|
||||||
"6" = " ";
|
|
||||||
"7" = "";
|
|
||||||
"8" = " ";
|
|
||||||
"9" = " ";
|
|
||||||
"10" = "10";
|
|
||||||
"focused" = "";
|
|
||||||
"default" = "";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
menu = {
|
|
||||||
format = "{}";
|
|
||||||
exec = "echo ; echo app launcher";
|
|
||||||
interval = 86400;
|
|
||||||
tooltip = true;
|
|
||||||
on-click = "walker";
|
|
||||||
};
|
|
||||||
|
|
||||||
hyprland-window = {
|
|
||||||
format = " {title}";
|
|
||||||
max-length = 40;
|
|
||||||
separate-outputs = false;
|
|
||||||
rewrite = {
|
|
||||||
"^.*( — LibreWolf|LibreWolf)$" = " LibreWolf";
|
|
||||||
"(.*) — Mozilla Firefox" = " Firefox";
|
|
||||||
"^.*v( .*|$)" = " Neovim";
|
|
||||||
"^.*~$" = " Kitty";
|
|
||||||
"(.*) " = " Empty";
|
|
||||||
"^.*pdf( .*|$)" = "";
|
|
||||||
"^.*(- Mousepad)$" = " $1";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
cava = {
|
|
||||||
autosens = 1;
|
|
||||||
bars = 15;
|
|
||||||
bar_delimiter = 32; # ASCII for " " (space)
|
|
||||||
format-icons = [
|
|
||||||
"▁"
|
|
||||||
"▂"
|
|
||||||
"▃"
|
|
||||||
"▄"
|
|
||||||
"▅"
|
|
||||||
"▆"
|
|
||||||
"▇"
|
|
||||||
"█"
|
|
||||||
];
|
|
||||||
framerate = 30;
|
|
||||||
input_delay = 2;
|
|
||||||
method = "pipewire";
|
|
||||||
};
|
|
||||||
|
|
||||||
arrow-right = {
|
|
||||||
format = "";
|
|
||||||
tooltip = false;
|
tooltip = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
cpu = {
|
|
||||||
format = " {usage}";
|
|
||||||
};
|
|
||||||
|
|
||||||
memory = {
|
|
||||||
interval = 10;
|
|
||||||
format = "{used:0.1f}G ";
|
|
||||||
format-alt = "{percentage}% ";
|
|
||||||
format-alt-click = "click";
|
|
||||||
tooltip = true;
|
|
||||||
tooltip-format = "{used:0.1f}GB/{total:0.1f}G";
|
|
||||||
# on-click-right = "kitty --title btop sh -c 'btop'";
|
|
||||||
};
|
|
||||||
|
|
||||||
temperature = {
|
|
||||||
interval = 10;
|
|
||||||
tooltip = true;
|
|
||||||
hwmon-path = [
|
|
||||||
"/sys/class/hwmon/hwmon6/temp1_input"
|
|
||||||
"/sys/class/thermal/thermal_zone0/temp"
|
|
||||||
];
|
|
||||||
critical-threshold = 82;
|
|
||||||
format-critical = "{temperatureC}°C {icon}";
|
|
||||||
format = "{temperatureC}°C {icon}";
|
|
||||||
format-icons = [ "" ];
|
|
||||||
# on-click-right = "kitty --title nvtop sh -c 'nvtop'";
|
|
||||||
};
|
|
||||||
|
|
||||||
idle-inhibitor = {
|
|
||||||
format = "{icon}";
|
|
||||||
format-icons = {
|
|
||||||
activated = " ";
|
|
||||||
deactivated = " ";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
tray = {
|
|
||||||
icon-size = 16;
|
|
||||||
spacing = 4;
|
|
||||||
};
|
|
||||||
|
|
||||||
pulseaudio = {
|
|
||||||
format = "{icon} {volume}% {format_source}";
|
|
||||||
format-muted = " {format_source}";
|
|
||||||
format-bluetooth = " {icon} {volume}% {format_source}";
|
|
||||||
format-bluetooth-muted = " {format_source}";
|
|
||||||
format-source = " {volume}%";
|
|
||||||
format-source-muted = "";
|
|
||||||
format-icons = {
|
|
||||||
headphone = "";
|
|
||||||
hands-free = "";
|
|
||||||
headset = "";
|
|
||||||
phone = "";
|
|
||||||
portable = "";
|
|
||||||
car = "";
|
|
||||||
default = [
|
|
||||||
""
|
|
||||||
""
|
|
||||||
""
|
|
||||||
""
|
|
||||||
];
|
|
||||||
};
|
|
||||||
scroll-step = 5.0;
|
|
||||||
on-click = "pavucontrol -t 3";
|
|
||||||
on-click-right = "pavucontrol -t 4";
|
|
||||||
tooltip-format = "{icon} {desc} | {volume}%";
|
|
||||||
smooth-scrolling-threshold = 1;
|
|
||||||
};
|
|
||||||
|
|
||||||
wireplumber = {
|
|
||||||
format = "{icon} {volume}% {format_source}";
|
|
||||||
format-muted = " {format_source}";
|
|
||||||
format-source = " {volume}%";
|
|
||||||
format-source-muted = "";
|
|
||||||
format-icons = {
|
|
||||||
headphone = "";
|
|
||||||
hands-free = "";
|
|
||||||
headset = "";
|
|
||||||
phone = "";
|
|
||||||
portable = "";
|
|
||||||
car = "";
|
|
||||||
default = [
|
|
||||||
""
|
|
||||||
""
|
|
||||||
""
|
|
||||||
""
|
|
||||||
];
|
|
||||||
};
|
|
||||||
scroll-step = 5.0;
|
|
||||||
on-click = "pavucontrol -t 3";
|
|
||||||
on-click-right = "pavucontrol -t 4";
|
|
||||||
tooltip-format = "{node_name} {volume}%\n{source_desc} {source_volume}%";
|
|
||||||
};
|
|
||||||
|
|
||||||
backlight = {
|
|
||||||
format = "{icon} {percent}%";
|
|
||||||
format-icons = [
|
|
||||||
""
|
|
||||||
""
|
|
||||||
""
|
|
||||||
""
|
|
||||||
""
|
|
||||||
""
|
|
||||||
""
|
|
||||||
""
|
|
||||||
""
|
|
||||||
];
|
|
||||||
on-scroll-down = "brightnessctl set 10%-";
|
|
||||||
on-scroll-up = "brightnessctl set +10%";
|
|
||||||
tooltip = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
battery = {
|
|
||||||
align = 0;
|
|
||||||
rotate = 0;
|
|
||||||
full-at = 100;
|
|
||||||
design-capacity = false;
|
|
||||||
states = {
|
|
||||||
critical = 20;
|
|
||||||
};
|
|
||||||
format = "{icon} {capacity}%";
|
|
||||||
format-charging = " {capacity}%";
|
|
||||||
format-plugged = " {capacity}%";
|
|
||||||
format-alt-click = "click";
|
|
||||||
format-full = "{icon} Full";
|
|
||||||
format-alt = "{icon} {time}";
|
|
||||||
format-icons = [
|
|
||||||
""
|
|
||||||
""
|
|
||||||
""
|
|
||||||
""
|
|
||||||
""
|
|
||||||
""
|
|
||||||
""
|
|
||||||
""
|
|
||||||
""
|
|
||||||
""
|
|
||||||
""
|
|
||||||
];
|
|
||||||
format-time = "{H}h {M}min";
|
|
||||||
tooltip = true;
|
|
||||||
tooltip-format = "{timeTo} {power}w";
|
|
||||||
};
|
|
||||||
|
|
||||||
mpris = {
|
|
||||||
interval = 10;
|
|
||||||
format = "{player_icon} ";
|
|
||||||
format-paused = "{status_icon}";
|
|
||||||
on-click-middle = "playerctl play-pause";
|
|
||||||
on-click = "playerctl previous";
|
|
||||||
on-click-right = "playerctl next";
|
|
||||||
scroll-step = 5.0;
|
|
||||||
smooth-scrolling-threshold = 1;
|
|
||||||
player-icons = {
|
|
||||||
chromium = "";
|
|
||||||
mpd = "";
|
|
||||||
default = "";
|
|
||||||
firefox = "";
|
|
||||||
kdeconnect = "";
|
|
||||||
mopidy = "";
|
|
||||||
mpv = "";
|
|
||||||
spotify = "";
|
|
||||||
vlc = "";
|
|
||||||
};
|
|
||||||
status-icons = {
|
|
||||||
paused = "";
|
|
||||||
playing = "";
|
|
||||||
stopped = "";
|
|
||||||
};
|
|
||||||
max-length = 10;
|
|
||||||
};
|
|
||||||
|
|
||||||
arrow-left = {
|
|
||||||
format = "";
|
|
||||||
tooltip = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
network = {
|
|
||||||
format-disconnected = " ";
|
|
||||||
format-wifi = " ";
|
|
||||||
format-ethernet = " ";
|
|
||||||
format-linked = " (No IP)";
|
|
||||||
format-disabled = " (Disabled)";
|
|
||||||
tooltip-format = "{essid}: {ipaddr}/{cidr}";
|
|
||||||
};
|
|
||||||
|
|
||||||
notifications = {
|
|
||||||
tooltip = false;
|
|
||||||
format = "{icon} {text}";
|
|
||||||
format-icons = {
|
|
||||||
notification = "";
|
|
||||||
none = "";
|
|
||||||
dnd-notification = "";
|
|
||||||
dnd-none = "";
|
|
||||||
inhibited-notification = "";
|
|
||||||
inhibited-none = "";
|
|
||||||
dnd-inhibited-notification = "";
|
|
||||||
dnd-inhibited-none = "";
|
|
||||||
};
|
|
||||||
return-type = "json";
|
|
||||||
# exec-if = "which swaync-client";
|
|
||||||
# exec = "swaync-client -swb";
|
|
||||||
# on-click = "swaync-client -t -sw";
|
|
||||||
# on-click-right = "swaync-client -d -sw";
|
|
||||||
escape = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
clock = {
|
|
||||||
interval = 1;
|
|
||||||
format = "{:%I:%M %p}"; # AM-PM Format
|
|
||||||
format-alt = " {:%H:%M %Y, %d %B, %A}";
|
|
||||||
tooltip-format = "<tt><small>{calendar}</small></tt>";
|
|
||||||
calendar = {
|
|
||||||
mode = "year";
|
|
||||||
mode-mon-col = 3;
|
|
||||||
weeks-pos = "right";
|
|
||||||
on-scroll = 1;
|
|
||||||
format = {
|
|
||||||
months = "<span color='#ffead3'><b>{}</b></span>";
|
|
||||||
days = "<span color='#ecc6d9'><b>{}</b></span>";
|
|
||||||
weeks = "<span color='#99ffdd'><b>W{}</b></span>";
|
|
||||||
weekdays = "<span color='#ffcc66'><b>{}</b></span>";
|
|
||||||
today = "<span color='#ff6699'><b><u>{}</u></b></span>";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
power = {
|
|
||||||
format = "⏻";
|
|
||||||
exec = "echo ; echo power";
|
|
||||||
on-click = "wlogout";
|
|
||||||
interval = 86400;
|
|
||||||
tooltip = true;
|
|
||||||
};
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
@@ -323,100 +16,125 @@ in
|
|||||||
{
|
{
|
||||||
layer = "top";
|
layer = "top";
|
||||||
position = "top";
|
position = "top";
|
||||||
height = 34;
|
|
||||||
margin-left = 10;
|
margin-left = 10;
|
||||||
margin-right = 10;
|
margin-right = 10;
|
||||||
margin-top = 10;
|
margin-top = 5;
|
||||||
fixed-center = true;
|
fixed-center = true;
|
||||||
reload_style_on_change = true;
|
reload_style_on_change = true;
|
||||||
|
|
||||||
|
"hyprland/workspaces" = import ./modules/hyprland-workspaces.nix { };
|
||||||
|
"custom/menu" = import ./modules/menu.nix { };
|
||||||
|
"hyprland/window" = import ./modules/hyprland-window.nix { };
|
||||||
|
"disk" = import ./modules/disk.nix { };
|
||||||
|
"cpu" = import ./modules/cpu.nix { };
|
||||||
|
"memory" = import ./modules/memory.nix { };
|
||||||
|
"temperature" = import ./modules/temperature.nix { };
|
||||||
|
"idle_inhibitor" = import ./modules/idle-inhibitor.nix { };
|
||||||
|
"tray" = import ./modules/tray.nix { };
|
||||||
|
"network" = import ./modules/network.nix { };
|
||||||
|
"wireplumber" = import ./modules/wireplumber.nix { };
|
||||||
|
"backlight" = import ./modules/backlight.nix { };
|
||||||
|
"mpris" = import ./modules/mpris.nix { };
|
||||||
|
"battery" = import ./modules/battery.nix { full-at = 80; }; # Change this to come from the TLP setting
|
||||||
|
"clock" = import ./modules/clock.nix { };
|
||||||
|
"custom/power" = import ./modules/power.nix { };
|
||||||
|
"custom/separator#blank" = separator_blank;
|
||||||
|
|
||||||
modules-left = [
|
modules-left = [
|
||||||
"custom/menu"
|
"custom/menu"
|
||||||
"hyprland/window"
|
"custom/separator#blank"
|
||||||
"cava"
|
"clock"
|
||||||
"group/info"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
modules-center = [
|
modules-center = [
|
||||||
"hyprland/workspaces#4"
|
"hyprland/workspaces"
|
||||||
];
|
];
|
||||||
|
|
||||||
modules-right = [
|
modules-right = [
|
||||||
"idle_inhibitor"
|
"tray"
|
||||||
"group/demo"
|
"custom/separator#blank"
|
||||||
"group/hub"
|
"group/motherboard"
|
||||||
|
"custom/separator#blank"
|
||||||
|
"wireplumber"
|
||||||
|
"custom/separator#blank"
|
||||||
|
"custom/power"
|
||||||
];
|
];
|
||||||
|
|
||||||
"hyprland/workspaces#4" = hyprland-workspaces;
|
"group/motherboard" = {
|
||||||
"custom/menu" = menu;
|
|
||||||
"hyprland/window" = hyprland-window;
|
|
||||||
"cava" = cava;
|
|
||||||
"custom/arrow-right" = arrow-right;
|
|
||||||
"cpu" = cpu;
|
|
||||||
"memory" = memory;
|
|
||||||
"temperature" = temperature;
|
|
||||||
"idle_inhibitor" = idle-inhibitor;
|
|
||||||
"tray" = tray;
|
|
||||||
"pulseaudio" = pulseaudio;
|
|
||||||
"network" = network;
|
|
||||||
"wireplumber" = wireplumber;
|
|
||||||
"backlight" = backlight;
|
|
||||||
"mpris" = mpris;
|
|
||||||
"battery" = battery;
|
|
||||||
"custom/arrow-left" = arrow-left;
|
|
||||||
"custom/notifications" = notifications;
|
|
||||||
"clock" = clock;
|
|
||||||
"custom/power" = power;
|
|
||||||
|
|
||||||
"group/info" = {
|
|
||||||
orientation = "inherit";
|
orientation = "inherit";
|
||||||
drawer = {
|
|
||||||
transition-duration = 300;
|
|
||||||
transition-left-to-right = false;
|
|
||||||
};
|
|
||||||
modules = [
|
modules = [
|
||||||
"custom/arrow-right"
|
|
||||||
"cpu"
|
"cpu"
|
||||||
"memory"
|
"memory"
|
||||||
"temperature"
|
"temperature"
|
||||||
];
|
"disk"
|
||||||
};
|
|
||||||
|
|
||||||
"group/demo" = {
|
|
||||||
orientation = "inherit";
|
|
||||||
modules = [
|
|
||||||
"tray"
|
|
||||||
"network"
|
|
||||||
"wireplumber"
|
|
||||||
# "pulseaudio"
|
|
||||||
"backlight"
|
|
||||||
"mpris"
|
|
||||||
"battery"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
"group/utils" = {
|
|
||||||
orientation = "inherit";
|
|
||||||
drawer = {
|
|
||||||
transition-duration = 300;
|
|
||||||
transition-left-to-right = true;
|
|
||||||
};
|
|
||||||
modules = [
|
|
||||||
"custom/arrow-left"
|
|
||||||
"custom/notifications"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
"group/hub" = {
|
|
||||||
orientation = "inherit";
|
|
||||||
modules = [
|
|
||||||
"group/utils"
|
|
||||||
"clock"
|
|
||||||
"custom/power"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
style = ./style.css;
|
# style = ./style.css;
|
||||||
|
style = ''
|
||||||
|
@define-color base00 #192435; /* Darkest background (night sky / deep shadows) */
|
||||||
|
@define-color base01 #243449; /* Slightly lighter background */
|
||||||
|
@define-color base02 #36455D; /* Selection / inactive UI */
|
||||||
|
@define-color base03 #51637E; /* Comments / subtle foreground */
|
||||||
|
|
||||||
|
@define-color base04 #8FA3BA; /* Dark foreground (status bars) */
|
||||||
|
@define-color base05 #C7D2DF; /* Default foreground (text) */
|
||||||
|
@define-color base06 #E3EAF2; /* Light foreground (highlighted text) */
|
||||||
|
@define-color base07 #F4D9C7; /* Bright foreground (lantern light) */
|
||||||
|
|
||||||
|
@define-color base08 #D88C7A; /* Red / Errors (warm wood & lantern glow) */
|
||||||
|
@define-color base09 #E5AD97; /* Orange / Numbers / Constants */
|
||||||
|
@define-color base0A #E9C48A; /* Yellow / Classes / Warnings */
|
||||||
|
@define-color base0B #9FBFA8; /* Green / Strings */
|
||||||
|
@define-color base0C #8FB6C8; /* Cyan / Support / Regex */
|
||||||
|
@define-color base0D #7FA6D9; /* Blue / Functions / Keywords */
|
||||||
|
@define-color base0E #B69BCB; /* Purple / Types / Specials */
|
||||||
|
@define-color base0F #B0896A; /* Brown / Deprecated */
|
||||||
|
|
||||||
|
* {
|
||||||
|
all: unset;
|
||||||
|
font-family: "JetBrainsMono Nerd Font Propo"; /* The Propo(rtional) variant of the ensures icons are properly spaced */
|
||||||
|
font-feature-settings: '"zero", "tnum", "ss01", "ss02", "ss03", "cv01"';
|
||||||
|
font-weight: 700;
|
||||||
|
min-height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
.module {
|
||||||
|
padding: 0 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modules-left,
|
||||||
|
.modules-center,
|
||||||
|
.modules-right {
|
||||||
|
background: @base00;
|
||||||
|
padding: 6px 8px;
|
||||||
|
border-color: @base03;
|
||||||
|
border-width: 1.5px;
|
||||||
|
border-style: solid;
|
||||||
|
border-radius: 0.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button {
|
||||||
|
color: @base04;
|
||||||
|
font-size: 0.9rem;
|
||||||
|
padding: 0 7px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#motherboard,
|
||||||
|
#custom-menu {
|
||||||
|
color: @base04;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wireplumber,
|
||||||
|
#custom-power,
|
||||||
|
#clock {
|
||||||
|
color: @base05;
|
||||||
|
}
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
27
modules/home/waybar/modules/backlight.nix
Normal file
27
modules/home/waybar/modules/backlight.nix
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
{
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
format = "{icon}";
|
||||||
|
tooltip-format = "Backlight {percent}%";
|
||||||
|
format-icons = [
|
||||||
|
" "
|
||||||
|
" "
|
||||||
|
" "
|
||||||
|
" "
|
||||||
|
" "
|
||||||
|
" "
|
||||||
|
" "
|
||||||
|
" "
|
||||||
|
" "
|
||||||
|
" "
|
||||||
|
" "
|
||||||
|
" "
|
||||||
|
" "
|
||||||
|
" "
|
||||||
|
" "
|
||||||
|
];
|
||||||
|
icon-size = 10;
|
||||||
|
on-scroll-down = "brightnessctl set 10%-";
|
||||||
|
on-scroll-up = "brightnessctl set +10%";
|
||||||
|
}
|
||||||
33
modules/home/waybar/modules/battery.nix
Normal file
33
modules/home/waybar/modules/battery.nix
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
{
|
||||||
|
full-at ? 100,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
inherit full-at;
|
||||||
|
states = {
|
||||||
|
# These values are percentages based on `full-at`
|
||||||
|
good = 95;
|
||||||
|
warning = 30;
|
||||||
|
critical = 15;
|
||||||
|
};
|
||||||
|
format = "{icon} {capacity}%";
|
||||||
|
format-charging = " {capacity}%";
|
||||||
|
format-plugged = " {capacity}%";
|
||||||
|
format-full = "{icon} Full";
|
||||||
|
format-icons = [
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
];
|
||||||
|
format-time = "{H}h {M}min";
|
||||||
|
tooltip = true;
|
||||||
|
tooltip-format = "{timeTo} {power}w";
|
||||||
|
}
|
||||||
13
modules/home/waybar/modules/bluetooth.nix
Normal file
13
modules/home/waybar/modules/bluetooth.nix
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
format = "";
|
||||||
|
format-disabled = "";
|
||||||
|
format-connected = " {num_connections}";
|
||||||
|
tooltip-format = " {device_alias}";
|
||||||
|
tooltip-format-connected = "{device_enumerate}";
|
||||||
|
tooltip-format-enumerate-connected = " {device_alias} {device_battery_percentage}%";
|
||||||
|
tooltip = true;
|
||||||
|
# on-click = "blueman-manager";
|
||||||
|
}
|
||||||
21
modules/home/waybar/modules/clock.nix
Normal file
21
modules/home/waybar/modules/clock.nix
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
interval = 1; # Poll every second
|
||||||
|
format = "{:%H:%M - %d/%b}";
|
||||||
|
tooltip-format = "<tt><small>{calendar}</small></tt>";
|
||||||
|
calendar = {
|
||||||
|
mode = "year";
|
||||||
|
mode-mon-col = 3;
|
||||||
|
weeks-pos = "right";
|
||||||
|
on-scroll = 1;
|
||||||
|
format = {
|
||||||
|
months = "<span color='#ffead3'><b>{}</b></span>";
|
||||||
|
days = "<span color='#ecc6d9'><b>{}</b></span>";
|
||||||
|
weeks = "<span color='#99ffdd'><b>W{}</b></span>";
|
||||||
|
weekdays = "<span color='#ffcc66'><b>{}</b></span>";
|
||||||
|
today = "<span color='#ff6699'><b><u>{}</u></b></span>";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
7
modules/home/waybar/modules/cpu.nix
Normal file
7
modules/home/waybar/modules/cpu.nix
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
format = "{usage}% ";
|
||||||
|
interval = 1;
|
||||||
|
}
|
||||||
10
modules/home/waybar/modules/disk.nix
Normal file
10
modules/home/waybar/modules/disk.nix
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
interval = 30;
|
||||||
|
format = "{percentage_used}% ";
|
||||||
|
tooltip = true;
|
||||||
|
tooltip-format = "{specific_free:0.1f}/{specific_total:0.1f}GiB";
|
||||||
|
unit = "GiB";
|
||||||
|
}
|
||||||
15
modules/home/waybar/modules/hyprland-window.nix
Normal file
15
modules/home/waybar/modules/hyprland-window.nix
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
format = "{title}";
|
||||||
|
max-length = 40;
|
||||||
|
separate-outputs = true; # List different titles for each monitor
|
||||||
|
offscreen-css = true; # No idea what this does
|
||||||
|
offscreen-css-text = "(inactive)"; # No idea what this does either
|
||||||
|
rewrite = {
|
||||||
|
"(.*) — Mozilla Firefox" = " Firefox";
|
||||||
|
# Foot terminal doesn't display any title for some reason
|
||||||
|
# Find a fix
|
||||||
|
};
|
||||||
|
}
|
||||||
23
modules/home/waybar/modules/hyprland-workspaces.nix
Normal file
23
modules/home/waybar/modules/hyprland-workspaces.nix
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
active-only = false; # Show all workspaces
|
||||||
|
all-outputs = true; # Show all workspace groups
|
||||||
|
format = "{icon}";
|
||||||
|
show-special = false; # Hide Hyprland's "special" workspaces
|
||||||
|
on-click = "activate";
|
||||||
|
on-scroll-up = "hyprctl dispatch workspace r+1";
|
||||||
|
on-scroll-down = "hyprctl dispatch workspace r-1";
|
||||||
|
persistent-workspaces = {
|
||||||
|
"1" = [ ];
|
||||||
|
"2" = [ ];
|
||||||
|
"3" = [ ];
|
||||||
|
"4" = [ ];
|
||||||
|
"5" = [ ];
|
||||||
|
};
|
||||||
|
format-icons = {
|
||||||
|
active = "";
|
||||||
|
default = "";
|
||||||
|
};
|
||||||
|
}
|
||||||
10
modules/home/waybar/modules/idle-inhibitor.nix
Normal file
10
modules/home/waybar/modules/idle-inhibitor.nix
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
format = "{icon}";
|
||||||
|
format-icons = {
|
||||||
|
activated = " ";
|
||||||
|
deactivated = " ";
|
||||||
|
};
|
||||||
|
}
|
||||||
11
modules/home/waybar/modules/memory.nix
Normal file
11
modules/home/waybar/modules/memory.nix
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
interval = 10;
|
||||||
|
format = "{used:0.1f}G ";
|
||||||
|
format-alt = "{percentage}% ";
|
||||||
|
format-alt-click = "click";
|
||||||
|
tooltip = true;
|
||||||
|
tooltip-format = "{used:0.1f}/{total:0.1f}GiB";
|
||||||
|
}
|
||||||
10
modules/home/waybar/modules/menu.nix
Normal file
10
modules/home/waybar/modules/menu.nix
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
format = "{}";
|
||||||
|
exec = "echo ; echo app launcher";
|
||||||
|
interval = 86400;
|
||||||
|
tooltip = true;
|
||||||
|
on-click = "walker";
|
||||||
|
}
|
||||||
26
modules/home/waybar/modules/mpris.nix
Normal file
26
modules/home/waybar/modules/mpris.nix
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
{
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
interval = 10;
|
||||||
|
format = "{player_icon} ";
|
||||||
|
format-paused = "{status_icon} <i>{dynamic}</i>";
|
||||||
|
player-icons = {
|
||||||
|
chromium = "";
|
||||||
|
mpd = "";
|
||||||
|
default = "";
|
||||||
|
firefox = "";
|
||||||
|
kdeconnect = "";
|
||||||
|
mopidy = "";
|
||||||
|
mpv = "";
|
||||||
|
spotify = "";
|
||||||
|
vlc = "";
|
||||||
|
};
|
||||||
|
status-icons = {
|
||||||
|
paused = "";
|
||||||
|
playing = "";
|
||||||
|
stopped = "";
|
||||||
|
};
|
||||||
|
max-length = 30;
|
||||||
|
|
||||||
|
}
|
||||||
22
modules/home/waybar/modules/network.nix
Normal file
22
modules/home/waybar/modules/network.nix
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
format = "{ifname}";
|
||||||
|
format-wifi = "{icon}";
|
||||||
|
format-ethernet = "";
|
||||||
|
format-disconnected = "";
|
||||||
|
format-linked = " {ifname} (No IP)";
|
||||||
|
tooltip-format = "{ipaddr} {bandwidthUpBytes} {bandwidthDownBytes}";
|
||||||
|
tooltip-format-wifi = "{essid} {icon} {signalStrength}%";
|
||||||
|
tooltip-format-ethernet = "{essid} ";
|
||||||
|
tooltip-format-disconnected = " Disconnected";
|
||||||
|
max-length = 50;
|
||||||
|
format-icons = [
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
];
|
||||||
|
}
|
||||||
10
modules/home/waybar/modules/power.nix
Normal file
10
modules/home/waybar/modules/power.nix
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
format = "⏻";
|
||||||
|
exec = "echo ; echo power";
|
||||||
|
on-click = "wlogout";
|
||||||
|
interval = 86400; # once every day
|
||||||
|
tooltip = true;
|
||||||
|
}
|
||||||
14
modules/home/waybar/modules/temperature.nix
Normal file
14
modules/home/waybar/modules/temperature.nix
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
interval = 10;
|
||||||
|
tooltip = true;
|
||||||
|
# Thermal Zone 12 refers to the CPU package temp
|
||||||
|
# This might vary between devices. Maybe make it an input?
|
||||||
|
thermal-zone = 12;
|
||||||
|
critical-threshold = 85;
|
||||||
|
format-critical = "{temperatureC}°C {icon}";
|
||||||
|
format = "{temperatureC}°C {icon}";
|
||||||
|
format-icons = [ "" ];
|
||||||
|
}
|
||||||
7
modules/home/waybar/modules/tray.nix
Normal file
7
modules/home/waybar/modules/tray.nix
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
icon-size = 15;
|
||||||
|
spacing = 8;
|
||||||
|
}
|
||||||
27
modules/home/waybar/modules/wireplumber.nix
Normal file
27
modules/home/waybar/modules/wireplumber.nix
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
{
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
format = "{icon} {volume}% {format_source}";
|
||||||
|
format-muted = " {format_source}";
|
||||||
|
format-source = " {volume}%";
|
||||||
|
format-source-muted = "";
|
||||||
|
format-icons = {
|
||||||
|
headphone = "";
|
||||||
|
hands-free = "";
|
||||||
|
headset = "";
|
||||||
|
phone = "";
|
||||||
|
portable = "";
|
||||||
|
car = "";
|
||||||
|
default = [
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
];
|
||||||
|
};
|
||||||
|
scroll-step = 5.0;
|
||||||
|
on-click = "pavucontrol -t 3";
|
||||||
|
on-click-right = "pavucontrol -t 4";
|
||||||
|
tooltip-format = "{node_name} {volume}%\n{source_desc} {source_volume}%";
|
||||||
|
}
|
||||||
@@ -1,184 +0,0 @@
|
|||||||
@define-color foreground #BFE3EA;
|
|
||||||
@define-color background alpha(#000007,0.05);
|
|
||||||
@define-color cursor #B98FAE;
|
|
||||||
|
|
||||||
@define-color color0 #000009;
|
|
||||||
@define-color color1 #60697E;
|
|
||||||
@define-color color2 #BA4F80;
|
|
||||||
@define-color color3 #4F7F96;
|
|
||||||
@define-color color4 #BE869D;
|
|
||||||
@define-color color5 #47A6BD;
|
|
||||||
@define-color color6 #49AEC4;
|
|
||||||
@define-color color7 #9BCED9;
|
|
||||||
@define-color color8 #6D9098;
|
|
||||||
@define-color color9 #60697E;
|
|
||||||
@define-color color10 #BA4F80;
|
|
||||||
@define-color color11 #4F7F96;
|
|
||||||
@define-color color12 #BE869D;
|
|
||||||
@define-color color13 #47A6BD;
|
|
||||||
@define-color color14 #49AEC4;
|
|
||||||
@define-color color15 #9BCED9;
|
|
||||||
|
|
||||||
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
|
|
||||||
/*DARK_PURPLE*/
|
|
||||||
|
|
||||||
@define-color main-color @color15;
|
|
||||||
* {
|
|
||||||
all: unset; /*this is really important to isolate waybar from gtk*/
|
|
||||||
font: bold 14px "FiraCode Nerd Font";
|
|
||||||
font-feature-settings: '"zero", "ss01", "ss02", "ss03", "ss04", "ss05", "cv31"';
|
|
||||||
border: none;
|
|
||||||
|
|
||||||
border-radius: 0;
|
|
||||||
box-shadow: none;
|
|
||||||
text-shadow: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
window#waybar {
|
|
||||||
/*background: alpha(@background, 0.1);*/
|
|
||||||
background: rgba (0, 0, 0, 0.6);
|
|
||||||
border-radius: 5px;
|
|
||||||
/*border: 0px solid alpha(@background,0.8);*/
|
|
||||||
}
|
|
||||||
|
|
||||||
#window {
|
|
||||||
padding: 0px 8px;
|
|
||||||
margin: 5px 4px 5px 4px;
|
|
||||||
background: alpha(@color12, 0.3);
|
|
||||||
border-radius: 5px;
|
|
||||||
color: lighter(@main-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
tooltip {
|
|
||||||
background: alpha(@background, 0.8);
|
|
||||||
border: 2px solid alpha(lighter(@main-color), 0.8);
|
|
||||||
border-radius: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
tooltip label {
|
|
||||||
color: @freground;
|
|
||||||
}
|
|
||||||
|
|
||||||
#custom-arrow-right {
|
|
||||||
color: @main-color;
|
|
||||||
margin: 0px 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#cpu,
|
|
||||||
#memory,
|
|
||||||
#temperature,
|
|
||||||
#disk,
|
|
||||||
#custom-updates {
|
|
||||||
padding: 0px 6px;
|
|
||||||
margin: 6px 4px;
|
|
||||||
background: alpha(darker(@main-color), 0.4);
|
|
||||||
color: @main-color;
|
|
||||||
border-radius: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces {
|
|
||||||
margin: 4px 4px;
|
|
||||||
background: alpha(lighter(@color4), 0.09);
|
|
||||||
border-radius: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button {
|
|
||||||
padding: 0px 4px;
|
|
||||||
margin: 0px 0px;
|
|
||||||
color: alpha(@foreground, 0.3);
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button.active {
|
|
||||||
transition: color 0.5s;
|
|
||||||
color: lighter(@main-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button.urgent,
|
|
||||||
#workspaces button:hover {
|
|
||||||
color: @color12;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
#demo,
|
|
||||||
#control-center {
|
|
||||||
padding: 0px 6px;
|
|
||||||
margin: 4px 2px 4px 2px;
|
|
||||||
color: lighter(@color3);
|
|
||||||
background: alpha(lighter(@main-color), 0.08);
|
|
||||||
border-radius: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#pulseaudio-slider slider {
|
|
||||||
min-height: 0px;
|
|
||||||
min-width: 0px;
|
|
||||||
background-color: transparent;
|
|
||||||
border: none;
|
|
||||||
box-shadow: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#pulseaudio-slider {
|
|
||||||
margin: 6px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#pulseaudio-slider highlight {
|
|
||||||
border-radius: 8px;
|
|
||||||
background-color: lighter(@main-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
#language {
|
|
||||||
padding: 0px 3px 2px 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#custom-arrow-left {
|
|
||||||
color: lighter(@main-color);
|
|
||||||
margin: 0px 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#custom-notifications,
|
|
||||||
#custom-weather,
|
|
||||||
#custom-theme-switcher {
|
|
||||||
padding: 0px 8px;
|
|
||||||
margin: 8px 4px;
|
|
||||||
color: @main-color;
|
|
||||||
background: alpha(darker(@main-color), 0.8);
|
|
||||||
border-radius: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#tray {
|
|
||||||
padding: 0px 8px;
|
|
||||||
margin: 4px 2px 4px 2px;
|
|
||||||
background: alpha(@color12, 0.3);
|
|
||||||
border-radius: 5px;
|
|
||||||
color: lighter(@main-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
#custom-menu,
|
|
||||||
#custom-power {
|
|
||||||
padding: 0px 10px 0px 6px;
|
|
||||||
margin: 6px 6px 6px 4px;
|
|
||||||
background: alpha(@color12, 0.3);
|
|
||||||
border-radius: 5px;
|
|
||||||
color: lighter(@main-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
#clock {
|
|
||||||
padding: 0px 8px;
|
|
||||||
margin: 5px 2px 5px 4px;
|
|
||||||
background: alpha(@color12, 0.3);
|
|
||||||
border-radius: 5px;
|
|
||||||
color: lighter(@main-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
#power,
|
|
||||||
#bluetooth,
|
|
||||||
#mpd,
|
|
||||||
#pulseaudio,
|
|
||||||
#wireplumber,
|
|
||||||
#battery,
|
|
||||||
#mpris {
|
|
||||||
padding: 4px 4px;
|
|
||||||
color: lighter(@main-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
#battery.critical {
|
|
||||||
color: red;
|
|
||||||
}
|
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
wallpaper,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
@@ -56,7 +57,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
window {
|
window {
|
||||||
background: url("${config.xdg.userDirs.extraConfig.XDG_WALLPAPERS_DIR}/sunset_bay.jpg");
|
background: url("${config.xdg.userDirs.extraConfig.XDG_WALLPAPERS_DIR}/${wallpaper}");
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,8 @@
|
|||||||
fontconfig.enable = true;
|
fontconfig.enable = true;
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
nerd-fonts.fira-code
|
nerd-fonts.fira-code
|
||||||
|
nerd-fonts.jetbrains-mono
|
||||||
|
nerd-fonts.symbols-only
|
||||||
rubik
|
rubik
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -61,6 +61,36 @@
|
|||||||
AllowUsers = [ "eclypse" ];
|
AllowUsers = [ "eclypse" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
system76-scheduler.settings.cfsProfiles.enable = true;
|
||||||
|
|
||||||
|
tlp = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
CPU_BOOST_ON_AC = 1;
|
||||||
|
CPU_BOOST_ON_BAT = 0;
|
||||||
|
CPU_SCALING_GOVERNOR_ON_AC = "performance";
|
||||||
|
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
|
||||||
|
PLATFORM_PROFILE_ON_AC = "performance";
|
||||||
|
PLATFORM_PROFILE_ON_BAT = "balanced";
|
||||||
|
START_CHARGE_THRESH_BAT1 = 65; # Only STOP_CHARGE_THRESH available on Framework
|
||||||
|
STOP_CHARGE_THRESH_BAT1 = 80;
|
||||||
|
# Fixes stuttering Hyprland animations on Intel iGPU (https://wiki.hypr.land/Configuring/Performance/)
|
||||||
|
INTEL_GPU_MIN_FREQ_ON_AC = 300;
|
||||||
|
INTEL_GPU_MIN_FREQ_ON_BAT = 300;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# Disable GNOME's power management (conflicts with TLP)
|
||||||
|
power-profiles-daemon.enable = false;
|
||||||
|
|
||||||
|
# Enable thermald (only necessary for Intel CPUs)
|
||||||
|
thermald.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
powerManagement = {
|
||||||
|
enable = true;
|
||||||
|
powertop.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware = {
|
hardware = {
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
inputs,
|
inputs,
|
||||||
pkgs,
|
pkgs,
|
||||||
host,
|
host,
|
||||||
|
wallpaper,
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
@@ -11,7 +12,7 @@
|
|||||||
home-manager = {
|
home-manager = {
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
extraSpecialArgs = { inherit inputs host; };
|
extraSpecialArgs = { inherit inputs host wallpaper; };
|
||||||
|
|
||||||
users.eclypse = {
|
users.eclypse = {
|
||||||
imports = [ ../home ];
|
imports = [ ../home ];
|
||||||
|
|||||||
BIN
wallpapers/twilight-village.png
Normal file
BIN
wallpapers/twilight-village.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.0 MiB |
Reference in New Issue
Block a user