Initial commit.
This commit is contained in:
27
config.jsonc
Normal file
27
config.jsonc
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
// -*- mode: jsonc -*-
|
||||||
|
{
|
||||||
|
"layer": "top", // Waybar at top layer
|
||||||
|
"position": "top", // Waybar position (top|bottom|left|right)
|
||||||
|
"height": 16, // Waybar height (to be removed for auto height)
|
||||||
|
// "width": 1280, // Waybar width
|
||||||
|
"spacing": 4, // Gaps between modules (4px)
|
||||||
|
// Choose the order of the modules
|
||||||
|
"modules-left": [
|
||||||
|
"hyprland/window"
|
||||||
|
],
|
||||||
|
"modules-right": [
|
||||||
|
"idle_inhibitor",
|
||||||
|
"network",
|
||||||
|
"cpu",
|
||||||
|
"memory",
|
||||||
|
"temperature",
|
||||||
|
"hyprland/language",
|
||||||
|
"battery",
|
||||||
|
"clock"
|
||||||
|
],
|
||||||
|
//Modules configuration
|
||||||
|
|
||||||
|
"include": [
|
||||||
|
"~/.config/waybar/modules.json"
|
||||||
|
]
|
||||||
|
}
|
||||||
70
modules.json
Normal file
70
modules.json
Normal file
@@ -0,0 +1,70 @@
|
|||||||
|
{
|
||||||
|
"hyprland/workspaces": {
|
||||||
|
"disable-scroll": true,
|
||||||
|
"all-outputs": true,
|
||||||
|
"warp-on-scroll": false,
|
||||||
|
"format": "{name}",
|
||||||
|
"format-icons": {
|
||||||
|
"urgent": "",
|
||||||
|
"active": "",
|
||||||
|
"default": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"idle_inhibitor": {
|
||||||
|
"format": "{icon}",
|
||||||
|
"format-icons": {
|
||||||
|
"activated": "",
|
||||||
|
"deactivated": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"network": {
|
||||||
|
"format-wifi": " {essid} ({signalStrength}%)",
|
||||||
|
"format-ethernet": "{ipaddr}/{cidr} ",
|
||||||
|
"tooltip-format": "{ifname} via {gwaddr} ",
|
||||||
|
"format-linked": "{ifname} (No IP) ",
|
||||||
|
"format-disconnected": "Disconnected ⚠",
|
||||||
|
"on-click": "sh ~/scripts/rofi-wifi-menu/rofi-wifi-menu.sh"
|
||||||
|
|
||||||
|
},
|
||||||
|
"cpu": {
|
||||||
|
"format": " {usage}%",
|
||||||
|
"tooltip": true
|
||||||
|
},
|
||||||
|
"memory": {
|
||||||
|
"format": " {}%",
|
||||||
|
"tooltip": true
|
||||||
|
},
|
||||||
|
"temperature": {
|
||||||
|
"interval": 10,
|
||||||
|
"hwmon-path": "/sys/devices/platform/coretemp.0/hwmon/hwmon4/temp1_input",
|
||||||
|
"critical-threshold": 100,
|
||||||
|
"format-critical": " {temperatureC}",
|
||||||
|
"format": " {temperatureC}°C"
|
||||||
|
},
|
||||||
|
"hyprland/language": {
|
||||||
|
"format": " {}",
|
||||||
|
"format-en": "EN",
|
||||||
|
"format-ru": "RU"
|
||||||
|
},
|
||||||
|
"battery": {
|
||||||
|
"states": {
|
||||||
|
"warning": 30,
|
||||||
|
"critical": 15
|
||||||
|
},
|
||||||
|
"format": "{icon} {capacity}%",
|
||||||
|
"format-full": "{icon} {capacity}%",
|
||||||
|
"format-charging": " {capacity}%",
|
||||||
|
"format-plugged": " {capacity}%",
|
||||||
|
"format-alt": "{time} {icon}",
|
||||||
|
"format-icons": ["", "", "", "", ""]
|
||||||
|
},
|
||||||
|
"battery#bat2": {
|
||||||
|
"bat": "BAT2"
|
||||||
|
},
|
||||||
|
"clock": {
|
||||||
|
"format": "{:%H:%M | %e %B} ",
|
||||||
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||||
|
"format-alt": "{:%Y-%m-%d}"
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
93
style.css
Normal file
93
style.css
Normal file
@@ -0,0 +1,93 @@
|
|||||||
|
* {
|
||||||
|
/* `otf-font-awesome` and SpaceMono Nerd Font are required to be installed for icons */
|
||||||
|
font-family: JetbrainsMono, FontAwesome, Roboto, Helvetica, Arial, sans-serif;
|
||||||
|
font-size: 10px;
|
||||||
|
transition: background-color .3s ease-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar {
|
||||||
|
background: rgba(26, 27, 38, 0.75);
|
||||||
|
color: #c0caf5;
|
||||||
|
font-family:
|
||||||
|
SpaceMono Nerd Font,
|
||||||
|
feather;
|
||||||
|
transition: background-color .5s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modules-left,
|
||||||
|
.modules-right
|
||||||
|
{
|
||||||
|
background: rgba(0, 0, 8, .7);
|
||||||
|
margin: 5px 10px;
|
||||||
|
padding: 5 5px;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
.modules-left {
|
||||||
|
padding: 0 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#clock,
|
||||||
|
#battery,
|
||||||
|
#cpu,
|
||||||
|
#memory,
|
||||||
|
#disk,
|
||||||
|
#temperature,
|
||||||
|
#backlight,
|
||||||
|
#network,
|
||||||
|
#pulseaudio,
|
||||||
|
#wireplumber,
|
||||||
|
#custom-media,
|
||||||
|
#tray,
|
||||||
|
#mode,
|
||||||
|
#idle_inhibitor,
|
||||||
|
#scratchpad,
|
||||||
|
#power-profiles-daemon,
|
||||||
|
#language,
|
||||||
|
#mpd {
|
||||||
|
padding: 0 10px;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#clock:hover,
|
||||||
|
#battery:hover,
|
||||||
|
#cpu:hover,
|
||||||
|
#memory:hover,
|
||||||
|
#disk:hover,
|
||||||
|
#temperature:hover,
|
||||||
|
#backlight:hover,
|
||||||
|
#network:hover,
|
||||||
|
#pulseaudio:hover,
|
||||||
|
#wireplumber:hover,
|
||||||
|
#custom-media:hover,
|
||||||
|
#tray:hover,
|
||||||
|
#mode:hover,
|
||||||
|
#idle_inhibitor:hover,
|
||||||
|
#scratchpad:hover,
|
||||||
|
#power-profiles-daemon:hover,
|
||||||
|
#language:hover,
|
||||||
|
#mpd:hover {
|
||||||
|
background: rgba(26, 27, 38, 0.9);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#workspaces button {
|
||||||
|
background: transparent;
|
||||||
|
font-family:
|
||||||
|
SpaceMono Nerd Font,
|
||||||
|
feather;
|
||||||
|
font-weight: 900;
|
||||||
|
font-size: 10pt;
|
||||||
|
color: #c0caf5;
|
||||||
|
border:none;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.active {
|
||||||
|
background: #13131d;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button:hover {
|
||||||
|
background: #11111b;
|
||||||
|
color: #cdd6f4;
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user