Update: Added new modules to polybar, edited i3 config, added rofi-powermenu and touchpad_toggle scripts.

This commit is contained in:
Keyitdev
2025-07-24 11:45:13 +02:00
parent 7dcd9a13ad
commit 7e2ab9aac4
4 changed files with 113 additions and 28 deletions
+30 -22
View File
@@ -62,11 +62,15 @@ font-0 = "Iosevka Nerd Font:size=12;4"
font-1 = "Iosevka Nerd Font:style=Medium:size=18;4"
font-2 = "feather:size=13;5"
modules-left = l i3 r s l mpd r s l wireless-network r
; modules-left = l menu r s l i3 r s l wireless-network r
; modules-center = l date r
; modules-right = l temperature s2 s2 cpu s2 s2 ram r s l backlight r s l pulseaudio r s l battery r s l tray r
modules-left = l menu r s l i3 r
modules-center = l date r
modules-right = l temperature s2 s2 cpu s2 s2 ram r s l backlight r s l pulseaudio r s l battery r s l tray r
; modules-right = l filesystem r s l ram r s l temperature s2 cpu r s l backlight s2 pulseaudio r s l battery r s l wattage r s l tray r
;s l title r
modules-right = l wireless-network r s l temperature s2 s2 ram r s l backlight s2 s2 pulseaudio r s l battery r s tray_transparent
;l r s s2
; module-margin =
; separator =
@@ -132,6 +136,18 @@ tray-padding = 5px
tray-spacing = 0
tray-size = 66%
[module/tray_transparent]
type = internal/tray
format-background = ${color.transparent}
tray-foreground = ${color.transparent}
tray-background = ${color.transparent}
tray-padding = 5px
tray-spacing = 0
tray-size = 66%
[module/alsa]
type = internal/alsa
interval = 5
@@ -612,28 +628,20 @@ label-urgent-background = ${color.background}
label-urgent-padding = 1
[module/my-text-label]
[module/menu]
type = custom/text
; @deprecated Use format and/or label to define the module text
; content = Some random label
; Available tags:
; <label> (default)
; New in version 3.7.0
format = <label>
format-background = #000
format-foreground = #fff
format-padding = 4
label = ""
format-background = ${color.background}
format-foreground = ${color.yellow}
; No tokens available
; New in version 3.7.0
label = Some random label
; "click-(left|middle|right)" will be executed using "/bin/sh -c $COMMAND"
click-left = rofi -show drun
click-middle = notify-send middle
click-right = notify-send right
; create a new workspace (with the smallest possible number)
click-middle = i3-msg workspace $(comm -23 <(seq 1 100) <(i3-msg -t get_workspaces | jq '.[].num' | sort -n) | head -n 1)
click-right = rofi-powermenu
; "scroll-(up|down)" will be executed using "/bin/sh -c $COMMAND"
scroll-up = notify-send scroll up
scroll-down = notify-send scroll down
; scroll-up = notify-send scroll up
; scroll-down = notify-send scroll down