Added hyprland and waybar

This commit is contained in:
2024-02-29 22:11:08 +01:00
parent e54a103869
commit ac33d3aaa7
4 changed files with 437 additions and 0 deletions

83
.config/waybar/config Normal file
View File

@ -0,0 +1,83 @@
{
"layer": "top",
"modules-left": ["custom/launcher","hyprland/workspaces"],
"modules-center": ["clock","cpu","memory","network","disk"],
"modules-right": ["mpris","wireplumber"],
"clock": {
"interval": 60,
"format": "{:%a %H:%M}",
"tooltip-format": "{:%Y-%m-%d}"
},
"cpu": {
"interval": 2,
"format": " {}%",
"max-length": 10
},
"memory": {
"interval": 2,
"format": "󰍜 {}%",
"max-length": 10
},
"network": {
"interval": 2,
"format": "{ifname}",
"format-wifi": " {essid}",
"format-ethernet": "󰛳 {bandwidthTotalBytes}",
"format-disconnected": "",
"tooltip-format": "{ifname} via {gwaddr}",
"tooltip-format-wifi": " {essid} ({signalStrength}%)",
"tooltip-format-ethernet": " {ifname}",
"tooltip-format-disconnected": "Disconnected",
"max-length": 50
},
"disk": {
"interval": 30,
"format": "󰋊 {used}",
"path": "/"
},
"mpris": {
"format": "{player_icon} {title}",
"format-paused": "{status_icon} {title}",
"player-icons": {
"default": "󰝚",
"mpv": "󰝚"
},
"status-icons": {
"paused": "󰏤"
},
"title-len": 30,
},
"wireplumber": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 5,
"on-click": "helvum",
"format-icons": ["", "", ""]
},
"hyprland/workspaces": {
"format": "{icon}",
"on-click": "activate",
"persistent-workspaces": {
"1": [],
"2": [],
"3": [],
"4": [],
"5": [],
"6": [],
"7": [],
"8": [],
"9": [],
},
"format-icons": {
"urgent": "",
"active": "",
"default": ""
},
"sort-by-number": true
},
"custom/launcher":{
"format": " ",
"on-click": "fuzzel",
"on-click-right": "killall fuzzel"
}
}

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

@ -0,0 +1,144 @@
* {
border: none;
border-radius: 10;
font-family: "Ubuntu Nerd Font";
font-size: 16px;
min-height: 10px;
}
window#waybar {
background: transparent;
}
window#waybar.hidden {
opacity: 0.2;
}
#window {
margin-top: 6px;
padding-left: 10px;
padding-right: 10px;
border-radius: 10px;
transition: none;
color: transparent;
background: transparent;
}
#clock,
#cpu,
#disk,
#memory,
#mpris,
#network,
#wireplumber,
#workspaces {
margin-top: 6px;
margin-left: 8px;
padding-left: 10px;
padding-right: 10px;
margin-bottom: 0px;
border-radius: 10px;
transition: none;
}
#clock {
color: #161320;
background: #ABE9B3;
}
#cpu {
color: #161320;
background: #96CDFB;
}
#disk {
color: #161320;
background: #E8A2AF;
}
#memory {
color: #161320;
background: #DDB6F2;
}
#mpris {
color: #1A1826;
background: #FAE3B0;
}
#network {
color: #161320;
background: #bd93f9;
}
#wireplumber {
color: #1A1826;
background: #FAE3B0;
}
#workspaces {
color: white;
background: transparent;
}
#custom-launcher {
font-size: 24px;
margin-top: 6px;
margin-left: 8px;
padding-left: 10px;
padding-right: 5px;
border-radius: 10px;
transition: none;
color: #89DCEB;
background: transparent;
}
#custom-power {
font-size: 20px;
margin-top: 6px;
margin-left: 8px;
margin-right: 8px;
padding-left: 10px;
padding-right: 5px;
margin-bottom: 0px;
border-radius: 10px;
transition: none;
color: #161320;
background: #F28FAD;
}
#custom-wallpaper {
margin-top: 6px;
margin-left: 8px;
padding-left: 10px;
padding-right: 10px;
margin-bottom: 0px;
border-radius: 10px;
transition: none;
color: #161320;
background: #C9CBFF;
}
#custom-updates {
margin-top: 6px;
margin-left: 8px;
padding-left: 10px;
padding-right: 10px;
margin-bottom: 0px;
border-radius: 10px;
transition: none;
color: #161320;
background: #E8A2AF;
}
#custom-media {
margin-top: 6px;
margin-left: 8px;
padding-left: 10px;
padding-right: 10px;
margin-bottom: 0px;
border-radius: 10px;
transition: none;
color: #161320;
background: #F2CDCD;
}