From ca968c4e5040f1ff4b5b5e12d9312360d807dcc1 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Mon, 3 Jun 2024 19:56:39 +0800 Subject: added submodules, change . -> dot (see man stow --dotfiles) --- dot-config/bspwm/themes/hack/polybar/.module | 0 dot-config/bspwm/themes/hack/polybar/bars.ini | 553 +++++++++ dot-config/bspwm/themes/hack/polybar/colors.ini | 28 + dot-config/bspwm/themes/hack/polybar/config.ini | 309 +++++ dot-config/bspwm/themes/hack/polybar/launch.sh | 43 + dot-config/bspwm/themes/hack/polybar/modules.ini | 1258 ++++++++++++++++++++ .../themes/hack/polybar/scripts/check-network | 21 + .../bspwm/themes/hack/polybar/scripts/checkupdates | 117 ++ .../bspwm/themes/hack/polybar/scripts/updates.sh | 47 + 9 files changed, 2376 insertions(+) create mode 100644 dot-config/bspwm/themes/hack/polybar/.module create mode 100644 dot-config/bspwm/themes/hack/polybar/bars.ini create mode 100644 dot-config/bspwm/themes/hack/polybar/colors.ini create mode 100644 dot-config/bspwm/themes/hack/polybar/config.ini create mode 100755 dot-config/bspwm/themes/hack/polybar/launch.sh create mode 100644 dot-config/bspwm/themes/hack/polybar/modules.ini create mode 100755 dot-config/bspwm/themes/hack/polybar/scripts/check-network create mode 100755 dot-config/bspwm/themes/hack/polybar/scripts/checkupdates create mode 100755 dot-config/bspwm/themes/hack/polybar/scripts/updates.sh (limited to 'dot-config/bspwm/themes/hack/polybar') diff --git a/dot-config/bspwm/themes/hack/polybar/.module b/dot-config/bspwm/themes/hack/polybar/.module new file mode 100644 index 00000000..e69de29b diff --git a/dot-config/bspwm/themes/hack/polybar/bars.ini b/dot-config/bspwm/themes/hack/polybar/bars.ini new file mode 100644 index 00000000..0e805003 --- /dev/null +++ b/dot-config/bspwm/themes/hack/polybar/bars.ini @@ -0,0 +1,553 @@ +## Copyright (C) 2020-2022 Aditya Shakya + +;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ + +[bar] +fill =  +empty =  +indicator = ⏽ +; Nerd font :   ,  ⏽,  樂 籠 錄 , 雷 絛 + +;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ + +[module/volume] +type = internal/alsa + +; Soundcard to be used +; Usually in the format hw:# where # is the card number +; You can find the different card numbers in `/proc/asound/cards` +master-soundcard = default +speaker-soundcard = default +headphone-soundcard = default + +; Name of the master, speaker and headphone mixers +; Use the following command to list available mixer controls: +; $ amixer scontrols | sed -nr "s/.*'([[:alnum:]]+)'.*/\1/p" +; If master, speaker or headphone-soundcard isn't the default, +; use `amixer -c # scontrols` instead where # is the number +; of the master, speaker or headphone soundcard respectively +; +; Default: Master +master-mixer = Master + +; Optionally define speaker and headphone mixers +; Default: none +;;speaker-mixer = Speaker +; Default: none +;;headphone-mixer = Headphone + +; NOTE: This is required if headphone_mixer is defined +; Use the following command to list available device controls +; $ amixer controls | sed -r "/CARD/\!d; s/.*=([0-9]+).*name='([^']+)'.*/printf '%3.0f: %s\n' '\1' '\2'/e" | sort +; You may also need to use `amixer -c # controls` as above for the mixer names +; Default: none +;;headphone-id = 9 + +; Use volume mapping (similar to amixer -M and alsamixer), where the increase in volume is linear to the ear +; Default: false +;;mapped = true + +; Interval for volume increase/decrease (in percent points) +; Default: 5 +interval = 5 + +; Available tags: +; (default) +; +; +format-volume = + +; Available tags: +; (default) +; +; +format-muted-prefix =  + +; Available tokens: +; %percentage% (default) +label-volume = %percentage%% + +; Available tokens: +; %percentage% (default +label-muted = " Mute" +label-muted-foreground = ${color.COLOR_R} + +; Only applies if is used +ramp-volume-0 =  +ramp-volume-1 =  +ramp-volume-2 =  + +; Only applies if is used +bar-volume-width = 10 +bar-volume-gradient = false + +bar-volume-indicator = ${bar.indicator} +bar-volume-indicator-foreground = ${color.FOREGROUND} + +bar-volume-fill = ${bar.fill} +bar-volume-foreground-0 = ${color.FOREGROUND} +bar-volume-foreground-1 = ${color.FOREGROUND} +bar-volume-foreground-2 = ${color.FOREGROUND} +bar-volume-foreground-3 = ${color.FOREGROUND} +bar-volume-foreground-4 = ${color.FOREGROUND} + +bar-volume-empty = ${bar.empty} +bar-volume-empty-foreground = ${color.FOREGROUND} + +; If defined, it will replace when +; headphones are plugged in to `headphone_control_numid` +; If undefined, will be used for both +; Only applies if is used +ramp-headphones-0 =  + +;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ + +[module/bna-bar] +type = custom/text + +content = " NA" +content-prefix = 盛 + +;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ + +[module/backlight-bar] +type = internal/xbacklight + +; Use the following command to list available cards: +; $ ls -1 /sys/class/backlight/ +card = intel_backlight + +; Available tags: +;