2023-08-28 11:58:46 +00:00
|
|
|
// __ __ _ _
|
|
|
|
// | \/ | ___ __| |_ _| | ___ ___
|
|
|
|
// | |\/| |/ _ \ / _` | | | | |/ _ \/ __|
|
|
|
|
// | | | | (_) | (_| | |_| | | __/\__ \
|
|
|
|
// |_| |_|\___/ \__,_|\__,_|_|\___||___/
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// by Stephan Raabe (2023)
|
|
|
|
// -----------------------------------------------------
|
|
|
|
//
|
|
|
|
{
|
|
|
|
// Workspaces
|
2023-09-05 18:17:41 +00:00
|
|
|
"hyprland/workspaces" : {
|
2023-08-28 11:58:46 +00:00
|
|
|
"on-click": "activate",
|
|
|
|
"active-only": false,
|
|
|
|
"all-outputs": true,
|
2023-09-29 11:08:19 +00:00
|
|
|
"format": "{}",
|
2023-08-28 11:58:46 +00:00
|
|
|
"format-icons": {
|
2023-08-30 12:45:03 +00:00
|
|
|
"urgent": "",
|
|
|
|
"active": "",
|
2023-09-05 18:17:41 +00:00
|
|
|
"default": ""
|
|
|
|
},
|
|
|
|
"persistent_workspaces": {
|
|
|
|
"*": 5
|
|
|
|
}
|
2023-08-28 11:58:46 +00:00
|
|
|
},
|
2023-08-28 12:42:41 +00:00
|
|
|
|
2023-08-31 07:05:39 +00:00
|
|
|
// Taskbar
|
|
|
|
"wlr/taskbar": {
|
|
|
|
"format": "{icon}",
|
2023-09-01 08:25:57 +00:00
|
|
|
"icon-size": 18,
|
2023-08-31 07:05:39 +00:00
|
|
|
"tooltip-format": "{title}",
|
|
|
|
"on-click": "activate",
|
|
|
|
"on-click-middle": "close",
|
|
|
|
"ignore-list": [
|
|
|
|
"Alacritty"
|
|
|
|
],
|
|
|
|
"app_ids-mapping": {
|
|
|
|
"firefoxdeveloperedition": "firefox-developer-edition"
|
|
|
|
},
|
|
|
|
"rewrite": {
|
|
|
|
"Firefox Web Browser": "Firefox",
|
|
|
|
"Foot Server": "Terminal"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2023-08-31 12:10:16 +00:00
|
|
|
// Hyprland Window
|
|
|
|
"hyprland/window": {
|
|
|
|
"rewrite": {
|
|
|
|
"(.*) - Brave": "$1",
|
|
|
|
"(.*) - Chromium": "$1",
|
|
|
|
"(.*) - Brave Search": "$1",
|
|
|
|
"(.*) - Outlook": "$1",
|
|
|
|
"(.*) Microsoft Teams": "$1"
|
|
|
|
},
|
|
|
|
"separate-outputs": true
|
|
|
|
},
|
|
|
|
|
2023-08-28 11:58:46 +00:00
|
|
|
// Youtube Subscriber Count
|
|
|
|
"custom/youtube": {
|
2023-08-28 12:42:41 +00:00
|
|
|
"format": " {}",
|
2023-08-28 11:58:46 +00:00
|
|
|
"exec": "python ~/private/youtube.py",
|
2023-08-31 12:10:16 +00:00
|
|
|
"restart-interval": 600,
|
2023-08-28 12:42:41 +00:00
|
|
|
"on-click": "brave https://studio.youtube.com",
|
|
|
|
"tooltip": false
|
2023-08-28 11:58:46 +00:00
|
|
|
},
|
2023-09-28 18:43:29 +00:00
|
|
|
|
|
|
|
// Cliphist
|
|
|
|
"custom/cliphist": {
|
2023-09-29 11:08:19 +00:00
|
|
|
"format": "",
|
2023-10-02 08:17:11 +00:00
|
|
|
"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",
|
2023-09-29 11:08:19 +00:00
|
|
|
"tooltip": false
|
2023-09-28 18:43:29 +00:00
|
|
|
},
|
2023-08-28 12:42:41 +00:00
|
|
|
|
2023-08-31 09:43:42 +00:00
|
|
|
// Updates Count
|
|
|
|
"custom/updates": {
|
2023-09-10 13:03:00 +00:00
|
|
|
"format": " {}",
|
|
|
|
"tooltip-format": "{}",
|
|
|
|
"escape": true,
|
|
|
|
"return-type": "json",
|
2023-08-31 09:43:42 +00:00
|
|
|
"exec": "~/dotfiles/scripts/updates.sh",
|
2023-09-11 11:43:14 +00:00
|
|
|
"restart-interval": 60,
|
2023-09-10 13:03:00 +00:00
|
|
|
"on-click": "alacritty -e ~/dotfiles/scripts/installupdates.sh",
|
2023-08-31 09:43:42 +00:00
|
|
|
"tooltip": false
|
|
|
|
},
|
2023-10-02 08:17:11 +00:00
|
|
|
|
|
|
|
// Wallpaper
|
|
|
|
"custom/wallpaper": {
|
|
|
|
"format": "",
|
2023-11-10 21:12:15 +00:00
|
|
|
"on-click": "~/dotfiles/hypr/scripts/wallpaper.sh select",
|
|
|
|
"on-click-right": "~/dotfiles/hypr/scripts/wallpaper.sh",
|
2023-10-17 07:01:57 +00:00
|
|
|
"tooltip": false
|
|
|
|
},
|
|
|
|
|
|
|
|
// Waybar Themes
|
|
|
|
"custom/waybarthemes": {
|
2023-10-17 07:42:03 +00:00
|
|
|
"format": "",
|
2023-10-17 07:01:57 +00:00
|
|
|
"on-click": "~/dotfiles/waybar/themeswitcher.sh",
|
2023-10-02 08:17:11 +00:00
|
|
|
"tooltip": false
|
|
|
|
},
|
2023-08-31 09:43:42 +00:00
|
|
|
|
2023-11-10 21:12:15 +00:00
|
|
|
// Keybindings
|
|
|
|
"custom/keybindings": {
|
|
|
|
"format": "",
|
|
|
|
"on-click": "~/dotfiles/hypr/scripts/keybindings.sh",
|
|
|
|
"tooltip": false
|
|
|
|
},
|
|
|
|
|
2023-09-14 12:34:08 +00:00
|
|
|
// Filemanager Launcher
|
|
|
|
"custom/filemanager": {
|
|
|
|
"format": "",
|
2023-11-10 21:12:15 +00:00
|
|
|
"on-click": "thunar",
|
2023-09-14 12:34:08 +00:00
|
|
|
"tooltip": false
|
|
|
|
},
|
|
|
|
|
2023-08-28 11:58:46 +00:00
|
|
|
// Outlook Launcher
|
|
|
|
"custom/outlook": {
|
|
|
|
"format": "",
|
2023-08-28 12:42:41 +00:00
|
|
|
"on-click": "brave --app=https://outlook.office.com/mail/",
|
|
|
|
"tooltip": false
|
2023-08-28 11:58:46 +00:00
|
|
|
},
|
2023-08-28 12:42:41 +00:00
|
|
|
|
2023-08-28 11:58:46 +00:00
|
|
|
// Teams Launcher
|
|
|
|
"custom/teams": {
|
2023-08-30 12:45:03 +00:00
|
|
|
"format": "",
|
2023-08-31 07:05:39 +00:00
|
|
|
"on-click": "chromium --app=https://teams.microsoft.com/go",
|
2023-08-28 12:42:41 +00:00
|
|
|
"tooltip": false
|
2023-08-28 11:58:46 +00:00
|
|
|
},
|
2023-08-28 12:42:41 +00:00
|
|
|
|
2023-08-28 11:58:46 +00:00
|
|
|
// Brave Launcher
|
|
|
|
"custom/brave": {
|
|
|
|
"format": "",
|
2023-08-28 12:42:41 +00:00
|
|
|
"on-click": "brave",
|
|
|
|
"tooltip": false
|
2023-08-28 11:58:46 +00:00
|
|
|
},
|
2023-08-28 12:42:41 +00:00
|
|
|
|
2023-11-10 21:12:15 +00:00
|
|
|
// Browser Launcher
|
|
|
|
"custom/browser": {
|
|
|
|
"format": "",
|
|
|
|
"on-click": "chromium",
|
|
|
|
"tooltip": false
|
|
|
|
},
|
|
|
|
|
2023-08-28 11:58:46 +00:00
|
|
|
// ChatGPT Launcher
|
|
|
|
"custom/chatgpt": {
|
2023-09-14 12:34:08 +00:00
|
|
|
"format": "",
|
2023-08-28 12:42:41 +00:00
|
|
|
"on-click": "brave --app=https://chat.openai.com",
|
|
|
|
"tooltip": false
|
2023-08-28 11:58:46 +00:00
|
|
|
},
|
2023-08-28 12:42:41 +00:00
|
|
|
|
2023-11-10 21:12:15 +00:00
|
|
|
// Calculator
|
2023-08-28 11:58:46 +00:00
|
|
|
"custom/calculator": {
|
|
|
|
"format": "",
|
2023-11-10 21:12:15 +00:00
|
|
|
"on-click": "qalculate-gtk",
|
2023-08-28 12:42:41 +00:00
|
|
|
"tooltip": false
|
2023-08-28 11:58:46 +00:00
|
|
|
},
|
2023-08-28 12:42:41 +00:00
|
|
|
|
2023-09-14 12:34:08 +00:00
|
|
|
// Windows VM
|
|
|
|
"custom/windowsvm": {
|
2023-08-28 11:58:46 +00:00
|
|
|
"format": "",
|
2023-10-04 15:05:17 +00:00
|
|
|
"on-click": "~/dotfiles/scripts/launchvm.sh",
|
2023-08-28 12:42:41 +00:00
|
|
|
"tooltip": false
|
2023-08-28 11:58:46 +00:00
|
|
|
},
|
2023-08-28 12:42:41 +00:00
|
|
|
|
2023-08-28 11:58:46 +00:00
|
|
|
// Rofi Application Launcher
|
|
|
|
"custom/appmenu": {
|
2023-08-30 12:45:03 +00:00
|
|
|
"format": "Apps",
|
2023-11-10 21:12:15 +00:00
|
|
|
"on-click": "rofi -show drun",
|
|
|
|
"on-click-right": "~/dotfiles/hypr/scripts/keybindings.sh",
|
2023-08-28 12:42:41 +00:00
|
|
|
"tooltip": false
|
2023-08-28 11:58:46 +00:00
|
|
|
},
|
2023-11-10 21:12:15 +00:00
|
|
|
|
2023-09-01 06:38:15 +00:00
|
|
|
// Power Menu
|
2023-08-28 11:58:46 +00:00
|
|
|
"custom/exit": {
|
|
|
|
"format": "",
|
2023-08-31 19:45:49 +00:00
|
|
|
"on-click": "wlogout",
|
2023-08-28 12:42:41 +00:00
|
|
|
"tooltip": false
|
2023-08-28 11:58:46 +00:00
|
|
|
},
|
2023-08-28 12:42:41 +00:00
|
|
|
|
2023-08-28 11:58:46 +00:00
|
|
|
// Keyboard State
|
|
|
|
"keyboard-state": {
|
|
|
|
"numlock": true,
|
|
|
|
"capslock": true,
|
|
|
|
"format": "{name} {icon}",
|
|
|
|
"format-icons": {
|
|
|
|
"locked": "",
|
|
|
|
"unlocked": ""
|
|
|
|
}
|
|
|
|
},
|
2023-08-28 12:42:41 +00:00
|
|
|
|
2023-08-28 11:58:46 +00:00
|
|
|
// System tray
|
|
|
|
"tray": {
|
|
|
|
// "icon-size": 21,
|
|
|
|
"spacing": 10
|
|
|
|
},
|
2023-08-28 12:42:41 +00:00
|
|
|
|
2023-08-28 11:58:46 +00:00
|
|
|
// Clock
|
|
|
|
"clock": {
|
|
|
|
// "timezone": "America/New_York",
|
|
|
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
|
|
|
"format-alt": "{:%Y-%m-%d}"
|
|
|
|
},
|
2023-08-28 12:42:41 +00:00
|
|
|
|
2023-08-28 11:58:46 +00:00
|
|
|
// CPU
|
|
|
|
"cpu": {
|
2023-10-03 08:27:30 +00:00
|
|
|
"format": "/ C {usage}% ",
|
|
|
|
"on-click": "alacritty -e htop"
|
2023-08-28 11:58:46 +00:00
|
|
|
},
|
2023-08-28 12:42:41 +00:00
|
|
|
|
2023-08-28 11:58:46 +00:00
|
|
|
// Memory
|
|
|
|
"memory": {
|
2023-10-03 17:49:31 +00:00
|
|
|
"format": "/ M {}% ",
|
2023-10-03 08:27:30 +00:00
|
|
|
"on-click": "alacritty -e htop"
|
2023-08-28 11:58:46 +00:00
|
|
|
},
|
2023-08-28 12:42:41 +00:00
|
|
|
|
2023-08-28 11:58:46 +00:00
|
|
|
// Harddisc space used
|
|
|
|
"disk": {
|
|
|
|
"interval": 30,
|
2023-08-30 12:45:03 +00:00
|
|
|
"format": " {percentage_used}% ",
|
2023-10-03 08:27:30 +00:00
|
|
|
"path": "/",
|
|
|
|
"on-click": "alacritty -e htop"
|
2023-08-28 11:58:46 +00:00
|
|
|
},
|
2023-09-01 06:38:15 +00:00
|
|
|
|
|
|
|
// Network
|
|
|
|
"network": {
|
|
|
|
"format": "{ifname}",
|
2023-09-01 07:08:39 +00:00
|
|
|
"format-wifi": " {signalStrength}%",
|
|
|
|
"format-ethernet": " {ipaddr}",
|
2023-11-10 21:12:15 +00:00
|
|
|
"format-disconnected": "Not connected", //An empty format will hide the module.
|
2023-09-01 06:38:15 +00:00
|
|
|
"tooltip-format": " {ifname} via {gwaddri}",
|
2023-09-01 06:59:52 +00:00
|
|
|
"tooltip-format-wifi": " {essid} ({signalStrength}%)",
|
2023-09-01 07:08:39 +00:00
|
|
|
"tooltip-format-ethernet": " {ifname} ({ipaddr}/{cidr})",
|
2023-09-01 06:38:15 +00:00
|
|
|
"tooltip-format-disconnected": "Disconnected",
|
2023-11-10 21:12:15 +00:00
|
|
|
"max-length": 50,
|
|
|
|
"on-click": "alacritty -e nmtui"
|
2023-09-01 06:38:15 +00:00
|
|
|
},
|
2023-08-28 12:42:41 +00:00
|
|
|
|
2023-08-28 11:58:46 +00:00
|
|
|
// Battery
|
|
|
|
"battery": {
|
|
|
|
"states": {
|
|
|
|
// "good": 95,
|
|
|
|
"warning": 30,
|
|
|
|
"critical": 15
|
|
|
|
},
|
2023-08-31 19:45:49 +00:00
|
|
|
"format": "{icon} {capacity}%",
|
2023-08-31 12:27:16 +00:00
|
|
|
"format-charging": " {capacity}%",
|
|
|
|
"format-plugged": " {capacity}%",
|
2023-08-31 19:45:49 +00:00
|
|
|
"format-alt": "{icon} {time}",
|
2023-08-28 11:58:46 +00:00
|
|
|
// "format-good": "", // An empty format will hide the module
|
|
|
|
// "format-full": "",
|
2023-08-31 12:32:36 +00:00
|
|
|
"format-icons": [" ", " ", " ", " ", " "]
|
2023-08-28 11:58:46 +00:00
|
|
|
},
|
2023-08-28 12:42:41 +00:00
|
|
|
|
2023-08-28 11:58:46 +00:00
|
|
|
// 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"
|
2023-08-28 12:42:41 +00:00
|
|
|
},
|
|
|
|
|
2023-08-31 14:00:02 +00:00
|
|
|
// Bluetooth
|
|
|
|
"bluetooth": {
|
|
|
|
"format-disabled": "",
|
|
|
|
"format-off": "",
|
|
|
|
"interval": 30,
|
|
|
|
"on-click": "blueman-manager"
|
|
|
|
},
|
|
|
|
|
|
|
|
// Other
|
2023-08-28 12:42:41 +00:00
|
|
|
"user": {
|
|
|
|
"format": "{user}",
|
|
|
|
"interval": 60,
|
|
|
|
"icon": false,
|
2023-08-28 11:58:46 +00:00
|
|
|
}
|
|
|
|
}
|