1
0
Fork 0

local changes

This commit is contained in:
Alexander Yakovlev 2024-03-20 22:36:23 +07:00
parent 93013bfcf8
commit d3704728ee
2 changed files with 42 additions and 6 deletions

41
config
View file

@ -1,16 +1,28 @@
{
"layer": "bottom",
"position": "bottom",
"modules-left": ["sway/workspaces", "sway/mode", "sway/window"],
"modules-center": [],
"modules-left": [
"sway/workspaces",
"sway/mode",
"sway/window"
],
"modules-center": [
],
"modules-center-disabled": [
"custom/music"
],
"modules-right": [
"memory",
"cpu",
"clock",
"tray"
],
"modules-disabled": [
"custom/pomodoro",
"custom/weeklog",
],
"sway/window": {
"max-length": 50
"max-length": 100
},
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
@ -19,9 +31,28 @@
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format": "{:%a %d %b %H:%M}"
},
"custom/weeklog": {
"exec": "/home/alexander/bin/weeklog",
"format": "{} U",
"interval": 120
},
"custom/pomodoro": {
"exec": "i3-gnome-pomodoro status --format=waybar --no-seconds",
"return-type": "json",
"interval": 5,
"format": "{} ",
"on-click": "i3-gnome-pomodoro start",
"on-middle-click": "i3-gnome-pomodoro toggle",
"on-right-click": "i3-gnome-pomodoro stop",
},
"custom/music": {
"exec": "mpris-ctl info",
"format": "🎵 {}",
"interval": 10
},
"tray": {
"icon-size": 30,
"spacing": 10
"icon-size": 20,
"spacing": 4
},
"memory": {
"format": "{}% RAM"

View file

@ -3,7 +3,7 @@
border-radius: 0;
/* `otf-font-awesome` is required to be installed for icons */
font-family: Roboto, Helvetica, Arial, sans-serif;
font-size: 13px;
font-size: 20px;
min-height: 0;
}
@ -71,6 +71,7 @@ window#waybar.chromium {
#network,
#pulseaudio,
#custom-media,
#custom-weeklog,
#tray,
#mode,
#idle_inhibitor,
@ -97,3 +98,7 @@ window#waybar.chromium {
label:focus {
background-color: #000000;
}
#custom-pomodoro.paused {
border-bottom: 3px solid @yellow;
}