migrate to stow

This commit is contained in:
2022-03-20 00:37:41 +03:00
parent 8544e93367
commit 2ef5b95984
41 changed files with 351 additions and 93 deletions

View File

@@ -0,0 +1,46 @@
{
"position": "top",
"modules-left": [
"sway/workspaces",
"sway/mode"
],
"modules-right": [
"tray",
"pulseaudio",
"sway/language",
"network",
"clock"
],
"sway/workspaces": {
"all-output": true,
"format": "{index}"
},
"sway/mode": {
"format": "--{}--",
"tooltip": false
},
"pulseaudio": {
"tooltip": false,
"format-muted": "MUTE",
"on-click": "pavucontrol"
},
"sway/language": {
"tooltip": false
},
"network": {
"format": "{icon}",
"format-icons": [
""
],
"format-disconnected": "No network",
"tooltip": false
},
"clock": {
"format": "{:%d %b %H:%M, %A}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
},
"tray": {
"icon-size": 16,
"spacing": 10
}
}

View File

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

View File

@@ -0,0 +1,51 @@
/* Colors */
@define-color background #191e2a;
@define-color background-alt #202734;
@define-color foreground #cbccc6;
@define-color primary #ffa759;
window#waybar {
background: @background;
color: @foreground;
font-family: Iosevka, "Fira Code";
font-size: 14px;
}
#workspaces button {
color: @foreground;
border-radius: 0;
}
#workspaces button.focused {
background: @background-alt;
color: @primary;
}
#workspaces button.urgent {
background: @primary;
}
#mode {
margin-left: 10px;
color: @primary;
}
#window {
margin-left: 10px;
}
#network {
font-family: "Font Awesome 6 Free Solid";
}
#tray,
#pulseaudio,
#language,
#network,
#clock {
margin: 8px;
}
#pulseaudio.muted {
color: @primary;
}