moved around dotfiles to focus around nix configuration, as most of my systems already utilize Nix/NixOS in some capacity.
This commit is contained in:
parent
eb01c9561f
commit
890c29afca
28 changed files with 47 additions and 255 deletions
250
nix/hosts/dots/waybar/config
Executable file
250
nix/hosts/dots/waybar/config
Executable file
|
|
@ -0,0 +1,250 @@
|
|||
[{
|
||||
"height": 40,
|
||||
"spacing": 5,
|
||||
|
||||
"modules-left": [
|
||||
"group/Utilities",
|
||||
"group/workspaces",
|
||||
"mpris"
|
||||
],
|
||||
"modules-center": [
|
||||
"group/windows"
|
||||
],
|
||||
"modules-right": [
|
||||
"group/cpuram",
|
||||
"group/system"
|
||||
],
|
||||
|
||||
"custom/openbracket": {
|
||||
"format": "[",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/closebracket": {
|
||||
"format": "]",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/split": {
|
||||
"format": "|",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"group/Utilities":{
|
||||
"orientation": "horizontal",
|
||||
"modules":[
|
||||
"custom/openbracket",
|
||||
"idle_inhibitor",
|
||||
"custom/split",
|
||||
"custom/closebracket"
|
||||
]
|
||||
},
|
||||
|
||||
"group/workspaces":{
|
||||
"orientation": "horizontal",
|
||||
"modules":[
|
||||
"hyprland/workspaces",
|
||||
]
|
||||
},
|
||||
"hyprland/workspaces": {
|
||||
"all-outputs": true,
|
||||
"warp-on-scroll": false,
|
||||
"enable-bar-scroll": true,
|
||||
"disable-scroll-wraparound": true,
|
||||
"active-only": false,
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"1": "I",
|
||||
"2": "II",
|
||||
"3": "III",
|
||||
"4": "IV",
|
||||
"5": "V",
|
||||
"6": "VI",
|
||||
"7": "VII",
|
||||
"8": "VIII",
|
||||
"9": "IX",
|
||||
"10": "X",
|
||||
"default": "•"
|
||||
}
|
||||
},
|
||||
|
||||
"mpris": {
|
||||
"format": "[ {status_icon} | {dynamic} ]",
|
||||
"interval": 1,
|
||||
"dynamic-len": 40,
|
||||
"status-icons": {
|
||||
"playing": "▶",
|
||||
"paused": "⏸",
|
||||
"stopped": ""
|
||||
},
|
||||
"dynamic-order": ["artist"]
|
||||
},
|
||||
|
||||
|
||||
"group/windows": {
|
||||
"orientation":"horizontal",
|
||||
"modules":[
|
||||
"custom/openbracket",
|
||||
"hyprland/window",
|
||||
"custom/closebracket"
|
||||
]
|
||||
},
|
||||
"hyprland/window": {
|
||||
"format": "{title}",
|
||||
"max-length": 40,
|
||||
"min-length": 20,
|
||||
"all-outputs": true
|
||||
},
|
||||
|
||||
|
||||
|
||||
"group/cpuram": {
|
||||
"orientation": "horizontal",
|
||||
"modules": [
|
||||
"custom/openbracket",
|
||||
"cpu",
|
||||
"custom/split",
|
||||
"memory",
|
||||
"custom/closebracket"
|
||||
]
|
||||
},
|
||||
"cpu": {
|
||||
"format": "CPU:{usage}%",
|
||||
"tooltip": false,
|
||||
"interval": 2,
|
||||
"on-click": "kitty -e btop",
|
||||
},
|
||||
"memory":{
|
||||
"format": "RAM:{}%",
|
||||
"tooltip": false,
|
||||
"interval": 2,
|
||||
"on-click": "kitty -e btop",
|
||||
},
|
||||
|
||||
"group/brightvol": {
|
||||
"orientation": "horizontal",
|
||||
"modules": [
|
||||
"custom/openbracket",
|
||||
"backlight",
|
||||
"custom/split",
|
||||
"wireplumber",
|
||||
"custom/closebracket"
|
||||
]
|
||||
},
|
||||
"wireplumber": {
|
||||
"scroll-step": 5,
|
||||
"format": "{icon}{volume}%",
|
||||
"format-bluetooth": "{icon}{volume}% ",
|
||||
"format-bluetooth-muted": " {icon}",
|
||||
"format-muted": "",
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": [" :", " :", " :"]
|
||||
},
|
||||
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
|
||||
"on-click-right": "pavucontrol"
|
||||
},
|
||||
"backlight": {
|
||||
"format": "{icon}:{percent}%",
|
||||
"format-icons": ["", "", "🌙"],
|
||||
"on-click": "~/.config/waybar/scripts/brightness_slider.sh"
|
||||
},
|
||||
|
||||
"group/system": {
|
||||
"orientation": "horizontal",
|
||||
"modules": [
|
||||
"custom/openbracket",
|
||||
"clock",
|
||||
"custom/split",
|
||||
"network",
|
||||
"custom/bluetooth",
|
||||
"custom/clipboard",
|
||||
"battery",
|
||||
"custom/swaync",
|
||||
"custom/closebracket"
|
||||
]
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%I:%M}",
|
||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||
"onclick" : "kalender"
|
||||
},
|
||||
"custom/clipboard": {
|
||||
"format": "",
|
||||
"tooltip": false,
|
||||
"on-click": "~/.config/waybar/scripts/clipboard_menu.sh"
|
||||
},
|
||||
"battery": {
|
||||
"states": {
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-full": "{icon} {capacity}%",
|
||||
"format-charging": " {capacity}%",
|
||||
"format-plugged": " {capacity}%",
|
||||
"format-icons": ["", "", "", "", ""],
|
||||
"on-click": "wlogout"
|
||||
},
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
}
|
||||
},
|
||||
"custom/swaync": {
|
||||
"format": "",
|
||||
"exec": "swaync-client -swb",
|
||||
"on-click": "swaync-client --toggle-panel",
|
||||
"interval": 0
|
||||
},
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
"network": {
|
||||
"interface": "wlan0",
|
||||
"format-wifi": "{icon}",
|
||||
"format-ethernet": " LAN",
|
||||
"format-disconnected": "",
|
||||
"tooltip-format": "{ipaddr}\n{ssid} ({signalStrength}%)",
|
||||
"on-click": "kitty -e nmtui",
|
||||
"format-icons": [ "", "", "", "", "" ]
|
||||
},
|
||||
"custom/bluetooth": {
|
||||
"format": "{}",
|
||||
"exec": "~/.config/waybar/scripts/bluetooth_status.sh",
|
||||
"interval": 5,
|
||||
"on-click": "blueman-manager"
|
||||
},
|
||||
"group/clock": {
|
||||
"orientation": "horizontal",
|
||||
"modules": [
|
||||
"custom/openbracket",
|
||||
"clock",
|
||||
"custom/closebracket"
|
||||
]
|
||||
},
|
||||
"custom/cava": {
|
||||
"exec": "~/.config/waybar/scripts/cava_wrapper.sh",
|
||||
"format": "♪ {}",
|
||||
"restart-interval": 1,
|
||||
"max-length": 50,
|
||||
"on-click": "pkill cava"
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 14,
|
||||
"spacing": 10
|
||||
},
|
||||
"custom/notifications": {
|
||||
"format": "",
|
||||
"tooltip": false,
|
||||
"on-click": "~/.config/waybar/scripts/notification_center.sh"
|
||||
}
|
||||
}]
|
||||
Loading…
Add table
Add a link
Reference in a new issue