commit e8a5e5e4a5cf9264441712c3b7a0cb47a63493b0 parent 2ce63109a38e83e2c0e779be36662e4eb981cb3d Author: jacob@nzxt <jacobouno@protonmail.com> Date: Mon, 2 Mar 2020 23:06:04 -0800 only start locker on laptop Diffstat:
| M | xinitrc/.xinitrc | | | 6 | ++++-- |
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/xinitrc/.xinitrc b/xinitrc/.xinitrc @@ -35,8 +35,10 @@ fi xsetroot -xcf ~/.icons/Quintom/cursors/left_ptr 13 & xwallpaper --zoom $HOME/.wallpaper & -xautolock -corners ---- -time 3 -locker "$HOME/bin/lock" & -xset dpms 320 & +if [ "$PLATFORM" = 'laptop' ]; then + xautolock -corners ---- -time 3 -locker "$HOME/bin/lock" & + xset dpms 320 & +fi setxkbmap -option ctrl:nocaps & xset r rate 250 30 xbanish &