add waybar config
This commit is contained in:
33
waybar/modules/custom/distro.jsonc
Normal file
33
waybar/modules/custom/distro.jsonc
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"custom/distro": {
|
||||
// "exec":
|
||||
// "exec-if":
|
||||
// "exec-on-event":
|
||||
// "hide-empty-text":
|
||||
// "return-type":
|
||||
// "interval":
|
||||
// "restart-interval":
|
||||
// "signal":
|
||||
"format": "",
|
||||
// "format-icons":
|
||||
// "rotate":
|
||||
// "min-length":
|
||||
// "max-length":
|
||||
// "align":
|
||||
// "justify":
|
||||
// "on-click":
|
||||
// "on-click-middle":
|
||||
// "on-click-right":
|
||||
// "on-update":
|
||||
// "on-scroll-up":
|
||||
// "on-scroll-down":
|
||||
// "smooth-scrolling-threshold":
|
||||
"tooltip": false
|
||||
// "tooltip-format":
|
||||
// "escape":
|
||||
// "menu":
|
||||
// "menu-file":
|
||||
// "menu-actions":
|
||||
// "expand":
|
||||
}
|
||||
}
|
||||
79
waybar/modules/custom/dividers.jsonc
Normal file
79
waybar/modules/custom/dividers.jsonc
Normal file
@@ -0,0 +1,79 @@
|
||||
{
|
||||
/*-------------------
|
||||
left dividers
|
||||
-------------------*/
|
||||
|
||||
"custom/left_div#1": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/left_div#2": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/left_div#3": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/left_div#4": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/left_div#5": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/left_div#6": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/left_div#7": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/left_div#8": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// inverse
|
||||
"custom/left_inv#1": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/left_inv#2": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
/*--------------------
|
||||
right dividers
|
||||
--------------------*/
|
||||
|
||||
"custom/right_div#1": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/right_div#2": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/right_div#3": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/right_div#4": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/right_div#5": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// inverse
|
||||
"custom/right_inv#1": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
}
|
||||
}
|
||||
33
waybar/modules/custom/power_menu.jsonc
Normal file
33
waybar/modules/custom/power_menu.jsonc
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"custom/power_menu": {
|
||||
// "exec":
|
||||
// "exec-if":
|
||||
// "exec-on-event":
|
||||
// "hide-empty-text":
|
||||
// "return-type":
|
||||
// "interval":
|
||||
// "restart-interval":
|
||||
// "signal":
|
||||
"format": "",
|
||||
// "format-icons":
|
||||
// "rotate":
|
||||
// "min-length":
|
||||
// "max-length":
|
||||
// "align":
|
||||
// "justify":
|
||||
"on-click": "kitty -e ~/.config/waybar/scripts/power-menu.sh",
|
||||
// "on-click-middle":
|
||||
// "on-click-right":
|
||||
// "on-update":
|
||||
// "on-scroll-up":
|
||||
// "on-scroll-down":
|
||||
// "smooth-scrolling-threshold":
|
||||
// "tooltip":
|
||||
"tooltip-format": "Power Menu"
|
||||
// "escape":
|
||||
// "menu":
|
||||
// "menu-file":
|
||||
// "menu-actions":
|
||||
// "expand":
|
||||
}
|
||||
}
|
||||
33
waybar/modules/custom/system_update.jsonc
Normal file
33
waybar/modules/custom/system_update.jsonc
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"custom/system_update": {
|
||||
"exec": "~/.config/waybar/scripts/system-update.sh module",
|
||||
// "exec-if":
|
||||
// "exec-on-event":
|
||||
// "hide-empty-text":
|
||||
"return-type": "json",
|
||||
"interval": 3600,
|
||||
// "restart-interval":
|
||||
"signal": 1,
|
||||
"format": "{}",
|
||||
// "format-icons":
|
||||
// "rotate":
|
||||
// "align":
|
||||
// "justify":
|
||||
"min-length": 2,
|
||||
"max-length": 2,
|
||||
"on-click": "alacritty -e ~/.config/waybar/scripts/system-update.sh",
|
||||
// "on-click-middle":
|
||||
"on-click-right": "pkill -RTMIN+1 waybar"
|
||||
// "on-update":
|
||||
// "on-scroll-up":
|
||||
// "on-scroll-down":
|
||||
// "smooth-scrolling-threshold":
|
||||
// "tooltip":
|
||||
// "tooltip-format":
|
||||
// "escape":
|
||||
// "menu":
|
||||
// "menu-file":
|
||||
// "menu-actions":
|
||||
// "expand":
|
||||
}
|
||||
}
|
||||
83
waybar/modules/custom/user.jsonc
Normal file
83
waybar/modules/custom/user.jsonc
Normal file
@@ -0,0 +1,83 @@
|
||||
{
|
||||
"group/user": {
|
||||
"orientation": "horizontal",
|
||||
"modules": [
|
||||
"custom/trigger",
|
||||
"custom/user"
|
||||
],
|
||||
"drawer": {
|
||||
// "transition-duration":
|
||||
// "transition-left-to-right":
|
||||
// "children-class":
|
||||
// "click-to-reveal":
|
||||
}
|
||||
},
|
||||
|
||||
"custom/trigger": {
|
||||
// "exec":
|
||||
// "exec-if":
|
||||
// "exec-on-event":
|
||||
// "hide-empty-text":
|
||||
// "return-type":
|
||||
// "interval":
|
||||
// "restart-interval":
|
||||
// "signal":
|
||||
"format": "",
|
||||
// "format-icons":
|
||||
// "rotate":
|
||||
"min-length": 4,
|
||||
"max-length": 4,
|
||||
// "align":
|
||||
// "justify":
|
||||
// "on-click":
|
||||
// "on-click-middle":
|
||||
// "on-click-right":
|
||||
// "on-update":
|
||||
// "on-scroll-up":
|
||||
// "on-scroll-down":
|
||||
// "smooth-scrolling-threshold":
|
||||
"tooltip": false
|
||||
// "tooltip-format":
|
||||
// "escape":
|
||||
// "menu":
|
||||
// "menu-file":
|
||||
// "menu-actions":
|
||||
// "expand":
|
||||
},
|
||||
|
||||
/*--------------
|
||||
username
|
||||
--------------*/
|
||||
|
||||
"custom/user": {
|
||||
"exec": "id -un",
|
||||
// "exec-if":
|
||||
// "exec-on-event":
|
||||
// "hide-empty-text":
|
||||
// "return-type":
|
||||
// "interval":
|
||||
// "restart-interval":
|
||||
// "signal":
|
||||
"format": "{}",
|
||||
// "format-icons":
|
||||
// "rotate":
|
||||
// "min-length":
|
||||
// "max-length":
|
||||
// "align":
|
||||
// "justify":
|
||||
// "on-click":
|
||||
// "on-click-middle":
|
||||
// "on-click-right":
|
||||
// "on-update":
|
||||
// "on-scroll-up":
|
||||
// "on-scroll-down":
|
||||
// "smooth-scrolling-threshold":
|
||||
"tooltip": false
|
||||
// "tooltip-format":
|
||||
// "escape":
|
||||
// "menu":
|
||||
// "menu-file":
|
||||
// "menu-actions":
|
||||
// "expand":
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user