Install sway and waybar
This commit is contained in:
27
waybar/config
Normal file
27
waybar/config
Normal 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
5
waybar/launch.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#! /bin/bash
|
||||
|
||||
killall waybar
|
||||
|
||||
waybar
|
||||
50
waybar/style.css
Normal file
50
waybar/style.css
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user