made custom wlsunset module for waybar
This commit is contained in:
+7
-10
@@ -3,7 +3,7 @@
|
|||||||
"position": "top",
|
"position": "top",
|
||||||
"height": 35,
|
"height": 35,
|
||||||
"modules-left": ["sway/workspaces"],
|
"modules-left": ["sway/workspaces"],
|
||||||
"modules-center": ["clock", "backlight"],
|
"modules-center": ["clock", "custom/wlsunset"],
|
||||||
"modules-right": ["idle_inhibitor", "pulseaudio", "network", "battery", "tray"],
|
"modules-right": ["idle_inhibitor", "pulseaudio", "network", "battery", "tray"],
|
||||||
"sway/workspaces": {
|
"sway/workspaces": {
|
||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
|
|
||||||
"clock": {
|
"clock": {
|
||||||
"format": "{: %H:%M %A %B %d}",
|
"format": "{: %H:%M %A %B %d}",
|
||||||
"tooltip": false,
|
"tooltip": false
|
||||||
"on-click": "galendae -c $HOME/.config/galendae-cal/galendae.conf"
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"battery": {
|
"battery": {
|
||||||
@@ -39,7 +38,11 @@
|
|||||||
"format-full": "<span size='large' rise='-1600'></span> Full",
|
"format-full": "<span size='large' rise='-1600'></span> Full",
|
||||||
"format-charging": "<span size='large' rise='-1600'></span> {capacity}% "
|
"format-charging": "<span size='large' rise='-1600'></span> {capacity}% "
|
||||||
},
|
},
|
||||||
|
"custom/wlsunset": {
|
||||||
|
"format": "",
|
||||||
|
"format-icons": ["", ""],
|
||||||
|
"on-click": "wlsunset -l 47.6 -L -122.3 -t 3000 -T 6500"
|
||||||
|
},
|
||||||
"network": {
|
"network": {
|
||||||
"interval": 5,
|
"interval": 5,
|
||||||
"format-wifi": "<span size='large' rise='-1000'></span> {essid}",
|
"format-wifi": "<span size='large' rise='-1000'></span> {essid}",
|
||||||
@@ -62,12 +65,6 @@
|
|||||||
// "default": ["", "", " "]
|
// "default": ["", "", " "]
|
||||||
// },
|
// },
|
||||||
},
|
},
|
||||||
"backlight": {
|
|
||||||
"device": "intel_backlight",
|
|
||||||
"format": "",
|
|
||||||
"format-icons": ["", ""],
|
|
||||||
"on-click": "wlsunset -l 47.6 -L -122.3 -t 3000 -T 6500"
|
|
||||||
},
|
|
||||||
"idle_inhibitor": {
|
"idle_inhibitor": {
|
||||||
"format": "<span rise='-4000' size='large'>{icon}</span>",
|
"format": "<span rise='-4000' size='large'>{icon}</span>",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ window#waybar {
|
|||||||
background: inherit;
|
background: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
#backlight {
|
#custom-wlsunset {
|
||||||
margin:7px 4px 0 4px;
|
margin:7px 4px 0 4px;
|
||||||
color: #bebebe;
|
color: #bebebe;
|
||||||
border: none;
|
border: none;
|
||||||
@@ -109,7 +109,7 @@ window#waybar {
|
|||||||
padding: 0px 0px 5px 0px;
|
padding: 0px 0px 5px 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#backlight:hover {
|
#custom-wlsunset:hover {
|
||||||
box-shadow: inherit;
|
box-shadow: inherit;
|
||||||
text-shadow: inherit;
|
text-shadow: inherit;
|
||||||
background: inherit;
|
background: inherit;
|
||||||
|
|||||||
Reference in New Issue
Block a user