improved install.sh, added nvim

This commit is contained in:
2022-07-09 19:22:31 -04:00
parent 4ce08af69a
commit 51381f96ab
353 changed files with 23883 additions and 1140 deletions
+11 -11
View File
@@ -19,10 +19,8 @@
[colors]
background = ${xrdb:color0}
;background = #222
background-alt = #444
foreground = ${xrdb:color7}
;foreground = #dfdfdf
foreground-alt = #555
primary = #ffb52a
secondary = #e60053
@@ -30,6 +28,7 @@ alert = #bd2c40
[bar/default]
monitor = ${env:MONITOR:}
width = 100%
height = 2.5%
bottom = true
@@ -54,15 +53,16 @@ module-margin-left = 1
module-margin-right = 2
font-0 = Noto Sans:style=Regular:size=11;1
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = siji:pixelsize=10;1
font-1 = unifont:style=Regular:size=11;0
font-2 = siji:style=Regular:size=11;1
modules-left = i3
modules-center =
modules-right = cpu memory wlan battery pulseaudio date
modules-right = cpu memory wlan pulseaudio date battery
tray-position = right
tray-padding = 2
tray-scale = 1.0
;tray-background = #0063ff
;tray-reparent = true
;wm-restack = bspwm
@@ -120,7 +120,7 @@ label-urgent-padding = 2
[module/cpu]
type = internal/cpu
interval = 2
format-prefix = "CPU Usage: "
format-prefix = "CPU: "
format-prefix-foreground = ${xrdb:color7}
format-underline =
label = %percentage:2%%
@@ -141,7 +141,7 @@ interval = 3.0
format-connected = <ramp-signal> <label-connected>
format-connected-underline =
label-connected = %essid%
;label-disconnected = "No connection"
label-disconnected = "No connection"
;format-disconnected = <label-disconnected>
;format-disconnected-underline = ${self.format-connected-underline}
;label-disconnected = %ifname% disconnected
@@ -199,11 +199,11 @@ bar-volume-empty-foreground = ${colors.foreground-alt}
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC
battery = BAT1
adapter = ADP1
full-at = 98
label-full = ""
label-full = "🔋"
format-charging = <animation-charging> <label-charging>
format-charging-underline = #ffb52a
@@ -234,7 +234,7 @@ animation-discharging-framerate = 750
[settings]
screenchange-reload = true
screenchange-reload = false
;compositing-background = xor
compositing-background = screen
;compositing-foreground = source
+4 -6
View File
@@ -1,12 +1,10 @@
#!/bin/bash
killall -q polybar
wal -i ~/.wallpapers/dark/
xrdb -merge ~/.Xresources
while pgrep -u $UID -x polybar >/dev/null; do
sleep 1; done
#while pgrep -u $UID -x polybar >/dev/null; do
# sleep 0.5; done
for m in $(polybar --list-monitors | cut -d":" -f1); do
MONITOR=$m polybar --reload default &
MONITOR=$m polybar --reload &
done
-28
View File
@@ -1,28 +0,0 @@
[module/spotify-icon]
type = custom/script
exec = .config/polybar/scripts/spotify-icon.sh
interval = 1
[module/spotify-music]
type = custom/script
exec = .config/polybar/scripts/spotify-music.sh
click-left = bspc desktop -f '^10'
interval = 1
[module/spotify-prev]
type = custom/script
exec = .config/polybar/scripts/spotify-prev.sh
click-left = playerctl --player=spotify previous
interval = 1
[module/spotify-play-pause]
type = custom/script
exec = .config/polybar/scripts/spotify-play-pause.sh
click-left = playerctl --player=spotify play-pause
interval = 1
[module/spotify-next]
type = custom/script
exec = .config/polybar/scripts/spotify-next.sh
click-left = playerctl --player=spotify next
interval = 1
-7
View File
@@ -1,7 +0,0 @@
#!/usr/bin/env bash
if [ "$(playerctl --player=spotify metadata --format "{{ title }} - {{ artist }}" >>/dev/null 2>&1; echo $?)" == "1" ]; then
echo ""
else
echo "阮"
fi
-7
View File
@@ -1,7 +0,0 @@
#!/usr/bin/env bash
if [ "$(playerctl --player=spotify metadata --format "{{ title }} - {{ artist }}" >>/dev/null 2>&1; echo $?)" == "1" ]; then
echo ""
else
playerctl --player=spotify metadata --format "{{ title }} - {{ artist }}"
fi
-7
View File
@@ -1,7 +0,0 @@
#!/usr/bin/env bash
if [ "$(playerctl --player=spotify metadata --format "{{ title }} - {{ artist }}" >>/dev/null 2>&1; echo $?)" == "1" ]; then
echo ""
else
echo "怜"
fi
-7
View File
@@ -1,7 +0,0 @@
#!/usr/bin/env bash
if [ "$(playerctl --player=spotify metadata --format "{{ title }} - {{ artist }}" >>/dev/null 2>&1; echo $?)" == "1" ]; then
echo ""
else
echo "懶"
fi
-7
View File
@@ -1,7 +0,0 @@
#!/usr/bin/env bash
if [ "$(playerctl --player=spotify metadata --format "{{ title }} - {{ artist }}" >>/dev/null 2>&1; echo $?)" == "1" ]; then
echo ""
else
echo "玲"
fi