dotfiles/config
2025-02-23 23:19:41 -05:00

166 lines
5.0 KiB
Plaintext

{
"layer": "top",
"position": "bottom",
"height": 5,
"spacing": 0,
"margin-top": "0",
"margin-bottom": 0,
// Choose the order of the modules
"modules-right":["tray","pulseaudio","network","battery","custom/date-clock","clock"],
"modules-center": ["hyprland/workspaces"],
"modules-left":["backlight", "cpu", "temperature", "memory", "network#speed"],
// Modules configuration
"hyprland/workspaces": {
// "all-outputs": true,
// "format": "{name}: {icon}",
"format": "{icon}",
"format-window-separator": "",
"format-icons": {
"active": "",
"default": "",
"empty": "",
"urgent": ""
},
"persistent-workspaces": {
"*": 10, // 10 workspaces by default on every monitor
},
"on-scroll-up": "$HOME/.config/waybar/hyprland_workspace_switcher.sh next 10",
"on-scroll-down": "$HOME/.config/waybar/hyprland_workspace_switcher.sh prev 10",
"reverse-scrolling": true,
"smooth-scrolling-threshold": 1
},
"keyboard-state": {
"numlock": true,
"capslock": true,
"format": " {name} {icon}",
"format-icons": {
"locked": "",
"unlocked": ""
}
},
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"tray": {
"icon-size": 20,
"spacing": 20
},
"clock": {
// "timezone": "America/New_York",
"format": "{:%h %d %I:%M %p}",
"tooltip-format": "<big>{:%y %b}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%y-%m-%d}"
},
"cpu": {
"format": "{usage}% 󰍛",
"tooltip": false
},
"memory": {
"format": "{}% "
},
"temperature": {
// "thermal-zone": 2,
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
"critical-threshold": 80,
// "format-critical": "{temperatureC}°C {icon}",
"format": "{temperatureC}°C {icon}",
"format-icons": ["", "", "", "", ""]
},
"backlight": {
// "device": "acpi_video1",
"format": "{percent}% {icon}",
"format-icons": ["", ""]
},
"battery": {
"states": {
// "good": 95,
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
"format-charging": "{capacity}% ",
"format-plugged": "{capacity}% ",
"format-alt": "{time} {icon}",
// "format-good": "", // An empty format will hide the module
// "format-full": "",
"format-icons": ["", "", "", "", ""]
},
"battery#bat2": {
"bat": "BAT2"
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
"format-wifi": "{icon}",
"format-icons": ["󰤯", "󰤟", "󰤢", "󰤥", "󰤨"],
"format-ethernet": "Connected  ",
"tooltip-format": "{ifname} via {gwaddr} ",
"format-linked": "{ifname} (No IP) ",
"format-disconnected": "Disconnected ⚠",
"format-alt": "{essid} {ifname}: {ipaddr}/{cidr}",
"on-click-right": "bash ~/.config/rofi/wifi_menu/rofi_wifi_menu"
},
"network#speed": {
"interval": 5,
"format": "↓ {bandwidthDownBytes} ↑ {bandwidthUpBytes}"
},
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
"format": "",
"format-bluetooth": "{icon}",
"format-bluetooth-muted": "{icon} {format_source}",
"format-muted": "{format_source}",
"format-source": "",
"format-source-muted": "",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", "", ""]
},
"on-click": "bash ~/.config/system_scripts/volume up",
"on-click-right": "bash ~/.config/system_scripts/volume down"
},
//"custom/media": {
// "format": "{icon} {}",
// "return-type": "json",
// "max-length": 25,
// "format-icons": {
// "spotify": " ",
// "default": " "
// },
// "escape": true,
// "exec": "$HOME/.config/system_scripts/mediaplayer.py 2> /dev/null",
// "on-click": "bash ~/.config/system_scripts/volume pause"
//},
"custom/launcher":{
"format": " ",
"on-click": "fuzzel",
"on-click-right": "killall fuzzel"
},
"custom/power":{
"format": "",
"on-click": "nwg-bar",
"on-click-right": "killall nwg-bar"
},
"custom/snip":{
"format": "",
"on-click": "grimshot --notify save area $HOME/Pictures/$(zenity --entry --text 'Set filename:' --entry-text '.png')"
}
}