move to backup

This commit is contained in:
Dennis 2026-03-03 10:46:08 +01:00
parent 294dc66380
commit a0e3d792a9
182 changed files with 156 additions and 103 deletions

View file

@ -0,0 +1,126 @@
{
// Bar Options
"output": "DP-3",
"position": "left",
"width": 36,
"margin-left": 8,
"margin-top": 8,
"margin-bottom": 8,
// Placing Modules
"modules-left": [
"clock",
"custom/cpu-label",
"cpu",
"custom/memory-label",
"memory",
"custom/disk-label",
"disk",
"custom/nvidia-label",
"custom/nvidia"
],
"modules-center": [
"niri/workspaces"
],
"modules-right": [
"wireplumber#source",
"wireplumber#sink",
"tray",
"custom/power"
],
// Module Configuration
"niri/workspaces": {
"format": "{icon}",
"format-icons": {
"active": "󰄯",
"default": "󰄰"
}
},
"clock": {
"interval": 60,
"format": "{:%H\n%M}",
"format-alt": "<span color='#d369af'>{:%d\n%m}</span>",
"tooltip": false,
"justify": "center"
},
"custom/cpu-label": {
"format": "CPU",
"tooltip": false
},
"cpu": {
"interval": "30",
"format": "{usage}%",
"max-length": 2
},
"custom/memory-label": {
"format": "MEM",
"tooltip": false
},
"memory": {
"interval": "30",
"format": "{percentage}%",
"max-length": 2
},
"custom/disk-label": {
"format": "SSD",
"tooltip": false
},
"disk": {
"interval": "30",
"format": "{percentage_used}%",
"max-length": 2
},
"custom/nvidia-label": {
"format": "GPU",
"tooltip": false
},
"custom/nvidia": {
"exec": "nvidia-smi --query-gpu=temperature.gpu --format=csv,nounits,noheader",
"format": "{}°",
"tooltip": false,
"interval": 10
},
"wireplumber#source": {
"node-type": "Audio/Source",
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle",
"on-click-right": "pwvucontrol",
"scroll-step": 5.0,
"tooltip-format": "{node_name} ({source_volume}%)",
"format": "{icon}",
"format-muted": "󰍭",
"format-icons": {
"default": [
"󰍬"
]
}
},
"wireplumber#sink": {
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
"on-click-right": "pwvucontrol",
"scroll-step": 5.0,
"tooltip-format": "{node_name} ({volume}%)",
"format": "{icon}",
"format-muted": "󰖁",
"format-icons": {
"default": [
"󰕿",
"󰖀",
"󰕾"
]
}
},
"tray": {
"icon-size": 14,
"spacing": 18
},
"custom/power": {
"format": "󰐥",
"tooltip": false,
"menu": "on-click",
"menu-file": "~/.config/waybar/power_menu.xml",
"menu-actions": {
"lock": "hyprlock",
"reboot": "reboot",
"shutdown": "shutdown now"
}
}
}

View file

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GtkMenu" id="menu">
<child>
<object class="GtkMenuItem" id="lock">
<property name="label">Lock</property>
</object>
</child>
<child>
<object class="GtkMenuItem" id="reboot">
<property name="label">Reboot</property>
</object>
</child>
<child>
<object class="GtkMenuItem" id="shutdown">
<property name="label">Shutdown</property>
</object>
</child>
</object>
</interface>

View file

@ -0,0 +1,86 @@
* {
font-family: "VictorMono Nerd Font Propo";
font-size: 12px;
font-weight: bold;
background: transparent;
}
tooltip,
menu {
background: rgba(15, 11, 12, 0.9);
border-radius: 8px;
border: 2px solid #572454;
}
menuitem {
color: #ffffff;
margin-left: 4px;
margin-right: 4px;
border-radius: 4px;
}
menuitem:hover {
color: #331531;
background-color: #c57faf;
}
window#waybar {
background-color: rgba(15, 11, 12, 0.95);
border-radius: 8px;
color: #ffffff;
}
#workspaces button {
padding: 2px 10px;
margin: 0;
color: #d369af;
}
#clock {
font-size: 15px;
padding: 8px 0 8px;
}
#custom-cpu-label,
#custom-memory-label,
#custom-disk-label,
#custom-nvidia-label {
color: #572454;
padding-top: 6px;
border-top: 1px solid #572454;
}
#custom-nvidia {
border-bottom: 1px solid #572454;
}
#cpu,
#memory,
#disk,
#custom-nvidia {
color: #d369af;
padding-bottom: 8px;
}
#wireplumber {
font-size: 16px;
margin-top: 4px;
margin-bottom: 4px;
}
#tray {
margin: 4px;
margin-top: 0;
border-radius: 4px;
padding-top: 10px;
padding-bottom: 10px;
}
#custom-power {
background-color: #331531;
font-size: 16px;
border-bottom-left-radius: 8px;
border-bottom-right-radius: 8px;
padding-top: 6px;
padding-bottom: 6px;
}

View file

@ -0,0 +1,11 @@
{ config, ... }:
{
xdg.configFile."waybar" = {
source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/dev/nix-config/modules/wm/waybar/config";
};
programs.waybar = {
enable = true;
};
}