mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 18:15:13 -05:00
feat: bells and whistles
This commit is contained in:
parent
66f5917693
commit
569d969ecc
12 changed files with 111 additions and 14 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
* {
|
||||||
|
font-size: 13px !important;
|
||||||
|
}
|
||||||
|
|
||||||
/* Title bar */
|
/* Title bar */
|
||||||
.titlebar-spacer {
|
.titlebar-spacer {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
|
@ -100,4 +104,4 @@
|
||||||
}
|
}
|
||||||
.tabbrowser-tab:hover .tab-close-button {
|
.tabbrowser-tab:hover .tab-close-button {
|
||||||
visibility: visible !important;
|
visibility: visible !important;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
gtk.enable = true;
|
gtk.enable = true;
|
||||||
x11.enable = true;
|
# x11.enable = true;
|
||||||
name = "catppuccin-mocha-dark-cursors";
|
name = "catppuccin-mocha-dark-cursors";
|
||||||
package = pkgs.catppuccin-cursors.macchiatoDark;
|
package = pkgs.catppuccin-cursors.macchiatoDark;
|
||||||
size = 14;
|
size = 18;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
size = "compact";
|
size = "compact";
|
||||||
variant = "macchiato";
|
variant = "macchiato";
|
||||||
accents = [
|
accents = [
|
||||||
"lavender"
|
"mauve"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
name = "catppuccin-macchiato-mauve-compact";
|
name = "catppuccin-macchiato-mauve-compact";
|
||||||
|
|
|
@ -12,6 +12,6 @@
|
||||||
"pkill easyeffects"
|
"pkill easyeffects"
|
||||||
"emote"
|
"emote"
|
||||||
"flameshot"
|
"flameshot"
|
||||||
"sgsettings set org.gnome.desktop.interface cursor-theme 'catppuccin-mocha-dark-cursors'"
|
"gsettings set org.gnome.desktop.interface cursor-theme 'catppuccin-mocha-dark-cursors'"
|
||||||
"gsettings set org.gnome.desktop.interface cursor-size 18"
|
"gsettings set org.gnome.desktop.interface cursor-size 18"
|
||||||
]
|
]
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
focus_on_activate = 1;
|
focus_on_activate = 1;
|
||||||
force_default_wallpaper = 0;
|
force_default_wallpaper = 0;
|
||||||
disable_hyprland_logo = true;
|
# disable_hyprland_logo = true;
|
||||||
disable_splash_rendering = true;
|
# disable_splash_rendering = true;
|
||||||
disable_hyprland_qtutils_check = true;
|
# disable_hyprland_qtutils_check = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,11 +16,14 @@ let
|
||||||
feishin = "(feishin)";
|
feishin = "(feishin)";
|
||||||
steam = "(steam)";
|
steam = "(steam)";
|
||||||
kdenlive = "(org.kde.kdenlive)";
|
kdenlive = "(org.kde.kdenlive)";
|
||||||
|
shotcut = "(shotcut)";
|
||||||
|
scrcpy = "(.scrcpy-wrapped)";
|
||||||
|
|
||||||
maxsizeWindows = [
|
maxsizeWindows = [
|
||||||
"maxsize 720 400, class:^${blueman}$"
|
"maxsize 720 400, class:^${blueman}$"
|
||||||
"maxsize 360 500, class:^${calculator}$"
|
"maxsize 360 500, class:^${calculator}$"
|
||||||
"maxsize 720 400, class:^${easyeffects}$"
|
"maxsize 720 400, class:^${easyeffects}$"
|
||||||
|
"maxsize 720 400, class:^${scrcpy}$"
|
||||||
"maxsize 720 400, class:^${mpv}$"
|
"maxsize 720 400, class:^${mpv}$"
|
||||||
"maxsize 720 400, class:^${vlc}$"
|
"maxsize 720 400, class:^${vlc}$"
|
||||||
"maxsize 640 360, class:^${nomacs}$"
|
"maxsize 640 360, class:^${nomacs}$"
|
||||||
|
@ -37,6 +40,7 @@ let
|
||||||
"class:^${vlc}$"
|
"class:^${vlc}$"
|
||||||
"class:^${nomacs}$"
|
"class:^${nomacs}$"
|
||||||
"class:^${flameshot}$"
|
"class:^${flameshot}$"
|
||||||
|
"class:^${scrcpy}$"
|
||||||
"title:^(${picture})$"
|
"title:^(${picture})$"
|
||||||
"title:^${bitwarden}$"
|
"title:^${bitwarden}$"
|
||||||
];
|
];
|
||||||
|
@ -62,10 +66,12 @@ let
|
||||||
|
|
||||||
workspaceInit3 = builtins.map (x: "workspace 3 silent, " + x) [
|
workspaceInit3 = builtins.map (x: "workspace 3 silent, " + x) [
|
||||||
"class:^${steam}$"
|
"class:^${steam}$"
|
||||||
|
"class:^${shotcut}$"
|
||||||
];
|
];
|
||||||
|
|
||||||
workspaceInit4 = builtins.map (x: "workspace 4 silent, " + x) [
|
workspaceInit4 = builtins.map (x: "workspace 4 silent, " + x) [
|
||||||
"class:^${feishin}$"
|
"class:^${feishin}$"
|
||||||
|
"class:^${scrcpy}$"
|
||||||
];
|
];
|
||||||
|
|
||||||
centerWindows = builtins.map (x: "center, " + x) [
|
centerWindows = builtins.map (x: "center, " + x) [
|
||||||
|
@ -78,7 +84,7 @@ let
|
||||||
"class:^${firefox}$"
|
"class:^${firefox}$"
|
||||||
"class:^${kdenlive}$"
|
"class:^${kdenlive}$"
|
||||||
"class:^(krita)$"
|
"class:^(krita)$"
|
||||||
"class:^(shotcut)$"
|
"class:^${shotcut}$"
|
||||||
"class:^${mpv}$"
|
"class:^${mpv}$"
|
||||||
"class:^(Brave-browser)$"
|
"class:^(Brave-browser)$"
|
||||||
"class:^(Gimp-2.10)$"
|
"class:^(Gimp-2.10)$"
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
swaylock
|
swaylock
|
||||||
playerctl
|
playerctl
|
||||||
brightnessctl
|
brightnessctl
|
||||||
|
glib
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
19
home/modules/waybar/config/scripts/get_weather.sh
Executable file
19
home/modules/waybar/config/scripts/get_weather.sh
Executable file
|
@ -0,0 +1,19 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
for i in {1..5}
|
||||||
|
do
|
||||||
|
text=$(curl -s "https://wttr.in/$1?format=1")
|
||||||
|
if [[ $? == 0 ]]
|
||||||
|
then
|
||||||
|
text=$(echo "$text" | sed -E "s/\s+/ /g")
|
||||||
|
tooltip=$(curl -s "https://wttr.in/$1?format=4")
|
||||||
|
if [[ $? == 0 ]]
|
||||||
|
then
|
||||||
|
tooltip=$(echo "$tooltip" | sed -E "s/\s+/ /g")
|
||||||
|
echo "{\"text\":\"$text\", \"tooltip\":\"$tooltip\"}"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
sleep 2
|
||||||
|
done
|
||||||
|
echo "{\"text\":\"error\", \"tooltip\":\"error\"}"
|
|
@ -1,4 +1,9 @@
|
||||||
{
|
{flake, ...}: let
|
||||||
|
inherit
|
||||||
|
(flake.config.people)
|
||||||
|
user0
|
||||||
|
;
|
||||||
|
in {
|
||||||
mainBar = {
|
mainBar = {
|
||||||
position = "bottom";
|
position = "bottom";
|
||||||
layer = "top";
|
layer = "top";
|
||||||
|
@ -11,10 +16,14 @@
|
||||||
"custom/launcher"
|
"custom/launcher"
|
||||||
"hyprland/workspaces"
|
"hyprland/workspaces"
|
||||||
];
|
];
|
||||||
|
|
||||||
modules-center = [
|
modules-center = [
|
||||||
|
"custom/weather"
|
||||||
];
|
];
|
||||||
|
|
||||||
modules-right = [
|
modules-right = [
|
||||||
"tray"
|
"tray"
|
||||||
|
"privacy"
|
||||||
"cpu"
|
"cpu"
|
||||||
"memory"
|
"memory"
|
||||||
"disk"
|
"disk"
|
||||||
|
@ -22,6 +31,7 @@
|
||||||
# "network"
|
# "network"
|
||||||
"clock"
|
"clock"
|
||||||
];
|
];
|
||||||
|
|
||||||
clock = {
|
clock = {
|
||||||
calendar = {
|
calendar = {
|
||||||
format = {today = "<span color='#ff6699'><b><u>{}</u></b></span>";};
|
format = {today = "<span color='#ff6699'><b><u>{}</u></b></span>";};
|
||||||
|
@ -31,6 +41,7 @@
|
||||||
tooltip-format = "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>";
|
tooltip-format = "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>";
|
||||||
format-alt = " {:%d/%m}";
|
format-alt = " {:%d/%m}";
|
||||||
};
|
};
|
||||||
|
|
||||||
"hyprland/workspaces" = {
|
"hyprland/workspaces" = {
|
||||||
active-only = false;
|
active-only = false;
|
||||||
disable-scroll = true;
|
disable-scroll = true;
|
||||||
|
@ -52,21 +63,25 @@
|
||||||
"4" = [];
|
"4" = [];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
memory = {
|
memory = {
|
||||||
format = " {}%";
|
format = " {}%";
|
||||||
format-alt = " {used} GiB"; #
|
format-alt = " {used} GiB"; #
|
||||||
interval = 2;
|
interval = 2;
|
||||||
};
|
};
|
||||||
|
|
||||||
cpu = {
|
cpu = {
|
||||||
format = " {usage}%";
|
format = " {usage}%";
|
||||||
format-alt = " {avg_frequency} GHz";
|
format-alt = " {avg_frequency} GHz";
|
||||||
interval = 2;
|
interval = 2;
|
||||||
};
|
};
|
||||||
|
|
||||||
disk = {
|
disk = {
|
||||||
# path = "/";
|
# path = "/";
|
||||||
format = " {percentage_used}%";
|
format = " {percentage_used}%";
|
||||||
interval = 60;
|
interval = 60;
|
||||||
};
|
};
|
||||||
|
|
||||||
# network = {
|
# network = {
|
||||||
# format-wifi = " {signalStrength}%";
|
# format-wifi = " {signalStrength}%";
|
||||||
# format-ethernet = " ";
|
# format-ethernet = " ";
|
||||||
|
@ -74,10 +89,12 @@
|
||||||
# format-linked = "{ifname} (No IP)";
|
# format-linked = "{ifname} (No IP)";
|
||||||
# format-disconnected = " ";
|
# format-disconnected = " ";
|
||||||
# };
|
# };
|
||||||
|
|
||||||
tray = {
|
tray = {
|
||||||
icon-size = 18;
|
icon-size = 12;
|
||||||
spacing = 8;
|
spacing = 8;
|
||||||
};
|
};
|
||||||
|
|
||||||
pulseaudio = {
|
pulseaudio = {
|
||||||
format = "{icon} {volume}%";
|
format = "{icon} {volume}%";
|
||||||
tooltip = false;
|
tooltip = false;
|
||||||
|
@ -102,6 +119,37 @@
|
||||||
# on-click-right = "pkill tofi || wallpaper-picker";
|
# on-click-right = "pkill tofi || wallpaper-picker";
|
||||||
tooltip = false;
|
tooltip = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
privacy = {
|
||||||
|
icon-spacing = 8;
|
||||||
|
icon-size = 12;
|
||||||
|
transition-duration = 250;
|
||||||
|
modules = {
|
||||||
|
screenshare = {
|
||||||
|
type = "screenshare";
|
||||||
|
tooltip = true;
|
||||||
|
tooltip-icon-size = 12;
|
||||||
|
};
|
||||||
|
audio-out = {
|
||||||
|
type = "audio-out";
|
||||||
|
tooltip = true;
|
||||||
|
tooltip-icon-size = 12;
|
||||||
|
};
|
||||||
|
audio-in = {
|
||||||
|
type = "audio-in";
|
||||||
|
tooltip = true;
|
||||||
|
tooltip-icon-size = 12;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
"custom/weather" = {
|
||||||
|
exec = "/home/${user0}/Files/Projects/dotfiles/home/modules/waybar/config/scripts/get_weather.sh Winnipeg";
|
||||||
|
return-type = "json";
|
||||||
|
format = "{}";
|
||||||
|
tooltip = true;
|
||||||
|
interval = 3600;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
# https://unicodes.jessetane.com/
|
# https://unicodes.jessetane.com/
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
;
|
;
|
||||||
custom = {
|
custom = {
|
||||||
font = font;
|
font = font;
|
||||||
font_size = "14px";
|
font_size = "12px";
|
||||||
font_weight = "bold";
|
font_weight = "bold";
|
||||||
text_color = colors.mauve;
|
text_color = colors.mauve;
|
||||||
secondary_accent = colors.lavender;
|
secondary_accent = colors.lavender;
|
||||||
|
@ -50,12 +50,15 @@ in ''
|
||||||
color: #${colors.mauve};
|
color: #${colors.mauve};
|
||||||
}
|
}
|
||||||
|
|
||||||
#tray, #pulseaudio, #cpu, #memory, #disk, #clock {
|
#tray, #pulseaudio, #privacy, #cpu, #memory, #disk, #clock {
|
||||||
font-size: ${custom.font_size};
|
font-size: ${custom.font_size};
|
||||||
color: #${colors.mauve};
|
color: #${colors.mauve};
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#privacy {
|
||||||
|
}
|
||||||
|
|
||||||
#cpu {
|
#cpu {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -80,4 +83,10 @@ in ''
|
||||||
font-weight: ${custom.font_weight};
|
font-weight: ${custom.font_weight};
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#custom-weather {
|
||||||
|
font-size: 14px;
|
||||||
|
color: #${colors.mauve};
|
||||||
|
font-weight: ${custom.font_weight};
|
||||||
|
}
|
||||||
''
|
''
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
configPath = ./config;
|
configPath = ./config;
|
||||||
settingsPath = import (configPath + /settings.nix);
|
settingsPath = import (configPath + /settings.nix) {inherit flake;};
|
||||||
stylePath = import (configPath + /style.nix) {
|
stylePath = import (configPath + /style.nix) {
|
||||||
inherit
|
inherit
|
||||||
flake
|
flake
|
||||||
|
|
|
@ -111,4 +111,14 @@ in {
|
||||||
"Videos"
|
"Videos"
|
||||||
]);
|
]);
|
||||||
};
|
};
|
||||||
|
# system.activationScripts.zoxide = ''
|
||||||
|
# z /home/nick/Files/Projects/dotfiles
|
||||||
|
# z /home/nick/Files/Projects/website
|
||||||
|
# z /home/nick/Files/Projects/website/frontend
|
||||||
|
# z /home/nick/Downloads
|
||||||
|
# z /mnt/media/server/jellyfin/media
|
||||||
|
# z /mnt/media/storage
|
||||||
|
# z /mnt/media/synology/nick/Multimedia/Images/Assorted/Stuff
|
||||||
|
# z /mnt/media/synology/nick/Syncthing/Pixel
|
||||||
|
# '';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue