Minor cleanup to a few configs
This commit is contained in:
parent
4188797e25
commit
0df43fe08f
@ -2,14 +2,19 @@
|
|||||||
|
|
||||||
# key bindings
|
# key bindings
|
||||||
sxhkd &
|
sxhkd &
|
||||||
|
|
||||||
# wallpaper
|
# wallpaper
|
||||||
nitrogen --restore &
|
nitrogen --restore &
|
||||||
|
|
||||||
# set super key to launch rofi
|
# set super key to launch rofi
|
||||||
ksuperkey -e 'Super_L=Alt_L|F1' &
|
ksuperkey -e 'Super_L=Alt_L|F1' &
|
||||||
|
|
||||||
# launch compton
|
# launch compton
|
||||||
al-compositor --start &
|
al-compositor --start &
|
||||||
|
|
||||||
# gnome polkit
|
# gnome polkit
|
||||||
lxpolkit &
|
lxpolkit &
|
||||||
|
|
||||||
# panel
|
# panel
|
||||||
sleep 1; al-polybar-session &
|
sleep 1; al-polybar-session &
|
||||||
|
|
||||||
|
@ -5,7 +5,8 @@
|
|||||||
# only after a valid internet connection is made
|
# only after a valid internet connection is made
|
||||||
|
|
||||||
do_setup() {
|
do_setup() {
|
||||||
keys=('AEFB411B072836CD48FF0381AE252C284B5DBA5D'
|
keys=(
|
||||||
|
'AEFB411B072836CD48FF0381AE252C284B5DBA5D'
|
||||||
'9E4F11C6A072942A7B3FD3B0B81EB14A09A25EB0'
|
'9E4F11C6A072942A7B3FD3B0B81EB14A09A25EB0'
|
||||||
'35F52A02854DCCAEC9DD5CC410443C7F54B00041'
|
'35F52A02854DCCAEC9DD5CC410443C7F54B00041'
|
||||||
)
|
)
|
||||||
@ -22,7 +23,7 @@ do_setup() {
|
|||||||
sudo pacman-key --populate archlabs
|
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
|
sleep 1
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[dmenu]
|
[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]
|
[editor]
|
||||||
terminal = termite
|
terminal = termite
|
||||||
|
@ -2,16 +2,16 @@
|
|||||||
# vim:ft=sh
|
# vim:ft=sh
|
||||||
|
|
||||||
# To set your language for displaying messages and time/date formats, use the following:
|
# 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)"
|
export "$(gnome-keyring-daemon --start --components=pkcs11,secrets)"
|
||||||
|
|
||||||
# xdg-open applications
|
# xdg-open applications
|
||||||
export XDG_CURRENT_DESKTOP=XFCE
|
export XDG_CURRENT_DESKTOP=XFCE
|
||||||
export DE="xfce"
|
export DE="xfce"
|
||||||
|
|
||||||
# D-bus with openbox
|
# dbus with openbox
|
||||||
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
|
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
|
||||||
eval "$(dbus-launch --sh-syntax --exit-with-session)"
|
eval "$(dbus-launch --sh-syntax --exit-with-session)"
|
||||||
fi
|
fi
|
||||||
|
@ -3,15 +3,16 @@
|
|||||||
# this script will setup configs for any user created from /etc/skel
|
# 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
|
# if this is not run immediately at startup, polybar WILL fail to load
|
||||||
|
|
||||||
files=("$HOME/.config/polybar/config"
|
files=(
|
||||||
"$HOME/.config/polybar/sessions/i3-sessionfile"
|
"$HOME/.config/polybar/config"
|
||||||
"$HOME/.config/polybar/sessions/bspwm-sessionfile"
|
"$HOME/.config/polybar/sessions/i3-sessionfile"
|
||||||
"$HOME/.config/polybar/sessions/openbox-sessionfile"
|
"$HOME/.config/polybar/sessions/bspwm-sessionfile"
|
||||||
"$HOME/.config/openbox/autostart"
|
"$HOME/.config/polybar/sessions/openbox-sessionfile"
|
||||||
"$HOME/.config/gtk-3.0/bookmarks"
|
"$HOME/.config/openbox/autostart"
|
||||||
"$HOME/.mozilla/firefox/archlabs.default/prefs.js"
|
"$HOME/.config/gtk-3.0/bookmarks"
|
||||||
"$HOME/.mozilla/firefox/archlabs.default/sessionstore.js"
|
"$HOME/.mozilla/firefox/archlabs.default/prefs.js"
|
||||||
)
|
"$HOME/.mozilla/firefox/archlabs.default/sessionstore.js"
|
||||||
|
)
|
||||||
|
|
||||||
for f in "${files[@]}"; do
|
for f in "${files[@]}"; do
|
||||||
sed -i "s/liveuser/${USER}/g" "$f"
|
sed -i "s/liveuser/${USER}/g" "$f"
|
||||||
|
Reference in New Issue
Block a user