This commit is contained in:
Michael Thomas 2024-07-04 12:41:45 -04:00
commit 18e7c1ccda
17 changed files with 154 additions and 890 deletions

56
flake.lock generated
View File

@ -28,11 +28,11 @@
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1715703984,
"narHash": "sha256-0BZkMui6aCqswMCouvp0G90tAxDOxVnxTvG6TDZsDaI=",
"lastModified": 1718921313,
"narHash": "sha256-TFJah1RW5qnYW7kajjAFPAS5j/0q0R3vz9zPjrRA0Mc=",
"owner": "Aylur",
"repo": "ags",
"rev": "11150225e62462bcd431d1e55185e810190a730a",
"rev": "646d5ad073ff7f8b1d50cfbd40f5b8a250fcd59d",
"type": "github"
},
"original": {
@ -453,11 +453,11 @@
"xdph": "xdph"
},
"locked": {
"lastModified": 1719684307,
"narHash": "sha256-mpBw92WX8uqxRd4UWAHg4K6r33brYqDg8cpVXzr1NnQ=",
"lastModified": 1719493676,
"narHash": "sha256-EClgfHBU8jLOQxRrkmEgkHHL22nrvNkPjhABtsOEscE=",
"ref": "refs/heads/main",
"rev": "718afe271ecebfe6711453b9cfee90fa49a7e761",
"revCount": 4897,
"rev": "f2dc48d92f340efe6d4264b92d38378c18a3e1ea",
"revCount": 4892,
"submodules": true,
"type": "git",
"url": "https://github.com/hyprwm/Hyprland"
@ -643,11 +643,11 @@
"nixpkgs": "nixpkgs_4"
},
"locked": {
"lastModified": 1719624269,
"narHash": "sha256-pRvYQcIJ1B9Fo52SglSXUMWDq/4PUTqLQEBitKIQS64=",
"lastModified": 1719451583,
"narHash": "sha256-2FHGp9cH5q42yVdYAfLjMCYJgr+VYfMW4LYmCOptlpg=",
"owner": "nix-community",
"repo": "nix-vscode-extensions",
"rev": "60056ea2311c8a9eb21b693b53727a8a42812b21",
"rev": "4157bcc67488e09407f5edc130ebf62c1a1a1433",
"type": "github"
},
"original": {
@ -680,11 +680,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1708475490,
"narHash": "sha256-g1v0TsWBQPX97ziznfJdWhgMyMGtoBFs102xSYO4syU=",
"lastModified": 1718714799,
"narHash": "sha256-FUZpz9rg3gL8NVPKbqU8ei1VkPLsTIfAJ2fdAf5qjak=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "0e74ca98a74bc7270d28838369593635a5db3260",
"rev": "c00d587b1a1afbf200b1d8f0b0e4ba9deb1c7f0e",
"type": "github"
},
"original": {
@ -696,8 +696,8 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1716330097,
"narHash": "sha256-8BO3B7e3BiyIDsaKA0tY8O88rClYRTjvAp66y+VBUeU=",
"lastModified": 1719075281,
"narHash": "sha256-CyyxvOwFf12I91PBWz43iGT1kjsf5oi6ax7CrvaMyAo=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "a71e967ef3694799d0c418c98332f7ff4cc5f6af",
@ -785,11 +785,11 @@
"treefmt-nix": "treefmt-nix"
},
"locked": {
"lastModified": 1719657372,
"narHash": "sha256-3uCk0WXaUZPErNGUNCCbOg+DgZIjA6OgyqFYJwfZ4+0=",
"lastModified": 1719469291,
"narHash": "sha256-Efir01r7ThPabDBFOygX1UDyerJFHelbRGdMo/VNw14=",
"owner": "nix-community",
"repo": "nixvim",
"rev": "5b94f0caddc9f406554701a214f879c75fb0ee60",
"rev": "8f52e4d1e34039937efb0ee05825b9963ef29739",
"type": "github"
},
"original": {
@ -801,11 +801,11 @@
},
"nur": {
"locked": {
"lastModified": 1719679086,
"narHash": "sha256-4s1Tn2T9EY9WE94bu9dGZXvl2L1BaerQSzoUfkpSINY=",
"lastModified": 1719488730,
"narHash": "sha256-4LTpvjM/S6DMxl9Kb35tQ5Y70XVTULMTM5UprsngFMg=",
"owner": "nix-community",
"repo": "NUR",
"rev": "0dee89a38d574f3fd8a1ebe1dc43bfe8fb3448ec",
"rev": "c2667e57412f53b38d19386ebf7f6f564e28febe",
"type": "github"
},
"original": {
@ -857,14 +857,14 @@
},
"rust-overlay_2": {
"inputs": {
"nixpkgs": "nixpkgs_5"
"nixpkgs": "nixpkgs_6"
},
"locked": {
"lastModified": 1719627476,
"narHash": "sha256-LBfULF+2sCaWmkjmj1LkkGrAS/E9ZdXU1A5wWKjt9p0=",
"lastModified": 1719454714,
"narHash": "sha256-MojqG0lyUINkEk0b3kM2drsU5vyaF8DFZe/FAlZVOGs=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "5be53be9e5c766fc72fc5d65ba8a566cc0c3217f",
"rev": "d1c527659cf076ecc4b96a91c702d080b213801e",
"type": "github"
},
"original": {
@ -1016,11 +1016,11 @@
},
"unstable": {
"locked": {
"lastModified": 1719506693,
"narHash": "sha256-C8e9S7RzshSdHB7L+v9I51af1gDM5unhJ2xO1ywxNH8=",
"lastModified": 1719254875,
"narHash": "sha256-ECni+IkwXjusHsm9Sexdtq8weAq/yUyt1TWIemXt3Ko=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "b2852eb9365c6de48ffb0dc2c9562591f652242a",
"rev": "2893f56de08021cffd9b6b6dfc70fd9ccd51eb60",
"type": "github"
},
"original": {

View File

@ -37,6 +37,10 @@ in {
gnome.gnome-dictionary
gnome.gnome-font-viewer
gnome.gnome-system-monitor
monophony # music player
# Nvim clipboard
wl-clipboard
];
# Required for Nautilus to work outside GNOME

View File

@ -44,6 +44,7 @@ in {
type = types.submodule (_: {
options.enable = mkEnableOption "Forgejo Actions";
});
default = {};
};
subdomain = mkOption {
type = types.str;

View File

@ -5,20 +5,21 @@
}: {
imports = [
inputs.hyprland.homeManagerModules.default
# ./waybar
./ironbar
./wofi.nix
];
home.packages = with pkgs; [
pavucontrol
swaynotificationcenter
swaybg
];
wayland.windowManager.hyprland = {
enable = true;
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
settings = {
settings = let
# No gaps or border when only one window
no_gaps_when_only = 1;
in {
"$mod" = "SUPER";
general = {
gaps_in = 5;
@ -27,10 +28,17 @@
input = {
follow_mouse = 2;
};
dwindle = {
inherit no_gaps_when_only;
};
master = {
inherit no_gaps_when_only;
};
exec-once = [
"hyprctl setcursor Adwaita 24"
"waybar"
"swaync"
"ags"
"swaybg -i /home/michael/Photos/wallpaper.jpg"
"hypridle"
];
bind =
[
@ -73,19 +81,24 @@
# will switch to a submap called resize
bind=$mod,R,submap,resize
# will start a submap called "resize"
# media controls
bindel=, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
bindel=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bindl=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
# will start a submap called "resize"
submap=resize
# sets repeatable binds for resizing the active window
# sets repeatable binds for resizing the active window
binde=,h,resizeactive,-10 0
binde=,j,resizeactive,0 10
binde=,k,resizeactive,0 -10
binde=,l,resizeactive,10 0
# use reset to go back to the global submap
# use reset to go back to the global submap
bind=,escape,submap,reset
# will reset the submap, meaning end the current one and return to the global one
# will reset the submap, meaning end the current one and return to the global one
submap=reset
'';
};
@ -109,4 +122,102 @@
package = pkgs.gnome.adwaita-icon-theme;
size = 24;
};
programs.hyprlock = {
enable = true;
settings = {
general = {
no_fade_in = false;
grace = 0;
disable_loading_bar = true;
};
background = {
monitor = "";
path = "~/Photos/wallpaper.jpg";
blur_passes = 3;
contrast = 0.8916;
brightness = 0.8172;
vibrancy = 0.1696;
vibrancy_darkness = 0.0;
};
input-field = {
monitor = "";
size = "250, 60";
outline_thickness = 2;
dots_size = 0.2; # Scale of input-field height, 0.2 - 0.8
dots_spacing = 0.2; # Scale of dots' absolute size, 0.0 - 1.0
dots_center = true;
outer_color = "rgba(0, 0, 0, 0)";
inner_color = "rgba(0, 0, 0, 0.5)";
font_color = "rgb(200, 200, 200)";
fade_on_empty = false;
font_family = "Inter";
placeholder_text = "Enter Password";
hide_input = false;
position = "0, 375";
halign = "center";
valign = "bottom";
};
label = [
# Time
{
monitor = "";
text = "cmd[update:1000] echo \"$(date +\"%-I:%M %P\")\"";
color = "rgba(255, 255, 255, 0.6)";
font_size = 120;
font_family = "Inter ExtraBold";
position = "0, -300";
halign = "center";
valign = "top";
}
# User
{
monitor = "";
text = "Michael Thomas";
color = "rgba(255, 255, 255, 0.6)";
font_size = 24;
font_family = "Inter Semibold";
position = "0, 450";
halign = "center";
valign = "bottom";
}
];
};
};
services.hypridle = {
enable = true;
settings = {
general = {
lock_cmd = "pidof hyprlock || hyprlock";
before_sleep_cmd = "loginctl lock-session";
after_sleep_cmd = "hyprctl dispatch dpms on";
};
listener = [
# Dim screen
{
timeout = 150; # 2.5 min
on-timeout = "brightnessctl -s set 10"; # set monitor backlight to minimum, avoid 0 on OLED monitor.
on-resume = "brightnessctl -r"; # monitor backlight restore.
}
# Lock
{
timeout = 300; # 5 min
on-timeout = "loginctl lock-session";
}
# Turn off screen
{
timeout = 330; # 5.5 min
on-timeout = "hyprctl dispatch dpms off";
on-resume = "hyprctl dispatch dpms on";
}
# Suspend
{
timeout = 1800; # 30 min
on-timeout = "systemctl suspend";
}
];
};
};
}

View File

@ -52,7 +52,6 @@ in {
redwan-hossain.auto-rename-tag-clone
bradlc.vscode-tailwindcss
vue.volar
pkgs.vscode-marketplace.vue.vscode-typescript-vue-plugin
svelte.svelte-vscode
dbaeumer.vscode-eslint
esbenp.prettier-vscode

View File

@ -1,59 +0,0 @@
{
config,
lib,
pkgs,
...
}: let
inherit (lib) mkMerge;
theme = builtins.readFile ./styles/catppuccin.css;
style = builtins.readFile ./styles/style.css;
notificationsStyle = builtins.readFile ./styles/notifications.css;
powerStyle = builtins.readFile ./styles/power.css;
statsStyle = builtins.readFile ./styles/stats.css;
workspacesStyle = builtins.readFile ./styles/workspaces.css;
custom-modules = import ./modules/custom-modules.nix {inherit config lib pkgs;};
default-modules = import ./modules/default-modules.nix {inherit lib pkgs;};
group-modules = import ./modules/group-modules.nix;
hyprland-modules = import ./modules/hyprland-modules.nix {inherit config lib;};
allModules = mkMerge [
custom-modules
default-modules
group-modules
hyprland-modules
];
in {
programs.waybar = {
enable = true;
style = "${theme}${style}${notificationsStyle}${powerStyle}${statsStyle}${workspacesStyle}";
settings = {
mainBar = mkMerge [
{
name = "main";
"margin-top" = 10;
"margin-left" = 10;
"margin-right" = 10;
layer = "top";
# Choose the order of the modules
"modules-left" = [
"group/power"
"hyprland/workspaces"
];
"modules-center" = [
"clock"
];
"modules-right" = [
"group/tray-drawer"
"group/stats-drawer"
"group/notifications"
"hyprland/submap"
"custom/weather"
];
}
allModules
];
};
};
}

View File

@ -1,107 +0,0 @@
{ config
, lib
, pkgs
, ...
}:
let
inherit (lib) getExe getExe';
githubHelper = pkgs.writeShellScriptBin "githubHelper" /* bash */ ''
#!/usr/bin/env bash
NOTIFICATIONS="$(${getExe pkgs.gh} api notifications)"
COUNT="$(echo "$NOTIFICATIONS" | ${getExe pkgs.jq} 'length')"
echo '{"text":'"$COUNT"',"tooltip":"'"$COUNT"' Notifications","class":""}'
'';
in
{
"custom/ellipses" = {
"format" = "";
"tooltip" = false;
};
"custom/github" = {
"format" = " {}";
"return-type" = "json";
"interval" = 60;
"exec" = "${getExe githubHelper}";
"on-click" = "${getExe' pkgs.coreutils "sleep"} 0.1 && ${getExe' pkgs.xdg-utils "xdg-open"} https://github.com/notifications";
};
"custom/lock" = {
"format" = "󰍁";
"tooltip" = false;
"on-click" = "${getExe config.programs.swaylock.package}";
};
"custom/media" = {
"format" = "{icon} {}";
"return-type" = "json";
"max-length" = 40;
"format-icons" = {
"spotify" = "";
"default" = "🎜";
};
"escape" = true;
"exec" = "$HOME/.config/waybar/mediaplayer.py 2> /dev/null";
};
"custom/notification" = {
"tooltip" = true;
"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" = "";
};
"return-type" = "json";
"exec-if" = "which ${getExe' pkgs.swaynotificationcenter "swaync-client"}";
"exec" = "${getExe' pkgs.swaynotificationcenter "swaync-client"} -swb";
"on-click" = "${getExe' pkgs.coreutils "sleep"} 0.1 && ${getExe' pkgs.swaynotificationcenter "swaync-client"} -t -sw";
"on-click-right" = "${getExe' pkgs.coreutils "sleep"} 0.1 && ${getExe' pkgs.swaynotificationcenter "swaync-client"} -d -sw";
"escape" = true;
};
"custom/power" = {
"format" = "";
"tooltip" = false;
"on-click" = "shutdown now";
};
"custom/reboot" = {
"format" = "󰜉";
"tooltip" = false;
"on-click" = "reboot";
};
"custom/separator-right" = {
"format" = "";
"tooltip" = false;
};
"custom/separator-left" = {
"format" = "";
"tooltip" = false;
};
"custom/weather" = {
"exec" = "${getExe pkgs.wttrbar} --location $(${getExe pkgs.jq} -r '.wttr | (.location)' ~/weather_config.json) --fahrenheit --main-indicator temp_F";
"return-type" = "json";
"format" = "{}";
"tooltip" = true;
"interval" = 3600;
};
"custom/wlogout" = {
"format" = "";
"interval" = "once";
"tooltip" = false;
"on-click" = "${getExe' pkgs.coreutils "sleep"} 0.1 && ${getExe pkgs.wlogout} -c 5 -r 5 -p layer-shell";
};
}

View File

@ -1,166 +0,0 @@
{
lib,
pkgs,
...
}: let
inherit (lib) getExe getExe';
in {
"clock" = {
"tooltip-format" = "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>";
"format" = "{:%A, %b %d %I:%M %p }";
"format-alt" = "{:%Y-%m-%d}";
};
"cpu" = {
"format" = " {usage}%";
"tooltip" = true;
};
"disk" = {
"format" = " {percentage_used}%";
};
"idle_inhibitor" = {
"format" = "{icon} ";
"format-icons" = {
"activated" = "󰅶";
"deactivated" = "󰛊";
};
};
"keyboard-state" = {
"numlock" = true;
"capslock" = true;
"format" = "{icon} {name}";
"format-icons" = {
"locked" = "";
"unlocked" = "";
};
};
"memory" = {
"format" = "󰍛 {}%";
};
"mpris" = {
"format" = "{player_icon} {status_icon} {dynamic}";
"format-paused" = "{player_icon} {status_icon} <i>{dynamic}</i>";
"max-length" = 45;
"player-icons" = {
"chromium" = "";
"default" = "";
"firefox" = "";
"mopidy" = "";
"mpv" = "";
"spotify" = "";
};
"status-icons" = {
"paused" = "";
"playing" = "";
"stopped" = "";
};
};
"mpd" = {
"format" = "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) {songPosition}|{queueLength} {volume}% ";
"format-disconnected" = "Disconnected ";
"format-stopped" = "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ";
"unknown-tag" = "N/A";
"interval" = 2;
"consume-icons" = {
"on" = " ";
};
"random-icons" = {
"off" = "<span color=\"#f53c3c\"></span> ";
"on" = " ";
};
"repeat-icons" = {
"on" = " ";
};
"single-icons" = {
"on" = "1 ";
};
"state-icons" = {
"paused" = "";
"playing" = "";
};
"tooltip-format" = "MPD (connected)";
"tooltip-format-disconnected" = "MPD (disconnected)";
};
"network" = {
"interval" = 1;
"format-wifi" = " 󰜮 {bandwidthDownBytes} 󰜷 {bandwidthUpBytes}";
"format-ethernet" = "󰈀 󰜮 {bandwidthDownBytes} 󰜷 {bandwidthUpBytes}";
"tooltip-format" = " {ifname} via {gwaddr}";
"format-linked" = "󰈁 {ifname} (No IP)";
"format-disconnected" = " Disconnected";
"format-alt" = "{ifname}: {ipaddr}/{cidr}";
};
"pulseaudio" = {
"format" = "{volume}% {icon}";
"format-bluetooth" = "{volume}% {icon}";
"format-muted" = "";
"format-icons" = {
"headphone" = "";
"hands-free" = "";
"headset" = "";
"phone" = "";
"portable" = "";
"car" = "";
"default" = [
""
""
];
};
"scroll-step" = 1;
"on-click" = "pavucontrol";
"ignored-sinks" = [
"Easy Effects Sink"
];
};
"pulseaudio/slider" = {
"min" = 0;
"max" = 100;
"orientation" = "horizontal";
};
"temperature" = {
"hwmon-path-abs" = "/sys/devices/pci0000:00/0000:00:18.3/hwmon";
"input-filename" = "temp3_input";
"critical-threshold" = 80;
"format-critical" = "{temperatureC}°C {icon}";
"format" = "{icon} {temperatureC}°C";
"format-icons" = [
""
""
""
];
"interval" = "5";
};
"tray" = {
"spacing" = 10;
};
"user" = {
"format" = "{user}";
"interval" = 60;
"height" = 30;
"width" = 30;
"icon" = true;
};
"wireplumber" = {
"format" = "{volume}% {icon}";
"format-muted" = "";
"on-click" = "${getExe' pkgs.coreutils "sleep"} 0.1 && ${getExe pkgs.helvum}";
"format-icons" = [
""
""
""
];
};
}

View File

@ -1,84 +0,0 @@
{
"group/audio" = {
"orientation" = "horizontal";
"drawer" = {
"transition-duration" = 500;
"transition-left-to-right" = false;
};
"modules" = [
"pulseaudio"
"pulseaudio/slider"
];
};
"group/power" = {
"orientation" = "horizontal";
"drawer" = {
"transition-duration" = 500;
"children-class" = "not-power";
"transition-left-to-right" = false;
};
"modules" = [
"custom/wlogout"
# "custom/quit"
# "custom/lock"
# "custom/reboot"
];
};
"group/notifications" = {
"orientation" = "horizontal";
"modules" = [
"idle_inhibitor"
"custom/notification"
"custom/github"
"group/audio"
];
};
"group/tray" = {
"orientation" = "horizontal";
"modules" = [
"tray"
];
};
"group/stats" = {
"orientation" = "horizontal";
"modules" = [
"network"
"cpu"
"memory"
"disk"
"temperature"
];
};
"group/stats-drawer" = {
"orientation" = "horizontal";
"drawer" = {
"transition-duration" = 500;
"transition-left-to-right" = false;
};
"modules" = [
"custom/separator-right"
"network"
"cpu"
"memory"
"disk"
"temperature"
];
};
"group/tray-drawer" = {
"orientation" = "horizontal";
"drawer" = {
"transition-duration" = 500;
"transition-left-to-right" = true;
};
"modules" = [
"custom/separator-right"
"tray"
];
};
}

View File

@ -1,95 +0,0 @@
{
config,
lib,
...
}: let
inherit (lib) getExe';
in {
"custom/quit" = {
"format" = "󰗼";
"tooltip" = false;
"on-click" = "${getExe' config.wayland.windowManager.hyprland.package "hyprctl"} dispatch exit";
};
"hyprland/submap" = {
"format" = " {}";
"max-length" = 8;
"tooltip" = false;
};
"hyprland/window" = {
"format" = "{}";
"separate-outputs" = true;
};
"hyprland/workspaces" = {
"all-outputs" = false;
"active-only" = "false";
"on-scroll-up" = "${getExe' config.wayland.windowManager.hyprland.package "hyprctl"} dispatch workspace e+1";
"on-scroll-down" = "${getExe' config.wayland.windowManager.hyprland.package "hyprctl"} dispatch workspace e-1";
"format" = "{icon} {windows}";
"format-icons" = {
"1" = "󰎤";
"2" = "󰎧";
"3" = "󰎪";
"4" = "󰎭";
"5" = "󰎱";
"6" = "󰎳";
"7" = "󰎶";
"8" = "󰎹";
"9" = "󰎼";
"10" = "󰽽";
"urgent" = "󱨇";
"default" = "";
"empty" = "󱓼";
};
"persistent-workspaces" = {
"*" = [
2
3
4
5
6
7
8
];
"DP-3" = [
1
];
};
# "format-window-separator" = "->";
"window-rewrite-default" = "";
"window-rewrite" = {
"class<1Password>" = "󰢁";
"class<Caprine>" = "󰈎";
"class<Github Desktop>" = "󰊤";
"class<Godot>" = "";
"class<Mysql-workbench-bin>" = "";
"class<Slack>" = "󰒱";
"class<code>" = "󰨞";
"code-url-handler" = "󰨞";
"class<discord>" = "󰙯";
"class<firefox>" = "󰈹";
"class<firefox> title<.*github.*>" = "";
"class<firefox> title<.*twitch|youtube|plex|tntdrama|bally sports.*>" = "";
"class<kitty>" = "";
"class<foot>" = "";
"class<mediainfo-gui>" = "󱂷";
"class<org.kde.digikam>" = "󰄄";
"class<org.telegram.desktop>" = "";
"class<.pitivi-wrapped>" = "󱄢";
"class<steam>" = "";
"class<thunderbird>" = "";
"class<virt-manager>" = "󰢹";
"class<vlc>" = "󰕼";
"class<thunar>" = "󰉋";
"class<org.gnome.Nautilus>" = "󰉋";
"class<Spotify>" = "";
"title<Spotify Free>" = "";
"class<libreoffice-draw>" = "󰽉";
"class<libreoffice-writer>" = "";
"class<libreoffice-calc>" = "󱎏";
"class<libreoffice-impress>" = "󱎐";
};
};
}

View File

@ -1,46 +0,0 @@
{
"wlr/workspaces" = {
"all-outputs" = false;
"active-only" = "false";
"on-click" = "activate";
"format" = "{icon}";
"format-icons" = {
"1" = "";
"2" = "";
"3" = "";
"4" = "";
"5" = "";
"6" = "";
"7" = "";
"8" = "󰢹";
"urgent" = "";
"default" = "";
};
"persistent_workspaces" = {
"1" = [
"DP-3"
];
"2" = [
"DP-1"
];
"3" = [
"DP-1"
];
"4" = [
"DP-1"
];
"5" = [
"DP-1"
];
"6" = [
"DP-1"
];
"7" = [
"DP-1"
];
"8" = [
"DP-1"
];
};
};
}

View File

@ -1,36 +0,0 @@
/*
*
* Catppuccin Macchiato palette
*
*/
@define-color base #24273a;
@define-color mantle #1e2030;
@define-color crust #181926;
@define-color text #cad3f5;
@define-color subtext0 #b8c0e0;
@define-color subtext1 #a5adcb;
@define-color surface0 #363a4f;
@define-color surface1 #494d64;
@define-color surface2 #5b6078;
@define-color overlay0 #6e738d;
@define-color overlay1 #8087a2;
@define-color overlay2 #939ab7;
@define-color blue #8aadf4;
@define-color lavender #b7bdf8;
@define-color sapphire #7dc4e4;
@define-color sky #91d7e3;
@define-color teal #8bd5ca;
@define-color green #a6da95;
@define-color yellow #eed49f;
@define-color peach #f5a97f;
@define-color maroon #ee99a0;
@define-color red #ed8796;
@define-color mauve #c6a0f6;
@define-color pink #f5bde6;
@define-color flamingo #f0c6c6;
@define-color rosewater #f4dbd6;

View File

@ -1,82 +0,0 @@
#notifications {
margin: 0.4em;
padding-left: 5px;
padding-right: 5px;
color: @peach;
font-weight: bold;
background-color: @surface0;
border: 2px solid @surface1;
}
#custom-notification,
#custom-updates,
#custom-github,
#idle_inhibitor,
#wireplumber,
#pulseaudio
{
padding: 0 0.5em;
}
#custom-updates.updated {
padding-left: 0;
padding-right: 1em;
}
/* Unique colors for modules */
#custom-pipewire {
color: @green;
}
#custom-github {
color: @blue;
}
#custom-updates {
color: @red;
}
#custom-pipewire.muted,
#pulseaudio.muted {
background-color: #90b1b1;
color: #2a5c45;
}
#keyboard-state {
padding: 0 0px;
min-width: 16px;
color: @mauve;
}
#keyboard-state > label {
padding: 0 5px;
}
#keyboard-state > label.locked {
background: rgba(0, 0, 0, 0.2);
}
#pulseaudio-slider {
padding: 0 12px;
}
#pulseaudio-slider slider {
min-height: 0px;
min-width: 0px;
opacity: 0;
background-image: none;
border: none;
box-shadow: none;
}
#pulseaudio-slider trough {
min-height: 10px;
min-width: 80px;
border-radius: 5px;
background-color: @base;
}
#pulseaudio-slider highlight {
min-width: 10px;
border-radius: 5px;
background-color: @green;
}

View File

@ -1,14 +0,0 @@
/* Custom styling for the logout icon on end */
#custom-wlogout {
font-size: 1.75em;
padding: 0 0.5em;
color: @blue;
}
#power {
margin-right: 0.25em;
}
#power .not-power {
color: @red;
}

View File

@ -1,43 +0,0 @@
#stats,
#stats-drawer {
margin: 0.4em;
padding-left: 5px;
padding-right: 5px;
color: @peach;
font-weight: bold;
background-color: @surface0;
border: 2px solid @surface1;
}
#battery,
#cpu,
#memory,
#temperature,
#disk,
#network {
padding: 0 0.5em;
}
/* Unique colors for modules */
#cpu {
color: @red;
}
#memory {
color: @yellow;
}
#temperature {
color: @green;
}
#network {
color: @blue;
}
#network.disconnected {
background-color: #f53c3c;
}
#temperature.critical {
background-color: #eb4d4b;
}

View File

@ -1,77 +0,0 @@
/**
* Global configuration for theme
* */
* {
font-family: FiraCode Nerd Font;
font-size: 16px;
border-radius: 0.75em;
}
window#waybar {
border: 2px solid @surface1;
background: @theme_base_color;
box-shadow: 1px 1px 10px 10px @mantle;
color: @theme_text_color;
transition-property: background-color;
transition-duration: 0.5s;
}
window#waybar.hidden {
opacity: 0.2;
}
tooltip {
background: @base;
border: 1px solid @blue;
}
tooltip label {
color: white;
}
label:focus {
background-color: #000000;
}
button {
/* Use box-shadow instead of border so the text isn't offset */
box-shadow: inset 0 -3px transparent;
/* Avoid rounded borders under each button name */
border: none;
border-radius: 0;
}
/* Remove border from parent waybar */
box {
border: none;
}
/* Add spacing for right side modules */
#tray,
#user,
#custom-weather,
#keyboard-state,
#mpd {
padding: 0 1em;
}
#clock {
font-size: 16px;
font-weight: 900;
padding: 0 1em;
}
#custom-separator-right,
#custom-separator-left {
font-size: 20px;
padding-left: 1em;
padding-right: 1em;
color: @text;
}
@keyframes blink {
to {
background-color: #ffffff;
color: #000000;
}
}

View File

@ -1,42 +0,0 @@
#workspaces {
margin: 0.4em;
padding-left: 5px;
padding-right: 5px;
color: @peach;
font-weight: bold;
background-color: @surface0;
border: 2px solid @surface1;
}
#workspaces label {
font-family: MonaspiceNe Nerd Font;
font-size: 20px;
}
#workspaces button {
padding: 0 0.5em;
background-color: @surface0;
color: @text;
margin: 0.2em;
}
#workspaces button.empty {
/* background-color: @surface2; */
color: @overlay0;
}
#workspaces button.visible {
/* background-color: @surface2; */
color: @blue;
}
#workspaces button.active {
/* background-color: @surface2; */
color: @green;
}
#workspaces button.urgent {
box-shadow: 2px 2px 2px 2px;
border-radius: 1em;
color: @red;
}