Modify polybar.laptop config and updot script

This commit is contained in:
samedamci 2020-03-13 13:18:30 +01:00
parent edfde23818
commit 475f74194e
3 changed files with 25 additions and 19 deletions

View File

@ -185,6 +185,8 @@ let g:lightline = {
"================
" Plugin configs
"================
let g:move_key_modifier = 'S'
" ALE - Asynchronous Lint Engine
hi ALEWarning cterm=undercurl
hi ALEError cterm=undercurl

View File

@ -12,6 +12,7 @@
bg= ${xrdb:background}
fg = ${xrdb:foreground}
border = ${xrdb:border_unfocused}
border_f = ${xrdb:border_focused}
;~~~~~
; bar
@ -28,7 +29,7 @@ font-2 = "Font Awesome 5 Free:style=Solid:pixelsize=12:antialias=true;3"
background = ${colors.bg}
foreground = ${colors.fg}
line-size = 3
line-size = 0
line-color = ${colors.fg}
border-size = 0
@ -61,28 +62,20 @@ enable-scroll = false
reverse-scroll = false
fuzzy-match = true
ws-icon-0 = "1;"
ws-icon-1 = "2;"
ws-icon-2 = "3;"
ws-icon-3 = "4;"
ws-icon-4 = "5;"
ws-icon-5 = "6;"
ws-icon-6 = "7;"
ws-icon-7 = "8;"
format = <label-state><label-mode>
label-monitor = %name%
label-focused = %index% %icon%
label-focused-background = ${colors.border}
label-focused-overline = ${colors.fg}
label-occupied = %index% %icon%
label-focused = %index%
label-focused-background = ${colors.border_f}
label-occupied-background = ${colors.border}
label-occupied = %index%
label-occupied-padding = 1
label-focused-padding = 1
label-unfocused-padding = 0
label-visible-padding = 0
label-urgent = %index% %icon%
label-unfocused-padding = 1
label-visible-padding = 1
label-urgent = %index%
label-urgent-padding = 1
label-empty =
label-empty = %index%
label-empty-padding = 1
;~~~~~
; MPD

13
updot
View File

@ -1,12 +1,23 @@
#!/usr/bin/sh
#!/usr/bin/env sh
echo "Adding configs to dotfiles repo..."
cd ~
cp .zshrc .Xresources .aliases .bashrc .zprofile .bash_profile .local/share/TelegramDesktop/tdata/shortcuts-custom.json ~/Dotfiles/botfiles/ &>/dev/null
cd ~/.scripts/
cp lockscreen powermenu screenshot update-check updater websearch ~/Dotfiles/botfiles/.scripts/ &>/dev/null
cd ~/.config
if [ "$HOSTNAME" = "pc" ]; then
cat sxhkd/sxhkdrc > sxhkd/sxhkdrc.pc
cat polybar/config > polybar/config.pc
elif [ "$HOSTNAME" = "laptop" ]; then
cat sxhkd/sxhkdrc > sxhkd/sxhkdrc.laptop
cat polybar/config > polybar/config.laptop
fi
cp -r autostart bspwm dconf dunst GIMP gtk-3.0 gtk-2.0 homepage mpd ncmpcpp neofetch nvim picom polybar qutebrowser ranger rofi sxhkd vifm vis vlc wallpapers yay zsh ~/Dotfiles/botfiles/.config/ &>/dev/null
cd ~/Dotfiles/botfiles/.config/
rm -rf nvim/bundle zsh/plugins mpd/database zsh/history mpd/mpd.log mpd/pid mpd/state mpd/sticker.sql vis/vis.log ncmpcpp/lyrics sxhkd/sxhkdrc polybar/config
echo "Done."