Merge branch 'master' of github.com:lytedev/dotfiles
This commit is contained in:
commit
2a69086abc
|
@ -1,9 +1,9 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
LAUNCHER_FONT=$(xrdb -query | sed -ne 's/.*font:\s*xft:\(.*\)\-.*$/\1/p' | head -n 1)
|
LAUNCHER_FONT=$(xrdb -query | sed -ne 's/.*font:\s*xft:\(.*\)\-.*$/\1/p' | head -n 1)
|
||||||
LAUNCHER_FONT_SIZE=$(xrdb -query | sed -ne 's/.*font:\s*xft:.*\-\(.*\)$/\1/p' | head -n 1)
|
LAUNCHER_FONT_SIZE=$(xrdb -query | sed -ne 's/.*font:\s*xft:.*\-\(.*\)$/\1/p' | head -n 1)
|
||||||
HIGHLIGHT_COLOR=$(xrdb -query | sed -ne 's/.*color1*:\s*\(.*\)$/\1/p' | head -n 1)
|
HIGHLIGHT_COLOR=$(xrdb -query | sed -ne 's/.*color1*:\s*\(.*\)$/\1/p' | head -n 1)
|
||||||
BACKGROUND_COLOR=$(xrdb -query | sed -ne 's/.*background:\s*\(.*\)$/\1/p' | head -n 1)
|
BACKGROUND_COLOR=$(xrdb -query | sed -ne 's/.*background:\s*\(.*\)$/\1/p' | head -n 1)
|
||||||
FOREGROUND_COLOR=$(xrdb -query | sed -ne 's/.*foreground:\s*\(.*\)$/\1/p' | head -n 1)
|
FOREGROUND_COLOR=$(xrdb -query | sed -ne 's/.*foreground:\s*\(.*\)$/\1/p' | head -n 1)
|
||||||
|
|
||||||
rofi -show run -font "$LAUNCHER_FONT $LAUNCHER_FONT_SIZE" -lines 16 -width 10 -padding 8 -fuzzy -bw "$BORDER_WIDTH" -color-enabled -color-window "$BACKGROUND_COLOR","$HIGHLIGHT_COLOR","$HIGHLIGHT_COLOR","$BACKGROUND_COLOR" -color-normal "$BACKGROUND_COLOR","$FOREGROUND_COLOR","$BACKGROUND_COLOR","$HIGHLIGHT_COLOR","$FOREGROUND_COLOR" -separator-style none -hide-scrollbar
|
rofi -show run -font "$LAUNCHER_FONT $LAUNCHER_FONT_SIZE" -lines 16 -width 25 -padding 8 -fuzzy -bw "$BORDER_WIDTH" -color-enabled -color-window "$BACKGROUND_COLOR","$HIGHLIGHT_COLOR","$HIGHLIGHT_COLOR","$BACKGROUND_COLOR" -color-normal "$BACKGROUND_COLOR","$FOREGROUND_COLOR","$BACKGROUND_COLOR","$HIGHLIGHT_COLOR","$FOREGROUND_COLOR" -separator-style none -hide-scrollbar
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
gtk-icon-theme-name = elementary
|
gtk-icon-theme-name = elementary
|
||||||
gtk-theme-name = Arc-Dark
|
gtk-theme-name = Arc-Dark
|
||||||
gtk-font-name = Monaco 9
|
gtk-font-name = Monaco 9
|
||||||
|
gtk-application-prefer-dark-theme = true
|
||||||
|
|
|
@ -170,7 +170,7 @@ super + space
|
||||||
|
|
||||||
# lock the desktop
|
# lock the desktop
|
||||||
super + ctrl + shift + l
|
super + ctrl + shift + l
|
||||||
dm-tool lock
|
dm-tool switch-to-greeter
|
||||||
# $SHELL -c '$DOTFILES_PATH/env/x/screensaver/lock.sh'
|
# $SHELL -c '$DOTFILES_PATH/env/x/screensaver/lock.sh'
|
||||||
|
|
||||||
# spawn gui file explorer
|
# spawn gui file explorer
|
||||||
|
|
|
@ -21,6 +21,10 @@ xset r rate 250 80 &
|
||||||
# xset s noblank &
|
# xset s noblank &
|
||||||
# xset s off &
|
# xset s off &
|
||||||
|
|
||||||
|
if command -v xss-lock >/dev/null 2>&1; then
|
||||||
|
xss-lock -- dm-tool switch-to-greeter &
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -d "/usr/lib/nvidia" ]; then
|
if [ -d "/usr/lib/nvidia" ]; then
|
||||||
export LD_LIBRARY_PATH=/usr/lib/nvidia
|
export LD_LIBRARY_PATH=/usr/lib/nvidia
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
*font: xft:artwiz lemon-10
|
*font: xft:xos4 Terminus-12
|
||||||
*faceName: xft:artwiz lemon-10
|
*faceName: xft:xos4 Terminus-12
|
||||||
*boldFont: xft:artwiz lemon-10
|
*boldFont: xft:xos4 Terminus-12
|
||||||
*letterSpace: 0
|
*letterSpace: 0
|
||||||
*scrollBar: false
|
*scrollBar: false
|
||||||
*cursorUnderline: true
|
*cursorUnderline: true
|
||||||
|
|
|
@ -16,12 +16,12 @@ git clone https://aur.archlinux.org/pacaur.git "$REPOSITORY_PATH/pacaur"
|
||||||
|
|
||||||
# build and install cower
|
# build and install cower
|
||||||
cd "$REPOSITORY_PATH/cower"
|
cd "$REPOSITORY_PATH/cower"
|
||||||
makepkg -i --noconfirm --noedit
|
makepkg -i --noconfirm
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
# build and install pacaur
|
# build and install pacaur
|
||||||
cd "$REPOSITORY_PATH/pacaur"
|
cd "$REPOSITORY_PATH/pacaur"
|
||||||
makepkg -i --noconfirm --noedit
|
makepkg -i --noconfirm
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
# once installed, let the package manager manage itself and its dependencies
|
# once installed, let the package manager manage itself and its dependencies
|
||||||
|
|
|
@ -35,7 +35,7 @@ pacaur -S \
|
||||||
samba \
|
samba \
|
||||||
pulseaudio-ctl \
|
pulseaudio-ctl \
|
||||||
alsa-plugins \
|
alsa-plugins \
|
||||||
unclutter-xfixes-git gtk-theme-arc gtk-engine-murrine xorg-server-devel \
|
unclutter-xfixes-git gtk-engine-murrine xorg-server-devel \
|
||||||
bspwm-git sxhkd-git xdo-git \
|
bspwm-git sxhkd-git xdo-git \
|
||||||
siji-git terminus-font ttf-monaco gohufont artwiz-fonts phallus-fonts-git \
|
siji-git terminus-font ttf-monaco gohufont artwiz-fonts phallus-fonts-git \
|
||||||
--noconfirm --noedit
|
--noconfirm --noedit
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
pacaur -S \
|
pacaur -S \
|
||||||
gtk-theme-arc \
|
gtk-theme-arc-git \
|
||||||
|
xorg-drivers \
|
||||||
elementary-icon-theme \
|
elementary-icon-theme \
|
||||||
lemonbar-xft-git \
|
lemonbar-xft-git \
|
||||||
thunar thunar-volman gvfs \
|
thunar thunar-volman gvfs \
|
||||||
thunar-shares-plugin \
|
|
||||||
gvfs-smb \
|
gvfs-smb \
|
||||||
ttf-opensans ttf-dejavu \
|
ttf-opensans ttf-dejavu \
|
||||||
avr-libc avr-gcc dfu-programmer dfu-util \
|
avr-libc avr-gcc dfu-programmer dfu-util \
|
||||||
|
@ -13,7 +13,9 @@ pacaur -S \
|
||||||
gimp \
|
gimp \
|
||||||
audacity \
|
audacity \
|
||||||
reptyr \
|
reptyr \
|
||||||
cmake python2 python2-pip \
|
cmake python python2-pip \
|
||||||
lightdm \
|
accountsservice \
|
||||||
|
xss-lock \
|
||||||
|
lightdm lightdm-gtk-greeter \
|
||||||
polybar-git \
|
polybar-git \
|
||||||
--noconfirm --noedit
|
--noconfirm --noedit
|
||||||
|
|
47
setup
47
setup
|
@ -31,37 +31,42 @@ fi
|
||||||
# TODO: make sure we have an even number, here
|
# TODO: make sure we have an even number, here
|
||||||
links=(
|
links=(
|
||||||
# desktop environment files
|
# desktop environment files
|
||||||
"$dfp/de/bspwmrc" "$XDG_CONFIG_HOME/bspwm/bspwmrc"
|
"$dfp/de/bspwmrc" "$XDG_CONFIG_HOME/bspwm/bspwmrc"
|
||||||
"$dfp/de/sxhkdrc" "$XDG_CONFIG_HOME/sxhkd/sxhkdrc"
|
"$dfp/de/sxhkdrc" "$XDG_CONFIG_HOME/sxhkd/sxhkdrc"
|
||||||
"$dfp/de/xresources" "$HOME/.Xresources"
|
"$dfp/de/xresources" "$HOME/.Xresources"
|
||||||
"$dfp/de/xinitrc" "$HOME/.xinitrc"
|
"$dfp/de/xinitrc" "$HOME/.xinitrc"
|
||||||
"$dfp/de/xprofile" "$HOME/.xprofile"
|
"$dfp/de/xprofile" "$HOME/.xprofile"
|
||||||
"$dfp/common/colors/xresources" "$HOME/.Xresources.colors"
|
"$dfp/common/colors/xresources" "$HOME/.Xresources.colors"
|
||||||
|
|
||||||
# bar files
|
|
||||||
"$dfp/de/bar/polybar-config" "$XDG_CONFIG_HOME/polybar/config"
|
|
||||||
|
|
||||||
# shell files
|
# shell files
|
||||||
"$dfp/shell/bashrc" "$HOME/.bashrc"
|
"$dfp/shell/bashrc" "$HOME/.bashrc"
|
||||||
"$dfp/shell/bash_profile" "$HOME/.bash_profile"
|
"$dfp/shell/bash_profile" "$HOME/.bash_profile"
|
||||||
"$dfp/shell/tmux.conf" "$HOME/.tmux.conf"
|
"$dfp/shell/tmux.conf" "$HOME/.tmux.conf"
|
||||||
"$dfp/shell/tmux-layouts" "$HOME/.tmux/layouts"
|
"$dfp/shell/tmux-layouts" "$HOME/.tmux/layouts"
|
||||||
|
|
||||||
# text editor files
|
# text editor files
|
||||||
"$dfp/text-editor/neovim/" "$XDG_CONFIG_HOME/nvim"
|
"$dfp/text-editor/neovim/" "$XDG_CONFIG_HOME/nvim"
|
||||||
"$dfp/text-editor/neovim/" "$HOME/.vim"
|
"$dfp/text-editor/neovim/" "$HOME/.vim"
|
||||||
"$dfp/text-editor/neovim/init.vim" "$HOME/.vimrc"
|
"$dfp/text-editor/neovim/init.vim" "$HOME/.vimrc"
|
||||||
"$dfp/common/colors/vim" "$XDG_CONFIG_HOME/nvim/colors/base16-donokai.vim"
|
"$dfp/common/colors/vim" "$XDG_CONFIG_HOME/nvim/colors/base16-donokai.vim"
|
||||||
|
|
||||||
|
# gtk configuration files
|
||||||
|
"$dfp/de/gtk2rc" "$HOME/.gtkrc-2.0"
|
||||||
|
"$dfp/de/gtk2rc" "$HOME/.gtkrc"
|
||||||
|
"$dfp/de/gtk3settings.ini" "$HOME/.config/gtk-3.0/settings.ini"
|
||||||
|
|
||||||
# irc files
|
# irc files
|
||||||
"$dfp/misc/irssi/" "$HOME/.irssi"
|
"$dfp/misc/irssi/" "$HOME/.irssi"
|
||||||
"$dfp/misc/weechat/" "$HOME/.weechat"
|
"$dfp/misc/weechat/" "$HOME/.weechat"
|
||||||
|
|
||||||
|
# bar files
|
||||||
|
"$dfp/de/bar/polybar-config" "$XDG_CONFIG_HOME/polybar/config"
|
||||||
|
|
||||||
# neofetch config
|
# neofetch config
|
||||||
"$dfp/misc/neofetch/config" "$HOME/.config/neofetch/config"
|
"$dfp/misc/neofetch/config" "$HOME/.config/neofetch/config"
|
||||||
|
|
||||||
# git config
|
# git config
|
||||||
"$dfp/misc/git/config" "$HOME/.gitconfig"
|
"$dfp/misc/git/config" "$HOME/.gitconfig"
|
||||||
)
|
)
|
||||||
|
|
||||||
source=""
|
source=""
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
splitw -h -p 50
|
splitw -h -p 50
|
||||||
splitw -v -p 67
|
splitw -v -p 67
|
||||||
splitw -v -p 50
|
splitw -v -p 50
|
||||||
resize-pane -x 100
|
resize-pane -x 90
|
||||||
selectp -L
|
selectp -L
|
||||||
|
|
Reference in a new issue