mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 16:51:34 +02:00
🚀 Add wofi signal on polybar & update neofetch config
This commit is contained in:
parent
2a3bfaa82c
commit
99cc99c7d4
3 changed files with 17 additions and 227 deletions
|
|
@ -33,10 +33,10 @@ font-0 = Iosevka Nerd Font:style=Medium:size=8;3
|
|||
font-1 = FontAwesome5Free:style=Solid:size=7.5;2.5
|
||||
font-2 = Weather Icons:size=7;2
|
||||
|
||||
;; Modules positii3on ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Modules position ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::;
|
||||
modules-left = i3 sp2 weather updates-pacman
|
||||
modules-center =
|
||||
modules-right = pulseaudio microphone backlight keyboard clipmenu wlan date time sp2
|
||||
modules-right = pulseaudio microphone backlight keyboard clipmenu wifi-signal date time sp2
|
||||
tray-position = right
|
||||
tray-padding = 2
|
||||
tray-detached = false
|
||||
|
|
@ -106,7 +106,7 @@ label = %percentage%%
|
|||
ramp-0 =
|
||||
|
||||
|
||||
[module/wlan]
|
||||
[module/wifi-name]
|
||||
type = internal/network
|
||||
interface = wlp3s0
|
||||
format-connected = <ramp-signal> <label-connected>
|
||||
|
|
@ -116,6 +116,13 @@ ramp-signal-0 =
|
|||
interval = 3.0
|
||||
|
||||
|
||||
[module/wifi-signal]
|
||||
type = custom/script
|
||||
label = %output:%%
|
||||
exec = ~/.config/polybar/scripts/wifi-signal.sh
|
||||
interval = 3.0
|
||||
|
||||
|
||||
[module/filesystem]
|
||||
type = internal/fs
|
||||
interval = 25
|
||||
|
|
@ -225,4 +232,4 @@ label-maxlen = 30
|
|||
type = custom/text
|
||||
content = ""
|
||||
click-left = "CM_LAUNCHER=rofi clipmenu"
|
||||
interval = 0
|
||||
interval = 0
|
||||
|
|
|
|||
2
config/polybar/scripts/wifi-signal.sh
Executable file
2
config/polybar/scripts/wifi-signal.sh
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
cat /proc/net/wireless | grep "wlp3s0" | awk '{print $4}' | grep -o '[0-9]*'
|
||||
Loading…
Add table
Add a link
Reference in a new issue