Update and minor changes to upgrade script
This commit is contained in:
@ -49,7 +49,7 @@ xterm*loginShell: true
|
||||
xterm*vt100*geometry: 90x34
|
||||
xterm*saveLines: 2000
|
||||
xterm*charClass: 33:48,35:48,37:48,43:48,45-47:48,64:48,95:48,126:48
|
||||
xterm*termName: xterm-color
|
||||
xterm*termName: xterm-256color
|
||||
xterm*eightBitInput: false
|
||||
|
||||
|
||||
|
@ -49,7 +49,7 @@ xterm*loginShell: true
|
||||
xterm*vt100*geometry: 90x34
|
||||
xterm*saveLines: 2000
|
||||
xterm*charClass: 33:48,35:48,37:48,43:48,45-47:48,64:48,95:48,126:48
|
||||
xterm*termName: xterm-color
|
||||
xterm*termName: xterm-256color
|
||||
xterm*eightBitInput: false
|
||||
|
||||
|
||||
|
@ -1,103 +1,78 @@
|
||||
# Shadow
|
||||
shadow = true;
|
||||
no-dnd-shadow = true;
|
||||
no-dock-shadow = true;
|
||||
clear-shadow = true;
|
||||
shadow-radius = 7;
|
||||
shadow-offset-x = -7;
|
||||
shadow-offset-y = -7;
|
||||
shadow-opacity = 0.60;
|
||||
shadow-ignore-shaped = true;
|
||||
shadow = true;
|
||||
no-dnd-shadow = true;
|
||||
no-dock-shadow = true;
|
||||
clear-shadow = true;
|
||||
shadow-radius = 7;
|
||||
shadow-offset-x = -7;
|
||||
shadow-offset-y = -7;
|
||||
shadow-opacity = 0.60;
|
||||
shadow-ignore-shaped = true;
|
||||
|
||||
# Opacity
|
||||
menu-opacity = 1.0;
|
||||
inactive-opacity = 1.0;
|
||||
active-opacity = 1.0;
|
||||
menu-opacity = 1.0;
|
||||
inactive-opacity = 1.0;
|
||||
active-opacity = 1.0;
|
||||
inactive-opacity-override = false;
|
||||
|
||||
# Fade
|
||||
fading = true;
|
||||
fade-delta = 10;
|
||||
fade-in-step = 0.03;
|
||||
fade-out-step = 0.028;
|
||||
alpha-step = 0.06;
|
||||
no-fading-openclose = true;
|
||||
fading = true;
|
||||
fade-delta = 10;
|
||||
fade-in-step = 0.03;
|
||||
fade-out-step = 0.028;
|
||||
alpha-step = 0.06;
|
||||
no-fading-openclose = true;
|
||||
no-fading-destroyed-argb = false;
|
||||
|
||||
# Backend
|
||||
backend = "xrender";
|
||||
mark-wmwin-focused = true;
|
||||
mark-ovredir-focused = true;
|
||||
detect-rounded-corners = true;
|
||||
detect-client-opacity = true;
|
||||
refresh-rate = 0;
|
||||
vsync = "opengl";
|
||||
paint-on-overlay = true;
|
||||
unredir-if-possible = true;
|
||||
detect-transient = true;
|
||||
detect-client-leader = true;
|
||||
backend = "xrender";
|
||||
vsync = "opengl";
|
||||
mark-wmwin-focused = true;
|
||||
mark-ovredir-focused = true;
|
||||
detect-rounded-corners = true;
|
||||
detect-client-opacity = true;
|
||||
refresh-rate = 0;
|
||||
paint-on-overlay = true;
|
||||
unredir-if-possible = true;
|
||||
detect-transient = true;
|
||||
detect-client-leader = true;
|
||||
|
||||
# GLX backend
|
||||
glx-no-stencil = true;
|
||||
glx-no-rebind-pixmap = true;
|
||||
#glx-copy-from-front = false;
|
||||
#glx-use-copysubbuffermesa = true;
|
||||
#glx-swap-method = "undefined";
|
||||
#glx-use-gpushader4 = true;
|
||||
#xrender-sync = true;
|
||||
#xrender-sync-fence = true;
|
||||
glx-no-stencil = true;
|
||||
glx-no-rebind-pixmap = true;
|
||||
|
||||
opacity-rule = [
|
||||
"85:class_g = 'XTerm'",
|
||||
"0:_NET_WM_STATE@:32a * = '_NET_WM_STATE_HIDDEN'"
|
||||
"85:class_g *?= 'xterm'",
|
||||
"0:_NET_WM_STATE@:32a * = '_NET_WM_STATE_HIDDEN'"
|
||||
];
|
||||
|
||||
shadow-exclude = [
|
||||
"name *?= 'Notification'",
|
||||
"class_g *?= 'VirtualBox'",
|
||||
"class_g *?= 'Conky'",
|
||||
"class_g *?= 'Notify-osd'",
|
||||
"class_g *?= 'cairo-dock'",
|
||||
"class_g *?= 'trayer'",
|
||||
"class_g *?= 'i3-frame'",
|
||||
"class_g *?= 'firefox'",
|
||||
"class_g *?= 'navigator'",
|
||||
"class_g *?= 'Cairo-clock'",
|
||||
"class_g *?= 'Cairo-dock'",
|
||||
"class_g *?= 'plank'",
|
||||
"class_g *?= 'Docky'",
|
||||
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
|
||||
"_GTK_FRAME_EXTENTS@:c"
|
||||
"name *?= 'Notification'",
|
||||
"class_g *?= 'VirtualBox'",
|
||||
"class_g *?= 'Conky'",
|
||||
"class_g *?= 'Notify-osd'",
|
||||
"class_g *?= 'cairo-dock'",
|
||||
"class_g *?= 'trayer'",
|
||||
"class_g *?= 'i3-frame'",
|
||||
"class_g *?= 'firefox'",
|
||||
"class_g *?= 'navigator'",
|
||||
"class_g *?= 'Cairo-clock'",
|
||||
"class_g *?= 'Cairo-dock'",
|
||||
"class_g *?= 'plank'",
|
||||
"class_g *?= 'Docky'",
|
||||
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
|
||||
"_GTK_FRAME_EXTENTS@:c"
|
||||
];
|
||||
#"85:class_g *?= 'xterm'",
|
||||
#"90:class_g *?= 'rofi'",
|
||||
#"99:class_g *?= 'chrome'",
|
||||
#"99:class_g *?= 'gimp'",
|
||||
#"99:class_g *?= 'steam'",
|
||||
#"99:class_g *?= 'qutebrowser'",
|
||||
#"99:class_g *?= 'mpv'",
|
||||
|
||||
focus-exclude = [
|
||||
"class_g *?= 'Cairo-clock'",
|
||||
"class_g *?= 'Virtualbox'",
|
||||
"class_g *?= 'trayer'",
|
||||
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
|
||||
"name *?= 'Authy'"
|
||||
];
|
||||
#"class_g *?= 'steam'",
|
||||
#"class_g *?= 'chrome'",
|
||||
#"class_g *?= 'gimp'",
|
||||
#"class_g *?= 'qutebrowser'",
|
||||
#"class_g *?= 'mpv'",
|
||||
|
||||
invert-color-include = [
|
||||
"class_g *?= 'Cairo-clock'",
|
||||
"class_g *?= 'Virtualbox'",
|
||||
"class_g *?= 'trayer'",
|
||||
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
|
||||
"name *?= 'Authy'"
|
||||
];
|
||||
|
||||
fade-exclude = [
|
||||
];
|
||||
|
||||
# Window type settings
|
||||
wintypes:
|
||||
{
|
||||
tooltip = { fade = true; shadow = true; focus = true; };
|
||||
tooltip = { fade = true; shadow = true; focus = true; };
|
||||
};
|
||||
|
@ -15,6 +15,7 @@
|
||||
# Xresources var value fallback
|
||||
set_from_resource $bg background #19043C
|
||||
set_from_resource $fg foreground #F1F1F1
|
||||
set_from_resource $black color0 #19043C
|
||||
set_from_resource $red color1 #EE79A9
|
||||
set_from_resource $green color2 #8C9440
|
||||
set_from_resource $yellow color3 #DE935F
|
||||
@ -22,10 +23,8 @@ set_from_resource $blue color4 #05C6F1
|
||||
set_from_resource $purple color5 #85678F
|
||||
set_from_resource $cyan color6 #5E8D87
|
||||
set_from_resource $grey color7 #969CD3
|
||||
set_from_resource $white color15 #F1F1F1
|
||||
set_from_resource $black color0 #19043C
|
||||
|
||||
# class bd bg txt ind child_bordr
|
||||
# class bd bg txt ind child_bd
|
||||
client.focused $grey $bg $fg $blue $grey
|
||||
client.unfocused $grey $bg $black $bg $bg
|
||||
client.focused_inactive $grey $bg $black $bg $bg
|
||||
|
@ -7,14 +7,15 @@
|
||||
do_setup() {
|
||||
keys=('AEFB411B072836CD48FF0381AE252C284B5DBA5D'
|
||||
'9E4F11C6A072942A7B3FD3B0B81EB14A09A25EB0'
|
||||
'35F52A02854DCCAEC9DD5CC410443C7F54B00041')
|
||||
'35F52A02854DCCAEC9DD5CC410443C7F54B00041'
|
||||
)
|
||||
sudo dirmngr </dev/null
|
||||
sudo pacman-key --init
|
||||
sudo pacman-key --populate archlinux
|
||||
for k in ${keys[@]}; do
|
||||
if ! sudo pacman-key --list-keys | grep -q $k; then
|
||||
gpg --receive-keys $k
|
||||
sudo pacman-key -r $k
|
||||
for k in "${keys[@]}"; do
|
||||
if ! grep -q "$k" <<< "$(sudo pacman-key --list-keys)"; then
|
||||
gpg --receive-keys "$k"
|
||||
sudo pacman-key -r "$k"
|
||||
fi
|
||||
done
|
||||
sudo pacman-key --populate archlabs
|
||||
@ -25,5 +26,5 @@ while ! [[ "$(ping -c1 8.8.8.8)" ]]; do
|
||||
done
|
||||
|
||||
do_setup
|
||||
sed -i '/keypack/d' $HOME/.config/openbox/autostart
|
||||
rm -f $HOME/.config/keypack
|
||||
sed -i '/keypack/d' "$HOME/.config/openbox/autostart"
|
||||
rm -f "$HOME/.config/keypack"
|
||||
|
@ -38,7 +38,7 @@ print_info() {
|
||||
# info "Disk" disk
|
||||
# info "Battery" battery
|
||||
# info "Font" font
|
||||
info "Song" song
|
||||
# info "Song" song
|
||||
# info "Local IP" local_ip
|
||||
# info "Public IP" public_ip
|
||||
# info "Users" users
|
||||
|
4
home/.config/openbox/autostart
Executable file → Normal file
4
home/.config/openbox/autostart
Executable file → Normal file
@ -1,9 +1,9 @@
|
||||
# launch compton if enabled
|
||||
# compton
|
||||
al-compositor --start &
|
||||
|
||||
#$HOME/.config/setup &
|
||||
# enable numlock, commented out for laptop users
|
||||
#numlockx on &
|
||||
# numlockx &
|
||||
|
||||
# restore wallpaper
|
||||
nitrogen --restore &
|
||||
|
@ -16,5 +16,3 @@ export DE="xfce"
|
||||
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
|
||||
eval `dbus-launch --sh-syntax --exit-with-session`
|
||||
fi
|
||||
|
||||
QT_QPA_PLATFORMTHEME=qt5ct
|
||||
|
0
home/.config/polybar/config
Executable file → Normal file
0
home/.config/polybar/config
Executable file → Normal file
@ -3,18 +3,19 @@
|
||||
# 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/gtk-3.0/bookmarks
|
||||
$HOME/.gorice/templates/i3/data.json
|
||||
$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/gtk-3.0/bookmarks"
|
||||
"$HOME/.gorice/templates/i3/data.json"
|
||||
"$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
|
||||
for f in "${files[@]}"; do
|
||||
sed -i "s/liveuser/${USER}/g" "$f"
|
||||
done
|
||||
|
||||
sed -i '/setup/d' $HOME/.config/openbox/autostart
|
||||
rm -f $HOME/.config/setup
|
||||
sed -i '/setup/d' "$HOME/.config/openbox/autostart"
|
||||
rm -f "$HOME/.config/setup"
|
||||
|
0
home/.config/termite/config
Executable file → Normal file
0
home/.config/termite/config
Executable file → Normal file
2
home/.config/tint2/default.tint2rc
Executable file → Normal file
2
home/.config/tint2/default.tint2rc
Executable file → Normal file
@ -214,7 +214,7 @@ ac_disconnected_cmd =
|
||||
button = new
|
||||
button_icon = /usr/share/icons/ArchLabs-Dark/32x32/places/distributor-logo-archlabs.png
|
||||
button_text =
|
||||
button_lclick_command= jgmenu_run lx
|
||||
button_lclick_command= jgmenu_run
|
||||
button_rclick_command= exo-open ~/.config/jgmenu/jgmenurc
|
||||
button_mclick_command=
|
||||
button_uwheel_command=
|
||||
|
2
home/.config/tint2/tint2rc
Executable file → Normal file
2
home/.config/tint2/tint2rc
Executable file → Normal file
@ -214,7 +214,7 @@ ac_disconnected_cmd =
|
||||
button = new
|
||||
button_icon = /usr/share/icons/ArchLabs-Dark/32x32/places/distributor-logo-archlabs.png
|
||||
button_text =
|
||||
button_lclick_command= jgmenu_run lx
|
||||
button_lclick_command= jgmenu_run
|
||||
button_rclick_command= exo-open ~/.config/jgmenu/jgmenurc
|
||||
button_mclick_command=
|
||||
button_uwheel_command=
|
||||
|
0
home/.config/xfce4/al-xfce-configs/helpers.rc
Executable file → Normal file
0
home/.config/xfce4/al-xfce-configs/helpers.rc
Executable file → Normal file
0
home/.config/xfce4/al-xfce-configs/panel/whiskermenu-1.rc
Executable file → Normal file
0
home/.config/xfce4/al-xfce-configs/panel/whiskermenu-1.rc
Executable file → Normal file
0
home/.config/xfce4/al-xfce-configs/xfconf/xfce-perchannel-xml/keyboards.xml
Executable file → Normal file
0
home/.config/xfce4/al-xfce-configs/xfconf/xfce-perchannel-xml/keyboards.xml
Executable file → Normal file
0
home/.config/xfce4/al-xfce-configs/xfconf/xfce-perchannel-xml/thunar.xml
Executable file → Normal file
0
home/.config/xfce4/al-xfce-configs/xfconf/xfce-perchannel-xml/thunar.xml
Executable file → Normal file
0
home/.config/xfce4/al-xfce-configs/xfconf/xfce-perchannel-xml/xfce4-desktop.xml
Executable file → Normal file
0
home/.config/xfce4/al-xfce-configs/xfconf/xfce-perchannel-xml/xfce4-desktop.xml
Executable file → Normal file
0
home/.config/xfce4/al-xfce-configs/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml
Executable file → Normal file
0
home/.config/xfce4/al-xfce-configs/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml
Executable file → Normal file
0
home/.config/xfce4/al-xfce-configs/xfconf/xfce-perchannel-xml/xfce4-panel.xml
Executable file → Normal file
0
home/.config/xfce4/al-xfce-configs/xfconf/xfce-perchannel-xml/xfce4-panel.xml
Executable file → Normal file
0
home/.config/xfce4/al-xfce-configs/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml
Executable file → Normal file
0
home/.config/xfce4/al-xfce-configs/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml
Executable file → Normal file
0
home/.config/xfce4/al-xfce-configs/xfconf/xfce-perchannel-xml/xfce4-session.xml
Executable file → Normal file
0
home/.config/xfce4/al-xfce-configs/xfconf/xfce-perchannel-xml/xfce4-session.xml
Executable file → Normal file
0
home/.config/xfce4/al-xfce-configs/xfconf/xfce-perchannel-xml/xfwm4.xml
Executable file → Normal file
0
home/.config/xfce4/al-xfce-configs/xfconf/xfce-perchannel-xml/xfwm4.xml
Executable file → Normal file
0
home/.config/xfce4/al-xfce-configs/xfconf/xfce-perchannel-xml/xsettings.xml
Executable file → Normal file
0
home/.config/xfce4/al-xfce-configs/xfconf/xfce-perchannel-xml/xsettings.xml
Executable file → Normal file
0
home/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
Executable file → Normal file
0
home/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
Executable file → Normal file
@ -1,28 +1,45 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# ~/.xinitrc
|
||||
# Executed by startx
|
||||
# Executed by startx
|
||||
# By calling this with arguments we can start different sessions
|
||||
# eg. startx ~/.xinitrc i3 or startx ~/.xinitrc bspwm
|
||||
# simply using startx, openbox is set as the default
|
||||
|
||||
session=${1:-openbox}
|
||||
export WM="$session"
|
||||
export XDG_CONFIG_HOME="$HOME/.config"
|
||||
export PATH=/home/smoke/bin:/usr/sbin:$PATH
|
||||
|
||||
# source files in /etc/X11/xinit/xinitrc.d
|
||||
|
||||
if [ -f /etc/X11/xinit/.Xmodmap ]; then
|
||||
xmodmap /etc/X11/xinit/.Xmodmap
|
||||
fi
|
||||
if [ -d /etc/X11/xinit/xinitrc.d ]; then
|
||||
for f in /etc/X11/xinit/xinitrc.d/*; do
|
||||
for f in /etc/X11/xinit/xinitrc.d/*.sh; do
|
||||
[ -x "$f" ] && . "$f"
|
||||
done
|
||||
unset f
|
||||
fi
|
||||
|
||||
# this must be before the 'exec' command
|
||||
# it sources ~/.xprofile for additional settings
|
||||
[ -f ~/.xprofile ] && . ~/.xprofile
|
||||
if [ -f ~/.Xresources ]; then
|
||||
xrdb -load ~/.Xresources
|
||||
fi
|
||||
if [ -f ~/.Xmodmap ]; then
|
||||
xmodmap ~/.Xmodmap
|
||||
fi
|
||||
if [ -f ~/.xprofile ]; then
|
||||
. ~/.xprofile
|
||||
fi
|
||||
|
||||
gnome-keyring-daemon --start --components=pkcs11 &
|
||||
lxpolkit &
|
||||
kbdrate -d 400 -r 50
|
||||
xset r rate 400 50
|
||||
xset s 3600 3600
|
||||
|
||||
# start the session
|
||||
case $session in
|
||||
i3|i3wm)
|
||||
i3|i3wm)
|
||||
exec i3
|
||||
;;
|
||||
bsp|bspwm)
|
||||
@ -31,13 +48,12 @@ case $session in
|
||||
awesome)
|
||||
exec awesome
|
||||
;;
|
||||
xfce|xfce4)
|
||||
xfce|xfce4)
|
||||
exec startxfce4
|
||||
;;
|
||||
openbox|openbox-session)
|
||||
openbox|openbox-session)
|
||||
exec openbox-session
|
||||
;;
|
||||
*)
|
||||
exec $1
|
||||
;;
|
||||
*)
|
||||
exec "$1"
|
||||
esac
|
||||
|
Reference in New Issue
Block a user