This commit is contained in:
2024-11-26 19:29:40 +05:00
parent 379acd5cc0
commit 2031be9347
21 changed files with 592 additions and 0 deletions

0
.config/waybar/.nvimlog Normal file
View File

25
.config/waybar/config Normal file
View File

@@ -0,0 +1,25 @@
{
"include": "/home/sophron/.config/waybar/modules",
"position": "bottom",
"height": 27,
"width": 1325,
"spacing": 7,
"margin-bottom": 5,
"modules-left": [
"custom/menu",
"cpu",
"memory",
"hyprland/submap",
],
"modules-center": [
"hyprland/workspaces"
],
"modules-right": [
"pulseaudio",
"hyprland/language",
"clock"
],
}

69
.config/waybar/modules Normal file
View File

@@ -0,0 +1,69 @@
{
"pulseaudio": {
"scroll-step": "5",
"format": "{icon} {volume}%",
"format-icons": {
"default": [" ", " ", " "]
},
"on-click": "pavucontrol",
"tooltip": false
},
"hyprland/language": {
"format": "{}",
"format-en": "EN",
"format-ru": "RU"
},
"custom/clock": {
"exec": "date +'%H:%M'",
"interval": "1",
"tooltip": false
},
"custom/menu": {
"format": "{icon}",
"format-icons": "  ",
"on-click": "wofi --show drun -c ~/.config/wofi/config -s ~/.config/wofi/style.css",
"escape": true,
"tooltip": false
},
"hyprland/workspaces": {
"format": "{icon}",
"on-click": "activate",
"all-outputs": "true",
"format-icons": {
"1": "一",
"2": "二",
"3": "三",
"4": "四",
"5": "五",
"6": "六"
},
"persistent-workspaces": {
"1": "HDMI-A-2",
"2": "HDMI-A-2",
"3": "HDMI-A-2",
"4": "HDMI-A-2",
"5": "HDMI-A-2",
"6": "HDMI-A-2"
},
},
"cpu": {
"interval": 10,
"format": "{}%  ",
"max-length": 10
},
"memory": {
"interval": 30,
"format": "{}%  ",
"max-length": 10
},
"hyprland/submap": {
"format": "✌️ {}",
"max-length": 8,
"tooltip": false
}
}

76
.config/waybar/style.css Normal file
View File

@@ -0,0 +1,76 @@
@define-color bg #1d1d1d;
@define-color fg #f6f5f4;
@define-color bl #1c71d8;
@define-color fg1 #2d2d2d;
@define-color bl1 #99c1f1;
* {
font-family: JetBrainsMonoNerdFont;
font-size: 13px;
font-weight: bold;
}
#clock {
border-radius: 10px;
background-color: @bl;
padding: 0px 5px;
margin: 5px 5px 5px 0px;
}
#memory,
#cpu {
background: @fg1;
color: @fg;
padding: 0px 5px;
margin: 5px 0px;
border-radius: 8px;
}
#custom-menu {
background: @fg1;
color: @fg;
padding: 0px 5px;
margin: 5px 5px;
border-radius: 8px;
}
window#waybar {
border-radius: 10px;
background: @bg;
}
#language,
#pulseaudio {
color: @fg;
border-radius: 10px;
padding: 0px 5px;
margin: 5px 0px;
background-color: @fg1;
border-left: 2px solid @fg1;
border-right: 2px solid @fg1;
}
#workspaces {
background-color: @bg;
border-radius: 10;
}
#workspaces button {
background-color: @bg;
color: @fg;
padding: 0px 5px;
margin: 5px 2px;
border-radius: 30px;
}
#workspaces button:hover,
#workspaces button.active {
background: @fg1;
color: @fg;
padding: 0px 5px;
margin: 5px 2px;
border-radius: 8px;
}