various updates, mainly hyprland
This commit is contained in:
6
.config/waybar/.vscode/settings.json
vendored
Normal file
6
.config/waybar/.vscode/settings.json
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"files.associations": {
|
||||
"config" : "jsonc"
|
||||
},
|
||||
"editor.fontFamily": "'Fira Code', 'monospace', monospace"
|
||||
}
|
||||
83
.config/waybar/config
Normal file
83
.config/waybar/config
Normal file
@ -0,0 +1,83 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"modules-left": [
|
||||
"custom/arch",
|
||||
"hyprland/workspaces"
|
||||
],
|
||||
"modules-center": [
|
||||
"clock",
|
||||
"custom/spotify"
|
||||
],
|
||||
"modules-right": [
|
||||
"cpu",
|
||||
"memory",
|
||||
"pulseaudio",
|
||||
"bluetooth",
|
||||
"network"
|
||||
],
|
||||
"custom/arch": {
|
||||
"format": " ",
|
||||
"tooltip": false,
|
||||
"on-click": "sh $HOME/.config/rofi/bin/powermenu"
|
||||
},
|
||||
"hyprland/workspaces": {
|
||||
"format": "{icon}",
|
||||
"tooltip": false,
|
||||
"all-outputs": true,
|
||||
"format-icons": {
|
||||
"active": "",
|
||||
"default": ""
|
||||
}
|
||||
},
|
||||
"clock": {
|
||||
"format": "<span color='#b4befe'> </span>{0:%H:%M:%S} <span color='#b4befe'> </span>{0:%d.%m.%Y W%W}",
|
||||
"interval": 1
|
||||
},
|
||||
"custom/spotify": {
|
||||
"exec": "/usr/bin/python3 /home/paul/downloads/repos/Waybar/resources/custom_modules/mediaplayer.py --player spotify",
|
||||
"format": "{} ",
|
||||
"return-type": "json",
|
||||
"on-click": "playerctl play-pause",
|
||||
"on-scroll-up": "playerctl next",
|
||||
"on-scroll-down": "playerctl previous"
|
||||
},
|
||||
"cpu": {
|
||||
"format": "<span color='#b4befe'></span> {usage}%",
|
||||
"interval": 5
|
||||
},
|
||||
"memory": {
|
||||
"format": "<span color='#b4befe'></span> {percentage}% ({used}GiB)",
|
||||
"interval": 5
|
||||
},
|
||||
"pulseaudio": {
|
||||
"format": "<span color='#b4befe'>{icon}</span> {volume}%",
|
||||
"format-muted": "",
|
||||
"tooltip": false,
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"default": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
},
|
||||
"scroll-step": 1,
|
||||
},
|
||||
"bluetooth": {
|
||||
"format": "<span color='#b4befe'></span> {status}",
|
||||
"format-disabled": "", // an empty format will hide the module
|
||||
"format-connected": "<span color='#b4befe'></span> {num_connections}",
|
||||
"tooltip-format": "{device_enumerate}",
|
||||
"tooltip-format-enumerate-connected": "{device_alias} {device_address}"
|
||||
},
|
||||
"network": {
|
||||
"format": " {ifname}",
|
||||
"format-ethernet": " {ipaddr}/{cidr}",
|
||||
"tooltip": false,
|
||||
}
|
||||
}
|
||||
71
.config/waybar/style.css
Normal file
71
.config/waybar/style.css
Normal file
@ -0,0 +1,71 @@
|
||||
* {
|
||||
border: none;
|
||||
font-family: 'Fira Code', 'Symbols Nerd Font Mono';
|
||||
font-size: 12px;
|
||||
font-feature-settings: '"zero", "ss01", "ss02", "ss03", "ss04", "ss05", "cv31"';
|
||||
min-height: 20px;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#custom-arch, #workspaces {
|
||||
border-radius: 10px;
|
||||
background-color: rgba(17, 17, 27, 0.6);
|
||||
color: #b4befe;
|
||||
margin-top: 5px;
|
||||
margin-right: 5px;
|
||||
padding-top: 1px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
#custom-arch {
|
||||
font-size: 14px;
|
||||
margin-left: 15px;
|
||||
color: #b4befe;
|
||||
}
|
||||
|
||||
#custom-spotify {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
color: #b4befe;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
color: #000000
|
||||
}
|
||||
|
||||
#clock, #custom-spotify, #cpu, #memory, #pulseaudio, #bluetooth, #network{
|
||||
border-radius: 10px;
|
||||
background-color: rgba(17, 17, 27, 0.6);
|
||||
color: #cdd6f4;
|
||||
margin-top: 3px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
#bluetooth, #cpu {
|
||||
border-top-right-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
padding-right: 5px;
|
||||
margin-right: 0
|
||||
}
|
||||
|
||||
#network, #memory {
|
||||
border-top-left-radius: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
#network {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
#clock {
|
||||
margin-right: 0;
|
||||
}
|
||||
Reference in New Issue
Block a user