Merge branch 'master' of ssh://git.lyte.dev:2222/lytedev/dotfiles
This commit is contained in:
commit
67eafce5ff
4 changed files with 12 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
resrc
|
||||
source "$HOME/.workdock.env"
|
||||
"${DOTFILES_PATH}/de/x/loadresources" lodpi
|
||||
autorandr --change
|
||||
"${DOTFILES_PATH}/de/bspwm/bspwmrc"
|
||||
|
|
|
@ -6,8 +6,6 @@ export BAR_HEIGHT=40
|
|||
export BAR_ON_TOP=0
|
||||
export BAR_SIDE_MARGIN=200
|
||||
|
||||
MONITOR_WIDTH=$(xrandr | grep "$BAR_MONITOR" | grep -Po ' \d+' | head -n 1)
|
||||
|
||||
export BAR_FONT="${BAR_FONT:-$(xrdb -query | sed -ne 's/.*font:\s*xft:\([^:]*\)\:.*$/\1/p' | head -n 1)}"
|
||||
export BAR_ICON_FONT="${BAR_ICON_FONT:-"Font Awesome 5 Free"}"
|
||||
export BAR_FONT_SIZE="${BAR_FONT_SIZE:-$(xrdb -query | sed -ne 's/.*font:\s*xft:[^-,]*\=\([0-9]*\).*$/\1/p' | head -n 1)}"
|
||||
|
@ -29,6 +27,8 @@ if [ -f "$EDFP/bar" ]; then
|
|||
source "$EDFP/bar"
|
||||
fi
|
||||
|
||||
export MONITOR_WIDTH=$(xrandr | grep "^$BAR_MONITOR " | grep -Po ' \d+' | head -n 1)
|
||||
|
||||
export BAR_FONT_DECLARATION="${BAR_FONT}:pixelsize=${BAR_FONT_SIZE};1"
|
||||
export BAR_ICON_FONT_DECLARATION="${BAR_ICON_FONT}:style=Solid:pixelsize=${BAR_ICON_FONT_SIZE};1"
|
||||
export BAR_ICON_FONT_2_DECLARATION="${BAR_ICON_FONT_2}:style=Regular:pixelsize=${BAR_ICON_FONT_SIZE};1"
|
||||
|
@ -57,4 +57,10 @@ fi
|
|||
|
||||
# bspc
|
||||
|
||||
echo "Monitor: $BAR_MONITOR"
|
||||
echo "Bottom?: $BAR_BOTTOM"
|
||||
echo "Dimensions: $POS_X $POS_Y $BAR_WIDTH $BAR_HEIGHT"
|
||||
echo "EHeight: $EHEIGHT"
|
||||
echo "Margin: $BAR_SIDE_MARGIN"
|
||||
|
||||
polybar lytedev
|
||||
|
|
|
@ -45,6 +45,8 @@ pacaur --needed -S \
|
|||
ranger `# CLI File Manager` \
|
||||
bash-completion `# Handy Scripts for Tab-Completion in Bash` \
|
||||
python-neovim python-jedi python-mistune python-psutil python-setproctitle httpie `# httpie and neovim dependencies` \
|
||||
docker docker-compose `# Yummy containers` \
|
||||
inotify-tools `# Watching` \
|
||||
--noconfirm --noedit
|
||||
|
||||
# install rxvt-unicode script for resizing font on-the-fly
|
||||
|
|
|
@ -9,6 +9,7 @@ else
|
|||
fi
|
||||
|
||||
pacaur --needed -S \
|
||||
bluez bluz-libs bluez-utils bluez-tools \
|
||||
pigz `# Multi-core gzipping` \
|
||||
arc-gtk-theme `# GTK Theme` \
|
||||
elementary-icon-theme `# GUI File Explorer Icons` \
|
||||
|
|
Reference in a new issue