repositories / dotfiles
dotfiles
bugabingas dorkfiles
owned by bugabinga
ironbar/config.json
RawFile outline
{
"icon_theme": "Adwaita",
"position": "top",
"height": 30,
"popup_autohide": true,
"popup_gap": 4,
"ironvar_defaults": {
"ws1": "1 ",
"ws2": "2 ",
"ws3": "3 ",
"ws4": "4 ",
"ws5": "5 ",
"ws9": "9 "
},
"start": [
{
"type": "custom",
"name": "workspace-switcher",
"class": "nugu-workspaces",
"bar": [
{
"type": "box",
"widgets": [
{
"type": "button",
"class": "workspace-item",
"label": "#ws1",
"on_click": "!hyprctl eval 'require(\"modules.commands\").workspace(\"1\")'"
},
{
"type": "button",
"class": "workspace-item",
"label": "#ws2",
"on_click": "!hyprctl eval 'require(\"modules.commands\").workspace(\"2\")'"
},
{
"type": "button",
"class": "workspace-item",
"label": "#ws3",
"on_click": "!hyprctl eval 'require(\"modules.commands\").workspace(\"3\")'"
},
{
"type": "button",
"class": "workspace-item",
"label": "#ws4",
"on_click": "!hyprctl eval 'require(\"modules.commands\").workspace(\"4\")'"
},
{
"type": "button",
"class": "workspace-item",
"label": "#ws5",
"on_click": "!hyprctl eval 'require(\"modules.commands\").workspace(\"5\")'"
},
{
"type": "button",
"class": "workspace-item",
"label": "#ws9",
"on_click": "!hyprctl eval 'require(\"modules.commands\").workspace(\"9\")'"
}
]
}
],
"tooltip": "Workspaces: web code term chat media misc"
},
{
"type": "clipboard",
"max_items": 5,
"truncate": {
"mode": "end",
"length": 30
}
},
{
"type": "bindmode",
"truncate": {
"mode": "end",
"max_length": 20
}
}
],
"center": [
{
"type": "music",
"player_type": "mpris",
"format": "{title} / {artist}",
"truncate": {
"mode": "end",
"max_length": 42
}
},
{
"type": "clock",
"format": "%H:%M"
}
],
"end": [
{
"type": "script",
"class": "mako-status",
"cmd": "~/.config/ironbar/scripts/mako-status.sh",
"mode": "poll",
"interval": 5000,
"on_click_left": "makoctl restore",
"on_click_right": "makoctl dismiss --all",
"tooltip": "Notifications: left restores last, right dismisses all"
},
{
"type": "script",
"class": "wifi",
"cmd": "~/.config/ironbar/scripts/wifi-status.sh",
"mode": "poll",
"interval": 30000,
"on_click_left": "hyprctl eval 'require(\"modules.commands\").app(\"wifi\")'",
"on_click_middle": "hyprctl eval 'require(\"modules.commands\").app(\"wifi\")'",
"tooltip": "WiFi: left/middle opens impala"
},
{
"type": "bluetooth",
"format": {
"not_found": "",
"disabled": "",
"enabled": "",
"connected": "",
"connected_battery": " {device_battery_percent}%"
},
"disable_popup": true,
"on_click_left": "hyprctl eval 'require(\"modules.commands\").app(\"bluetooth\")'",
"on_click_middle": "hyprctl eval 'require(\"modules.commands\").app(\"bluetooth\")'",
"tooltip": "Bluetooth: left/middle opens bluetui"
},
{
"type": "tray",
"icon_size": 14
},
{
"type": "sys_info",
"format": [" {cpu_percent:1}%"],
"interval": {
"cpu": 2
},
"on_click_left": "hyprctl eval 'require(\"modules.commands\").app(\"system_monitor\")'",
"on_click_middle": "hyprctl eval 'require(\"modules.commands\").app(\"system_monitor\")'",
"tooltip": "System monitor: left/middle opens btm"
},
{
"type": "volume",
"on_scroll_up": "wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 2%+",
"on_scroll_down": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%-",
"on_click_right": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
"on_click_middle": "hyprctl eval 'require(\"modules.commands\").app(\"audio_mixer\")'",
"smooth_scroll_speed": 1.0,
"show_sources": false,
"tooltip": "Volume: scroll adjusts, right mutes, middle opens wiremix"
},
{
"type": "brightness",
"format": " {percentage}%",
"mode": {
"type": "systemd",
"subsystem": "backlight",
"name": "intel_backlight"
},
"smooth_scroll_speed": 0.5,
"tooltip": "Brightness: scroll adjusts display"
},
{
"type": "battery",
"format": " {percentage}%",
"show_icon": false,
"show_if": "ls /sys/class/power_supply/ | grep -q '^BAT'",
"profiles": {
"warning": {
"percent": 20
},
"critical": {
"when": {
"percent": 5,
"charging": false
},
"format": " {percentage}%"
}
},
"on_click_left": "hyprctl eval 'require(\"modules.commands\").app(\"battery\")'",
"on_click_middle": "hyprctl eval 'require(\"modules.commands\").app(\"battery\")'",
"tooltip": "Battery: left/middle opens upower"
},
{
"type": "inhibit",
"durations": ["00:30:00", "01:00:00", "02:00:00", "inf"],
"default_duration": "inf",
"format_on": " {duration}",
"format_off": " {duration}",
"tooltip": "Inhibit: left toggles, right cycles duration"
},
{
"type": "custom",
"name": "power-menu",
"class": "power-menu",
"bar": [
{
"type": "button",
"name": "power-btn",
"label": "",
"on_click": "popup:toggle"
}
],
"popup": [
{
"type": "box",
"orientation": "vertical",
"widgets": [
{
"type": "label",
"name": "header",
"label": "power"
},
{
"type": "box",
"name": "buttons",
"widgets": [
{
"type": "button",
"class": "power-btn danger",
"label": " off",
"on_click": "!hyprshutdown --post-cmd \"systemctl poweroff\""
},
{
"type": "button",
"class": "power-btn",
"label": " reboot",
"on_click": "!hyprshutdown --post-cmd \"systemctl reboot\""
},
{
"type": "button",
"class": "power-btn",
"label": " out",
"on_click": "!hyprshutdown"
},
{
"type": "button",
"class": "power-btn",
"label": " sleep",
"on_click": "!loginctl lock-session && systemctl suspend"
},
{
"type": "button",
"class": "power-btn",
"label": " lock",
"on_click": "!hyprlock"
}
]
},
{
"type": "label",
"name": "uptime",
"label": "up {{30000:uptime -p | cut -d ' ' -f2-}}"
}
]
}
],
"tooltip": "Power menu"
}
]
}