разобрался с этой гавной
This commit is contained in:
54
waybar/config.jsonc
Normal file
54
waybar/config.jsonc
Normal file
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"height": 0,
|
||||
"spacing": 8,
|
||||
"modules-left": [
|
||||
"clock",
|
||||
"custom/separator",
|
||||
"custom/phone",
|
||||
"network"
|
||||
],
|
||||
"modules-center": [
|
||||
"hyprland/workspaces",
|
||||
],
|
||||
"modules-right": [
|
||||
"cpu",
|
||||
"memory",
|
||||
"custom/separator",
|
||||
"pulseaudio",
|
||||
"custom/separator",
|
||||
"hyprland/language",
|
||||
"tray",
|
||||
],
|
||||
"hyprland/language": {
|
||||
"format": "{}",
|
||||
"format-ru": "ru",
|
||||
"format-en": "en",
|
||||
},
|
||||
"hyprland/workspaces": {
|
||||
"all-outputs": true,
|
||||
},
|
||||
"custom/separator": {
|
||||
"format": "|"
|
||||
},
|
||||
"custom/phone": {
|
||||
"format": "",
|
||||
"on-click": "~/.config/waybar/phone.sh"
|
||||
},
|
||||
"network": {
|
||||
"interface": "enp2s0",
|
||||
"format": "dn {bandwidthDownBytes} up {bandwidthUpBytes}",
|
||||
"interval": 5,
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 13,
|
||||
"spacing": 8
|
||||
},
|
||||
"cpu": {
|
||||
"interval": 5,
|
||||
"format": "cpu {usage}%"
|
||||
},
|
||||
"memory": {
|
||||
"interval": 5,
|
||||
"format": "mem {percentage}%"
|
||||
}
|
||||
}
|
1
waybar/phone.sh
Executable file
1
waybar/phone.sh
Executable file
@@ -0,0 +1 @@
|
||||
scrcpy -K
|
55
waybar/style.css
Normal file
55
waybar/style.css
Normal file
@@ -0,0 +1,55 @@
|
||||
@import url("../../.cache/wal/colors-waybar.css");
|
||||
|
||||
* {
|
||||
font-family: FontAwesome, MonaspiceAr Nerd Font Mono, monospace;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
all:unset;
|
||||
}
|
||||
|
||||
.modules-left {
|
||||
margin: 4px 0px 0px 8px;
|
||||
padding: 6px 12px 6px 12px;
|
||||
background: alpha(@background, 0.7);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.modules-center {
|
||||
margin: 4px 0px 0px 0px;
|
||||
padding: 6px 12px 6px 12px;
|
||||
background: alpha(@background, 0.7);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.modules-right {
|
||||
margin: 4px 8px 0px 0px;
|
||||
padding: 6px 12px 6px 12px;
|
||||
background: alpha(@background, 0.7);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
all: unset;
|
||||
padding: 0px 5px;
|
||||
transition: all .2s ease;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
color: @color8;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
text-decoration: underline;
|
||||
transition: all 1s ease;
|
||||
}
|
||||
|
||||
#network {
|
||||
color: @color9;
|
||||
}
|
||||
|
||||
#pulseaudio {
|
||||
color: @color9;
|
||||
}
|
Reference in New Issue
Block a user