new wallpapers added, along with a general visual overhaul via stylix and refactoring of existing stylization options

This commit is contained in:
pagedmov
2024-10-19 07:42:55 -04:00
parent c2dd806538
commit 740c27ba86
17 changed files with 506 additions and 217 deletions

View File

@@ -4,7 +4,12 @@
...
}: {
fonts.fontconfig.enable = true;
home.packages = [
home.packages = with pkgs; [
(nerdfonts.override { fonts = [
"JetBrainsMono"
"CascadiaCode"
"NerdFontsSymbolsOnly"
]; })
];
gtk = {

View File

@@ -94,10 +94,10 @@
blur = {
enabled = true;
size = 1;
passes = 1;
# size = 4;
# passes = 2;
# size = 1;
# passes = 1;
size = 4;
passes = 2;
brightness = 1;
contrast = 1.400;
ignore_opacity = true;

View File

@@ -34,6 +34,9 @@
in {
home.packages = with pkgs;
[
flavours
ags
sassc
gtk3
sqlite
gimp

View File

@@ -1,147 +1,301 @@
{...}: {
{...}:
{
programs.waybar.settings.mainBar = {
position = "top";
layer = "top";
height = 5;
margin-top = 0;
margin-bottom = 0;
margin-left = 0;
position = "left";
mod = "dock";
margin-left = 4;
margin-right = 0;
margin-top = 4;
margin-bottom = 4;
exclusive = true;
passthrough = false;
"gtk-layer-shell" = true;
reload_style_on_change = true;
modules-left = [
"custom/launcher"
"custom/separator"
"custom/spacer"
"hyprland/workspaces"
"custom/spacer"
];
modules-center = [
"clock"
];
modules-right = [
"tray"
"custom/separator"
"cpu"
"memory"
"disk"
"custom/separator"
"pulseaudio"
"battery"
"group/expand"
"group/expand-3"
"network"
"custom/separator"
"clock"
"upower"
"custom/notification"
];
clock = {
"custom/led" = {
format = "<span color='#AFAFAF'>󰍿</span><span color='#AFAFAF'> </span>";
format-alt = "󰍿<span color='#83A1F6'> </span>";
on-click = "~/mouse.sh";
rotate = 90;
tooltip = false;
};
"group/expand-3" = {
orientation = "vertical";
drawer = {
"transition-duration" = 600;
"children-class" = "not-power";
"transition-to-left" = false;
"click-to-reveal" = false;
};
modules = [
"pulseaudio"
"pulseaudio/slider"
];
};
clock = {
format = "{:%I\n%M\n%S}";
interval = 1;
rotate = 0;
on-click = "/usr/local/bin/ags -t ActivityCenter";
tooltip-format = "<tt>{calendar}</tt>";
calendar = {
format = {today = "<span color='#b4befe'><b><u>{}</u></b></span>";};
mode = "month";
"mode-mon-col" = 3;
"on-scroll" = 1;
"on-click-right" = "mode";
format = {
months = "<span color='#ffead3'><b>{}</b></span>";
weekdays = "<span color='#ffcc66'><b>{}</b></span>";
today = "<span color='#ff6699'><b>{}</b></span>";
};
};
format = " {:%H:%M}";
tooltip = "true";
tooltip-format = "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>";
format-alt = " {:%d/%m}";
};
"hyprland/workspaces" = {
active-only = false;
disable-scroll = true;
format = "{icon}";
on-click = "activate";
format-icons = {
"1" = "";
"2" = "";
"3" = "";
"4" = "";
"5" = "";
"6" = "";
urgent = "";
default = "";
sort-by-number = true;
};
persistent-workspaces = {
"1" = [];
"2" = [];
"3" = [];
"4" = [];
"5" = [];
"6" = [];
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";
};
};
memory = {
format = "󰟜 {}%";
format-alt = "󰟜 {used} GiB"; # 
interval = 2;
};
cpu = {
format = " {usage}%";
format-alt = " {avg_frequency} GHz";
interval = 2;
};
disk = {
# path = "/";
format = "󰋊 {percentage_used}%";
interval = 60;
};
network = {
format-wifi = " {signalStrength}%";
format-ethernet = "󰀂 ";
tooltip-format = "Connected to {essid} {ifname} via {gwaddr}";
format-linked = "{ifname} (No IP)";
format-disconnected = "󰖪 ";
};
tray = {
upower = {
icon-size = 20;
spacing = 8;
};
pulseaudio = {
format = "{icon} {volume}%";
format-muted = " {volume}%";
format-icons = {
default = [" "];
};
scroll-step = 5;
on-click = "pamixer -t";
on-click-right = "pavucontrol";
};
battery = {
format = "{icon} {capacity}%";
format-icons = [" " " " " " " " " "];
format-charging = " {capacity}%";
format-full = " {capacity}%";
format-warning = " {capacity}%";
interval = 5;
states = {
warning = 20;
};
format-time = "{H}h{M}m";
format = "";
on-click = "/home/anik/battery.sh";
tooltip = true;
tooltip-format = "{time}";
rotate = 0;
tooltip-spacing = 20;
on-click-right = "pkill waybar & hyprctl dispatch exec waybar";
};
"custom/launcher" = {
format = "";
on-click = "fuzzel";
on-click-right = "wallpaper-picker";
tooltip = "false";
"upower#headset" = {
format = " {percentage}";
"native-path" = "/org/freedesktop/UPower/devices/headset_dev_A6_98_9A_0D_D3_49";
"show-icon" = false;
tooltip = false;
};
"group/expand-4" = {
orientation = "horizontal";
drawer = {
"transition-duration" = 600;
"children-class" = "not-power";
"transition-to-left" = true;
"click-to-reveal" = true;
};
modules = ["upower" "upower/headset"];
};
network = {
tooltip = true;
format-wifi = "{icon}";
format-icons = ["󰤟" "󰤢" "󰤥"];
rotate = 0;
format-ethernet = "󰈀 ";
tooltip-format = ''
Network: <big><b>{essid}</b></big>\n
Signal strength: <b>{signaldBm}dBm ({signalStrength}%)</b>\n
Frequency: <b>{frequency}MHz</b>\n
Interface: <b>{ifname}</b>\n
IP: <b>{ipaddr}/{cidr}</b>\n
Gateway: <b>{gwaddr}</b>\n
Netmask: <b>{netmask}</b>
'';
format-linked = "󰈀 {ifname} (No IP)";
format-disconnected = "";
tooltip-format-disconnected = "Disconnected";
on-click = "/usr/local/bin/ags -t ControlPanel";
interval = 2;
};
"custom/smallspacer" = {
format = "";
rotate = 0;
};
memory = {
interval = 1;
rotate = 270;
format = "{icon}";
format-icons = [
"󰝦" "󰪞" "󰪟" "󰪠" "󰪡" "󰪢" "󰪣" "󰪤" "󰪥"
];
max-length = 10;
};
cpu = {
interval = 1;
format = "{icon}";
rotate = 270;
format-icons = [
"󰝦" "󰪞" "󰪟" "󰪠" "󰪡" "󰪢" "󰪣" "󰪤" "󰪥"
];
};
"mpris" = {
format = "󰝚 {player_icon}";
rotate = 90;
"format-paused" = "<span color='#2d2d2e'>󰝚 {status_icon}</span>";
"max-length" = 6;
"player-icons" = {
default = "󰏤";
mpv = "󰝚";
};
"status-icons" = {
paused = "󰐊";
};
};
tray = {
"icon-size" = 16;
rotate = 0;
spacing = 3;
};
"group/expand" = {
orientation = "vertical";
drawer = {
"transition-duration" = 600;
"children-class" = "not-power";
"transition-to-left" = true;
};
modules = ["custom/menu" "custom/spacer" "tray"];
};
"custom/menu" = {
format = "󰅃";
rotate = 0;
};
"custom/notification" = {
tooltip = false;
format = "{icon} ";
rotate = 0;
format = "{icon}";
format-icons = {
notification = "<span foreground='red'><sup></sup></span> ";
none = " ";
dnd-notification = "<span foreground='red'><sup></sup></span> ";
dnd-none = " ";
inhibited-notification = "<span foreground='red'><sup></sup></span> ";
inhibited-none = " ";
dnd-inhibited-notification = "<span foreground='red'><sup></sup></span> ";
dnd-inhibited-none = " ";
notification = "󱅫";
none = "󰂚";
"dnd-notification" = "󱅫";
"dnd-none" = "󰂚";
"inhibited-notification" = "󱅫";
"inhibited-none" = "󰂚";
"dnd-inhibited-notification" = "󱅫";
"dnd-inhibited-none" = "󰂚";
};
return-type = "json";
exec-if = "which swaync-client";
"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";
"on-click-right" = "swaync-client -d -sw";
"on-click" = "swaync-client -t -sw";
escape = true;
};
"custom/separator" = {
exec = "echo ' | '";
interval = 600;
tooltip = false;
"hyprland/window" = {
format = "<span weight='bold' >{class}</span>";
"on-click-right" = "pkill waybar & hyprctl dispatch exec waybar";
rotate = 90;
"max-length" = 120;
icon = false;
"icon-size" = 13;
};
"custom/power" = {
format = "@{}";
rotate = 0;
"on-click" = "ags -t ControlPanel";
"on-click-right" = "pkill ags";
tooltip = true;
};
"custom/spacer" = {
format = "|";
rotate = 90;
};
"hyprland/workspaces" = {
format = "{icon}";
"format-icons" = {
default = "";
active = "";
};
};
"wlr/workspaces" = {
"persistent-workspaces" = {
"1" = ["HDMI-A-1"];
"2" = ["HDMI-A-1"];
"3" = ["HDMI-A-1"];
"4" = ["DP-1"];
"5" = ["DP-1"];
"6" = ["DP-1"];
};
};
pulseaudio = {
format = "{icon}";
rotate = 0;
format-muted = "";
tooltip-format = "{icon} {desc} // {volume}%";
scroll-step = 5;
format-icons = {
headphone = " ";
"hands-free" = " ";
headset = " ";
phone = " ";
portable = " ";
car = " ";
default = ["" " " " "];
};
};
"pulseaudio/slider" = {
min = 5;
max = 100;
rotate = 0;
device = "pulseaudio";
scroll-step = 1;
orientation = "vertical";
};
cava = {
"cava_config" = "~/.config/cava/config";
framerate = 60;
autosens = 1;
bars = 14;
"lower_cutoff_freq" = 50;
"higher_cutoff_freq" = 10000;
method = "pulse";
source = "auto";
stereo = true;
reverse = false;
"bar_delimiter" = 0;
monstercat = false;
waves = false;
"noise_reduction" = 0.77;
"input_delay" = 2;
"format-icons" = ["" "" "" "" "" "" "" ""];
actions = {
"on-click-right" = "mode";
};
};
};
}

View File

@@ -1,98 +1,199 @@
{...}: let
custom = {
font = "JetBrainsMono Nerd Font";
font_size = "22px";
font_weight = "bold";
text_color = "#cdd6f4";
secondary_accent = "#89b4fa";
tertiary_accent = "#f5f5f5";
background = "#11111B";
font_size = "15px"; # Base font size
font_weight = "bold"; # Base font weight
notification_font_size = "18px"; # Font size for notifications
text_color = "#cccedb"; # Default text color
background_color = "rgba(21, 21, 21, 0.83)";
border_color = "rgba(255, 255, 255, 0.3)";
notification_margin_left = "-2px";
notification_margin_top = "-4px";
notification_padding_bottom = "12px";
tooltip_bg = "#1D2021";
tooltip_color = "#FBF1C7";
tooltip_border = "#101a24";
};
in {
programs.waybar.style = ''
* {
font-family: "JetBrains Mono Nerd Font";
font-weight: ${custom.font_weight};
font-size: ${custom.font_size};
}
* {
border: none;
border-radius: 0px;
padding: 0;
margin: 0;
min-height: 0px;
font-family: ${custom.font};
font-weight: ${custom.font_weight};
}
#custom-notification {
font-family: "JetBrains Mono Nerd Font";
font-size: ${custom.notification_font_size};
color: ${custom.text_color};
margin-left: ${custom.notification_margin_left};
margin-top: ${custom.notification_margin_top};
padding-bottom: ${custom.notification_padding_bottom};
}
window#waybar {
background: ${custom.background};
}
window#waybar {
background: ${custom.background_color};
border: 3px solid ${custom.border_color};
border-radius: 6px;
}
#workspaces {
font-size: ${custom.font_size};
tooltip {
background: ${custom.tooltip_bg};
color: ${custom.tooltip_color};
font-size: 13px;
border-radius: 7px;
border: 2px solid ${custom.tooltip_border};
}
}
#workspaces button {
color: ${custom.text_color};
padding-left: 6px;
padding-right: 6px;
}
#workspaces button.empty {
color: #6c7086;
}
#workspaces button.active {
color: #b4befe;
}
#workspaces {
font-weight: normal;
background: rgba(23, 23, 23, 0.0);
color: #2F302D;
border-radius: 9px;
padding-left: 0px;
padding-right: 4px;
padding-top: 1px;
}
#tray, #pulseaudio, #network, #cpu, #memory, #disk, #clock, #battery, #custom-notification {
font-size: ${custom.font_size};
color: ${custom.text_color};
}
#workspaces button {
font-weight: normal;
background: rgba(23, 23, 23, 0.0);
color: #B1B2BD;
border-radius: 9px;
padding-left: 0px;
padding-right: 4px;
margin-right: -4px;
margin-top: -10px;
}
#cpu {
padding-left: 5px;
padding-right: 9px;
}
#memory {
padding-left: 9px;
padding-right: 9px;
}
#disk {
padding-left: 9px;
padding-right: 5px;
}
#workspaces button.active {
color: ${custom.text_color};
font-weight: normal;
padding-left: 0px;
padding-right: 4px;
transition: all 0.3s ease;
}
#tray {
margin-left: 7px;
padding-right: 5px;
}
#taskbar button {
box-shadow: none;
font-size: 4px;
padding: 0px;
border-radius: 9px;
margin-top: 3px;
margin-bottom: 3px;
margin-left: 3px;
margin-right: 3px;
color: #A1BDCE;
}
#pulseaudio {
padding-left: 5px;
padding-right: 9px;
}
#battery {
padding-left: 9px;
padding-right: 9px;
}
#network {
padding-left: 9px;
padding-right: 5px;
}
#taskbar button.active {
background: #C8C8C8;
color: #C8C8C8;
margin-left: 10px;
margin-right: 10px;
border-radius: 3px;
}
custom-notification {
padding-left: 15px;
padding-right: 20px;
}
#tray menu * {
font-weight: bold;
font-size: 13px;
color: #FBF1C7;
}
#clock {
padding-left: 9px;
padding-right: 15px;
}
#tray {
padding: 0px;
}
#custom-launcher {
font-size: ${custom.font_size};
color: #b4befe;
font-weight: ${custom.font_weight};
padding-left: 10px;
padding-right: 15px;
}
#battery {
font-weight: normal;
font-size: 22px;
color: #a6d189;
}
#clock {
color: ${custom.text_color};
font-size: 15px;
font-weight: 900;
font-family: "CaskaydiaCove Nerd Font Mono";
background: rgba(23, 23, 23, 0.0);
}
#backlight-slider slider,
#pulseaudio-slider slider {
background: #A1BDCE;
background-color: transparent;
box-shadow: none;
}
#backlight-slider trough,
#pulseaudio-slider trough {
min-width: 9px;
min-height: 90px;
margin-bottom: -4px;
border-radius: 8px;
background: #343434;
margin-left: -4px;
margin-right: -4px;
}
#backlight-slider highlight,
#pulseaudio-slider highlight {
border-radius: 8px;
background-color: #2096C0;
}
#custom-mouse {
font-size: 14px;
margin-bottom: 6px;
background: #161320;
}
#custom-power {
font-size: 15px;
color: #FFFFFF;
background: rgba(22, 19, 32, 0.9);
margin: 6px 0px;
padding-left: 4px;
padding-right: 4px;
}
#backlight {
color: ${custom.text_color};
font-weight: normal;
font-size: 19px;
margin: 0px;
padding-left: 0px;
}
#custom-spacer {
opacity: 0.0;
padding-top: 3px;
}
#tray menu separator {
min-height: 10px;
}
#pulseaudio {
font-weight: normal;
font-size: 18px;
color: ${custom.text_color};
}
#cpu {
font-weight: normal;
font-size: 22px;
color: ${custom.text_color};
}
#memory {
font-weight: normal;
font-size: 22px;
color: ${custom.text_color};
}
#network {
font-size: 19px;
color: ${custom.text_color};
}
'';
}