From 36f4585dfa2482067aaf4aa96a8b00f1fe7839c0 Mon Sep 17 00:00:00 2001 From: Fluffy-Bean Date: Tue, 19 Apr 2022 10:34:46 +0100 Subject: [PATCH] Polybar update --- polybar/colours/gruvbox.ini | 6 + polybar/colours/paradise.ini | 6 + polybar/config.ini | 204 ++-------------------------- polybar/left_roundy.ini | 38 ++++++ polybar/right_roundy.ini | 44 ++++++ polybar/scripts/bluetooth.sh | 11 ++ polybar/scripts/powermenu.sh | 0 polybar/scripts/toggle_bluetooth.sh | 7 + polybar/space.ini | 17 +++ polybar/start.sh | 2 + polybar/user_modules.ini | 82 +++++++++++ 11 files changed, 222 insertions(+), 195 deletions(-) create mode 100644 polybar/colours/gruvbox.ini create mode 100644 polybar/colours/paradise.ini create mode 100644 polybar/left_roundy.ini create mode 100644 polybar/right_roundy.ini create mode 100755 polybar/scripts/bluetooth.sh mode change 100644 => 100755 polybar/scripts/powermenu.sh create mode 100755 polybar/scripts/toggle_bluetooth.sh create mode 100644 polybar/space.ini create mode 100755 polybar/start.sh create mode 100644 polybar/user_modules.ini diff --git a/polybar/colours/gruvbox.ini b/polybar/colours/gruvbox.ini new file mode 100644 index 0000000..11626e6 --- /dev/null +++ b/polybar/colours/gruvbox.ini @@ -0,0 +1,6 @@ +;; GRUVBOX THEME +background = #00000000 +sepback = #1d2021 +modback= #282828 +foreground = #ebdbb2 +menucolour = #ebdbb2 diff --git a/polybar/colours/paradise.ini b/polybar/colours/paradise.ini new file mode 100644 index 0000000..e34e5f1 --- /dev/null +++ b/polybar/colours/paradise.ini @@ -0,0 +1,6 @@ +;; PARADISE THEME +background = #00000000 +sepback = #000000 +modback= #151515 +foreground = #E8E3E3 +menucolour = #8C977D diff --git a/polybar/config.ini b/polybar/config.ini index 387ab27..fdf5124 100644 --- a/polybar/config.ini +++ b/polybar/config.ini @@ -1,6 +1,5 @@ ;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- ;; -;; ;; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ ;; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ ;; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ @@ -15,24 +14,10 @@ ;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- -;; COLOURS +;; BAR ;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- [colors] - -;; GRUVBOX THEME -;background = #00000000 -;sepback = #1d2021 -;modback= #282828 -;foreground = #ebdbb2 -;menucolour = #ebdbb2 - -;; PARADICE THEME -background = #00000000 -sepback = #000000 -;sepback = #E8E3E3 -modback= #151515 -foreground = #E8E3E3 -menucolour = #8C977D +include-file = ~/.config/polybar/colours/paradise.ini [bar/fluffy] width = 100% @@ -64,9 +49,8 @@ foreground = ${colors.foreground} ;; FONTS ;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- font-0 = Rubik:size=11:weight=Medium;2 -;font-0 = Fira Code:size=11:weight=Bold;2 font-1 = Iosevka Nerd Font:size=18;4 -font-2 = Iosevka Nerd Font:size=13;3 +font-2 = Material:size=13;3 ;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- @@ -74,196 +58,26 @@ font-2 = Iosevka Nerd Font:size=13;3 ;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- modules-left = dateL date dateR space timeL time timeR modules-center = spotifyL spotify spotifyR -modules-right = volumeL volume volumeR space1 powerL power powerR +modules-right = blueL bluetooth blueR space1 volumeL volume volumeR space2 powerL power powerR ;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- ;; SPACE ;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- -[module/space] -type = custom/text -content-background = ${colors.sepback} -content = " " +include-file = ~/.config/polybar/space.ini -[module/space1] -type = custom/text -content-background = ${colors.sepback} -content = " " ;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- ;; ROUNDY ROUNDY ;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- -;; LEFT -;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- -[module/dateL] -type = custom/text -content-background = ${colors.background} -content-foreground = ${colors.modback} -content = "%{T2}%{T-}" - -[module/timeL] -type = custom/text -content-background = ${colors.sepback} -content-foreground = ${colors.modback} -content = "%{T2}%{T-}" - -[module/spotifyL] -type = custom/text -content-background = ${colors.background} -content-foreground = ${colors.modback} -content = "%{T2}%{T-}" - -[module/volumeL] -type = custom/text -content-background = ${colors.background} -content-foreground = ${colors.modback} -content = "%{T2}%{T-}" - -[module/powerL] -type = custom/text -content-background = ${colors.sepback} -content-foreground = ${colors.modback} -content = "%{T2}%{T-}" - -;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- -;; RIGHT -;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- -[module/dateR] -type = custom/text -content-background = ${colors.sepback} -content-foreground = ${colors.modback} -content = "%{T2}%{T-}" - -[module/timeR] -type = custom/text -content-background = ${colors.background} -content-foreground = ${colors.modback} -content = "%{T2}%{T-}" - -[module/spotifyR] -type = custom/text -content-background = ${colors.background} -content-foreground = ${colors.modback} -content = "%{T2}%{T-}" - -[module/volumeR] -type = custom/text -content-background = ${colors.sepback} -content-foreground = ${colors.modback} -content = "%{T2}%{T-}" - -[module/left3] -type = custom/text -content-background = ${colors.background} -content-foreground = ${colors.modback} -content = "%{T2}%{T-}" - -[module/powerR] -type = custom/text -content-background = ${colors.background} -content-foreground = ${colors.modback} -content = "%{T2}%{T-}" +include-file = ~/.config/polybar/left_roundy.ini +include-file = ~/.config/polybar/right_roundy.ini ;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- -;; DATE +;; MODULES ;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- -[module/date] -type = internal/date -interval = 5 - -date = "%a, %d %b" - -label = "%date%" - -format-background = ${colors.modback} -;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- -;; TIME -;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- -[module/time] -type = internal/date -interval = 5 - -time = "%H:%M" - -label = "%time%" - -format-background = ${colors.modback} - - -;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- -;; SPOTIFY -;;_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- -[module/spotify] -type = custom/script -interval = 1 - -format =