Modify polybar.laptop config and updot script
This commit is contained in:
parent
f5a186c733
commit
902eefa850
@ -185,6 +185,8 @@ let g:lightline = {
|
|||||||
"================
|
"================
|
||||||
" Plugin configs
|
" Plugin configs
|
||||||
"================
|
"================
|
||||||
|
let g:move_key_modifier = 'S'
|
||||||
|
|
||||||
" ALE - Asynchronous Lint Engine
|
" ALE - Asynchronous Lint Engine
|
||||||
hi ALEWarning cterm=undercurl
|
hi ALEWarning cterm=undercurl
|
||||||
hi ALEError cterm=undercurl
|
hi ALEError cterm=undercurl
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
bg= ${xrdb:background}
|
bg= ${xrdb:background}
|
||||||
fg = ${xrdb:foreground}
|
fg = ${xrdb:foreground}
|
||||||
border = ${xrdb:border_unfocused}
|
border = ${xrdb:border_unfocused}
|
||||||
|
border_f = ${xrdb:border_focused}
|
||||||
|
|
||||||
;~~~~~
|
;~~~~~
|
||||||
; bar
|
; bar
|
||||||
@ -28,7 +29,7 @@ font-2 = "Font Awesome 5 Free:style=Solid:pixelsize=12:antialias=true;3"
|
|||||||
background = ${colors.bg}
|
background = ${colors.bg}
|
||||||
foreground = ${colors.fg}
|
foreground = ${colors.fg}
|
||||||
|
|
||||||
line-size = 3
|
line-size = 0
|
||||||
line-color = ${colors.fg}
|
line-color = ${colors.fg}
|
||||||
|
|
||||||
border-size = 0
|
border-size = 0
|
||||||
@ -61,28 +62,20 @@ enable-scroll = false
|
|||||||
reverse-scroll = false
|
reverse-scroll = false
|
||||||
fuzzy-match = true
|
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>
|
format = <label-state><label-mode>
|
||||||
label-monitor = %name%
|
label-monitor = %name%
|
||||||
label-focused = %index% %icon%
|
label-focused = %index%
|
||||||
label-focused-background = ${colors.border}
|
label-focused-background = ${colors.border_f}
|
||||||
label-focused-overline = ${colors.fg}
|
label-occupied-background = ${colors.border}
|
||||||
label-occupied = %index% %icon%
|
label-occupied = %index%
|
||||||
label-occupied-padding = 1
|
label-occupied-padding = 1
|
||||||
label-focused-padding = 1
|
label-focused-padding = 1
|
||||||
label-unfocused-padding = 0
|
label-unfocused-padding = 1
|
||||||
label-visible-padding = 0
|
label-visible-padding = 1
|
||||||
label-urgent = %index% %icon%
|
label-urgent = %index%
|
||||||
label-urgent-padding = 1
|
label-urgent-padding = 1
|
||||||
label-empty =
|
label-empty = %index%
|
||||||
|
label-empty-padding = 1
|
||||||
|
|
||||||
;~~~~~
|
;~~~~~
|
||||||
; MPD
|
; MPD
|
||||||
|
13
updot
13
updot
@ -1,12 +1,23 @@
|
|||||||
#!/usr/bin/sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
echo "Adding configs to dotfiles repo..."
|
echo "Adding configs to dotfiles repo..."
|
||||||
|
|
||||||
cd ~
|
cd ~
|
||||||
cp .zshrc .Xresources .aliases .bashrc .zprofile .bash_profile .local/share/TelegramDesktop/tdata/shortcuts-custom.json ~/Dotfiles/botfiles/ &>/dev/null
|
cp .zshrc .Xresources .aliases .bashrc .zprofile .bash_profile .local/share/TelegramDesktop/tdata/shortcuts-custom.json ~/Dotfiles/botfiles/ &>/dev/null
|
||||||
cd ~/.scripts/
|
cd ~/.scripts/
|
||||||
cp lockscreen powermenu screenshot update-check updater websearch ~/Dotfiles/botfiles/.scripts/ &>/dev/null
|
cp lockscreen powermenu screenshot update-check updater websearch ~/Dotfiles/botfiles/.scripts/ &>/dev/null
|
||||||
cd ~/.config
|
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
|
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/
|
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
|
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."
|
echo "Done."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user