From 9f54cc14cb9c728d93d8960f1aea6ef4f4018dd2 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Thu, 18 Feb 2021 21:33:39 +0100 Subject: [PATCH] Move stuff into script/polybar folder --- arch-config/.config/polybar/modules/modules.ini | 12 ++++++------ arch-config/.config/polybar/modules/updates.ini | 2 +- arch-config/.config/polybar/modules/weather.ini | 4 ++-- arch-config/.config/polybar/scripts/.gitkeep | 0 .../scripts => scripts/polybar}/player-cmus.sh | 0 .../scripts => scripts/polybar}/player-mpris-tail.py | 0 .../polybar/scripts => scripts/polybar}/powermenu | 0 .../{ => polybar}/updates-pacman-aurhelper.sh | 0 .../polybar/scripts => scripts/polybar}/weather.py | 0 9 files changed, 9 insertions(+), 9 deletions(-) delete mode 100755 arch-config/.config/polybar/scripts/.gitkeep rename arch-config/{.config/polybar/scripts => scripts/polybar}/player-cmus.sh (100%) rename arch-config/{.config/polybar/scripts => scripts/polybar}/player-mpris-tail.py (100%) rename arch-config/{.config/polybar/scripts => scripts/polybar}/powermenu (100%) rename arch-config/scripts/{ => polybar}/updates-pacman-aurhelper.sh (100%) rename arch-config/{.config/polybar/scripts => scripts/polybar}/weather.py (100%) diff --git a/arch-config/.config/polybar/modules/modules.ini b/arch-config/.config/polybar/modules/modules.ini index a6e7154e..0d716071 100755 --- a/arch-config/.config/polybar/modules/modules.ini +++ b/arch-config/.config/polybar/modules/modules.ini @@ -94,11 +94,11 @@ content = " " type = custom/script format-foreground = ${colors.foreground} format-background = ${colors.modbackground} -exec = ~/.config/polybar/scripts/player-mpris-tail.py -f '{icon} {:artist:t15:{artist}:}{:artist: - :}{:t30:{title}:}' +exec = ~/scripts/polybar/player-mpris-tail.py -f '{icon} {:artist:t15:{artist}:}{:artist: - :}{:t30:{title}:}' tail = true -click-left = ~/.config/polybar/scripts/player-mpris-tail.py play-pause & -click-right = ~/.config/polybar/scripts/player-mpris-tail.py next & -click-middle = ~/.config/polybar/scripts/player-mpris-tail.py previous & +click-left = ~/scripts/polybar/player-mpris-tail.py play-pause & +click-right = ~/scripts/polybar/player-mpris-tail.py next & +click-middle = ~/scripts/polybar/player-mpris-tail.py previous & ################################################################################ @@ -124,7 +124,7 @@ content = " ▶ " content-background = ${colors.modbackground} content-foreground = ${colors.foreground} -click-left = ~/.config/polybar/scripts/powermenu +click-left = ~/scripts/polybar/powermenu ################################################################################ @@ -132,7 +132,7 @@ click-left = ~/.config/polybar/scripts/powermenu [module/player-cmus] type = custom/script -exec = ~/.config/polybar/scripts/player-cmus.sh +exec = ~/scripts/polybar/player-cmus.sh interval = 5 content-background = ${colors.modbackground} format-background = ${colors.modbackground} diff --git a/arch-config/.config/polybar/modules/updates.ini b/arch-config/.config/polybar/modules/updates.ini index df14ff54..328cecdb 100644 --- a/arch-config/.config/polybar/modules/updates.ini +++ b/arch-config/.config/polybar/modules/updates.ini @@ -6,7 +6,7 @@ [module/updates-pacman-aurhelper] type = custom/script -exec = ~/scripts/updates-pacman-aurhelper.sh +exec = ~/scripts/polybar/updates-pacman-aurhelper.sh interval = 600 format-foreground = ${colors.foreground} format-background = ${colors.modbackground} diff --git a/arch-config/.config/polybar/modules/weather.ini b/arch-config/.config/polybar/modules/weather.ini index f2f6e9a7..027f96f2 100755 --- a/arch-config/.config/polybar/modules/weather.ini +++ b/arch-config/.config/polybar/modules/weather.ini @@ -7,5 +7,5 @@ format-prefix-foreground = ${colors.foreground} format-underline = ${colors.orange} format-foreground = ${colors.foreground} format-background = ${colors.background} -exec = python -u ~/.config/polybar/scripts/weather.py -tail = true \ No newline at end of file +exec = python -u ~/scripts/polybar/weather.py +tail = true diff --git a/arch-config/.config/polybar/scripts/.gitkeep b/arch-config/.config/polybar/scripts/.gitkeep deleted file mode 100755 index e69de29b..00000000 diff --git a/arch-config/.config/polybar/scripts/player-cmus.sh b/arch-config/scripts/polybar/player-cmus.sh similarity index 100% rename from arch-config/.config/polybar/scripts/player-cmus.sh rename to arch-config/scripts/polybar/player-cmus.sh diff --git a/arch-config/.config/polybar/scripts/player-mpris-tail.py b/arch-config/scripts/polybar/player-mpris-tail.py similarity index 100% rename from arch-config/.config/polybar/scripts/player-mpris-tail.py rename to arch-config/scripts/polybar/player-mpris-tail.py diff --git a/arch-config/.config/polybar/scripts/powermenu b/arch-config/scripts/polybar/powermenu similarity index 100% rename from arch-config/.config/polybar/scripts/powermenu rename to arch-config/scripts/polybar/powermenu diff --git a/arch-config/scripts/updates-pacman-aurhelper.sh b/arch-config/scripts/polybar/updates-pacman-aurhelper.sh similarity index 100% rename from arch-config/scripts/updates-pacman-aurhelper.sh rename to arch-config/scripts/polybar/updates-pacman-aurhelper.sh diff --git a/arch-config/.config/polybar/scripts/weather.py b/arch-config/scripts/polybar/weather.py similarity index 100% rename from arch-config/.config/polybar/scripts/weather.py rename to arch-config/scripts/polybar/weather.py