Add hyprland configs
This commit is contained in:
@@ -0,0 +1,342 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"modules-left": [
|
||||
"disk",
|
||||
"memory",
|
||||
"cpu",
|
||||
"custom/temp",
|
||||
"custom/tempG",
|
||||
],
|
||||
"modules-center": [
|
||||
"hyprland/workspaces",
|
||||
"mpd"
|
||||
],
|
||||
"modules-right": [
|
||||
"idle_inhibitor",
|
||||
"bluetooth",
|
||||
"group/audio",
|
||||
"group/networking",
|
||||
"clock",
|
||||
],
|
||||
"reload_style_on_change": true,
|
||||
"custom/logo": {
|
||||
"format": " ",
|
||||
"tooltip": false,
|
||||
"on-click": "~/.config/rofi/scripts/powermenu.sh"
|
||||
},
|
||||
"custom/temp": {
|
||||
"exec": "/home/chips/.cargo/bin/hmon cpu",
|
||||
"format": "C {}°",
|
||||
"interval" : 5,
|
||||
},
|
||||
"custom/tempG": {
|
||||
"exec": "/home/chips/.cargo/bin/hmon gpu",
|
||||
"format": "G {}°",
|
||||
"interval" : 5,
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%I:%M:%S %p}",
|
||||
"interval": 1,
|
||||
"tooltip-format": "\n<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||
"calendar-weeks-pos": "right",
|
||||
"today-format": "<span color='#7645AD'><b><u>{}</u></b></span>",
|
||||
"format-calendar": "<span color='#aeaeae'><b>{}</b></span>",
|
||||
"format-calendar-weeks": "<span color='#aeaeae'><b>W{:%V}</b></span>",
|
||||
"format-calendar-weekdays": "<span color='#aeaeae'><b>{}</b></span>"
|
||||
},
|
||||
"hyprland/language": {
|
||||
"format": "Lang: {long}",
|
||||
"format-en": "AMERICA, HELL YEAH!",
|
||||
"format-tr": "As bayrakları",
|
||||
"keyboard-name": "at-translated-set-2-keyboard"
|
||||
},
|
||||
"disk": {
|
||||
"interval": 30,
|
||||
"format": " {percentage_used}%",
|
||||
"path": "/"
|
||||
},
|
||||
"memory": {
|
||||
"format": " {percentage}%"
|
||||
},
|
||||
"cpu": {
|
||||
"interval": 1,
|
||||
"format": " {usage}%",
|
||||
"format-icons": [
|
||||
"▁",
|
||||
"▂",
|
||||
"▃",
|
||||
"▄",
|
||||
"▅",
|
||||
"▆",
|
||||
"▇",
|
||||
"█"
|
||||
],
|
||||
},
|
||||
"temperature": {
|
||||
"format": " {temperatureC}°C",
|
||||
"format-critical": " {temperatureC}°C",
|
||||
"interval": 1,
|
||||
"critical-threshold": 80,
|
||||
"on-click": "foot btop",
|
||||
},
|
||||
"custom/powerDraw": {
|
||||
"format": "{}",
|
||||
"interval": 1,
|
||||
"exec": "~/.config/waybar/scripts/powerdraw.sh",
|
||||
"return-type": "json"
|
||||
},
|
||||
"hyprland/workspaces": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"1": "१",
|
||||
"2": "२",
|
||||
"3": "३",
|
||||
"4": "४",
|
||||
"5": "५",
|
||||
"6": "६",
|
||||
"7": "७",
|
||||
"8": "८",
|
||||
"9": "९",
|
||||
"10": "१०",
|
||||
"active": "",
|
||||
"default": ""
|
||||
},
|
||||
},
|
||||
"hyprland/window": {
|
||||
"format": "( {class} )",
|
||||
"rewrite": {
|
||||
"(.*) - Mozilla Firefox": "🌎 $1",
|
||||
"org.telegram.desktop": "> [$1]",
|
||||
"org.gnome.Nautilus": "> [$1]",
|
||||
"(.*) - zsh": "> [$1]"
|
||||
}
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 10,
|
||||
"spacing": 20
|
||||
},
|
||||
"custom/updates": {
|
||||
"format": "{}",
|
||||
"interval": 60,
|
||||
"exec": "~/.config/waybar/scripts/checkupdate.sh",
|
||||
"return-type": "json",
|
||||
"exec-if": "exit 0",
|
||||
},
|
||||
"custom/clipboard": {
|
||||
// "exec": "echo ''",
|
||||
"interval": 5,
|
||||
"tooltip": true,
|
||||
// "tooltip-format": "{output}",
|
||||
// "exec-tooltip": "sh -c cliphist list | head -n 5",
|
||||
"on-click": "sh -c 'cliphist list | rofi -dmenu | cliphist decode | wl-copy'"
|
||||
},
|
||||
"group/blight": {
|
||||
"orientation": "horizontal",
|
||||
"drawer": {
|
||||
"transition-duration": 500,
|
||||
"transition-left-to-right": false
|
||||
},
|
||||
"modules": [
|
||||
"backlight",
|
||||
"backlight/slider"
|
||||
]
|
||||
},
|
||||
"backlight": {
|
||||
"device": "intel_backlight",
|
||||
"format": "<span font='12'>{icon}</span>",
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
],
|
||||
"on-scroll-down": "light -U 10",
|
||||
"on-scroll-up": "light -A 10",
|
||||
"smooth-scrolling-threshold": 1
|
||||
},
|
||||
"backlight/slider": {
|
||||
"min": 0,
|
||||
"max": 100,
|
||||
"orientation": "horizontal",
|
||||
"device": "intel_backlight"
|
||||
},
|
||||
"idle_inhibitor": {
|
||||
"format": "<span font='12'>{icon}</span>",
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
}
|
||||
},
|
||||
"custom/colorpicker": {
|
||||
"format": "{}",
|
||||
"return-type": "json",
|
||||
"interval": "once",
|
||||
"exec": "~/.config/waybar/scripts/colorpicker.sh -j",
|
||||
"on-click": "sleep 1 && ~/.config/waybar/scripts/colorpicker.sh",
|
||||
},
|
||||
"bluetooth": {
|
||||
"format-on": "",
|
||||
"format-off": "",
|
||||
"format-disabled": "",
|
||||
"format-connected": "",
|
||||
"format-connected-battery": "{device_battery_percentage}% ",
|
||||
"tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected",
|
||||
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}",
|
||||
"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}",
|
||||
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%",
|
||||
"on-click": "rofi-bluetooth",
|
||||
},
|
||||
"pulseaudio": {
|
||||
"format": "{icon}",
|
||||
"format-bluetooth": "",
|
||||
"format-muted": "",
|
||||
"tooltip-format": "{volume}% {icon}",
|
||||
"format-icons": {
|
||||
"headphones": "",
|
||||
"bluetooth": "",
|
||||
"handsfree": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": [
|
||||
"🕨",
|
||||
"🕩",
|
||||
"🕪"
|
||||
]
|
||||
},
|
||||
"scroll-step": 5,
|
||||
"justify": "center",
|
||||
"on-click": "amixer sset Master toggle",
|
||||
"on-click-right": "pavucontrol",
|
||||
"tooltip-format": "{volume}% {icon}",
|
||||
"on-scroll-up": "pactl set-sink-volume @DEFAULT_SINK@ +5%",
|
||||
"on-scroll-down": "pactl set-sink-volume @DEFAULT_SINK@ -5%"
|
||||
},
|
||||
"pulseaudio#mic": {
|
||||
"format": "{format_source}",
|
||||
"format-source": "",
|
||||
"format-source-muted": "",
|
||||
"tooltip-format": "{volume}% {format_source} ",
|
||||
"on-click": "pactl set-source-mute 0 toggle",
|
||||
"on-scroll-down": "pactl set-source-volume 0 -1%",
|
||||
"on-scroll-up": "pactl set-source-volume 0 +1%"
|
||||
},
|
||||
"group/audio": {
|
||||
"orientation": "horizontal",
|
||||
"drawer": {
|
||||
"transition-duration": 500,
|
||||
"transition-left-to-right": false
|
||||
},
|
||||
"modules": [
|
||||
"pulseaudio",
|
||||
"pulseaudio#mic",
|
||||
]
|
||||
},
|
||||
"pulseaudio/slider": {
|
||||
"min": 0,
|
||||
"max": 10,
|
||||
"orientation": "horizontal"
|
||||
},
|
||||
"custom/hotspot": {
|
||||
"format": "{icon}",
|
||||
"interval": 1,
|
||||
"tooltip": true,
|
||||
"return-type": "json",
|
||||
"format-icons": {
|
||||
"active": "",
|
||||
"notactive": ""
|
||||
},
|
||||
"exec": "waybar-hotspot -a watch",
|
||||
"on-click": "waybar-hotspot -a toggle",
|
||||
},
|
||||
"network": {
|
||||
"format-wifi": " ",
|
||||
"format-ethernet": "",
|
||||
"format-disconnected": "",
|
||||
"tooltip-format": "{ipaddr}",
|
||||
"tooltip-format-wifi": "{essid} ({signalStrength}%) | {ipaddr}",
|
||||
"tooltip-format-ethernet": "{ifname} 🖧 | {ipaddr}",
|
||||
"tooltip-format-ethernet": "{bandwidthTotalBytes}",
|
||||
"on-click": "networkmanager_dmenu"
|
||||
},
|
||||
"network#speed": {
|
||||
"format": "{bandwidthDownBits}",
|
||||
"interval": 1,
|
||||
"tooltip-format": "{ipaddr}",
|
||||
"tooltip-format-wifi": "{essid} ({signalStrength}%) \n{ipaddr} | {frequency} MHz{icon} ",
|
||||
"tooltip-format-ethernet": "{ifname} \n{ipaddr} | {frequency} MHz{icon} ",
|
||||
"tooltip-format-disconnected": "Not Connected to any type of Network",
|
||||
"tooltip": true,
|
||||
"on-click": "pgrep -x rofi &>/dev/null && notify-send rofi || networkmanager_dmenu"
|
||||
},
|
||||
"group/networking": {
|
||||
"orientation": "horizontal",
|
||||
"drawer": {
|
||||
"transition-duration": 500,
|
||||
"transition-left-to-right": false
|
||||
},
|
||||
"modules": [
|
||||
"network",
|
||||
"network#speed"
|
||||
]
|
||||
},
|
||||
"battery": {
|
||||
"interval": 1,
|
||||
"states": {
|
||||
"good": 95,
|
||||
"warning": 30,
|
||||
"critical": 20
|
||||
},
|
||||
"tooltip": true,
|
||||
"format": "{capacity}% <span font='16px'>{icon}</span>",
|
||||
"format-time": "{H}h {M}min",
|
||||
"tooltip": "{time}",
|
||||
"format-charging": "{capacity}% <span font='16px'>{icon}</span>",
|
||||
"format-plugged": "{capacity}% ",
|
||||
// "format-alt": "{time} {icon}",
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"on-click": "~/.config/rofi/scripts/powermenu.sh"
|
||||
},
|
||||
"mpd": {
|
||||
"format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) <U+F001>",
|
||||
"format-disconnected": "Disconnected <U+F001>",
|
||||
"format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped <U+F001>",
|
||||
"interval": 2,
|
||||
"consume-icons": {
|
||||
"on": "<U+F0C4> "
|
||||
},
|
||||
"random-icons": {
|
||||
"off": "<span color=\"#f53c3c\"><U+F074></span> ",
|
||||
"on": "<U+F074> "
|
||||
},
|
||||
"repeat-icons": {
|
||||
"on": "<U+F01E> "
|
||||
},
|
||||
"single-icons": {
|
||||
"on": "<U+F01E>1 "
|
||||
},
|
||||
"state-icons": {
|
||||
"paused": "<U+F04C>",
|
||||
"playing": "<U+F04B>"
|
||||
},
|
||||
"tooltip-format": "MPD (connected)",
|
||||
"tooltip-format-disconnected": "MPD (disconnected)"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,120 @@
|
||||
* {
|
||||
border: none;
|
||||
font-size: 13px;
|
||||
font-family: "JetBrainsMono Nerd Font,JetBrainsMono NF" ;
|
||||
min-height: 10px;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: transparent;
|
||||
border-radius: 0 0 15px 15px;
|
||||
}
|
||||
|
||||
#custom-logo {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.modules-right {
|
||||
padding: 0px;
|
||||
background: #225496;
|
||||
border-radius: 0 0 0 15px;
|
||||
border: 2px solid #4F0B1E;
|
||||
}
|
||||
|
||||
.modules-center {
|
||||
border-radius: 15px 15px 15px 15px;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.modules-left {
|
||||
background: #225496;
|
||||
border-radius: 0 0 15px 0;
|
||||
border: 2px solid #4F0B1E;
|
||||
}
|
||||
|
||||
#workspaces {
|
||||
background: #225496;
|
||||
border-radius: 0 0 15px 15px;
|
||||
border: 2px solid #4F0B1E;
|
||||
}
|
||||
|
||||
#workspaces button{
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
#workspaces button.active{
|
||||
color: #FDEE7C;
|
||||
}
|
||||
|
||||
#workspaces button.urgent{
|
||||
color: #9B0717;
|
||||
}
|
||||
|
||||
#battery,
|
||||
#custom-temp,
|
||||
#custom-tempG,
|
||||
#custom-clipboard,
|
||||
#custom-colorpicker,
|
||||
#custom-powerDraw,
|
||||
#bluetooth,
|
||||
#pulseaudio,
|
||||
#network,
|
||||
#disk,
|
||||
#memory,
|
||||
#backlight,
|
||||
#cpu,
|
||||
#temperature,
|
||||
#custom-weather,
|
||||
#idle_inhibitor,
|
||||
#jack,
|
||||
#window,
|
||||
#clock {
|
||||
color: #ffffff;
|
||||
margin-left: 10px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
#pulseaudio {
|
||||
}
|
||||
|
||||
#tray {
|
||||
background: #2E3436;
|
||||
}
|
||||
|
||||
#temperature.critical,
|
||||
#pulseaudio.muted {
|
||||
color: #FF0000;
|
||||
}
|
||||
|
||||
|
||||
#clock{
|
||||
color: #FDEE7C;
|
||||
}
|
||||
|
||||
#battery.charging {
|
||||
color: #ffffff;
|
||||
background-color: #26A65B;
|
||||
}
|
||||
|
||||
#battery.warning:not(.charging) {
|
||||
background-color: #ffbe61;
|
||||
color: black;
|
||||
}
|
||||
|
||||
#battery.critical:not(.charging) {
|
||||
background-color: #f53c3c;
|
||||
color: #ffffff;
|
||||
animation-name: blink;
|
||||
animation-duration: 0.5s;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
|
||||
@keyframes blink {
|
||||
to {
|
||||
background-color: #ffffff;
|
||||
color: #000000;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user