no more bar or background image

I'll just push this with debug stuff because it's been around way too long
This commit is contained in:
Felix Van der Jeugt 2018-04-09 18:05:57 +02:00
parent bcbc5556aa
commit 8a4f99be1e
No known key found for this signature in database
GPG Key ID: 58B209295023754D
3 changed files with 5 additions and 17 deletions

View File

@ -16,4 +16,3 @@ contains "$where" "above" "below" "left-of" "right-of" || exit 1
xset dpms 0 0 0
xautolock -disable
xrandr --output DP1 --auto --$where eDP1
bash ~/.fehbg

View File

@ -15,7 +15,7 @@ export RBENV_HOME="$HOME/.rbenv"
export PATH="$HOME/.local/bin:$CABAL_HOME/bin:$RBENV_HOME/shims:$CARGO_HOME/bin:$JAVA_HOME/bin:$PATH"
# For vim
export EDITOR="nvim"
export EDITOR="vis"
#stty -ixon # turn of <C-s> for vimshell
# Searching
@ -24,7 +24,7 @@ export FZF_DEFAULT_COMMAND='(git ls-files -co --exclude-standard || rg --files)
# Start X if we're in tty1
xsession() {
startx 2>&1 || vlock
sudo poweroff
sleep infinity
#sudo poweroff
#sleep infinity
}
if tty | grep -q '/dev/tty1'; then xsession; fi

15
xinitrc
View File

@ -1,27 +1,16 @@
#!/bin/sh
# My lovely bar
bar() {
while sleep 1; do
xsetroot -name "B$(acpi -b | tr -d ' ' | cut -d',' -f2) $(date +'%a %d %b, %I:%M')"
done
}
# Forking graphical programs
forklog() {
$* 2>&1 | logger &
}
forklog xcape -t 80 -e 'Super_L=Scroll_Lock;Shift_L=Escape;Alt_L=Control_R|G'
forklog sh ~/.fehbg
forklog xautolock -time 1 -locker slock
forklog redshift -l 51.2:3.75
forklog xset dpms 0 0 50 s off
forklog xset r rate 300 55
forklog bar
#forklog sxhkd -c ~/.config/sxhkd/sxhkd.conf
#exec nwm
xsetroot -solid "#002a3b"
exec dwmdb
exec valgrind --extra-debuginfo-path=/data/programming/dwm/ --track-origins=yes --leak-check=full --show-leak-kinds=all dwm