Update .config/packages/arch-packages.fish
Update .config/polybar/launch.sh Update tags
This commit is contained in:
parent
fea7fc04f5
commit
cf917a845b
3 changed files with 51 additions and 44 deletions
|
@ -28,11 +28,11 @@ if ! test "{{ .chezmoi.hostname }}" = "$file"
|
||||||
|
|
||||||
{{ if eq .chezmoi.hostname "archgirlie" -}}
|
{{ if eq .chezmoi.hostname "archgirlie" -}}
|
||||||
{{ range .packages.arch.archgirlie -}}
|
{{ range .packages.arch.archgirlie -}}
|
||||||
yay -S --needed - <{{ . }}
|
yay -S --needed {{ . }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ else if eq .chezmoi.hostname "archbaby" -}}
|
{{ else if eq .chezmoi.hostname "archbaby" -}}
|
||||||
{{ range .packages.arch.archbaby -}}
|
{{ range .packages.arch.archbaby -}}
|
||||||
yay -S --needed - <{{ . }}
|
yay -S --needed {{ . }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
dir="$HOME/.config/polybar"
|
dir="$HOME/.config/polybar"
|
||||||
themes=(`ls --hide="launch.sh" $dir`)
|
# themes=(`ls --hide="launch.sh" $dir`)
|
||||||
|
|
||||||
launch_bar() {
|
launch_bar()
|
||||||
|
{
|
||||||
# Terminate already running bar instances
|
# Terminate already running bar instances
|
||||||
killall -q polybar
|
killall -q polybar
|
||||||
|
|
||||||
|
@ -16,9 +17,15 @@ launch_bar() {
|
||||||
polybar -q bottom -c "$dir/$style/config.ini" &
|
polybar -q bottom -c "$dir/$style/config.ini" &
|
||||||
elif [[ "$style" == "pwidgets" ]]; then
|
elif [[ "$style" == "pwidgets" ]]; then
|
||||||
bash "$dir"/pwidgets/launch.sh --main
|
bash "$dir"/pwidgets/launch.sh --main
|
||||||
|
else
|
||||||
|
if type "xrandr" &>/dev/null; then
|
||||||
|
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
||||||
|
MONITOR=$m polybar -q main -c "$dir/$style/config.ini" &
|
||||||
|
done
|
||||||
else
|
else
|
||||||
polybar -q main -c "$dir/$style/config.ini" &
|
polybar -q main -c "$dir/$style/config.ini" &
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
if [[ "$1" == "--material" ]]; then
|
if [[ "$1" == "--material" ]]; then
|
||||||
|
@ -70,7 +77,7 @@ elif [[ "$1" == "--panels" ]]; then
|
||||||
launch_bar
|
launch_bar
|
||||||
|
|
||||||
else
|
else
|
||||||
cat <<- EOF
|
cat <<-EOF
|
||||||
Usage : launch.sh --theme
|
Usage : launch.sh --theme
|
||||||
|
|
||||||
Available Themes :
|
Available Themes :
|
||||||
|
|
4
tags
4
tags
|
@ -1469,7 +1469,7 @@ EOF dot_config/polybar/docky/scripts/executable_colors-dark.sh /^ cat > $RFILE <
|
||||||
EOF dot_config/polybar/docky/scripts/executable_colors-light.sh /^ cat > $RFILE <<- EOF$/;" h
|
EOF dot_config/polybar/docky/scripts/executable_colors-light.sh /^ cat > $RFILE <<- EOF$/;" h
|
||||||
EOF dot_config/polybar/docky/scripts/executable_pywal.sh /^ cat > $RFILE <<- EOF$/;" h
|
EOF dot_config/polybar/docky/scripts/executable_pywal.sh /^ cat > $RFILE <<- EOF$/;" h
|
||||||
EOF dot_config/polybar/docky/scripts/executable_random.sh /^ cat > $RFILE <<- EOF$/;" h
|
EOF dot_config/polybar/docky/scripts/executable_random.sh /^ cat > $RFILE <<- EOF$/;" h
|
||||||
EOF dot_config/polybar/executable_launch.sh /^ cat <<- EOF$/;" h
|
EOF dot_config/polybar/executable_launch.sh /^ cat <<-EOF$/;" h
|
||||||
EOF dot_config/polybar/forest/scripts/executable_styles.sh /^ cat > $RFILE <<- EOF$/;" h
|
EOF dot_config/polybar/forest/scripts/executable_styles.sh /^ cat > $RFILE <<- EOF$/;" h
|
||||||
EOF dot_config/polybar/grayblocks/scripts/executable_colors-dark.sh /^ cat > $RFILE <<- EOF$/;" h
|
EOF dot_config/polybar/grayblocks/scripts/executable_colors-dark.sh /^ cat > $RFILE <<- EOF$/;" h
|
||||||
EOF dot_config/polybar/grayblocks/scripts/executable_colors-light.sh /^ cat > $RFILE <<- EOF$/;" h
|
EOF dot_config/polybar/grayblocks/scripts/executable_colors-light.sh /^ cat > $RFILE <<- EOF$/;" h
|
||||||
|
@ -6506,7 +6506,7 @@ label dot_config/polybar/shapes/modules.ini /^label = %time%$/;" k section:modul
|
||||||
label dot_config/polybar/shapes/user_modules.ini /^label = "%output% "$/;" k section:module/updates
|
label dot_config/polybar/shapes/user_modules.ini /^label = "%output% "$/;" k section:module/updates
|
||||||
language dot_config/copyq/copyq.conf /^language=en$/;" k section:Options
|
language dot_config/copyq/copyq.conf /^language=en$/;" k section:Options
|
||||||
laravel/installer dot_config/composer/composer.json /^ "laravel\/installer": "^5.6"$/;" s object:require
|
laravel/installer dot_config/composer/composer.json /^ "laravel\/installer": "^5.6"$/;" s object:require
|
||||||
launch_bar dot_config/polybar/executable_launch.sh /^launch_bar() {$/;" f
|
launch_bar dot_config/polybar/executable_launch.sh /^launch_bar()$/;" f
|
||||||
launcher dot_config/polybar/panels/scripts/executable_launcher.sh /^launcher() {$/;" f
|
launcher dot_config/polybar/panels/scripts/executable_launcher.sh /^launcher() {$/;" f
|
||||||
layer1 dot_config/awesome/themes/catppuccin/titlebar/close.svg /^<svg version="1.1" xmlns="http:\/\/www.w3.org\/2000\/svg" xmlns:xlink="http:\/\/www.w3.org\/1999/;" i
|
layer1 dot_config/awesome/themes/catppuccin/titlebar/close.svg /^<svg version="1.1" xmlns="http:\/\/www.w3.org\/2000\/svg" xmlns:xlink="http:\/\/www.w3.org\/1999/;" i
|
||||||
layer1 dot_config/awesome/themes/catppuccin/titlebar/close_hover.svg /^<svg version="1.1" xmlns="http:\/\/www.w3.org\/2000\/svg" xmlns:xlink="http:\/\/www.w3.org\/1999/;" i
|
layer1 dot_config/awesome/themes/catppuccin/titlebar/close_hover.svg /^<svg version="1.1" xmlns="http:\/\/www.w3.org\/2000\/svg" xmlns:xlink="http:\/\/www.w3.org\/1999/;" i
|
||||||
|
|
Loading…
Reference in a new issue