mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-05 04:08:03 +00:00
feat(config): add Waybar, Hyprland monitors, update Gitea login
This commit is contained in:
1 parent
fd6b632a0d
commit
89d87579a0
7 files changed
+672
-12
No files matched your search
@@ -0,0 +1,327 @@
|
||||
{
|
||||
"exclusive": true,
|
||||
"reload_style_on_change": true,
|
||||
"position": "bottom",
|
||||
"fixed-center": true,
|
||||
"spacing": 2,
|
||||
"margin-top": 1,
|
||||
"modules-left": [
|
||||
"custom/separator",
|
||||
"custom/omarchy",
|
||||
"custom/separator",
|
||||
"hyprland/workspaces",
|
||||
"custom/separator",
|
||||
"tray",
|
||||
"custom/separator",
|
||||
"custom/voxtype",
|
||||
"custom/update",
|
||||
"custom/screenrecording-indicator",
|
||||
"custom/updatespacman",
|
||||
"custom/separator",
|
||||
"idle_inhibitor"
|
||||
],
|
||||
"modules-center": [
|
||||
"custom/windowpill"
|
||||
],
|
||||
"modules-right": [
|
||||
"group/right-group2",
|
||||
"group/right-group1"
|
||||
],
|
||||
|
||||
"group/right-group1": {
|
||||
"orientation": "vertical",
|
||||
"justify": "left",
|
||||
"align": "left",
|
||||
"modules": [
|
||||
"group/right1"
|
||||
]
|
||||
},
|
||||
|
||||
"group/right-group2": {
|
||||
"orientation": "vertical",
|
||||
"justify": "left",
|
||||
"align": "left",
|
||||
"modules": [
|
||||
"group/right2"
|
||||
]
|
||||
},
|
||||
"group/right1":{
|
||||
"orientation": "horizontal",
|
||||
"modules": ["clock"]
|
||||
},
|
||||
"group/right2":{
|
||||
"orientation": "horizontal",
|
||||
"modules": [
|
||||
"group/tray-expander",
|
||||
]
|
||||
},
|
||||
"hyprland/workspaces": {
|
||||
"on-click": "activate",
|
||||
"cursor": true,
|
||||
"format": "{icon}",
|
||||
"persistent-workspaces": {
|
||||
"1": [],
|
||||
"2": [],
|
||||
"3": [],
|
||||
"4": [],
|
||||
"5": [],
|
||||
"7": [],
|
||||
"8": [],
|
||||
"9": []
|
||||
}
|
||||
},
|
||||
"custom/separator": {
|
||||
"format": "|",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/separator2": {
|
||||
"format": "|",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/separator3": {
|
||||
"format": "|",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/omarchy": {
|
||||
"format": "<span font='omarchy'>\ue900</span>",
|
||||
"on-click": "omarchy-menu",
|
||||
"on-click-right": "xdg-terminal-exec",
|
||||
"tooltip-format": "Omarchy Menu\n\nSuper + Alt + Space"
|
||||
},
|
||||
"custom/update": {
|
||||
"format": "",
|
||||
"exec": "omarchy-update-available",
|
||||
"on-click": "omarchy-launch-floating-terminal-with-presentation omarchy-update",
|
||||
"tooltip-format": "Omarchy update available",
|
||||
"signal": 7,
|
||||
"interval": 21600
|
||||
},
|
||||
"custom/voxtype": {
|
||||
"exec": "omarchy-voxtype-status",
|
||||
"return-type": "json",
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"idle": "",
|
||||
"recording": "",
|
||||
"transcribing": ""
|
||||
},
|
||||
"tooltip": true,
|
||||
"on-click-right": "omarchy-voxtype-config",
|
||||
"on-click": "omarchy-voxtype-model"
|
||||
},
|
||||
"power-profiles-daemon": {
|
||||
"format": "{icon}",
|
||||
"tooltip-format": "Power profile: {profile}\nDriver: {driver}",
|
||||
"tooltip": true,
|
||||
"format-icons": {
|
||||
"performance": "",
|
||||
"balanced": "",
|
||||
"power-saver": ""
|
||||
}
|
||||
},
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
}
|
||||
},
|
||||
"custom/windowpill": {
|
||||
"format": "{}",
|
||||
"exec": "~/.config/waybar/window_pill.py",
|
||||
"return-type": "json",
|
||||
"restart-interval": 1,
|
||||
"align": "center",
|
||||
"justify": "center"
|
||||
},
|
||||
"cpu": {
|
||||
"interval": 10,
|
||||
"format": " {usage}%",
|
||||
"on-click": "omarchy-launch-or-focus-tui btop"
|
||||
},
|
||||
"memory": {
|
||||
"interval": 2,
|
||||
"format": " {used:0.1f}G",
|
||||
"on-click": "omarchy-launch-or-focus-tui btop"
|
||||
},
|
||||
"backlight": {
|
||||
"device": "intel_backlight",
|
||||
"format": "{icon}",
|
||||
"tooltip-format": "{percent}%",
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
},
|
||||
"clock": {
|
||||
"justify": "right",
|
||||
"format": "{:%H:%M\n%d/%m/%Y}",
|
||||
"format-alt": "{:%H:%M - %d/%m/%Y}",
|
||||
"tooltip-format": "<span>{calendar}</span>",
|
||||
"calendar": {
|
||||
"mode": "month",
|
||||
"mode-mon-col": 3,
|
||||
"on-click-right": "mode",
|
||||
"format": {
|
||||
"month": "<span color='#ffead3'><b>{}</b></span>",
|
||||
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
|
||||
"today": "<span color='#ff6699'><b>{}</b></span>",
|
||||
},
|
||||
},
|
||||
"on-click-right": "omarchy-launch-floating-terminal-with-presentation omarchy-tz-select"
|
||||
},
|
||||
"network": {
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"format": "{icon}",
|
||||
"format-wifi": "{icon}",
|
||||
"format-ethernet": "",
|
||||
"format-disconnected": "",
|
||||
"tooltip-format-wifi": "{essid} ({frequency} GHz)\n⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}",
|
||||
"tooltip-format-ethernet": "⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}",
|
||||
"tooltip-format-disconnected": "Disconnected",
|
||||
"interval": 3,
|
||||
"spacing": 1,
|
||||
"on-click": "omarchy-launch-wifi"
|
||||
},
|
||||
"battery": {
|
||||
"format": "{capacity}% {icon}",
|
||||
"format-discharging": "{capacity}% {icon}",
|
||||
"format-charging": "{capacity}% {icon}",
|
||||
"format-plugged": "",
|
||||
"format-icons": {
|
||||
"charging": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"default": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
},
|
||||
"format-full": " {capacity}%",
|
||||
"tooltip-format-discharging": "{timeTo}",
|
||||
"tooltip-format-charging": "{timeTo}",
|
||||
"interval": 5,
|
||||
"on-click": "omarchy-menu power",
|
||||
"on-click-right": "notify-send -u low \"$(omarchy-battery-status)\"",
|
||||
"states": {
|
||||
"warning": 20,
|
||||
"critical": 10
|
||||
}
|
||||
},
|
||||
"bluetooth": {
|
||||
"format": "",
|
||||
"format-disabled": "",
|
||||
"format-connected": "",
|
||||
"tooltip-format": "Devices connected: {num_connections}",
|
||||
"on-click": "omarchy-launch-bluetooth"
|
||||
},
|
||||
"pulseaudio#input": {
|
||||
"format-source": "",
|
||||
"format-source-muted": "",
|
||||
"format": "{format_source}",
|
||||
"tooltip-format": "{format_source} {source_volume}%",
|
||||
"scroll-step": 1,
|
||||
"smooth-scrolling-threshold": 1,
|
||||
"max-volume": 100,
|
||||
"on-click": "omarchy-launch-audio",
|
||||
"on-click-right": "pamixer -t",
|
||||
"on-scroll-up": "pactl set-source-volume @DEFAULT_SOURCE@ +1%",
|
||||
"on-scroll-down": "pactl set-source-volume @DEFAULT_SOURCE@ -1%",
|
||||
},
|
||||
"pulseaudio#output": {
|
||||
"format": "{icon}",
|
||||
"tooltip-format": "{icon} {volume}%",
|
||||
"format-muted": "",
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"default": ["", "", ""]
|
||||
},
|
||||
"max-volume": 100,
|
||||
"scroll-step": 2,
|
||||
"smooth-scrolling-threshold": 1,
|
||||
"on-click": "omarchy-launch-audio",
|
||||
"on-click-right": "pamixer -t"
|
||||
},
|
||||
"custom/updatespacman": {
|
||||
"format": "{}{icon}",
|
||||
"return-type": "json",
|
||||
"format-icons": {
|
||||
"has-updates": " ",
|
||||
"updated": ""
|
||||
},
|
||||
"exec-if": "which waybar-module-pacman-updates",
|
||||
"exec": "waybar-module-pacman-updates --no-zero-output"
|
||||
},
|
||||
"custom/screenrecording-indicator": {
|
||||
"on-click": "omarchy-capture-screenrecording",
|
||||
"exec": "$OMARCHY_PATH/default/waybar/indicators/screen-recording.sh",
|
||||
"signal": 8,
|
||||
"return-type": "json"
|
||||
},
|
||||
"group/tray-expander": {
|
||||
"orientation": "inherit",
|
||||
"drawer": {
|
||||
"transition-duration": 600,
|
||||
"children-class": "tray-group-item"
|
||||
},
|
||||
"modules": [
|
||||
"custom/expand-icon",
|
||||
"backlight",
|
||||
"bluetooth",
|
||||
"pulseaudio#output",
|
||||
"pulseaudio#input",
|
||||
"power-profiles-daemon",
|
||||
"network",
|
||||
"memory",
|
||||
"cpu",
|
||||
"battery"
|
||||
]
|
||||
},
|
||||
"custom/expand-icon": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 12,
|
||||
"spacing": 5,
|
||||
"cursor": true,
|
||||
"show-passive-items": true
|
||||
},
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user