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

15
xinitrc
View File

@ -1,27 +1,16 @@
#!/bin/sh #!/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 # Forking graphical programs
forklog() { forklog() {
$* 2>&1 | logger & $* 2>&1 | logger &
} }
forklog xcape -t 80 -e 'Super_L=Scroll_Lock;Shift_L=Escape;Alt_L=Control_R|G' 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 xautolock -time 1 -locker slock
forklog redshift -l 51.2:3.75 forklog redshift -l 51.2:3.75
forklog xset dpms 0 0 50 s off forklog xset dpms 0 0 50 s off
forklog xset r rate 300 55 forklog xset r rate 300 55
forklog bar
#forklog sxhkd -c ~/.config/sxhkd/sxhkd.conf xsetroot -solid "#002a3b"
#exec nwm
exec dwmdb exec valgrind --extra-debuginfo-path=/data/programming/dwm/ --track-origins=yes --leak-check=full --show-leak-kinds=all dwm