theme update
This commit is contained in:
parent
0e0a8af3d8
commit
23fb912bb3
@ -4,295 +4,294 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
userSettings.theme = "moss";
|
userSettings.theme = "campfire-night";
|
||||||
in {
|
in {
|
||||||
options = {
|
options = {
|
||||||
desktop.hyprland.waybar.enable = lib.mkEnableOption "enable Waybar module";
|
desktop.hyprland.waybar.enable = lib.mkEnableOption "enable Waybar module";
|
||||||
};
|
};
|
||||||
|
|
||||||
config =
|
config = lib.mkIf config.desktop.hyprland.waybar.enable {
|
||||||
lib.mkIf config.desktop.hyprland.waybar.enable {
|
home.packages = [
|
||||||
home.packages = [
|
pkgs.waybar
|
||||||
pkgs.waybar
|
];
|
||||||
];
|
|
||||||
|
|
||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
mainBar = {
|
mainBar = {
|
||||||
layer = "bottom";
|
layer = "bottom";
|
||||||
position = "top";
|
position = "top";
|
||||||
height = 20;
|
height = 20;
|
||||||
margin-top = 2;
|
margin-top = 2;
|
||||||
exclusive = true;
|
exclusive = true;
|
||||||
passthrough = false;
|
passthrough = false;
|
||||||
gtk-layer-shell = true;
|
gtk-layer-shell = true;
|
||||||
reload_style_on_change = true;
|
reload_style_on_change = true;
|
||||||
output = [
|
output = [
|
||||||
"eDP-1"
|
"eDP-1"
|
||||||
"eDP-2"
|
"eDP-2"
|
||||||
"HDMI-A-1"
|
"HDMI-A-1"
|
||||||
];
|
];
|
||||||
modules-left = ["custom/padd" "custom/l_end" "cpu" "memory" "custom/r_end" "custom/l_end" "idle_inhibitor" "clock" "custom/r_end" "" "custom/padd"];
|
modules-left = ["custom/padd" "custom/l_end" "cpu" "memory" "custom/r_end" "custom/l_end" "idle_inhibitor" "clock" "custom/r_end" "" "custom/padd"];
|
||||||
modules-center = ["custom/padd" "" "custom/l_end" "hyprland/workspaces" "hyprland/window" "custom/r_end" "custom/padd"];
|
modules-center = ["custom/padd" "" "custom/l_end" "hyprland/workspaces" "hyprland/window" "custom/r_end" "custom/padd"];
|
||||||
modules-right = ["custom/padd" "custom/l_end" "backlight" "network" "bluetooth" "pulseaudio" "pulseaudio#microphone" "custom/r_end" "custom/l_end" "tray" "battery" "custom/r_end" "custom/l_end" "custom/notification" "custom/power" "custom/r_end" "custom/padd"];
|
modules-right = ["custom/padd" "custom/l_end" "backlight" "network" "bluetooth" "pulseaudio" "pulseaudio#microphone" "custom/r_end" "custom/l_end" "tray" "battery" "custom/r_end" "custom/l_end" "custom/notification" "custom/power" "custom/r_end" "custom/padd"];
|
||||||
|
|
||||||
"hyprland/workspaces" = {
|
"hyprland/workspaces" = {
|
||||||
disable-scroll = true;
|
disable-scroll = true;
|
||||||
#rotate = 1;
|
#rotate = 1;
|
||||||
all-outputs = true;
|
all-outputs = true;
|
||||||
active-only = false;
|
active-only = false;
|
||||||
on-click = "activate";
|
on-click = "activate";
|
||||||
on-scroll-up = "hyprctl dispatch workspace -1";
|
on-scroll-up = "hyprctl dispatch workspace -1";
|
||||||
on-scroll-down = "hyprctl dispatch workspace +1";
|
on-scroll-down = "hyprctl dispatch workspace +1";
|
||||||
persistent-workspaces = {};
|
persistent-workspaces = {};
|
||||||
|
};
|
||||||
|
|
||||||
|
"hyprland/window" = {
|
||||||
|
format = " {}";
|
||||||
|
#rotate = ${r_deg};
|
||||||
|
separate-outputs = true;
|
||||||
|
rewrite = {
|
||||||
|
#"${USER}@${set_sysname}:(.*)" = "$1 ";
|
||||||
|
"(.*) — Mozilla Firefox" = "$1 ";
|
||||||
|
"(.*)Mozilla Firefox" = "Firefox ";
|
||||||
|
"(.*) - Visual Studio Code" = "$1 ";
|
||||||
|
"(.*)Visual Studio Code" = "Code ";
|
||||||
|
"(.*) — Dolphin" = "$1 ";
|
||||||
|
"(.*)Spotify" = "Spotify ";
|
||||||
|
"(.*)Steam" = "Steam ";
|
||||||
};
|
};
|
||||||
|
max-length = 50;
|
||||||
|
};
|
||||||
|
|
||||||
"hyprland/window" = {
|
"cpu" = {
|
||||||
format = " {}";
|
interval = 10;
|
||||||
#rotate = ${r_deg};
|
format = " {usage}%";
|
||||||
separate-outputs = true;
|
#rotate = ${r_deg};
|
||||||
rewrite = {
|
format-alt = "{icon0}{icon1}{icon2}{icon3}";
|
||||||
#"${USER}@${set_sysname}:(.*)" = "$1 ";
|
format-icons = ["▁" "▂" "▃" "▄" "▅" "▆" "▇" "█"];
|
||||||
"(.*) — Mozilla Firefox" = "$1 ";
|
};
|
||||||
"(.*)Mozilla Firefox" = "Firefox ";
|
|
||||||
"(.*) - Visual Studio Code" = "$1 ";
|
"memory" = {
|
||||||
"(.*)Visual Studio Code" = "Code ";
|
states = {
|
||||||
"(.*) — Dolphin" = "$1 ";
|
"c" = 90; # critical
|
||||||
"(.*)Spotify" = "Spotify ";
|
"h" = 60; # high
|
||||||
"(.*)Steam" = "Steam ";
|
"m" = 30; # medium
|
||||||
};
|
|
||||||
max-length = 50;
|
|
||||||
};
|
};
|
||||||
|
interval = 30;
|
||||||
|
format = " {used}GB";
|
||||||
|
#rotate = ${r_deg};
|
||||||
|
format-m = " {used}GB";
|
||||||
|
format-h = " {used}GB";
|
||||||
|
format-c = " {used}GB";
|
||||||
|
format-alt = " {percentage}%";
|
||||||
|
max-length = 10;
|
||||||
|
tooltip = true;
|
||||||
|
tooltip-format = " {percentage}%\n {used:0.1f}GB/{total:0.1f}GB";
|
||||||
|
};
|
||||||
|
|
||||||
"cpu" = {
|
"bluetooth" = {
|
||||||
interval = 10;
|
format = "";
|
||||||
format = " {usage}%";
|
format-disabled = "";
|
||||||
#rotate = ${r_deg};
|
format-connected = " {num_connections}";
|
||||||
format-alt = "{icon0}{icon1}{icon2}{icon3}";
|
format-connected-battery = "{icon} {num_connections}";
|
||||||
format-icons = ["▁" "▂" "▃" "▄" "▅" "▆" "▇" "█"];
|
format-icons = ["" "" "" "" "" "" "" "" "" "" ""];
|
||||||
};
|
tooltip-format = "{controller_alias}\n{num_connections} connected";
|
||||||
|
tooltip-format-connected = "{controller_alias}\n{num_connections} connected\n\n{device_enumerate}";
|
||||||
|
tooltip-format-enumerate-connected = "{device_alias}";
|
||||||
|
tooltip-format-enumerate-connected-battery = "{device_alias}\t{icon} {device_battery_percentage}%";
|
||||||
|
};
|
||||||
|
|
||||||
"memory" = {
|
"tray" = {
|
||||||
states = {
|
icon-size = 18;
|
||||||
"c" = 90; # critical
|
rotate = 0;
|
||||||
"h" = 60; # high
|
spacing = 5;
|
||||||
"m" = 30; # medium
|
};
|
||||||
};
|
|
||||||
interval = 30;
|
|
||||||
format = " {used}GB";
|
|
||||||
#rotate = ${r_deg};
|
|
||||||
format-m = " {used}GB";
|
|
||||||
format-h = " {used}GB";
|
|
||||||
format-c = " {used}GB";
|
|
||||||
format-alt = " {percentage}%";
|
|
||||||
max-length = 10;
|
|
||||||
tooltip = true;
|
|
||||||
tooltip-format = " {percentage}%\n {used:0.1f}GB/{total:0.1f}GB";
|
|
||||||
};
|
|
||||||
|
|
||||||
"bluetooth" = {
|
"idle_inhibitor" = {
|
||||||
format = "";
|
format = "{icon}";
|
||||||
format-disabled = "";
|
rotate = 0;
|
||||||
format-connected = " {num_connections}";
|
format-icons = {
|
||||||
format-connected-battery = "{icon} {num_connections}";
|
activated = "";
|
||||||
format-icons = ["" "" "" "" "" "" "" "" "" "" ""];
|
deactivated = "";
|
||||||
tooltip-format = "{controller_alias}\n{num_connections} connected";
|
|
||||||
tooltip-format-connected = "{controller_alias}\n{num_connections} connected\n\n{device_enumerate}";
|
|
||||||
tooltip-format-enumerate-connected = "{device_alias}";
|
|
||||||
tooltip-format-enumerate-connected-battery = "{device_alias}\t{icon} {device_battery_percentage}%";
|
|
||||||
};
|
|
||||||
|
|
||||||
"tray" = {
|
|
||||||
icon-size = 18;
|
|
||||||
rotate = 0;
|
|
||||||
spacing = 5;
|
|
||||||
};
|
|
||||||
|
|
||||||
"idle_inhibitor" = {
|
|
||||||
format = "{icon}";
|
|
||||||
rotate = 0;
|
|
||||||
format-icons = {
|
|
||||||
activated = "";
|
|
||||||
deactivated = "";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
"clock" = {
|
|
||||||
format = "{:%H:%M}";
|
|
||||||
rotate = 0;
|
|
||||||
format-alt = "{:%R %d·%m·%y}";
|
|
||||||
tooltip-format = "<span size='8pt' font='JetBrains Mono'><tt>{calendar}</tt></span>";
|
|
||||||
calendar = {
|
|
||||||
mode-mon-col = 3;
|
|
||||||
format = {
|
|
||||||
months = "<span color='#ffffff'><b>{}</b></span>";
|
|
||||||
weekdays = "<span color='#ffffff'><b>{}</b></span>";
|
|
||||||
today = "<span color='#ffffff'><b>{}</b></span>";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
actions = {
|
|
||||||
on-click-right = "mode";
|
|
||||||
on-click-forward = "tz_up";
|
|
||||||
on-click-backward = "tz_down";
|
|
||||||
on-scroll-up = "shift_up";
|
|
||||||
on-scroll-down = "shift_down";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
"battery" = {
|
|
||||||
interval = 1;
|
|
||||||
states = {
|
|
||||||
okay = 60;
|
|
||||||
warning = 30;
|
|
||||||
critical = 15;
|
|
||||||
supercritical = 9;
|
|
||||||
};
|
|
||||||
format = "{icon}{capacity}%";
|
|
||||||
rotate = 0;
|
|
||||||
format-charging = "{icon}{capacity}%";
|
|
||||||
format-plugged = "{capacity}%";
|
|
||||||
format-alt = "{icon}";
|
|
||||||
format-icons = ["" "" "" "" "" "" "" "" "" "" "" ""];
|
|
||||||
};
|
|
||||||
|
|
||||||
"backlight" = {
|
|
||||||
device = "intel_backlight";
|
|
||||||
rotate = 0;
|
|
||||||
format = "{icon} {percent}%";
|
|
||||||
format-icons = ["" "" "" "" "" "" "" "" ""];
|
|
||||||
on-scroll-up = "${pkgs.swayosd}/bin/swayosd-client --brightness raise";
|
|
||||||
on-scroll-down = "${pkgs.swayosd}/bin/swayosd-client --brightness lower";
|
|
||||||
min-length = 6;
|
|
||||||
};
|
|
||||||
|
|
||||||
"network" = {
|
|
||||||
tooltip = true;
|
|
||||||
format-wifi = " ";
|
|
||||||
rotate = 0;
|
|
||||||
format-ethernet = " ";
|
|
||||||
tooltip-format = "Network: <big><b>{essid}</b></big>\nSignal strength: <b>{signaldBm}dBm ({signalStrength}%)</b>\nFrequency: <b>{frequency}MHz</b>\nInterface: <b>{ifname}</b>\nIP: <b>{ipaddr}/{cidr}</b>\nGateway: <b>{gwaddr}</b>\nNetmask: <b>{netmask}</b>";
|
|
||||||
format-linked = " {ifname} (No IP)";
|
|
||||||
format-disconnected = " ";
|
|
||||||
tooltip-format-disconnected = "Disconnected";
|
|
||||||
format-alt = "<span foreground='#99ffdd'> {bandwidthDownBytes}</span> <span foreground='#ffcc66'> {bandwidthUpBytes}</span>";
|
|
||||||
interval = 2;
|
|
||||||
};
|
|
||||||
|
|
||||||
"pulseaudio" = {
|
|
||||||
format = "{icon} {volume}";
|
|
||||||
rotate = 0;
|
|
||||||
format-muted = "婢";
|
|
||||||
on-click = "${pkgs.pavucontrol}/bin/pavucontrol -t 3";
|
|
||||||
on-click-middle = "${pkgs.swayosd}/bin/swayosd-client --output-volume mute-toggle";
|
|
||||||
on-scroll-up = "${pkgs.swayosd}/bin/swayosd-client --output-volume 5";
|
|
||||||
on-scroll-down = "${pkgs.swayosd}/bin/swayosd-client --output-volume -5";
|
|
||||||
tooltip-format = "{icon} {desc} // {volume}%";
|
|
||||||
scroll-step = 5;
|
|
||||||
format-icons = {
|
|
||||||
headphone = " ";
|
|
||||||
hands-free = " ";
|
|
||||||
headset = " ";
|
|
||||||
phone = " ";
|
|
||||||
portable = " ";
|
|
||||||
car = " ";
|
|
||||||
default = ["" "" ""];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
"pulseaudio#microphone" = {
|
|
||||||
format = "{format_source}";
|
|
||||||
rotate = 0;
|
|
||||||
format-source = "";
|
|
||||||
format-source-muted = "";
|
|
||||||
on-click = "${pkgs.pavucontrol}/bin/pavucontrol -t 4";
|
|
||||||
on-click-middle = "${pkgs.swayosd}/bin/swayosd-client --input-volume mute-toggle";
|
|
||||||
on-scroll-up = "${pkgs.swayosd}/bin/swayosd-client --input-volume 5";
|
|
||||||
on-scroll-down = "${pkgs.swayosd}/bin/swayosd-client --input-volume -5";
|
|
||||||
tooltip-format = "{format_source} {source_desc} // {source_volume}%";
|
|
||||||
scroll-step = 5;
|
|
||||||
};
|
|
||||||
|
|
||||||
"custom/power" = {
|
|
||||||
format = " {}";
|
|
||||||
rotate = 0;
|
|
||||||
exec = "echo ; echo logout";
|
|
||||||
on-click = "${pkgs.wlogout}/bin/wlogout -b 2";
|
|
||||||
on-click-right = "${pkgs.wlogout}/bin/wlogout -b 2";
|
|
||||||
interval = 86400; # once every day
|
|
||||||
tooltip = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
"custom/notification" = {
|
|
||||||
tooltip = false;
|
|
||||||
format = "{} {icon}";
|
|
||||||
"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" = "sleep 0.1 && swaync-client -t -sw";
|
|
||||||
"on-click-right" = "sleep 0.1 && swaync-client -d -sw";
|
|
||||||
escape = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
"custom/l_end" = {
|
|
||||||
format = " ";
|
|
||||||
interval = "once";
|
|
||||||
tooltip = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
"custom/r_end" = {
|
|
||||||
format = " ";
|
|
||||||
interval = "once";
|
|
||||||
tooltip = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
"custom/sl_end" = {
|
|
||||||
format = " ";
|
|
||||||
interval = "once";
|
|
||||||
tooltip = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
"custom/sr_end" = {
|
|
||||||
format = " ";
|
|
||||||
interval = "once";
|
|
||||||
tooltip = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
"custom/rl_end" = {
|
|
||||||
format = " ";
|
|
||||||
interval = "once";
|
|
||||||
tooltip = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
"custom/rr_end" = {
|
|
||||||
format = " ";
|
|
||||||
interval = "once";
|
|
||||||
tooltip = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
"custom/padd" = {
|
|
||||||
format = " ";
|
|
||||||
interval = "once";
|
|
||||||
tooltip = false;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
style = ''
|
"clock" = {
|
||||||
${
|
format = "{:%H:%M}";
|
||||||
if (userSettings.theme == "catppuccin-mocha")
|
rotate = 0;
|
||||||
then "
|
format-alt = "{:%R %d·%m·%y}";
|
||||||
|
tooltip-format = "<span size='8pt' font='JetBrains Mono'><tt>{calendar}</tt></span>";
|
||||||
|
calendar = {
|
||||||
|
mode-mon-col = 3;
|
||||||
|
format = {
|
||||||
|
months = "<span color='#ffffff'><b>{}</b></span>";
|
||||||
|
weekdays = "<span color='#ffffff'><b>{}</b></span>";
|
||||||
|
today = "<span color='#ffffff'><b>{}</b></span>";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
actions = {
|
||||||
|
on-click-right = "mode";
|
||||||
|
on-click-forward = "tz_up";
|
||||||
|
on-click-backward = "tz_down";
|
||||||
|
on-scroll-up = "shift_up";
|
||||||
|
on-scroll-down = "shift_down";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
"battery" = {
|
||||||
|
interval = 1;
|
||||||
|
states = {
|
||||||
|
okay = 60;
|
||||||
|
warning = 30;
|
||||||
|
critical = 15;
|
||||||
|
supercritical = 9;
|
||||||
|
};
|
||||||
|
format = "{icon}{capacity}%";
|
||||||
|
rotate = 0;
|
||||||
|
format-charging = "{icon}{capacity}%";
|
||||||
|
format-plugged = "{capacity}%";
|
||||||
|
format-alt = "{icon}";
|
||||||
|
format-icons = ["" "" "" "" "" "" "" "" "" "" "" ""];
|
||||||
|
};
|
||||||
|
|
||||||
|
"backlight" = {
|
||||||
|
device = "intel_backlight";
|
||||||
|
rotate = 0;
|
||||||
|
format = "{icon} {percent}%";
|
||||||
|
format-icons = ["" "" "" "" "" "" "" "" ""];
|
||||||
|
on-scroll-up = "${pkgs.swayosd}/bin/swayosd-client --brightness raise";
|
||||||
|
on-scroll-down = "${pkgs.swayosd}/bin/swayosd-client --brightness lower";
|
||||||
|
min-length = 6;
|
||||||
|
};
|
||||||
|
|
||||||
|
"network" = {
|
||||||
|
tooltip = true;
|
||||||
|
format-wifi = " ";
|
||||||
|
rotate = 0;
|
||||||
|
format-ethernet = " ";
|
||||||
|
tooltip-format = "Network: <big><b>{essid}</b></big>\nSignal strength: <b>{signaldBm}dBm ({signalStrength}%)</b>\nFrequency: <b>{frequency}MHz</b>\nInterface: <b>{ifname}</b>\nIP: <b>{ipaddr}/{cidr}</b>\nGateway: <b>{gwaddr}</b>\nNetmask: <b>{netmask}</b>";
|
||||||
|
format-linked = " {ifname} (No IP)";
|
||||||
|
format-disconnected = " ";
|
||||||
|
tooltip-format-disconnected = "Disconnected";
|
||||||
|
format-alt = "<span foreground='#99ffdd'> {bandwidthDownBytes}</span> <span foreground='#ffcc66'> {bandwidthUpBytes}</span>";
|
||||||
|
interval = 2;
|
||||||
|
};
|
||||||
|
|
||||||
|
"pulseaudio" = {
|
||||||
|
format = "{icon} {volume}";
|
||||||
|
rotate = 0;
|
||||||
|
format-muted = "婢";
|
||||||
|
on-click = "${pkgs.pavucontrol}/bin/pavucontrol -t 3";
|
||||||
|
on-click-middle = "${pkgs.swayosd}/bin/swayosd-client --output-volume mute-toggle";
|
||||||
|
on-scroll-up = "${pkgs.swayosd}/bin/swayosd-client --output-volume 5";
|
||||||
|
on-scroll-down = "${pkgs.swayosd}/bin/swayosd-client --output-volume -5";
|
||||||
|
tooltip-format = "{icon} {desc} // {volume}%";
|
||||||
|
scroll-step = 5;
|
||||||
|
format-icons = {
|
||||||
|
headphone = " ";
|
||||||
|
hands-free = " ";
|
||||||
|
headset = " ";
|
||||||
|
phone = " ";
|
||||||
|
portable = " ";
|
||||||
|
car = " ";
|
||||||
|
default = ["" "" ""];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
"pulseaudio#microphone" = {
|
||||||
|
format = "{format_source}";
|
||||||
|
rotate = 0;
|
||||||
|
format-source = "";
|
||||||
|
format-source-muted = "";
|
||||||
|
on-click = "${pkgs.pavucontrol}/bin/pavucontrol -t 4";
|
||||||
|
on-click-middle = "${pkgs.swayosd}/bin/swayosd-client --input-volume mute-toggle";
|
||||||
|
on-scroll-up = "${pkgs.swayosd}/bin/swayosd-client --input-volume 5";
|
||||||
|
on-scroll-down = "${pkgs.swayosd}/bin/swayosd-client --input-volume -5";
|
||||||
|
tooltip-format = "{format_source} {source_desc} // {source_volume}%";
|
||||||
|
scroll-step = 5;
|
||||||
|
};
|
||||||
|
|
||||||
|
"custom/power" = {
|
||||||
|
format = " {}";
|
||||||
|
rotate = 0;
|
||||||
|
exec = "echo ; echo logout";
|
||||||
|
on-click = "${pkgs.wlogout}/bin/wlogout -b 2";
|
||||||
|
on-click-right = "${pkgs.wlogout}/bin/wlogout -b 2";
|
||||||
|
interval = 86400; # once every day
|
||||||
|
tooltip = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
"custom/notification" = {
|
||||||
|
tooltip = false;
|
||||||
|
format = "{} {icon}";
|
||||||
|
"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" = "sleep 0.1 && swaync-client -t -sw";
|
||||||
|
"on-click-right" = "sleep 0.1 && swaync-client -d -sw";
|
||||||
|
escape = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
"custom/l_end" = {
|
||||||
|
format = " ";
|
||||||
|
interval = "once";
|
||||||
|
tooltip = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
"custom/r_end" = {
|
||||||
|
format = " ";
|
||||||
|
interval = "once";
|
||||||
|
tooltip = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
"custom/sl_end" = {
|
||||||
|
format = " ";
|
||||||
|
interval = "once";
|
||||||
|
tooltip = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
"custom/sr_end" = {
|
||||||
|
format = " ";
|
||||||
|
interval = "once";
|
||||||
|
tooltip = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
"custom/rl_end" = {
|
||||||
|
format = " ";
|
||||||
|
interval = "once";
|
||||||
|
tooltip = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
"custom/rr_end" = {
|
||||||
|
format = " ";
|
||||||
|
interval = "once";
|
||||||
|
tooltip = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
"custom/padd" = {
|
||||||
|
format = " ";
|
||||||
|
interval = "once";
|
||||||
|
tooltip = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
style = ''
|
||||||
|
${
|
||||||
|
if (userSettings.theme == "catppuccin-mocha")
|
||||||
|
then "
|
||||||
@define-color main-text rgba(0, 0, 40, 0.9);
|
@define-color main-text rgba(0, 0, 40, 0.9);
|
||||||
@define-color part-bg rgba(0, 0, 40, 0.5);
|
@define-color part-bg rgba(0, 0, 40, 0.5);
|
||||||
@define-color ws-fg rgba(200, 200, 200, 1);
|
@define-color ws-fg rgba(200, 200, 200, 1);
|
||||||
@ -300,8 +299,8 @@ in {
|
|||||||
@define-color ws-active-bg rgba(100, 100, 100, 0.2);
|
@define-color ws-active-bg rgba(100, 100, 100, 0.2);
|
||||||
@define-color ws-hover-fg rgba(255, 255, 255, 1);
|
@define-color ws-hover-fg rgba(255, 255, 255, 1);
|
||||||
@define-color ws-hover-bg rgba(150, 150, 150, 0.3);"
|
@define-color ws-hover-bg rgba(150, 150, 150, 0.3);"
|
||||||
else if userSettings.theme == "tokyo-night-dark"
|
else if userSettings.theme == "tokyo-night-dark"
|
||||||
then "
|
then "
|
||||||
@define-color main-text rgba(0, 20, 40, 0.9);
|
@define-color main-text rgba(0, 20, 40, 0.9);
|
||||||
@define-color part-bg rgba(0, 100, 150, 0.5);
|
@define-color part-bg rgba(0, 100, 150, 0.5);
|
||||||
@define-color ws-fg rgba(200, 200, 200, 1);
|
@define-color ws-fg rgba(200, 200, 200, 1);
|
||||||
@ -309,8 +308,8 @@ in {
|
|||||||
@define-color ws-active-bg rgba(100, 100, 100, 0.2);
|
@define-color ws-active-bg rgba(100, 100, 100, 0.2);
|
||||||
@define-color ws-hover-fg rgba(255, 255, 255, 1);
|
@define-color ws-hover-fg rgba(255, 255, 255, 1);
|
||||||
@define-color ws-hover-bg rgba(150, 150, 150, 0.3);"
|
@define-color ws-hover-bg rgba(150, 150, 150, 0.3);"
|
||||||
else if userSettings.theme == "evangelion-blood"
|
else if userSettings.theme == "evangelion-blood"
|
||||||
then "
|
then "
|
||||||
@define-color main-text rgba(150, 20, 20, 0.9);
|
@define-color main-text rgba(150, 20, 20, 0.9);
|
||||||
@define-color part-bg rgba(40, 0, 0, 0.5);
|
@define-color part-bg rgba(40, 0, 0, 0.5);
|
||||||
@define-color ws-fg rgba(200, 200, 200, 1);
|
@define-color ws-fg rgba(200, 200, 200, 1);
|
||||||
@ -318,8 +317,8 @@ in {
|
|||||||
@define-color ws-active-bg rgba(100, 100, 100, 0.2);
|
@define-color ws-active-bg rgba(100, 100, 100, 0.2);
|
||||||
@define-color ws-hover-fg rgba(255, 255, 255, 1);
|
@define-color ws-hover-fg rgba(255, 255, 255, 1);
|
||||||
@define-color ws-hover-bg rgba(150, 150, 150, 0.3);"
|
@define-color ws-hover-bg rgba(150, 150, 150, 0.3);"
|
||||||
else if userSettings.theme == "purple-dawn"
|
else if userSettings.theme == "purple-dawn"
|
||||||
then "
|
then "
|
||||||
@define-color main-text rgba(200, 100, 200, 0.9);
|
@define-color main-text rgba(200, 100, 200, 0.9);
|
||||||
@define-color part-bg rgba(30, 0, 40, 0.5);
|
@define-color part-bg rgba(30, 0, 40, 0.5);
|
||||||
@define-color ws-fg rgba(200, 100, 200, 1);
|
@define-color ws-fg rgba(200, 100, 200, 1);
|
||||||
@ -327,19 +326,37 @@ in {
|
|||||||
@define-color ws-active-bg rgba(150, 100, 150, 0.4);
|
@define-color ws-active-bg rgba(150, 100, 150, 0.4);
|
||||||
@define-color ws-hover-fg rgba(255, 175, 225, 1);
|
@define-color ws-hover-fg rgba(255, 175, 225, 1);
|
||||||
@define-color ws-hover-bg rgba(180, 120, 180, 0.5);"
|
@define-color ws-hover-bg rgba(180, 120, 180, 0.5);"
|
||||||
else if userSettings.theme == "moss"
|
else if userSettings.theme == "moss"
|
||||||
then "
|
then "
|
||||||
@define-color main-text rgba(174, 183, 134, 0.90); /* base06 */
|
@define-color main-text rgba(174, 183, 134, 0.90); /* base06 */
|
||||||
@define-color part-bg rgba(28, 29, 17, 0.50); /* base00 */
|
@define-color part-bg rgba(28, 29, 17, 0.50); /* base00 */
|
||||||
@define-color ws-fg rgba(117, 124, 62, 1.00); /* base05 */
|
@define-color ws-fg rgba(117, 124, 62, 1.00); /* base05 */
|
||||||
@define-color ws-active-fg rgba( 28, 29, 17, 1.00); /* base00 */
|
@define-color ws-active-fg rgba( 28, 29, 17, 1.00); /* base00 */
|
||||||
@define-color ws-active-bg rgba( 95, 100, 49, 0.20); /* base04 */
|
@define-color ws-active-bg rgba( 95, 100, 49, 0.20); /* base04 */
|
||||||
@define-color ws-hover-fg rgba(174, 183, 134, 1.00); /* base06 */
|
@define-color ws-hover-fg rgba(174, 183, 134, 1.00); /* base06 */
|
||||||
@define-color ws-hover-bg rgba( 95, 100, 49, 0.30);"
|
@define-color ws-hover-bg rgba( 95, 100, 49, 0.30);"
|
||||||
/*
|
else if userSettings.theme == "tokyo-night"
|
||||||
base04
|
then "
|
||||||
*/
|
@define-color main-text rgba(169, 177, 214, 0.90); /* base05 */
|
||||||
else "
|
@define-color part-bg rgba(26, 27, 38, 0.50); /* base00 */
|
||||||
|
@define-color ws-fg rgba(114, 122, 162, 1.00); /* base04 */
|
||||||
|
@define-color ws-active-fg rgba(205, 202, 245, 1.00); /* base06 */
|
||||||
|
@define-color ws-active-bg rgba(65, 72, 104, 0.20); /* base03 */
|
||||||
|
@define-color ws-hover-fg rgba(205, 202, 245, 1.00); /* base06 */
|
||||||
|
@define-color ws-hover-bg rgba(65, 72, 104, 0.30);"
|
||||||
|
else if userSettings.theme == "campfire-night"
|
||||||
|
then "
|
||||||
|
@define-color main-text rgba(202, 203, 201, 0.90); /* base05 */
|
||||||
|
@define-color part-bg rgba(13, 15, 15, 0.50); /* base00 */
|
||||||
|
@define-color ws-fg rgba(85, 92, 94, 1.00); /* base04 */
|
||||||
|
@define-color ws-active-fg rgba(245, 233, 211, 1.00); /* base06 */
|
||||||
|
@define-color ws-active-bg rgba(56, 61, 63, 0.20); /* base03 */
|
||||||
|
@define-color ws-hover-fg rgba(255, 255, 255, 1.00); /* base07 */
|
||||||
|
@define-color ws-hover-bg rgba(56, 61, 63, 0.30);"
|
||||||
|
/*
|
||||||
|
base03
|
||||||
|
*/
|
||||||
|
else "
|
||||||
@define-color main-text rgba(200, 200, 200, 1);
|
@define-color main-text rgba(200, 200, 200, 1);
|
||||||
@define-color part-bg rgba(0, 0, 0, 1);
|
@define-color part-bg rgba(0, 0, 0, 1);
|
||||||
@define-color ws-fg rgba(200, 200, 200, 1);
|
@define-color ws-fg rgba(200, 200, 200, 1);
|
||||||
@ -347,167 +364,167 @@ in {
|
|||||||
@define-color ws-active-bg rgba(100, 100, 100, 0.4);
|
@define-color ws-active-bg rgba(100, 100, 100, 0.4);
|
||||||
@define-color ws-hover-fg rgba(255, 255, 255, 1);
|
@define-color ws-hover-fg rgba(255, 255, 255, 1);
|
||||||
@define-color ws-hover-bg rgba(150, 150, 150, 0.5);"
|
@define-color ws-hover-bg rgba(150, 150, 150, 0.5);"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
* {
|
* {
|
||||||
border: none;
|
border: none;
|
||||||
font-family: "JetBrainsMono Nerd Font";
|
font-family: "JetBrainsMono Nerd Font";
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
#backlight,
|
#backlight,
|
||||||
#battery,
|
#battery,
|
||||||
#bluetooth,
|
#bluetooth,
|
||||||
#clock,
|
#clock,
|
||||||
#custom-cpuinfo,
|
#custom-cpuinfo,
|
||||||
#cpu,
|
#cpu,
|
||||||
#custom-gpuinfo,
|
#custom-gpuinfo,
|
||||||
#idle_inhibitor,
|
#idle_inhibitor,
|
||||||
#custom-keybindhint,
|
#custom-keybindhint,
|
||||||
#language,
|
#language,
|
||||||
#memory,
|
#memory,
|
||||||
#mpris,
|
#mpris,
|
||||||
#network,
|
#network,
|
||||||
#custom-notification,
|
#custom-notification,
|
||||||
#custom-power,
|
#custom-power,
|
||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
#custom-spotify,
|
#custom-spotify,
|
||||||
#taskbar,
|
#taskbar,
|
||||||
#custom-theme,
|
#custom-theme,
|
||||||
#tray,
|
#tray,
|
||||||
#custom-updates,
|
#custom-updates,
|
||||||
#custom-wallchange,
|
#custom-wallchange,
|
||||||
#workspaces,
|
#workspaces,
|
||||||
#window,
|
#window,
|
||||||
#custom-l_end,
|
#custom-l_end,
|
||||||
#custom-r_end,
|
#custom-r_end,
|
||||||
#custom-sl_end,
|
#custom-sl_end,
|
||||||
#custom-sr_end,
|
#custom-sr_end,
|
||||||
#custom-rl_end,
|
#custom-rl_end,
|
||||||
#custom-rr_end {
|
#custom-rr_end {
|
||||||
color: @main-text;
|
color: @main-text;
|
||||||
background: @part-bg;
|
background: @part-bg;
|
||||||
padding-left: 4px;
|
padding-left: 4px;
|
||||||
padding-right: 4px;
|
padding-right: 4px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar {
|
window#waybar {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
border-radius: 9px;
|
border-radius: 9px;
|
||||||
margin-top: 3px;
|
margin-top: 3px;
|
||||||
margin-bottom: 3px;
|
margin-bottom: 3px;
|
||||||
margin-left: 0px;
|
margin-left: 0px;
|
||||||
padding-left: 3px;
|
padding-left: 3px;
|
||||||
padding-right: 3px;
|
padding-right: 3px;
|
||||||
margin-right: 0px;
|
margin-right: 0px;
|
||||||
color: @ws-fg;
|
color: @ws-fg;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.active {
|
#workspaces button.active {
|
||||||
background: @ws-active-bg;
|
background: @ws-active-bg;
|
||||||
color: @ws-active-fg;
|
color: @ws-active-fg;
|
||||||
margin-left: 3px;
|
margin-left: 3px;
|
||||||
padding-left: 12px;
|
padding-left: 12px;
|
||||||
padding-right: 12px;
|
padding-right: 12px;
|
||||||
margin-right: 3px;
|
margin-right: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button:hover {
|
#workspaces button:hover {
|
||||||
background: @ws-hover-bg;
|
background: @ws-hover-bg;
|
||||||
color: @ws-hover-fg;
|
color: @ws-hover-fg;
|
||||||
}
|
}
|
||||||
|
|
||||||
tooltip {
|
tooltip {
|
||||||
color: @main-text;
|
color: @main-text;
|
||||||
background: @part-bg;
|
background: @part-bg;
|
||||||
border-radius: 7px;
|
border-radius: 7px;
|
||||||
border-width: 0px;
|
border-width: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-r_end {
|
#custom-r_end {
|
||||||
border-radius: 0px 20px 20px 0px;
|
border-radius: 0px 20px 20px 0px;
|
||||||
margin-right: 9px;
|
margin-right: 9px;
|
||||||
padding-right: 3px;
|
padding-right: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-l_end {
|
#custom-l_end {
|
||||||
border-radius: 20px 0px 0px 20px;
|
border-radius: 20px 0px 0px 20px;
|
||||||
margin-left: 9px;
|
margin-left: 9px;
|
||||||
padding-left: 3px;
|
padding-left: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-sr_end {
|
#custom-sr_end {
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
margin-right: 9px;
|
margin-right: 9px;
|
||||||
padding-right: 3px;
|
padding-right: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-sl_end {
|
#custom-sl_end {
|
||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
margin-left: 9px;
|
margin-left: 9px;
|
||||||
padding-left: 3px;
|
padding-left: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-rr_end {
|
#custom-rr_end {
|
||||||
border-radius: 0px 10px 10px 0px;
|
border-radius: 0px 10px 10px 0px;
|
||||||
margin-right: 9px;
|
margin-right: 9px;
|
||||||
padding-right: 3px;
|
padding-right: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-rl_end {
|
#custom-rl_end {
|
||||||
border-radius: 10px 0px 0px 10px;
|
border-radius: 10px 0px 0px 10px;
|
||||||
margin-left: 9px;
|
margin-left: 9px;
|
||||||
padding-left: 3px;
|
padding-left: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery {
|
#battery {
|
||||||
color: rgba(0, 150, 0, 0.9);
|
color: rgba(0, 150, 0, 0.9);
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery.okay {
|
#battery.okay {
|
||||||
color: rgba(150, 150, 0, 0.9);
|
color: rgba(150, 150, 0, 0.9);
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery.warning {
|
#battery.warning {
|
||||||
color: rgba(250, 100, 0, 0.9);
|
color: rgba(250, 100, 0, 0.9);
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery.critical {
|
#battery.critical {
|
||||||
color: rgba(250, 0, 0, 0.9);
|
color: rgba(250, 0, 0, 0.9);
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes supercritical {
|
@keyframes supercritical {
|
||||||
from {
|
from {
|
||||||
background: rgba(100, 0, 0, 1);
|
background: rgba(100, 0, 0, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
to {
|
to {
|
||||||
background: rgba(250, 220, 0, 1);
|
background: rgba(250, 220, 0, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery.supercritical:not(.charging) {
|
#battery.supercritical:not(.charging) {
|
||||||
color: #000;
|
color: #000;
|
||||||
background: rgba(100, 0, 0, 1);
|
background: rgba(100, 0, 0, 1);
|
||||||
animation: supercritical 0.2s infinite alternate;
|
animation: supercritical 0.2s infinite alternate;
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery.charging {
|
#battery.charging {
|
||||||
color: rgba(0, 150, 0, 0.9);
|
color: rgba(0, 150, 0, 0.9);
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
stylix = {
|
stylix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
image = ./../../src/wallpapers/monoe.png;
|
image = ./../../src/wallpapers/wpmaterial.png;
|
||||||
base16Scheme = ./../../src/themes/mossplus.yaml;
|
base16Scheme = ./../../src/themes/campfire-night.yaml;
|
||||||
polarity = "dark";
|
polarity = "dark";
|
||||||
autoEnable = true;
|
autoEnable = true;
|
||||||
|
|
||||||
|
|||||||
23
src/themes/campfire-night.yaml
Normal file
23
src/themes/campfire-night.yaml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
system: "base16"
|
||||||
|
name: "Campfire-Night"
|
||||||
|
author: "You"
|
||||||
|
variant: "dark"
|
||||||
|
|
||||||
|
palette:
|
||||||
|
base00: "0d0f0f" # darkest – background forest
|
||||||
|
base01: "181b1d" # tree shadows
|
||||||
|
base02: "232728" # tent shading
|
||||||
|
base03: "383d3f" # log and clothing shadows
|
||||||
|
base04: "555c5e" # tent outer edge
|
||||||
|
base05: "cacbc9" # face light
|
||||||
|
base06: "f5e9d3" # bright highlights
|
||||||
|
base07: "ffffff" # lightest (fire + extreme highlights)
|
||||||
|
base08: "d36f4a" # red – fire ember
|
||||||
|
base09: "e89f6f" # orange – flame edge
|
||||||
|
base0A: "f8c78f" # yellow – flame core
|
||||||
|
base0B: "89a068" # green – sprite tent box
|
||||||
|
base0C: "678d88" # teal – tent shadows
|
||||||
|
base0D: "44596e" # blue – beanie
|
||||||
|
base0E: "85718b" # violet – shirt reflections
|
||||||
|
base0F: "6c3d26" # brown – log and dirt
|
||||||
|
|
||||||
23
src/themes/tokyonight.yaml
Normal file
23
src/themes/tokyonight.yaml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
system: "base16"
|
||||||
|
name: "Tokyo-Night"
|
||||||
|
author: "You"
|
||||||
|
variant: "dark"
|
||||||
|
|
||||||
|
palette:
|
||||||
|
base00: "1a1b26" # darkest – main background
|
||||||
|
base01: "1f2335"
|
||||||
|
base02: "2f3549"
|
||||||
|
base03: "414868"
|
||||||
|
base04: "737aa2"
|
||||||
|
base05: "a9b1d6" # default foreground / text
|
||||||
|
base06: "c0caf5" # bright fg / selections
|
||||||
|
base07: "d5d6db" # lightest
|
||||||
|
base08: "f7768e" # red – sakura pink
|
||||||
|
base09: "ff9e64" # orange – lantern glow
|
||||||
|
base0A: "e0af68" # yellow – evening light
|
||||||
|
base0B: "9ece6a" # green – fresh leaf
|
||||||
|
base0C: "7dcfff" # teal – cool breeze
|
||||||
|
base0D: "7aa2f7" # blue – evening sky
|
||||||
|
base0E: "bb9af7" # violet – twilight bloom
|
||||||
|
base0F: "965027" # brown – warm earth
|
||||||
|
|
||||||
BIN
src/wallpapers/wpmaterial.png
Normal file
BIN
src/wallpapers/wpmaterial.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.7 MiB |
Loading…
Reference in New Issue
Block a user