Add dwl layout and window modules
This commit is contained in:
44
README.org
44
README.org
@@ -530,13 +530,13 @@ killall waybar
|
|||||||
"reload_style_on_change": true,
|
"reload_style_on_change": true,
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"custom/power-menu",
|
"custom/power-menu",
|
||||||
"dwl/tags",
|
"group/dwl",
|
||||||
"group/media-playing",
|
|
||||||
],
|
],
|
||||||
"modules-center": [
|
"modules-center": [
|
||||||
"tray",
|
"tray",
|
||||||
],
|
],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
|
"group/media-playing",
|
||||||
"pulseaudio",
|
"pulseaudio",
|
||||||
"custom/system76-power",
|
"custom/system76-power",
|
||||||
"cpu",
|
"cpu",
|
||||||
@@ -546,6 +546,14 @@ killall waybar
|
|||||||
"clock",
|
"clock",
|
||||||
"group/dunst",
|
"group/dunst",
|
||||||
],
|
],
|
||||||
|
"group/dwl": {
|
||||||
|
"orientation": "inherit",
|
||||||
|
"modules": [
|
||||||
|
"dwl/tags",
|
||||||
|
"dwl/window#title",
|
||||||
|
"dwl/window#layout",
|
||||||
|
],
|
||||||
|
},
|
||||||
"group/media-playing": {
|
"group/media-playing": {
|
||||||
"orientation": "inherit",
|
"orientation": "inherit",
|
||||||
"modules": [
|
"modules": [
|
||||||
@@ -752,6 +760,20 @@ fi
|
|||||||
"tag-labels": [ " ₁", " ₂", " ₃", " ₄", " ₅", " ₆", " ₇", " ₈", " ₉" ],
|
"tag-labels": [ " ₁", " ₂", " ₃", " ₄", " ₅", " ₆", " ₇", " ₈", " ₉" ],
|
||||||
"disable-click": false
|
"disable-click": false
|
||||||
},
|
},
|
||||||
|
"dwl/window#title": {
|
||||||
|
"format": "{title}",
|
||||||
|
"all-outputs": false,
|
||||||
|
"icon": true,
|
||||||
|
"icon-size": 21,
|
||||||
|
"tooltip": true,
|
||||||
|
"max-length": 30,
|
||||||
|
},
|
||||||
|
"dwl/window#layout": {
|
||||||
|
"format": "{layout}",
|
||||||
|
"tooltip": false,
|
||||||
|
"all-outputs": false,
|
||||||
|
"icon": false,
|
||||||
|
},
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
**** Styling
|
**** Styling
|
||||||
@@ -773,6 +795,14 @@ fi
|
|||||||
background: #ff5555;
|
background: #ff5555;
|
||||||
color: #282a36;
|
color: #282a36;
|
||||||
}
|
}
|
||||||
|
#window.title {
|
||||||
|
background: #8be9fd;
|
||||||
|
color: #282a36;
|
||||||
|
}
|
||||||
|
#window.layout {
|
||||||
|
background: #f1fa8c;
|
||||||
|
color: #282a36;
|
||||||
|
}
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
*** Disk
|
*** Disk
|
||||||
@@ -855,19 +885,19 @@ fi
|
|||||||
|
|
||||||
#+BEGIN_SRC css :tangle waybar/style.css
|
#+BEGIN_SRC css :tangle waybar/style.css
|
||||||
#custom-media-playing-change {
|
#custom-media-playing-change {
|
||||||
background: #50fa7b;
|
background: #ff79c6;
|
||||||
color: #282a36;
|
color: #282a36;
|
||||||
}
|
}
|
||||||
#custom-media-playing-prev {
|
#custom-media-playing-prev {
|
||||||
background: #50fa7b;
|
background: #ff79c6;
|
||||||
color: #282a36;
|
color: #282a36;
|
||||||
}
|
}
|
||||||
#custom-media-playing-play-pause {
|
#custom-media-playing-play-pause {
|
||||||
background: #50fa7b;
|
background: #ff79c6;
|
||||||
color: #282a36;
|
color: #282a36;
|
||||||
}
|
}
|
||||||
#custom-media-playing-next {
|
#custom-media-playing-next {
|
||||||
background: #50fa7b;
|
background: #ff79c6;
|
||||||
color: #282a36;
|
color: #282a36;
|
||||||
}
|
}
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
@@ -1017,7 +1047,7 @@ echo '{"text":"'$mediaSourceIcon'","tooltip":"\t'$title'\r\t'$artist'\r
|
|||||||
|
|
||||||
#+BEGIN_SRC css :tangle waybar/style.css
|
#+BEGIN_SRC css :tangle waybar/style.css
|
||||||
#pulseaudio {
|
#pulseaudio {
|
||||||
background: #ff5555;
|
background: #bd93f9;
|
||||||
color: #282a36;
|
color: #282a36;
|
||||||
}
|
}
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
@@ -14,13 +14,13 @@
|
|||||||
"reload_style_on_change": true,
|
"reload_style_on_change": true,
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"custom/power-menu",
|
"custom/power-menu",
|
||||||
"dwl/tags",
|
"group/dwl",
|
||||||
"group/media-playing",
|
|
||||||
],
|
],
|
||||||
"modules-center": [
|
"modules-center": [
|
||||||
"tray",
|
"tray",
|
||||||
],
|
],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
|
"group/media-playing",
|
||||||
"pulseaudio",
|
"pulseaudio",
|
||||||
"custom/system76-power",
|
"custom/system76-power",
|
||||||
"cpu",
|
"cpu",
|
||||||
@@ -30,6 +30,14 @@
|
|||||||
"clock",
|
"clock",
|
||||||
"group/dunst",
|
"group/dunst",
|
||||||
],
|
],
|
||||||
|
"group/dwl": {
|
||||||
|
"orientation": "inherit",
|
||||||
|
"modules": [
|
||||||
|
"dwl/tags",
|
||||||
|
"dwl/window#title",
|
||||||
|
"dwl/window#layout",
|
||||||
|
],
|
||||||
|
},
|
||||||
"group/media-playing": {
|
"group/media-playing": {
|
||||||
"orientation": "inherit",
|
"orientation": "inherit",
|
||||||
"modules": [
|
"modules": [
|
||||||
@@ -127,6 +135,20 @@
|
|||||||
"tag-labels": [ " ₁", " ₂", " ₃", " ₄", " ₅", " ₆", " ₇", " ₈", " ₉" ],
|
"tag-labels": [ " ₁", " ₂", " ₃", " ₄", " ₅", " ₆", " ₇", " ₈", " ₉" ],
|
||||||
"disable-click": false
|
"disable-click": false
|
||||||
},
|
},
|
||||||
|
"dwl/window#title": {
|
||||||
|
"format": "{title}",
|
||||||
|
"all-outputs": false,
|
||||||
|
"icon": true,
|
||||||
|
"icon-size": 21,
|
||||||
|
"tooltip": true,
|
||||||
|
"max-length": 30,
|
||||||
|
},
|
||||||
|
"dwl/window#layout": {
|
||||||
|
"format": "{layout}",
|
||||||
|
"tooltip": false,
|
||||||
|
"all-outputs": false,
|
||||||
|
"icon": false,
|
||||||
|
},
|
||||||
|
|
||||||
"disk": {
|
"disk": {
|
||||||
"interval": 60,
|
"interval": 60,
|
||||||
|
@@ -58,6 +58,14 @@ window#waybar {
|
|||||||
background: #ff5555;
|
background: #ff5555;
|
||||||
color: #282a36;
|
color: #282a36;
|
||||||
}
|
}
|
||||||
|
#window.title {
|
||||||
|
background: #8be9fd;
|
||||||
|
color: #282a36;
|
||||||
|
}
|
||||||
|
#window.layout {
|
||||||
|
background: #f1fa8c;
|
||||||
|
color: #282a36;
|
||||||
|
}
|
||||||
|
|
||||||
#disk {
|
#disk {
|
||||||
background: #f1fa8c;
|
background: #f1fa8c;
|
||||||
@@ -70,19 +78,19 @@ window#waybar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#custom-media-playing-change {
|
#custom-media-playing-change {
|
||||||
background: #50fa7b;
|
background: #ff79c6;
|
||||||
color: #282a36;
|
color: #282a36;
|
||||||
}
|
}
|
||||||
#custom-media-playing-prev {
|
#custom-media-playing-prev {
|
||||||
background: #50fa7b;
|
background: #ff79c6;
|
||||||
color: #282a36;
|
color: #282a36;
|
||||||
}
|
}
|
||||||
#custom-media-playing-play-pause {
|
#custom-media-playing-play-pause {
|
||||||
background: #50fa7b;
|
background: #ff79c6;
|
||||||
color: #282a36;
|
color: #282a36;
|
||||||
}
|
}
|
||||||
#custom-media-playing-next {
|
#custom-media-playing-next {
|
||||||
background: #50fa7b;
|
background: #ff79c6;
|
||||||
color: #282a36;
|
color: #282a36;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -92,7 +100,7 @@ window#waybar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#pulseaudio {
|
#pulseaudio {
|
||||||
background: #ff5555;
|
background: #bd93f9;
|
||||||
color: #282a36;
|
color: #282a36;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user