Install sway and waybar

This commit is contained in:
2021-10-13 18:58:20 +03:00
parent 258ebeb396
commit f61f57829a
6 changed files with 291 additions and 1 deletions

27
waybar/config Normal file
View File

@@ -0,0 +1,27 @@
{
"position": "top",
"modules-left": ["sway/workspaces"],
"modules-right": ["pulseaudio", "sway/language", "network", "clock"],
"sway/workspaces": {
"all-output": true,
"format": "{index}"
},
"pulseaudio": {
"tooltip": false,
"format-muted": "MUTE"
},
"sway/language": {
"tooltip": false
},
"network": {
"format": "{icon} connected",
"format-icons": [""],
"tooltip": false
},
"clock": {
"format": "{:%d %b %H:%M, %A}",
"tooltip": false
}
}

5
waybar/launch.sh Executable file
View File

@@ -0,0 +1,5 @@
#! /bin/bash
killall waybar
waybar

50
waybar/style.css Normal file
View File

@@ -0,0 +1,50 @@
/* Colors */
/* primary: #ffa759 */
/* background: #202734 */
/* background-alt: #191e2a */
/* foreground: #cbccc6 */
window#waybar {
background: #191e2a;
color: #cbccc6;
font-family: "Fira Code", "Font Awesome 5 Free Solid";
}
#workspaces {
background: #202734;
margin: 10px;
border-radius: 8px;
}
#workspaces button {
color: #fff;
background: transparent;
}
#workspaces button.focused {
color: #ffa759;
}
#workspaces button.urgent {
background: #ffa579;
}
#clock,
#network,
#language,
#pulseaudio {
background: #202734;
margin: 10px;
padding: 10px;
border-radius: 8px;
}
#pulseaudio.muted {
color: #ffa759;
}
#network,
#language,
#pulseaudio {
margin-right: 5px;
}