I forgor to add some files :skull

This commit is contained in:
Michał Gdula 2022-04-19 18:15:17 +01:00
parent 1809244b8a
commit 6b68015b07
3 changed files with 93 additions and 28 deletions

View file

@ -51,6 +51,7 @@ foreground = ${colors.foreground}
font-0 = Rubik:size=11:weight=Medium;2
font-1 = Iosevka Nerd Font:size=18;4
font-2 = Material:size=13;3
font-3 = Material:size=13;2
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
@ -58,7 +59,7 @@ font-2 = Material:size=13;3
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
modules-left = dateL date dateR space timeL time timeR
modules-center = spotifyL spotify spotifyR
modules-right = blueL bluetooth blueR space1 volumeL volume volumeR space2 powerL power powerR
modules-right = blueL updates network bluetooth blueR space1 volumeL volume volumeR space2 powerL power powerR
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-

View file

@ -24,6 +24,31 @@ label = "%time%"
format-background = ${colors.modback}
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
;; WORKSPACE
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
[module/workspace]
type = internal/xworkspaces
label-active = %icon%
format = <label-state>
icon-0 = 1;
icon-1 = 2;
icon-2 = 3;
icon-3 = 4;
icon-4 = 5;
icon-5 = 6;
icon-6 = 7;
icon-7 = 8;
icon-8 = 9;
label-occupied-foreground = ${color.foreground}
label-active-foreground = #8C977D
label-empty-foreground = #666
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
;; SPOTIFY
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
@ -41,6 +66,41 @@ scroll-up = playerctl --player=spotify next
scroll-down = playerctl --player=spotify previous
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
;; UPDATES
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
[module/updates]
type = custom/script
internal = 120
format-background = ${colors.modback}
;format-padding = 1
format = <label>
label = %output%
exec = sh ~/.config/polybar/scripts/update_check.sh
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
;; NETWORK
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
[module/network]
type = internal/network
interface = enp4s0
interval = 2
label-connected = "%{T4}"
label-connected-background = ${colors.modback}
label-disconnected = "%{T4}"
label-disconnected-foreground = #666
label-disconnected-background = ${colors.modback}
label-disconnected-padding = 1
label-connected-padding = 1
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
;; BLUETOOTH
;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
@ -49,6 +109,7 @@ type = custom/script
interval = 2
format-background = ${colors.modback}
;format-padding = 1
exec = ~/.config/polybar/scripts/bluetooth.sh
click-left = exec ~/.config/polybar/scripts/toggle_bluetooth.sh
@ -78,5 +139,5 @@ label-muted-background = ${colors.modback}
type = custom/script
exec = echo " "
format-background = ${colors.modback}
format-prefix =" ☰"
format-prefix = " ☰"
click-left = bash ~/.config/polybar/scripts/powermenu.sh &