hyprland config

This commit is contained in:
thatscringebro
2023-09-21 18:37:25 -04:00
parent fd3d6567dc
commit 98f7bd2701
62 changed files with 2843 additions and 0 deletions

163
hyprland/waybar/config Normal file
View File

@@ -0,0 +1,163 @@
{
"layer": "top",
"exclusive": true,
"passthrough": false,
"position": "bottom",
"spacing": 3,
"fixed-center": true,
"ipc": true,
"margin-top": 6,
"margin-left": 8,
"margin-right": 8,
"modules-left": [
"hyprland/workspaces",
"custom/separator",
"cpu",
"memory",
"disk"
],
"modules-center": [
"clock",
"custom/lock"
],
"modules-right": [
"tray",
"network",
"pulseaudio",
"pulseaudio#microphone",
"custom/power"
],
"hyprland/window": {
"format": "{}"
},
"hyprland/workspaces": {
"format": "{name}",
},
"cpu": {
"interval": 10,
"format": " {usage}%",
"max-length": 10,
"on-click": ""
},
"memory": {
"interval": 30,
"format": " {}%",
"on-click": "killall btop || kitty --title btop sh -c 'btop'",
"max-length": 50
},
"disk": {
"format": " {percentage_used}%",
"tooltip": true,
"interval": 30
},
"custom/separator": {
"format": ""
},
"tray": {
"icon-size": 14,
"tooltip": false,
"spacing": 10
},
"battery": {
"interval": 5,
"states": {
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"format-charging": "󰂄 {capacity}%",
"format-plugged": "󰂄 {capacity}%",
"format-icons": [
"󰁺",
"󰁻",
"󰁼",
"󰁽",
"󰁾",
"󰁿",
"󰂀",
"󰂁",
"󰂂",
"󰁹"
]
},
"backlight": {
"device": "intel_backlight",
"format": "{icon} {percent}%",
"format-icons": [
"󰃚",
"󰃛",
"󰃜",
"󰃝",
"󰃝",
"󰃞",
"󰃟",
"󰃠"
],
"scroll-step": 5
},
"pulseaudio": {
"format": "{icon} {volume}%",
"tooltip": false,
"format-muted": "󰖁 Mute",
"on-click-right": "pamixer -t",
"on-click": "killall pavucontrol || pavucontrol",
"on-scroll-up": "pamixer -i 5",
"on-scroll-down": "pamixer -d 5",
"scroll-step": 5,
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": [
"",
"",
"󰕾",
""
]
}
},
"pulseaudio#microphone": {
"format": "{format_source}",
"format-source": " {volume} %",
"format-source-muted": "",
"on-click": "~/.config/hypr/scripts/Volume.sh --toggle-mic",
"on-click-right": "pavucontrol",
"on-scroll-up": "~/.config/hypr/scripts/Volume.sh --mic-inc",
"on-scroll-down": "~/.config/hypr/scripts/Volume.sh --mic-dec",
"scroll-step": 5,
},
"network": {
"format": "{ifname}",
"format-wifi": " {signalStrength}%",
"format-ethernet": "󰈀 ",
"format-disconnected": "󰈂 Disconnected",
"tooltip-format": "{ifname} via {gwaddr} ",
"tooltip-format-wifi": "{essid} ({signalStrength}%) ",
"tooltip-format-ethernet": "{ifname} | {ipaddr}/{cidr} ",
"tooltip-format-disconnected": "Disconnected",
"on-click": "killall nm-connection-editor || nm-connection-editor ",
"max-length": 50
},
"hyprland/language": {
"format": " {}",
"format-en": "en-us",
"format-pt": "pt-br"
},
"clock": {
"format": "{:<span color='#ffffff'>󱑒</span> %I:%M %p <span color='#ffffff'> </span>%b %d}"
},
"custom/lock": {
"format": "",
"on-click": "~/.config/hypr/scripts/LockScreen.sh",
"tooltip": false,
},
"custom/power": {
"format": "  ",
"tooltip": false,
"on-click": "sh -c '(sleep 0.5s; wlogout --protocol layer-shell)' & disown"
}
}