Minor cleanup to a few configs

This commit is contained in:
natemaia 2018-03-02 22:35:19 -08:00
parent 4188797e25
commit 0df43fe08f
5 changed files with 25 additions and 18 deletions

View File

@ -2,14 +2,19 @@
# key bindings
sxhkd &
# wallpaper
nitrogen --restore &
# set super key to launch rofi
ksuperkey -e 'Super_L=Alt_L|F1' &
# launch compton
al-compositor --start &
# gnome polkit
lxpolkit &
# panel
sleep 1; al-polybar-session &

View File

@ -5,7 +5,8 @@
# only after a valid internet connection is made
do_setup() {
keys=('AEFB411B072836CD48FF0381AE252C284B5DBA5D'
keys=(
'AEFB411B072836CD48FF0381AE252C284B5DBA5D'
'9E4F11C6A072942A7B3FD3B0B81EB14A09A25EB0'
'35F52A02854DCCAEC9DD5CC410443C7F54B00041'
)
@ -22,7 +23,7 @@ do_setup() {
sudo pacman-key --populate archlabs
}
while ! [[ "$(ping -c1 8.8.8.8)" ]]; do
while ! ping -c1 8.8.8.8 &>/dev/null; do
sleep 1
done

View File

@ -1,5 +1,5 @@
[dmenu]
dmenu_command = rofi -location 3 -yoffset 35 -xoffset -5 -width 35 -font "Ubuntu 10" -padding 20 -line-padding 4 -hide-scrollbar -password
dmenu_command = rofi -location 3 -yoffset 35 -xoffset -10 -width 37 -font "Ubuntu 10" -padding 20 -line-padding 4 -hide-scrollbar -password
[editor]
terminal = termite

View File

@ -2,16 +2,16 @@
# vim:ft=sh
# To set your language for displaying messages and time/date formats, use the following:
#LANG=en_US.UTF8
# LANG=en_US.UTF8
## GNOME Keyring
# GNOME Keyring
export "$(gnome-keyring-daemon --start --components=pkcs11,secrets)"
# xdg-open applications
export XDG_CURRENT_DESKTOP=XFCE
export DE="xfce"
# D-bus with openbox
# dbus with openbox
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
eval "$(dbus-launch --sh-syntax --exit-with-session)"
fi

View File

@ -3,15 +3,16 @@
# this script will setup configs for any user created from /etc/skel
# if this is not run immediately at startup, polybar WILL fail to load
files=("$HOME/.config/polybar/config"
"$HOME/.config/polybar/sessions/i3-sessionfile"
"$HOME/.config/polybar/sessions/bspwm-sessionfile"
"$HOME/.config/polybar/sessions/openbox-sessionfile"
"$HOME/.config/openbox/autostart"
"$HOME/.config/gtk-3.0/bookmarks"
"$HOME/.mozilla/firefox/archlabs.default/prefs.js"
"$HOME/.mozilla/firefox/archlabs.default/sessionstore.js"
)
files=(
"$HOME/.config/polybar/config"
"$HOME/.config/polybar/sessions/i3-sessionfile"
"$HOME/.config/polybar/sessions/bspwm-sessionfile"
"$HOME/.config/polybar/sessions/openbox-sessionfile"
"$HOME/.config/openbox/autostart"
"$HOME/.config/gtk-3.0/bookmarks"
"$HOME/.mozilla/firefox/archlabs.default/prefs.js"
"$HOME/.mozilla/firefox/archlabs.default/sessionstore.js"
)
for f in "${files[@]}"; do
sed -i "s/liveuser/${USER}/g" "$f"