2025-05-22 17:56:05 -05:00

380 lines
9.0 KiB
JSON

// __ __ _ _
// | \/ | ___ __| |_ _| | ___ ___
// | |\/| |/ _ \ / _` | | | | |/ _ \/ __|
// | | | | (_) | (_| | |_| | | __/\__ \
// |_| |_|\___/ \__,_|\__,_|_|\___||___/
//
//
{
// Workspaces
"hyprland/workspaces": {
"on-scroll-up": "hyprctl dispatch workspace r-1",
"on-scroll-down": "hyprctl dispatch workspace r+1",
"on-click": "activate",
"active-only": false,
"all-outputs": true,
"format": "{}",
"format-icons": {
"urgent": "",
"active": "",
"default": ""
},
"persistent-workspaces": {
"*": 5
}
},
// Taskbar
"wlr/taskbar": {
"format": "{icon}",
"icon-size": 18,
"tooltip-format": "{title}",
"on-click": "activate",
"on-click-middle": "close",
"ignore-list": ["Alacritty", "kitty"],
"app_ids-mapping": {
"firefoxdeveloperedition": "firefox-developer-edition"
},
"rewrite": {
"Firefox Web Browser": "Firefox",
"Foot Server": "Terminal"
}
},
// Hyprland Window
"hyprland/window": {
"rewrite": {
"(.*) - Brave": "$1",
"(.*) - Chromium": "$1",
"(.*) - Brave Search": "$1",
"(.*) - Outlook": "$1",
"(.*) Microsoft Teams": "$1"
},
"separate-outputs": true
},
// Empty
"custom/empty": {
"format": ""
},
// Tools
"custom/tools": {
"format": "",
"tooltip-format": "Tools"
},
// Cliphist
"custom/cliphist": {
"format": "",
"on-click": "sleep 0.1 && ~/.config/ml4w/scripts/cliphist.sh",
"on-click-right": "sleep 0.1 && ~/.config/ml4w/scripts/cliphist.sh d",
"on-click-middle": "sleep 0.1 && ~/.config/ml4w/scripts/cliphist.sh w",
"tooltip-format": "Left: Open clipboard Manager\nRight: Delete an entry\nMiddle: Clear list"
},
// Updates Count
"custom/updates": {
"format": " {}",
"escape": true,
"return-type": "json",
"exec": "~/.config/ml4w/scripts/updates.sh",
"interval": 1800,
"on-click": "$(cat ~/.config/ml4w/settings/terminal.sh) --class dotfiles-floating -e ~/.config/ml4w/scripts/installupdates.sh",
"on-click-right": "~/.config/ml4w/settings/software.sh"
},
// Wallpaper
"custom/wallpaper": {
"format": "",
"on-click": "bash -c waypaper &",
"on-click-right": "~/.config/hypr/scripts/wallpaper-effects.sh",
"tooltip-format": "Left: Select a wallpaper\nRight: Select wallpaper effect"
},
// Waybar Themes
"custom/waybarthemes": {
"format": "",
"on-click": "~/.config/waybar/themeswitcher.sh",
"tooltip-format": "Select a waybar theme"
},
// Settings
"custom/settings": {
"format": "",
"on-click": "sleep 0.1 && com.ml4w.dotfilessettings",
"tooltip-format": "ML4W Dotfiles Settings"
},
// Keybindings
"custom/keybindings": {
"format": "",
"on-click": "~/.config/hypr/scripts/keybindings.sh",
"tooltip": false
},
// ChatGPT Launcher
"custom/chatgpt": {
"format": " ",
"on-click": "~/.config/ml4w/settings/ai.sh",
"tooltip-format": "AI Support"
},
// Calculator
"custom/calculator": {
"format": "",
"on-click": "qalculate-gtk",
"tooltip-format": "Open calculator"
},
// Windows VM
"custom/windowsvm": {
"format": "",
"on-click": "~/.config/ml4w/scripts/launchvm.sh",
"tooltip": false
},
// Rofi Application Launcher
"custom/appmenu": {
// START APPS LABEL
"format": "Apps",
// END APPS LABEL
"on-click": "sleep 0.2;pkill rofi || rofi -show drun -replace",
"on-click-right": "~/.config/hypr/scripts/keybindings.sh",
"tooltip-format": "Left: Open the application launcher\nRight: Show all keybindings"
},
// Rofi Application Launcher
"custom/appmenuicon": {
"format": "",
"on-click": "sleep 0.2;rofi -show drun -replace",
"on-click-right": "~/.config/hypr/scripts/keybindings.sh",
"tooltip-format": "Left: Open the application launcher\nRight: Show all keybindings"
},
// Power Menu
"custom/exit": {
"format": "",
"on-click": "~/.config/ml4w/scripts/wlogout.sh",
"on-click-right": "hyprlock",
"tooltip-format": "Left: Power menu\nRight: Lock screen"
},
// Hyprshade
"custom/hyprshade": {
"format": "",
"tooltip-format": "Toggle Screen Shader",
"on-click": "sleep 0.5; ~/.config/hypr/scripts/hyprshade.sh",
"on-click-right": "sleep 0.5; ~/.config/hypr/scripts/hyprshade.sh rofi"
},
// Hypridle inhibitor
"custom/hypridle": {
"format": "",
"return-type": "json",
"escape": true,
"exec-on-event": true,
"interval": 60,
"exec": "~/.config/hypr/scripts/hypridle.sh status",
"on-click": "~/.config/hypr/scripts/hypridle.sh toggle"
},
// Keyboard State
"keyboard-state": {
"numlock": true,
"capslock": true,
"format": "{name} {icon}",
"format-icons": {
"locked": "",
"unlocked": ""
}
},
// System tray
"tray": {
"icon-size": 21,
"spacing": 10
},
// Clock
"clock": {
"format": "{:%H:%M %a}",
"on-click": "ags toggle calendar",
"timezone": "",
"tooltip": false
},
// System
"custom/system": {
"format": "",
"tooltip": false
},
// CPU
"cpu": {
"format": "/ C {usage}% ",
"on-click": "~/.config/ml4w/settings/system-monitor.sh"
},
// Memory
"memory": {
"format": "/ M {}% ",
"on-click": "~/.config/ml4w/settings/system-monitor.sh"
},
// Harddisc space used
"disk": {
"interval": 30,
"format": "D {percentage_used}% ",
"path": "/",
"on-click": "~/.config/ml4w/settings/system-monitor.sh"
},
"hyprland/language": {
"format": "/ K {short}"
},
// Group Hardware
"group/hardware": {
"orientation": "inherit",
"drawer": {
"transition-duration": 300,
"children-class": "not-memory",
"transition-left-to-right": false
},
"modules": ["custom/system", "disk", "cpu", "memory", "hyprland/language"]
},
// Group Tools
"group/tools": {
"orientation": "inherit",
"drawer": {
"transition-duration": 300,
"children-class": "not-memory",
"transition-left-to-right": false
},
"modules": [
"custom/tools",
"custom/cliphist",
"custom/hypridle",
"custom/hyprshade"
]
},
// Group Links
"group/links": {
"orientation": "horizontal",
"modules": [
"custom/chatgpt",
"custom/empty"
]
},
// Group Settings
"group/settings": {
"orientation": "inherit",
"drawer": {
"transition-duration": 300,
"children-class": "not-memory",
"transition-left-to-right": true
},
"modules": [
"custom/settings",
"custom/waybarthemes",
"custom/wallpaper"
]
},
// Network
"network": {
"format": "{ifname}",
"format-wifi": " {essid} ({signalStrength}%)",
"format-ethernet": " {ifname}",
"format-disconnected": "Disconnected ⚠",
"tooltip-format": " {ifname} via {gwaddri}",
"tooltip-format-wifi": " {ifname} @ {essid}\nIP: {ipaddr}\nStrength: {signalStrength}%\nFreq: {frequency}MHz\nUp: {bandwidthUpBits} Down: {bandwidthDownBits}",
"tooltip-format-ethernet": " {ifname}\nIP: {ipaddr}\n up: {bandwidthUpBits} down: {bandwidthDownBits}",
"tooltip-format-disconnected": "Disconnected",
"max-length": 50,
"on-click": "~/.config/ml4w/settings/networkmanager.sh",
"on-click-right": "~/.config/ml4w/scripts/nm-applet.sh toggle",
},
// Battery
"battery": {
"states": {
// "good": 95,
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"format-charging": " {capacity}%",
"format-plugged": " {capacity}%",
"format-alt": "{icon} {time}",
// "format-good": "", // An empty format will hide the module
// "format-full": "",
"format-icons": [" ", " ", " ", " ", " "]
},
// Pulseaudio
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
"format": "{icon} {volume}%",
"format-bluetooth": "{volume}% {icon} {format_source}",
"format-bluetooth-muted": " {icon} {format_source}",
"format-muted": " {format_source}",
"format-source": "{volume}% ",
"format-source-muted": "",
"format-icons": {
"headphone": " ",
"hands-free": " ",
"headset": " ",
"phone": " ",
"portable": " ",
"car": " ",
"default": ["", "", ""]
},
"on-click": "pavucontrol"
},
// Bluetooth
"bluetooth": {
"format": " {status}",
"format-disabled": "",
"format-off": "",
"interval": 30,
"on-click": "blueman-manager",
"format-no-controller": ""
},
// Other
"user": {
"format": "{user}",
"interval": 60,
"icon": false
},
// backlight:
"backlight": {
"format": "{icon} {percent}%",
"format-icons": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"scroll-step": 1
}
}