mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-05 07:05:40 +01:00
Compare commits
No commits in common. "b1133aabd9af4e9dd4632900b84e01771cb3a699" and "027207bcf3bbacaaed975b1fa429de0b204aabbe" have entirely different histories.
b1133aabd9
...
027207bcf3
10 changed files with 435 additions and 442 deletions
|
|
@ -30,8 +30,7 @@
|
|||
fsType = "ext4";
|
||||
};
|
||||
|
||||
boot.initrd.luks.devices."luks-156453ac-bbad-452c-ad92-4fc569db9347".device =
|
||||
"/dev/disk/by-uuid/156453ac-bbad-452c-ad92-4fc569db9347";
|
||||
boot.initrd.luks.devices."luks-root".device = "/dev/nvme0n1p3";
|
||||
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/0EFD-4B3F";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, agenix, ... }:
|
||||
{ pkgs, agenix, ... }:
|
||||
{
|
||||
programs = {
|
||||
dconf.enable = true;
|
||||
|
|
@ -13,8 +13,6 @@
|
|||
environment.systemPackages = with pkgs; [
|
||||
wget
|
||||
git
|
||||
dig
|
||||
traceroute
|
||||
# agenix.packages.x86_64-linux.default
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -38,8 +38,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
fonts.fontconfig.antialias = false;
|
||||
|
||||
users.groups.gay = { };
|
||||
|
||||
users.users.${username} = {
|
||||
|
|
|
|||
|
|
@ -12,8 +12,8 @@
|
|||
gtk = {
|
||||
enable = true;
|
||||
font = {
|
||||
name = "GohuFont 14 Nerd Font Mono";
|
||||
size = 14;
|
||||
name = "CaskaydiaCove Nerd Font";
|
||||
size = 12;
|
||||
};
|
||||
theme = {
|
||||
name = "Gruvbox-Green-Dark";
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@
|
|||
color = rgba(209, 207, 207, 0.75)
|
||||
#color = rgba(255, 255, 255, 0.6)
|
||||
font_size = 17
|
||||
font_family = GohuFont 14 Nerd Font Mono
|
||||
font_family = JetBrains Mono Nerd Font Mono ExtraBold
|
||||
position = 0, -200
|
||||
halign = center
|
||||
valign = center
|
||||
|
|
@ -141,7 +141,7 @@
|
|||
text = cmd[update:6000000] echo "$(bash /home/liv/.local/bin/weather.sh)"
|
||||
color = rgba(255, 255, 255, 1)
|
||||
font_size = 10
|
||||
font_family = GohuFont 14 Nerd Font Mono
|
||||
font_family = JetBrains Mono Nerd Font Mono ExtraBold
|
||||
position = 0, 50
|
||||
halign = center
|
||||
valign = top
|
||||
|
|
@ -152,7 +152,7 @@
|
|||
text = cmd[update:1000] echo -e "$(/home/liv/.local/bin/hyprlock-battery.sh)"
|
||||
color = rgba(255, 255, 255, 1)
|
||||
font_size = 12
|
||||
font_family = GohuFont 14 Nerd Font Mono
|
||||
font_family = JetBrains Mono Nerd Font Mono ExtraBold
|
||||
position = 0, 0
|
||||
halign = right
|
||||
valign = bottom
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
theme = "3024 Night";
|
||||
|
||||
font = {
|
||||
name = "GohuFont 14 Nerd Font Mono";
|
||||
name = "JetBrainsMono Nerd Font";
|
||||
size = 9;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -36,8 +36,8 @@ in
|
|||
|
||||
settings = {
|
||||
fonts = {
|
||||
default_family = "GohuFont 14 Nerd Font Mono";
|
||||
default_size = "14pt";
|
||||
default_family = "FiraCode Nerd Font";
|
||||
default_size = "10pt";
|
||||
};
|
||||
|
||||
tabs = {
|
||||
|
|
|
|||
|
|
@ -2,87 +2,86 @@
|
|||
# unfuck system when shit goes wrong
|
||||
|
||||
unfuckable=(
|
||||
"wallpaper"
|
||||
"bar"
|
||||
"networkmanager"
|
||||
"spotify"
|
||||
"audio"
|
||||
"screenlock"
|
||||
"wallpaper"
|
||||
"bar"
|
||||
"networkmanager"
|
||||
"spotify"
|
||||
"audio"
|
||||
"screenlock"
|
||||
)
|
||||
|
||||
usage() {
|
||||
echo "INFO: usage; unfuck [OPTION]"
|
||||
echo "INFO: example; unfuck everything"
|
||||
echo ""
|
||||
echo "INFO: items: ${unfuckable[*]}"
|
||||
echo ""
|
||||
echo "WARN: unfuck everything should only be used when *everything* is broken and nothing works anymore!"
|
||||
echo "INFO: usage; unfuck [OPTION]"
|
||||
echo "INFO: example; unfuck everything"
|
||||
echo ""
|
||||
echo "INFO: items: ${unfuckable[*]}"
|
||||
echo ""
|
||||
echo "WARN: unfuck everything should only be used when *everything* is broken and nothing works anymore!"
|
||||
}
|
||||
|
||||
unfuck_wallpaper() {
|
||||
pkill swww-daemon
|
||||
setsid swww-daemon &
|
||||
swww img ~/.local/share/bg.png
|
||||
pkill swww-daemon
|
||||
setsid swww-daemon &
|
||||
}
|
||||
|
||||
unfuck_bar() {
|
||||
pkill waybar
|
||||
setsid waybar &
|
||||
pkill waybar
|
||||
setsid waybar &
|
||||
}
|
||||
|
||||
unfuck_networkmanager() {
|
||||
# sudo modprobe -r iwlwifi
|
||||
# sudo modprobe iwlwifi
|
||||
sudo systemctl restart NetworkManager
|
||||
# sudo modprobe -r iwlwifi
|
||||
# sudo modprobe iwlwifi
|
||||
sudo systemctl restart NetworkManager
|
||||
}
|
||||
|
||||
unfuck_spotify() {
|
||||
if pgrep ncspot; then
|
||||
pkill ncspot
|
||||
kitty -e ncspot
|
||||
elif pgrep spotify; then
|
||||
pkill spotify
|
||||
spotify
|
||||
fi
|
||||
if pgrep ncspot; then
|
||||
pkill ncspot
|
||||
kitty -e ncspot
|
||||
elif pgrep spotify; then
|
||||
pkill spotify
|
||||
spotify
|
||||
fi
|
||||
}
|
||||
|
||||
unfuck_audio() {
|
||||
if [[ "$(playerctl status)" == "Playing" ]]; then
|
||||
playerctl pause
|
||||
fi
|
||||
for device in $(bluetoothctl devices Connected | awk '{print $2}'); do
|
||||
devices+=("$device")
|
||||
done
|
||||
systemctl --user restart wireplumber pipewire pipewire-pulse bluetooth
|
||||
bluetoothctl power off
|
||||
bluetoothctl power on
|
||||
for device in ${devices[*]}; do
|
||||
# because bluetooth is the worst thing ever created and defaults to handset mode, devices will need to reconnect
|
||||
echo "INFO: disconnecting and reconnecting to $device"
|
||||
bluetoothctl disconnect "$device"
|
||||
bluetoothctl connect "$device"
|
||||
done
|
||||
if [[ "$(playerctl status)" == "Playing" ]]; then
|
||||
playerctl pause
|
||||
fi
|
||||
for device in $(bluetoothctl devices Connected | awk '{print $2}'); do
|
||||
devices+=("$device")
|
||||
done
|
||||
systemctl --user restart wireplumber pipewire pipewire-pulse bluetooth
|
||||
bluetoothctl power off
|
||||
bluetoothctl power on
|
||||
for device in ${devices[*]}; do
|
||||
# because bluetooth is the worst thing ever created and defaults to handset mode, devices will need to reconnect
|
||||
echo "INFO: disconnecting and reconnecting to $device"
|
||||
bluetoothctl disconnect "$device"
|
||||
bluetoothctl connect "$device"
|
||||
done
|
||||
}
|
||||
|
||||
unfuck_screenlock() {
|
||||
hyprctl --instance 0 'keyword misc:allow_session_lock_restore 1'
|
||||
hyprctl --instance 0 'dispatch exec hyprlock'
|
||||
hyprctl --instance 0 'keyword misc:allow_session_lock_restore 1'
|
||||
hyprctl --instance 0 'dispatch exec hyprlock'
|
||||
}
|
||||
|
||||
case $1 in
|
||||
"")
|
||||
echo "what is fucked?"
|
||||
;;
|
||||
echo "what is fucked?"
|
||||
;;
|
||||
-h | --help | help)
|
||||
usage
|
||||
;;
|
||||
usage
|
||||
;;
|
||||
everything)
|
||||
unfuck_screenlock
|
||||
unfuck_bar
|
||||
unfuck_spotify
|
||||
unfuck_wallpaper
|
||||
;;
|
||||
unfuck_screenlock
|
||||
unfuck_bar
|
||||
unfuck_spotify
|
||||
unfuck_wallpaper
|
||||
;;
|
||||
*)
|
||||
eval "unfuck_$1"
|
||||
;;
|
||||
eval "unfuck_$1"
|
||||
;;
|
||||
esac
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
"button-text": " Clear all "
|
||||
},
|
||||
"dnd": {
|
||||
"text": " Do not disturb"
|
||||
"text": " Do Not Disturb"
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
@ -51,25 +51,25 @@
|
|||
* {
|
||||
all: unset;
|
||||
font-size: 14px;
|
||||
font-family: "GohuFont 14 Nerd Font Mono";
|
||||
font-family: "Ubuntu Nerd Font";
|
||||
transition: 200ms;
|
||||
}
|
||||
|
||||
|
||||
trough highlight {
|
||||
background: #cdd6f4;
|
||||
}
|
||||
|
||||
|
||||
scale trough {
|
||||
margin: 0rem 1rem;
|
||||
background-color: #313244;
|
||||
min-height: 8px;
|
||||
min-width: 70px;
|
||||
}
|
||||
|
||||
|
||||
slider {
|
||||
background-color: #89b4fa;
|
||||
}
|
||||
|
||||
|
||||
.floating-notifications.background .notification-row .notification-background {
|
||||
box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.8), inset 0 0 0 1px #313244;
|
||||
margin: 18px;
|
||||
|
|
@ -77,71 +77,71 @@
|
|||
color: #cdd6f4;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
|
||||
.floating-notifications.background .notification-row .notification-background .notification {
|
||||
padding: 7px;
|
||||
}
|
||||
|
||||
|
||||
.floating-notifications.background .notification-row .notification-background .notification.critical {
|
||||
box-shadow: inset 0 0 7px 0 #f38ba8;
|
||||
}
|
||||
|
||||
|
||||
.floating-notifications.background .notification-row .notification-background .notification .notification-content {
|
||||
margin: 7px;
|
||||
}
|
||||
|
||||
|
||||
.floating-notifications.background .notification-row .notification-background .notification .notification-content .summary {
|
||||
color: #cdd6f4;
|
||||
}
|
||||
|
||||
|
||||
.floating-notifications.background .notification-row .notification-background .notification .notification-content .time {
|
||||
color: #a6adc8;
|
||||
}
|
||||
|
||||
|
||||
.floating-notifications.background .notification-row .notification-background .notification .notification-content .body {
|
||||
color: #cdd6f4;
|
||||
}
|
||||
|
||||
|
||||
.floating-notifications.background .notification-row .notification-background .notification > *:last-child > * {
|
||||
min-height: 3.4em;
|
||||
}
|
||||
|
||||
|
||||
.floating-notifications.background .notification-row .notification-background .notification > *:last-child > * .notification-action {
|
||||
color: #cdd6f4;
|
||||
background-color: #000000;
|
||||
box-shadow: inset 0 0 0 1px #45475a;
|
||||
margin: 7px;
|
||||
}
|
||||
|
||||
|
||||
.floating-notifications.background .notification-row .notification-background .notification > *:last-child > * .notification-action:hover {
|
||||
box-shadow: inset 0 0 0 1px #45475a;
|
||||
background-color: #000000;
|
||||
color: #cdd6f4;
|
||||
}
|
||||
|
||||
|
||||
.floating-notifications.background .notification-row .notification-background .notification > *:last-child > * .notification-action:active {
|
||||
box-shadow: inset 0 0 0 1px #45475a;
|
||||
background-color: #000000;
|
||||
color: #cdd6f4;
|
||||
}
|
||||
|
||||
|
||||
.floating-notifications.background .notification-row .notification-background .close-button {
|
||||
margin: 7px;
|
||||
padding: 2px;
|
||||
color: #1e1e2e;
|
||||
background-color: #000000;
|
||||
}
|
||||
|
||||
|
||||
.floating-notifications.background .notification-row .notification-background .close-button:hover {
|
||||
background-color: #000000;
|
||||
color: #1e1e2e;
|
||||
}
|
||||
|
||||
|
||||
.floating-notifications.background .notification-row .notification-background .close-button:active {
|
||||
background-color: #000000;
|
||||
color: #1e1e2e;
|
||||
}
|
||||
|
||||
|
||||
.control-center {
|
||||
box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.8), inset 0 0 0 1px #313244;
|
||||
margin: 18px;
|
||||
|
|
@ -149,229 +149,229 @@
|
|||
color: #cdd6f4;
|
||||
padding: 14px;
|
||||
}
|
||||
|
||||
|
||||
.control-center .widget-title > label {
|
||||
color: #cdd6f4;
|
||||
font-size: 1.3em;
|
||||
}
|
||||
|
||||
|
||||
.control-center .widget-title button {
|
||||
color: #cdd6f4;
|
||||
background-color: #313244;
|
||||
box-shadow: inset 0 0 0 1px #45475a;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
|
||||
.control-center .widget-title button:hover {
|
||||
box-shadow: inset 0 0 0 1px #45475a;
|
||||
background-color: #585b70;
|
||||
color: #cdd6f4;
|
||||
}
|
||||
|
||||
|
||||
.control-center .widget-title button:active {
|
||||
box-shadow: inset 0 0 0 1px #45475a;
|
||||
background-color: #74c7ec;
|
||||
color: #1e1e2e;
|
||||
}
|
||||
|
||||
|
||||
.control-center .notification-row .notification-background {
|
||||
color: #cdd6f4;
|
||||
background-color: #313244;
|
||||
box-shadow: inset 0 0 0 1px #45475a;
|
||||
margin-top: 14px;
|
||||
}
|
||||
|
||||
|
||||
.control-center .notification-row .notification-background .notification {
|
||||
padding: 7px;
|
||||
}
|
||||
|
||||
|
||||
.control-center .notification-row .notification-background .notification.critical {
|
||||
box-shadow: inset 0 0 7px 0 #f38ba8;
|
||||
}
|
||||
|
||||
|
||||
.control-center .notification-row .notification-background .notification .notification-content {
|
||||
margin: 7px;
|
||||
}
|
||||
|
||||
|
||||
.control-center .notification-row .notification-background .notification .notification-content .summary {
|
||||
color: #cdd6f4;
|
||||
}
|
||||
|
||||
|
||||
.control-center .notification-row .notification-background .notification .notification-content .time {
|
||||
color: #a6adc8;
|
||||
}
|
||||
|
||||
|
||||
.control-center .notification-row .notification-background .notification .notification-content .body {
|
||||
color: #cdd6f4;
|
||||
}
|
||||
|
||||
|
||||
.control-center .notification-row .notification-background .notification > *:last-child > * {
|
||||
min-height: 3.4em;
|
||||
}
|
||||
|
||||
|
||||
.control-center .notification-row .notification-background .notification > *:last-child > * .notification-action {
|
||||
color: #cdd6f4;
|
||||
background-color: #11111b;
|
||||
box-shadow: inset 0 0 0 1px #45475a;
|
||||
margin: 7px;
|
||||
}
|
||||
|
||||
|
||||
.control-center .notification-row .notification-background .notification > *:last-child > * .notification-action:hover {
|
||||
box-shadow: inset 0 0 0 1px #45475a;
|
||||
background-color: #313244;
|
||||
color: #cdd6f4;
|
||||
}
|
||||
|
||||
|
||||
.control-center .notification-row .notification-background .notification > *:last-child > * .notification-action:active {
|
||||
box-shadow: inset 0 0 0 1px #45475a;
|
||||
background-color: #74c7ec;
|
||||
color: #cdd6f4;
|
||||
}
|
||||
|
||||
|
||||
.control-center .notification-row .notification-background .close-button {
|
||||
margin: 7px;
|
||||
padding: 2px;
|
||||
color: #1e1e2e;
|
||||
background-color: #eba0ac;
|
||||
}
|
||||
|
||||
|
||||
.close-button {
|
||||
}
|
||||
|
||||
|
||||
.control-center .notification-row .notification-background .close-button:hover {
|
||||
background-color: #f38ba8;
|
||||
color: #1e1e2e;
|
||||
}
|
||||
|
||||
|
||||
.control-center .notification-row .notification-background .close-button:active {
|
||||
background-color: #f38ba8;
|
||||
color: #1e1e2e;
|
||||
}
|
||||
|
||||
|
||||
.control-center .notification-row .notification-background:hover {
|
||||
box-shadow: inset 0 0 0 1px #45475a;
|
||||
background-color: #7f849c;
|
||||
color: #cdd6f4;
|
||||
}
|
||||
|
||||
|
||||
.control-center .notification-row .notification-background:active {
|
||||
box-shadow: inset 0 0 0 1px #45475a;
|
||||
background-color: #74c7ec;
|
||||
color: #cdd6f4;
|
||||
}
|
||||
|
||||
|
||||
.notification.critical progress {
|
||||
background-color: #f38ba8;
|
||||
}
|
||||
|
||||
|
||||
.notification.low progress,
|
||||
.notification.normal progress {
|
||||
background-color: #89b4fa;
|
||||
}
|
||||
|
||||
|
||||
.control-center-dnd {
|
||||
margin-top: 5px;
|
||||
background: #313244;
|
||||
border: 1px solid #45475a;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
|
||||
.control-center-dnd:checked {
|
||||
background: #313244;
|
||||
}
|
||||
|
||||
|
||||
.control-center-dnd slider {
|
||||
background: #45475a;
|
||||
}
|
||||
|
||||
|
||||
.widget-dnd {
|
||||
margin: 0px;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
|
||||
.widget-dnd > switch {
|
||||
font-size: initial;
|
||||
background: #313244;
|
||||
border: 1px solid #45475a;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
|
||||
.widget-dnd > switch:checked {
|
||||
background: #313244;
|
||||
}
|
||||
|
||||
|
||||
.widget-dnd > switch slider {
|
||||
background: #45475a;
|
||||
border: 1px solid #6c7086;
|
||||
}
|
||||
|
||||
|
||||
.widget-mpris .widget-mpris-player {
|
||||
background: #313244;
|
||||
padding: 7px;
|
||||
}
|
||||
|
||||
|
||||
.widget-mpris .widget-mpris-title {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
|
||||
.widget-mpris .widget-mpris-subtitle {
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
|
||||
.widget-menubar > box > .menu-button-bar > button > label {
|
||||
font-size: 3rem;
|
||||
padding: 0.5rem 2rem;
|
||||
}
|
||||
|
||||
|
||||
.widget-menubar > box > .menu-button-bar > :last-child {
|
||||
color: #f38ba8;
|
||||
}
|
||||
|
||||
|
||||
.power-buttons button:hover,
|
||||
.powermode-buttons button:hover,
|
||||
.screenshot-buttons button:hover {
|
||||
background: #313244;
|
||||
}
|
||||
|
||||
|
||||
.control-center .widget-label > label {
|
||||
color: #cdd6f4;
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
|
||||
.widget-buttons-grid {
|
||||
padding-top: 1rem;
|
||||
}
|
||||
|
||||
|
||||
.widget-buttons-grid > flowbox > flowboxchild > button label {
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
|
||||
|
||||
.widget-volume {
|
||||
padding-top: 1rem;
|
||||
}
|
||||
|
||||
|
||||
.widget-volume label {
|
||||
font-size: 1.5rem;
|
||||
color: #74c7ec;
|
||||
}
|
||||
|
||||
|
||||
.widget-volume trough highlight {
|
||||
background: #74c7ec;
|
||||
}
|
||||
|
||||
|
||||
.widget-backlight trough highlight {
|
||||
background: #f9e2af;
|
||||
}
|
||||
|
||||
|
||||
.widget-backlight scale {
|
||||
margin-right: 1rem;
|
||||
}
|
||||
|
||||
|
||||
.widget-backlight label {
|
||||
font-size: 1.5rem;
|
||||
color: #f9e2af;
|
||||
}
|
||||
|
||||
|
||||
.widget-backlight .KB {
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,347 +22,346 @@
|
|||
home.file = {
|
||||
"/home/${username}/.config/waybar/config" = {
|
||||
text = ''
|
||||
[{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
[{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
|
||||
"modules-left": [
|
||||
"privacy",
|
||||
"network",
|
||||
"custom/vpn",
|
||||
"custom/devices",
|
||||
"custom/spotify",
|
||||
"tray",
|
||||
],
|
||||
"modules-left": [
|
||||
"privacy",
|
||||
"network",
|
||||
"custom/vpn",
|
||||
"custom/devices",
|
||||
"custom/spotify",
|
||||
"tray",
|
||||
],
|
||||
|
||||
"modules-center": [
|
||||
"hyprland/workspaces",
|
||||
],
|
||||
"modules-center": [
|
||||
"hyprland/workspaces",
|
||||
],
|
||||
|
||||
"modules-right": [
|
||||
"custom/yubikey#icon",
|
||||
"custom/yubikey#data",
|
||||
"group/hardware",
|
||||
"group/resources",
|
||||
"bluetooth",
|
||||
// "wireplumber",
|
||||
"group/audio",
|
||||
"group/battery",
|
||||
"group/clock"
|
||||
],
|
||||
"modules-right": [
|
||||
"custom/yubikey#icon",
|
||||
"custom/yubikey#data",
|
||||
"group/hardware",
|
||||
"group/resources",
|
||||
"bluetooth",
|
||||
// "wireplumber",
|
||||
"group/audio",
|
||||
"group/battery",
|
||||
"group/clock"
|
||||
],
|
||||
|
||||
"hyprland/window": {
|
||||
"format": "{}",
|
||||
"rewrite": {
|
||||
"(.*) - zsh": "> [$1]"
|
||||
},
|
||||
"separate-outputs": true
|
||||
},
|
||||
"hyprland/window": {
|
||||
"format": "{}",
|
||||
"rewrite": {
|
||||
"(.*) - zsh": "> [$1]"
|
||||
},
|
||||
"separate-outputs": true
|
||||
},
|
||||
|
||||
"sway/workspaces": {
|
||||
"all-outputs": true,
|
||||
"disable-scroll": true,
|
||||
"format": "{name}"
|
||||
},
|
||||
"sway/workspaces": {
|
||||
"all-outputs": true,
|
||||
"disable-scroll": true,
|
||||
"format": "{name}"
|
||||
},
|
||||
|
||||
"hyprland/workspaces": {
|
||||
"all-outputs": true,
|
||||
"disable-scroll": true,
|
||||
"format": "{name}"
|
||||
},
|
||||
"hyprland/workspaces": {
|
||||
"all-outputs": true,
|
||||
"disable-scroll": true,
|
||||
"format": "{name}"
|
||||
},
|
||||
|
||||
// "group/network": {
|
||||
// "orientation": "horizontal",
|
||||
// "modules": [
|
||||
// "network",
|
||||
// "custom/vpn",
|
||||
// ],
|
||||
// "drawer": {
|
||||
// "transition-left-to-right": true,
|
||||
// "transition-duration": 500
|
||||
// }
|
||||
// },
|
||||
|
||||
"network": {
|
||||
"format": " {ifname}",
|
||||
"format-wifi": " {ipaddr}/{cidr} <span color='#aaaaaa'>{signalStrength}%</span>",
|
||||
"format-ethernet": " {ipaddr}/{cidr}",
|
||||
"format-disconnected": "",
|
||||
"tooltip-format": "{ifname} via {gwaddr}",
|
||||
"tooltip-format-wifi": "{essid} ({signalStrength}%)",
|
||||
"tooltip-format-ethernet": "{ifname}",
|
||||
"tooltip-format-disconnected": "Disconnected"
|
||||
},
|
||||
// "group/network": {
|
||||
// "orientation": "horizontal",
|
||||
// "modules": [
|
||||
// "network",
|
||||
// "custom/vpn",
|
||||
// ],
|
||||
// "drawer": {
|
||||
// "transition-left-to-right": true,
|
||||
// "transition-duration": 500
|
||||
// }
|
||||
// },
|
||||
|
||||
"network": {
|
||||
"format": " {ifname}",
|
||||
"format-wifi": " {ipaddr}/{cidr} <span color='#aaaaaa'>{signalStrength}%</span>",
|
||||
"format-ethernet": " {ipaddr}/{cidr}",
|
||||
"format-disconnected": "",
|
||||
"tooltip-format": "{ifname} via {gwaddr}",
|
||||
"tooltip-format-wifi": "{essid} ({signalStrength}%)",
|
||||
"tooltip-format-ethernet": "{ifname}",
|
||||
"tooltip-format-disconnected": "Disconnected"
|
||||
},
|
||||
|
||||
"custom/vpn": {
|
||||
"format": "{icon}",
|
||||
"tooltip-format": "{text}",
|
||||
"format-icons": [ "","" ],
|
||||
"return-type": "json",
|
||||
"exec": "~/.local/bin/waybar-vpn",
|
||||
"interval": 30
|
||||
},
|
||||
"custom/vpn": {
|
||||
"format": "{icon}",
|
||||
"tooltip-format": "{text}",
|
||||
"format-icons": [ "","" ],
|
||||
"return-type": "json",
|
||||
"exec": "~/.local/bin/waybar-vpn",
|
||||
"interval": 30
|
||||
},
|
||||
|
||||
"custom/spotify": {
|
||||
"interval": 5,
|
||||
"return-type": "json",
|
||||
"exec": "~/.local/bin/waybar-music",
|
||||
"on-click": "playerctl play-pause",
|
||||
"escape": true
|
||||
},
|
||||
"custom/spotify": {
|
||||
"interval": 5,
|
||||
"return-type": "json",
|
||||
"exec": "~/.local/bin/waybar-music",
|
||||
"on-click": "playerctl play-pause",
|
||||
"escape": true
|
||||
},
|
||||
|
||||
"custom/devices": {
|
||||
"interval": 60,
|
||||
"font-size": 14,
|
||||
// "return-type": "json",
|
||||
"exec": "~/.local/bin/waybar-devices",
|
||||
},
|
||||
"custom/devices": {
|
||||
"interval": 60,
|
||||
// "return-type": "json",
|
||||
"exec": "~/.local/bin/waybar-devices",
|
||||
},
|
||||
|
||||
"privacy": {
|
||||
"icon-spacing": 8,
|
||||
"icon-size": 14,
|
||||
"transition-duration": 250,
|
||||
"modules": [
|
||||
{
|
||||
"type": "screenshare",
|
||||
"tooltip": true,
|
||||
"tooltip-icon-size": 24
|
||||
},
|
||||
{
|
||||
"type": "audio-out",
|
||||
"tooltip": true,
|
||||
"tooltip-icon-size": 24
|
||||
},
|
||||
{
|
||||
"type": "audio-in",
|
||||
"tooltip": true,
|
||||
"tooltip-icon-size": 24
|
||||
}
|
||||
]
|
||||
},
|
||||
"privacy": {
|
||||
"icon-spacing": 8,
|
||||
"icon-size": 14,
|
||||
"transition-duration": 250,
|
||||
"modules": [
|
||||
{
|
||||
"type": "screenshare",
|
||||
"tooltip": true,
|
||||
"tooltip-icon-size": 24
|
||||
},
|
||||
{
|
||||
"type": "audio-out",
|
||||
"tooltip": true,
|
||||
"tooltip-icon-size": 24
|
||||
},
|
||||
{
|
||||
"type": "audio-in",
|
||||
"tooltip": true,
|
||||
"tooltip-icon-size": 24
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"tray": {
|
||||
"icon-size": 12,
|
||||
"spacing": 0
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 12,
|
||||
"spacing": 0
|
||||
},
|
||||
|
||||
"sway/mode": {
|
||||
"format": " {}",
|
||||
"tooltip": false
|
||||
},
|
||||
"sway/mode": {
|
||||
"format": " {}",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/yubikey#icon": {
|
||||
"exec": "~/.local/bin/waybar-yubikey 0",
|
||||
"return-type": "json"
|
||||
},
|
||||
"custom/yubikey#icon": {
|
||||
"exec": "~/.local/bin/waybar-yubikey 0",
|
||||
"return-type": "json"
|
||||
},
|
||||
|
||||
"custom/yubikey#data": {
|
||||
"exec": "~/.local/bin/waybar-yubikey 1",
|
||||
"return-type": "json"
|
||||
},
|
||||
"custom/yubikey#data": {
|
||||
"exec": "~/.local/bin/waybar-yubikey 1",
|
||||
"return-type": "json"
|
||||
},
|
||||
|
||||
"group/hardware": {
|
||||
"orientation": "horizontal",
|
||||
"modules": [
|
||||
"cpu",
|
||||
"temperature#cpu",
|
||||
"temperature#gpu",
|
||||
"temperature#nvme",
|
||||
"temperature#wifi"
|
||||
],
|
||||
"drawer": {
|
||||
"transition-left-to-right": false,
|
||||
"transition-duration": 500
|
||||
}
|
||||
},
|
||||
"group/hardware": {
|
||||
"orientation": "horizontal",
|
||||
"modules": [
|
||||
"cpu",
|
||||
"temperature#cpu",
|
||||
"temperature#gpu",
|
||||
"temperature#nvme",
|
||||
"temperature#wifi"
|
||||
],
|
||||
"drawer": {
|
||||
"transition-left-to-right": false,
|
||||
"transition-duration": 500
|
||||
}
|
||||
},
|
||||
|
||||
"cpu": {
|
||||
"interval": 30,
|
||||
"format": " {avg_frequency:3.2f}GHz <span color='#aaaaaa'>{usage}%</span>",
|
||||
"states": {
|
||||
"warning": 70,
|
||||
"critical": 90
|
||||
},
|
||||
},
|
||||
"cpu": {
|
||||
"interval": 30,
|
||||
"format": " {avg_frequency:3.2f}GHz <span color='#aaaaaa'>{usage}%</span>",
|
||||
"states": {
|
||||
"warning": 70,
|
||||
"critical": 90
|
||||
},
|
||||
},
|
||||
|
||||
"temperature#cpu": {
|
||||
"hwmon-path": "/sys/class/hwmon/hwmon5/temp1_input",
|
||||
"critical-threshold": 80,
|
||||
"format": " CPU <span color='#aaaaaa'>{temperatureC}°C</span>"
|
||||
},
|
||||
"temperature#cpu": {
|
||||
"hwmon-path": "/sys/class/hwmon/hwmon5/temp1_input",
|
||||
"critical-threshold": 80,
|
||||
"format": " CPU <span color='#aaaaaa'>{temperatureC}°C</span>"
|
||||
},
|
||||
|
||||
"temperature#gpu": {
|
||||
"hwmon-path": "/sys/class/hwmon/hwmon0/temp1_input",
|
||||
"critical-threshold": 80,
|
||||
"format": "· GPU <span color='#aaaaaa'>{temperatureC}°C</span>"
|
||||
},
|
||||
"temperature#gpu": {
|
||||
"hwmon-path": "/sys/class/hwmon/hwmon0/temp1_input",
|
||||
"critical-threshold": 80,
|
||||
"format": "· GPU <span color='#aaaaaa'>{temperatureC}°C</span>"
|
||||
},
|
||||
|
||||
"temperature#nvme": {
|
||||
"hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input",
|
||||
"critical-threshold": 80,
|
||||
"format": "· NVMe <span color='#aaaaaa'>{temperatureC}°C</span>"
|
||||
},
|
||||
"temperature#nvme": {
|
||||
"hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input",
|
||||
"critical-threshold": 80,
|
||||
"format": "· NVMe <span color='#aaaaaa'>{temperatureC}°C</span>"
|
||||
},
|
||||
|
||||
"temperature#wifi": {
|
||||
"hwmon-path": "/sys/class/hwmon/hwmon11/temp1_input",
|
||||
"critical-threshold": 80,
|
||||
"format": "· WiFi <span color='#aaaaaa'>{temperatureC}°C</span>"
|
||||
},
|
||||
"temperature#wifi": {
|
||||
"hwmon-path": "/sys/class/hwmon/hwmon11/temp1_input",
|
||||
"critical-threshold": 80,
|
||||
"format": "· WiFi <span color='#aaaaaa'>{temperatureC}°C</span>"
|
||||
},
|
||||
|
||||
"group/resources": {
|
||||
"orientation": "horizontal",
|
||||
"modules": [ "memory", "disk#root" ],
|
||||
"drawer": {
|
||||
"transition-left-to-right": false,
|
||||
"transition-duration": 500
|
||||
}
|
||||
},
|
||||
"group/resources": {
|
||||
"orientation": "horizontal",
|
||||
"modules": [ "memory", "disk#root" ],
|
||||
"drawer": {
|
||||
"transition-left-to-right": false,
|
||||
"transition-duration": 500
|
||||
}
|
||||
},
|
||||
|
||||
"memory": {
|
||||
"interval": 60,
|
||||
"format": " {used:3.1f}GiB/<span color='#aaaaaa'>{total:3.1f}GiB</span>"
|
||||
},
|
||||
"memory": {
|
||||
"interval": 60,
|
||||
"format": " {used:3.1f}GiB/<span color='#aaaaaa'>{total:3.1f}GiB</span>"
|
||||
},
|
||||
|
||||
"disk#root": {
|
||||
"interval": 360,
|
||||
"format": " {used}/<span color='#aaaaaa'>{total}</span>",
|
||||
"path": "/"
|
||||
},
|
||||
"disk#root": {
|
||||
"interval": 360,
|
||||
"format": " {used}/<span color='#aaaaaa'>{total}</span>",
|
||||
"path": "/"
|
||||
},
|
||||
|
||||
"bluetooth": {
|
||||
// "controller": "controller1",
|
||||
"on-click": "~/.local/bin/waybar-bluetooth toggle",
|
||||
"format": "<span color='#aaaaaa'></span>",
|
||||
"format-disabled": "<span color='#333333'></span>",
|
||||
"format-connected": "",
|
||||
"format-connected-battery": " {device_battery_percentage}%",
|
||||
"tooltip-format": "{controller_alias}\t\t[{controller_address}]",
|
||||
"tooltip-format-connected": "{controller_alias}\t\t[{controller_address}]\n\n{device_enumerate}",
|
||||
"tooltip-format-connected-battery": "{controller_alias}\t\t[{controller_address}]\n\n{device_enumerate}",
|
||||
"tooltip-format-enumerate-connected": "{device_alias}\t\t[{device_address}]",
|
||||
"tooltip-format-enumerate-connected-battery": "{device_alias} ({device_battery_percentage})\t\t[{device_address}]"
|
||||
},
|
||||
"bluetooth": {
|
||||
// "controller": "controller1",
|
||||
"on-click": "~/.local/bin/waybar-bluetooth toggle",
|
||||
"format": "<span color='#aaaaaa'></span>",
|
||||
"format-disabled": "<span color='#333333'></span>",
|
||||
"format-connected": "",
|
||||
"format-connected-battery": " {device_battery_percentage}%",
|
||||
"tooltip-format": "{controller_alias}\t\t[{controller_address}]",
|
||||
"tooltip-format-connected": "{controller_alias}\t\t[{controller_address}]\n\n{device_enumerate}",
|
||||
"tooltip-format-connected-battery": "{controller_alias}\t\t[{controller_address}]\n\n{device_enumerate}",
|
||||
"tooltip-format-enumerate-connected": "{device_alias}\t\t[{device_address}]",
|
||||
"tooltip-format-enumerate-connected-battery": "{device_alias} ({device_battery_percentage})\t\t[{device_address}]"
|
||||
},
|
||||
|
||||
"group/audio": {
|
||||
"orientation": "horizontal",
|
||||
"modules": [
|
||||
"wireplumber",
|
||||
"custom/audio-internal",
|
||||
"custom/audio-headphones",
|
||||
"custom/audio-hdmi"
|
||||
],
|
||||
"drawer": {
|
||||
"transition-left-to-right": false,
|
||||
"transition-duration": 500
|
||||
}
|
||||
},
|
||||
"group/audio": {
|
||||
"orientation": "horizontal",
|
||||
"modules": [
|
||||
"wireplumber",
|
||||
"custom/audio-internal",
|
||||
"custom/audio-headphones",
|
||||
"custom/audio-hdmi"
|
||||
],
|
||||
"drawer": {
|
||||
"transition-left-to-right": false,
|
||||
"transition-duration": 500
|
||||
}
|
||||
},
|
||||
|
||||
"wireplumber": {
|
||||
"format": "{icon} {node_name}/<span color='#aaaaaa'>{volume}</span>",
|
||||
"format-muted": "",
|
||||
"on-click": "pavucontrol-qt",
|
||||
"on-click-right": "helvum",
|
||||
"format-icons": ["", "", ""]
|
||||
},
|
||||
"wireplumber": {
|
||||
"format": "{icon} {node_name}/<span color='#aaaaaa'>{volume}</span>",
|
||||
"format-muted": "",
|
||||
"on-click": "pavucontrol-qt",
|
||||
"on-click-right": "helvum",
|
||||
"format-icons": ["", "", ""]
|
||||
},
|
||||
|
||||
"custom/audio-internal": {
|
||||
"format": " ",
|
||||
"tooltip-format": "Internal",
|
||||
"on-click": "audio-router analog",
|
||||
"interval": "once"
|
||||
},
|
||||
"custom/audio-internal": {
|
||||
"format": " ",
|
||||
"tooltip-format": "Internal",
|
||||
"on-click": "audio-router analog",
|
||||
"interval": "once"
|
||||
},
|
||||
|
||||
"custom/audio-hdmi": {
|
||||
"format": " ",
|
||||
"tooltip-format": "HDMI",
|
||||
"on-click": "audio-router hdmi",
|
||||
"interval": "once"
|
||||
},
|
||||
"custom/audio-hdmi": {
|
||||
"format": " ",
|
||||
"tooltip-format": "HDMI",
|
||||
"on-click": "audio-router hdmi",
|
||||
"interval": "once"
|
||||
},
|
||||
|
||||
"group/battery": {
|
||||
"orientation": "horizontal",
|
||||
"modules": [
|
||||
"battery",
|
||||
"custom/powerdraw"
|
||||
],
|
||||
"drawer": {
|
||||
"transition-left-to-right": false,
|
||||
"transition-duration": 500
|
||||
}
|
||||
},
|
||||
"group/battery": {
|
||||
"orientation": "horizontal",
|
||||
"modules": [
|
||||
"battery",
|
||||
"custom/powerdraw"
|
||||
],
|
||||
"drawer": {
|
||||
"transition-left-to-right": false,
|
||||
"transition-duration": 500
|
||||
}
|
||||
},
|
||||
|
||||
"battery": {
|
||||
"bat": "BAT1",
|
||||
"interval": 30,
|
||||
"states": {
|
||||
"warning": 20,
|
||||
"critical": 10
|
||||
},
|
||||
"format-time": "{H}:{m}",
|
||||
"format": "{icon} {time} <span color='#aaaaaa'>{capacity}%</span>",
|
||||
"format-discharging": "{icon} <span color='#aaaaaa'>{capacity}%</span>",
|
||||
"format-discharging-warning": "{icon} <span color='#FF5F1F'>{capacity}%</span>",
|
||||
"format-discharging-critical": "{icon} <span color='#FF3131'>{capacity}%</span>",
|
||||
"format-charging": "{icon} <span color='#DAF7A6'>{capacity}%</span><span color='#aaaaaa'> @ {power:2.0f}W</span>",
|
||||
"format-full": " <span color='#aaaaaa'>{capacity}%</span>",
|
||||
"format-not-charging": " <span color='#aaaaaa'>{capacity}%</span>",
|
||||
"format-icons": [" ", " ", " ", " ", " "],
|
||||
},
|
||||
"battery": {
|
||||
"bat": "BAT1",
|
||||
"interval": 30,
|
||||
"states": {
|
||||
"warning": 20,
|
||||
"critical": 10
|
||||
},
|
||||
"format-time": "{H}:{m}",
|
||||
"format": "{icon} {time} <span color='#aaaaaa'>{capacity}%</span>",
|
||||
"format-discharging": "{icon} <span color='#aaaaaa'>{capacity}%</span>",
|
||||
"format-discharging-warning": "{icon} <span color='#FF5F1F'>{capacity}%</span>",
|
||||
"format-discharging-critical": "{icon} <span color='#FF3131'>{capacity}%</span>",
|
||||
"format-charging": "{icon} <span color='#DAF7A6'>{capacity}%</span><span color='#aaaaaa'> @ {power:2.0f}W</span>",
|
||||
"format-full": " <span color='#aaaaaa'>{capacity}%</span>",
|
||||
"format-not-charging": " <span color='#aaaaaa'>{capacity}%</span>",
|
||||
"format-icons": [" ", " ", " ", " ", " "],
|
||||
},
|
||||
|
||||
"custom/powerdraw": {
|
||||
"interval": 60,
|
||||
"exec": "~/.local/bin/waybar-powerdraw",
|
||||
},
|
||||
"custom/powerdraw": {
|
||||
"interval": 60,
|
||||
"exec": "~/.local/bin/waybar-powerdraw",
|
||||
},
|
||||
|
||||
"group/clock": {
|
||||
"orientation": "horizontal",
|
||||
"modules": [ "custom/clock#minutes", "clock#time", "clock#date" ],
|
||||
"drawer": {
|
||||
"transition-left-to-right": false,
|
||||
"transition-duration": 500
|
||||
}
|
||||
},
|
||||
"group/clock": {
|
||||
"orientation": "horizontal",
|
||||
"modules": [ "custom/clock#minutes", "clock#time", "clock#date" ],
|
||||
"drawer": {
|
||||
"transition-left-to-right": false,
|
||||
"transition-duration": 500
|
||||
}
|
||||
},
|
||||
|
||||
"clock#date": {
|
||||
"interval": 60,
|
||||
"format": " <span color='#ffffff'> {:%a %e %b %Y}</span>",
|
||||
"tooltip-format": "<big>{:%B %Y}</big>\n<tt>{calendar}</tt>",
|
||||
"calendar": {
|
||||
"mode" : "year",
|
||||
"mode-mon-col" : 2,
|
||||
"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>"
|
||||
}
|
||||
},
|
||||
"actions": {
|
||||
"on-click-right": "mode",
|
||||
"on-scroll-up": "shift_up",
|
||||
"on-scroll-down": "shift_down"
|
||||
}
|
||||
},
|
||||
"clock#date": {
|
||||
"interval": 60,
|
||||
"format": " <span color='#ffffff'> {:%a %e %b %Y}</span>",
|
||||
"tooltip-format": "<big>{:%B %Y}</big>\n<tt>{calendar}</tt>",
|
||||
"calendar": {
|
||||
"mode" : "year",
|
||||
"mode-mon-col" : 2,
|
||||
"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>"
|
||||
}
|
||||
},
|
||||
"actions": {
|
||||
"on-click-right": "mode",
|
||||
"on-scroll-up": "shift_up",
|
||||
"on-scroll-down": "shift_down"
|
||||
}
|
||||
},
|
||||
|
||||
"clock#time": {
|
||||
"interval": 60,
|
||||
"format": " {:%I:%M %p}",
|
||||
"actions": {
|
||||
"on-scroll-up": "tz_up",
|
||||
"on-scroll-down": "tz_down"
|
||||
}
|
||||
},
|
||||
"clock#time": {
|
||||
"interval": 60,
|
||||
"format": " {:%I:%M %p}",
|
||||
"actions": {
|
||||
"on-scroll-up": "tz_up",
|
||||
"on-scroll-down": "tz_down"
|
||||
}
|
||||
},
|
||||
|
||||
"custom/clock#minutes": {
|
||||
"interval": 60,
|
||||
"format": " <span color='#aaaaaa'>{}</span> ",
|
||||
"exec": "~/.local/bin/waybar-minutes"
|
||||
}
|
||||
}
|
||||
]
|
||||
"custom/clock#minutes": {
|
||||
"interval": 60,
|
||||
"format": " <span color='#aaaaaa'>{}</span> ",
|
||||
"exec": "~/.local/bin/waybar-minutes"
|
||||
}
|
||||
}
|
||||
]
|
||||
'';
|
||||
};
|
||||
"/home/${username}/.config/waybar/style.css" = {
|
||||
|
|
@ -370,7 +369,7 @@
|
|||
* {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
font-family: 'GohuFont 11 Nerd Font Mono';
|
||||
font-family: 'CommitMono Nerd Font';
|
||||
font-weight: 400;
|
||||
font-size: 11px;
|
||||
min-height: 26px;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue