Hyprland-dotfiles/waybar/themes/ml4w-blur-custom/modules.json

488 lines
13 KiB
JSON
Raw Normal View History

2024-05-26 18:22:25 -04:00
// __ __ _ _
// | \/ | ___ __| |_ _| | ___ ___
// | |\/| |/ _ \ / _` | | | | |/ _ \/ __|
// | | | | (_) | (_| | |_| | | __/\__ \
// |_| |_|\___/ \__,_|\__,_|_|\___||___/
//
//
// by Stephan Raabe (2023)
// -----------------------------------------------------
2024-04-03 13:25:27 -04:00
//
{
// Workspaces
"hyprland/workspaces" : {
"on-click": "activate",
"active-only": false,
"all-outputs": true,
"format": "{}",
"format-icons": {
"urgent": "",
"active": "",
"default": ""
},
"persistent-workspaces": {
// START WORKSPACES
"*": 3
// END WORKSPACES
2024-05-26 18:22:25 -04:00
}
2024-04-03 13:25:27 -04:00
},
// Taskbar
"wlr/taskbar": {
"format": "{icon}",
2024-05-26 18:22:25 -04:00
"icon-size": 16,
2024-04-03 13:25:27 -04:00
"tooltip-format": "{title}",
"on-click": "activate",
"on-click-middle": "close",
"ignore-list": [
2024-05-23 03:18:10 -04:00
"Alacritty",
2024-05-26 01:44:50 -04:00
"kitty-dropterm"
2024-04-03 13:25:27 -04:00
],
"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",
2024-05-26 18:22:25 -04:00
"(.*) Microsoft Teams": "$1",
"(.*) - Google Chrome": "$1",
"(.*) - Visual Studio Code": "$1"
2024-04-03 13:25:27 -04:00
},
"separate-outputs": true
},
// ML4W Welcome App
"custom/ml4w-welcome": {
"on-click": "~/dotfiles/apps/ML4W_Welcome-x86_64.AppImage",
"format": " ",
"tooltip": false
},
// Empty
"custom/empty": {
"format": ""
},
// Youtube Subscriber Count
"custom/youtube": {
"format": " {}",
"exec": "python ~/private/youtube.py",
"restart-interval": 600,
"on-click": "chromium https://studio.youtube.com",
"tooltip": false
},
2024-05-26 18:22:25 -04:00
2024-04-03 13:25:27 -04:00
// Cliphist
"custom/cliphist": {
"format": "",
"on-click": "sleep 0.1 && ~/dotfiles/scripts/cliphist.sh",
"on-click-right": "sleep 0.1 && ~/dotfiles/scripts/cliphist.sh d",
"on-click-middle": "sleep 0.1 && ~/dotfiles/scripts/cliphist.sh w",
"tooltip": false
},
// Updates Count
"custom/updates": {
2024-05-26 18:22:25 -04:00
"format": " {}",
2024-04-03 13:25:27 -04:00
"tooltip-format": "{}",
"escape": true,
2024-05-26 18:22:25 -04:00
"return-type": "json",
2024-04-03 13:25:27 -04:00
"exec": "~/dotfiles/scripts/updates.sh",
"restart-interval": 60,
"on-click": "alacritty --class dotfiles-floating -e ~/dotfiles/scripts/installupdates.sh",
"on-click-right": "~/dotfiles/.settings/software.sh",
"tooltip": false
},
2024-05-26 18:22:25 -04:00
2024-04-03 13:25:27 -04:00
// Wallpaper
"custom/wallpaper": {
"format": "",
"on-click": "~/dotfiles/hypr/scripts/wallpaper.sh select",
"on-click-right": "~/dotfiles/hypr/scripts/wallpaper.sh",
"tooltip": false
},
// Waybar Themes
"custom/waybarthemes": {
"format": "",
"on-click": "~/dotfiles/waybar/themeswitcher.sh",
"tooltip": false
},
2024-05-26 18:22:25 -04:00
2024-04-03 13:25:27 -04:00
// Settings
"custom/settings": {
"format": "",
"on-click": "~/dotfiles/apps/ML4W_Dotfiles_Settings-x86_64.AppImage",
"tooltip": false
},
// Keybindings
"custom/keybindings": {
"format": "",
"on-click": "~/dotfiles/hypr/scripts/keybindings.sh",
"tooltip": false
},
// Filemanager Launcher
"custom/filemanager": {
"format": "",
"on-click": "~/dotfiles/.settings/filemanager.sh",
"tooltip": false
},
// Outlook Launcher
"custom/outlook": {
"format": "",
"on-click": "chromium --app=https://outlook.office.com/mail/",
"tooltip": false
},
// Teams Launcher
"custom/teams": {
"format": "",
"on-click": "chromium --app=https://teams.microsoft.com/go",
"tooltip": false
},
// Browser Launcher
"custom/browser": {
"format": "",
"on-click": "~/dotfiles/.settings/browser.sh",
"tooltip": false
2024-05-26 18:22:25 -04:00
},
2024-04-03 13:25:27 -04:00
// ChatGPT Launcher
"custom/chatgpt": {
"format": " ",
"on-click": "chromium --app=https://chat.openai.com",
"tooltip": false
},
// Calculator
"custom/calculator": {
"format": "",
"on-click": "qalculate-gtk",
"tooltip": false
},
// Windows VM
"custom/windowsvm": {
"format": "",
"on-click": "~/dotfiles/scripts/launchvm.sh",
"tooltip": false
},
// Rofi Application Launcher
"custom/appmenu": {
// START APPS LABEL
"format": "Apps",
// END APPS LABEL
"on-click": "sleep 0.2;rofi -show drun -replace",
"on-click-right": "~/dotfiles/hypr/scripts/keybindings.sh",
"tooltip": false
},
// Rofi Application Launcher
"custom/appmenuicon": {
"format": "",
"on-click": "rofi -show drun -replace",
"on-click-right": "~/dotfiles/hypr/scripts/keybindings.sh",
"tooltip": false
2024-05-26 18:22:25 -04:00
},
2024-04-03 13:25:27 -04:00
// Power Menu
"custom/exit": {
"format": "",
"on-click": "wlogout",
"tooltip": false
},
// Keyboard State
"keyboard-state": {
"numlock": true,
"capslock": true,
"format": "{name} {icon}",
"format-icons": {
"locked": "",
"unlocked": ""
}
},
2024-05-26 00:50:57 -04:00
"group/tray": {
"orientation": "inherit",
"drawer": {
"transition-duration": 300,
"children-class": "not-memory",
"transition-left-to-right": false
},
"modules": [
"tray"
]
},
2024-04-03 13:25:27 -04:00
// System tray
"tray": {
2024-05-26 18:22:25 -04:00
"icon-size": 16,
"spacing": 8,
2024-04-05 02:59:46 -04:00
"verse-direction": true
2024-04-03 13:25:27 -04:00
},
// Clock
"clock": {
2024-05-26 18:22:25 -04:00
"calendar": {
"mode" : "year",
"mode-mon-col" : 3,
"weeks-pos" : "right",
"on-scroll" : 1,
"format": {
"months": "<span color='#ffead3'><b>{}</b></span>",
"days": "<span color='#ecc6d9'><b>{}</b></span>",
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
}
},
2024-04-03 13:25:27 -04:00
// TIMEDATEFORMAT
2024-05-26 18:22:25 -04:00
"format": "{:%B %d %H:%M %a}",
2024-04-03 13:25:27 -04:00
// "timezone": "America/New_York",
2024-05-26 18:22:25 -04:00
"tooltip-format": "<big>{:%Y %B %d}</big>\n<tt><small>{calendar}</small></tt>",
2024-04-03 13:25:27 -04:00
// START CLOCK FORMAT
"format-alt": "{:%Y-%m-%d}"
// END CLOCK FORMAT
},
2024-05-26 02:54:26 -04:00
// spacer
"custom/spacer": {
"format": " ",
"tooltip": false
},
// div
"custom/div": {
2024-05-26 18:22:25 -04:00
"format": "",
2024-04-03 13:25:27 -04:00
"tooltip": false
},
// CPU
"cpu": {
2024-05-26 18:22:25 -04:00
"format": "󰒇 {usage}%",
"on-click": "alacritty -e htop",
"interval": 5,
"states": {
"warning": 50,
"critical": 90
}
2024-04-03 13:25:27 -04:00
},
2024-05-26 18:22:25 -04:00
// "cpu#bar": {
// "format": "{icon}",
// "format-icons":[
// "▏ ","▎ ","▍ ","▌ ","▋ ","▊ ","▉ ","█ ","█▏","█▎","█▍","█▌","█▋","█▊","█▉","██"
// ]
// },
2024-04-03 13:25:27 -04:00
// Memory
"memory": {
2024-05-26 18:22:25 -04:00
"format": " {used:0.1f}G",
"on-click": "alacritty -e htop",
"interval": 10,
"states": {
"warning": 50,
"critical": 80
}
2024-04-03 13:25:27 -04:00
},
// Harddisc space used
"disk": {
"interval": 30,
"format": "D {percentage_used}% ",
"path": "/",
"on-click": "alacritty -e htop"
2024-05-26 18:22:25 -04:00
},
2024-04-03 13:25:27 -04:00
"hyprland/language": {
"format": "/ K {short}"
},
// Group Hardware
"group/hardware": {
"orientation": "inherit",
"modules": [
2024-05-26 18:22:25 -04:00
"network#speed",
"custom/div",
2024-04-03 13:25:27 -04:00
"cpu",
2024-05-26 18:22:25 -04:00
"custom/div",
"memory"
]
},
"group/hardware2": {
"orientation": "inherit",
"modules": [
"pulseaudio",
"custom/div",
2024-05-26 00:50:57 -04:00
"network"
2024-05-26 18:22:25 -04:00
// "custom/div",
// "battery",
// "battery#charging"
]
},
// Group system settings
"group/systems": {
"orientation": "inherit",
"modules": [
// "user",
"clock"
2024-04-03 13:25:27 -04:00
]
},
2024-05-26 18:22:25 -04:00
"group/power": {
"orientation": "inherit",
"drawer": {
"transition-duration": 300,
"children-class": "not-memory",
"transition-left-to-right": false
},
"modules": [
"custom/exit",
"idle_inhibitor"
]
},
2024-04-03 13:25:27 -04:00
// Group Settings
"group/settings": {
"orientation": "horizontal",
"modules": [
// START CHATGPT TOOGLE
"custom/chatgpt",
// END CHATGPT TOOGLE
"custom/settings",
"custom/waybarthemes",
"custom/wallpaper"
]
},
// Group Quicklinks
"group/quicklinks": {
"orientation": "horizontal",
"modules": [
"custom/browser",
"custom/filemanager",
]
},
// Network
"network": {
"format": "{ifname}",
2024-05-26 18:22:25 -04:00
"format-wifi": "{icon} {signalStrength}%",
"format-ethernet": " wired",
"format-disconnected": "󰌙",
2024-04-03 13:25:27 -04:00
"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,
2024-04-09 14:16:04 -04:00
"on-click": "~/dotfiles/.settings/networkmanager.sh",
"format-icons": ["󰤯","󰤟","󰤢","󰤥","󰤨"]
2024-04-03 13:25:27 -04:00
},
2024-05-26 18:22:25 -04:00
"network#speed": {
"format": " {bandwidthTotalBits}",
"interval": 5
},
2024-04-03 13:25:27 -04:00
// Battery
"battery": {
"states": {
// "good": 95,
"warning": 30,
"critical": 15
},
2024-05-26 18:47:31 -04:00
"format": "{icon} {capacity}%",
2024-04-04 04:42:52 -04:00
"format-charging": "",
2024-04-03 13:25:27 -04:00
"format-plugged": " {capacity}%",
"format-alt": "{icon} {time}",
// "format-good": "", // An empty format will hide the module
2024-04-04 04:42:52 -04:00
"format-full": "󱟢 {capacity}%",
//"format-icons": {
// "Charging": ["󰢟","󰢜","󰂆","󰂇","󰂈","󰢝","󰂉","󰢞","󰂊","󰂋","󰂅"],
// "default": ["󱃍","󰁺","󰁻","󰁼","󰁽","󰁾","󰁿","󰂀","󰂁","󰂂","󰁹"]
//}
"format-icons": ["󱃍","󰁺","󰁻","󰁼","󰁽","󰁾","󰁿","󰂀","󰂁","󰂂","󰁹"]
},
"battery#charging": {
"states": {
// "good": 95,
"warning": 30,
"critical": 15
},
"format": "",
2024-05-26 18:47:31 -04:00
"format-charging": "{icon} {capacity}%",
2024-04-04 04:42:52 -04:00
// "format-good": "", // An empty format will hide the module
//"format-icons": {
// "Charging": ["󰢟","󰢜","󰂆","󰂇","󰂈","󰢝","󰂉","󰢞","󰂊","󰂋","󰂅"],
// "default": ["󱃍","󰁺","󰁻","󰁼","󰁽","󰁾","󰁿","󰂀","󰂁","󰂂","󰁹"]
//}
"format-icons": ["󰢟","󰢜","󰂆","󰂇","󰂈","󰢝","󰂉","󰢞","󰂊","󰂋","󰂅"]
2024-04-03 13:25:27 -04:00
},
// Pulseaudio
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
2024-05-26 18:22:25 -04:00
"format": "{icon} {volume}%",
2024-04-04 02:29:48 -04:00
"format-bluetooth": "{icon} {format_source}",
2024-04-03 13:25:27 -04:00
"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,
},
// Idle Inhibator
"idle_inhibitor": {
"format": "{icon}",
"tooltip": true,
"format-icons":{
"activated": "",
"deactivated": ""
},
2024-05-26 18:22:25 -04:00
"on-click-right": "hyprlock"
2024-04-03 13:25:27 -04:00
}
}