summaryrefslogtreecommitdiff
path: root/waybar/config
diff options
context:
space:
mode:
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"
}
}