summaryrefslogtreecommitdiff
path: root/waybar/config
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-02-24 01:32:19 -0600
committerzachir <zachir@librem.one>2023-02-24 01:32:19 -0600
commitffec94b6f7e065b403a12c8d33935f844f3c535d (patch)
treec4a8afa738a4b0d18e8bf93f1c3202c510f7082e /waybar/config
parent79050372ed9b855e4c404a6878ed19ee14ac1a15 (diff)
reconfig waybar
Diffstat (limited to 'waybar/config')
-rw-r--r--waybar/config33
1 files changed, 5 insertions, 28 deletions
diff --git a/waybar/config b/waybar/config
index f75ad8d..c9c45c3 100644
--- a/waybar/config
+++ b/waybar/config
@@ -1,6 +1,6 @@
{
"layer": "top",
- "position": "bottom",
+ "position": "top",
"height": 35,
"spacing": 4,
"margin-top": 5,
@@ -8,14 +8,14 @@
// Choose the order of the modules
- "modules-left":[ "river/tags", "custom/launcher", "custom/media"],
- "modules-center":[ "idle_inhibitor", "custom/updater", "custom/snip", "custom/wallpaper", "pulseaudio", "cpu", "memory", "temperature", "backlight", "keyboard-state", "battery#bat0", "battery#bat1", "network"],
- "modules-right":["clock", "tray", "custom/power"],
+ "modules-left":[ "river/tags", "custom/launcher"],
+ "modules-center":[],
+ "modules-right":[ "idle_inhibitor", "pulseaudio", "cpu", "memory", "temperature", "backlight", "battery#bat0", "battery#bat1", "network", "clock", "tray", "custom/power"],
// Modules configuration
"river/tags": {
- "num-tags": 5,
+ "num-tags": 9,
},
"keyboard-state": {
"numlock": true,
@@ -111,18 +111,6 @@
},
"on-click": "pavucontrol"
},
- "custom/media": {
- "format": "{icon} {}",
- "return-type": "json",
- "max-length": 20,
- "format-icons": {
- "spotify": " ",
- "default": " "
- },
- "escape": true,
- "exec": "$HOME/.config/system_scripts/mediaplayer.py 2> /dev/null",
- "on-click": "playerctl play-pause"
- },
"custom/launcher":{
"format": "",
"on-click": "wofi --show drun",
@@ -133,19 +121,8 @@
"on-click": "nwg-bar",
"on-click-right": "killall nwg-bar"
},
- //"custom/updater":{
- // "format": " {} Update(s)",
- // "exec": "checkupdates | wc -l",
- // "exec-if": "[[ $(checkupdates | wc -l) != 0 ]]",
- // "interval": 15,
- // "on-click": "alacritty -e yay -Syu && notify-send 'The system has been updated' "
- //},
"custom/snip":{
"format": " ",
"on-click": "grimshot --notify save area $HOME/Pictures/$(zenity --entry --text 'Set filename:' --entry-text '.png')"
- },
- "custom/wallpaper":{
- "format":" ",
- "on-click": "bash ~/.config/system_scripts/pkill_bc"
}
}