From 34cd795deb3ce6f43857f2b12ccb9f14a1bebb17 Mon Sep 17 00:00:00 2001
From: Santiago Lo Coco <santilococo.01@gmail.com>
Date: Sun, 6 Feb 2022 18:17:14 -0300
Subject: [PATCH] Update .xinitrc

---
 dotfiles/.xinitrc | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/dotfiles/.xinitrc b/dotfiles/.xinitrc
index f120e46..01e691f 100644
--- a/dotfiles/.xinitrc
+++ b/dotfiles/.xinitrc
@@ -40,22 +40,21 @@ picom &
 # For screenshots
 flameshot &
 
-# Faster scrolling
-imwheel -b 45
+if [[ ! -v LAPTOP ]]; then
+    # Faster scrolling
+    imwheel -b 45
 
-# Use AltGr as mod key for dwm
-#xmodmap -e "remove mod5 = ISO_Level3_Shift"
-#xmodmap -e "add mod1 = ISO_Level3_Shift"
+    # Use AltGr as mod key for dwm
+    #xmodmap -e "remove mod5 = ISO_Level3_Shift"
+    #xmodmap -e "add mod1 = ISO_Level3_Shift"
 
-#~/.local/bin/screen &
-
-# Move mouse focus to middle of first screen
-xdotool mousemove --sync --screen=$1 960 500
+    # Move mouse focus to middle of first screen
+    xdotool mousemove --sync --screen=$1 960 500
+fi
 
 # Start GNOME keyring
 dbus-update-activation-environment --systemd DISPLAY
 eval $(gnome-keyring-daemon --start)
 export SSH_AUTH_SOCK
 
-#exec dwm
 exec $HOME/.local/bin/startdwm