diff --git a/local/bin/dockmode b/local/bin/dockmode index 947c0db..9f16dfa 100755 --- a/local/bin/dockmode +++ b/local/bin/dockmode @@ -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 diff --git a/profile b/profile index 1c4ebd5..e804dec 100755 --- a/profile +++ b/profile @@ -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 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 diff --git a/xinitrc b/xinitrc index e9cd693..13e9878 100644 --- a/xinitrc +++ b/xinitrc @@ -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