]> git.armaanb.net Git - config.org.git/commitdiff
xmodmap: only tangle on frost
authorArmaan Bhojwani <me@armaanb.net>
Tue, 1 Jun 2021 01:56:29 +0000 (01:56 +0000)
committerArmaan Bhojwani <me@armaanb.net>
Tue, 1 Jun 2021 01:56:29 +0000 (01:56 +0000)
config.org

index 09c04d68f97619cc12a8ef06b00b7703aeffc6e5..32053ea9cd22d0e5c5acf82f20660da17fc518b5 100644 (file)
@@ -1153,22 +1153,15 @@ I use tmux in order to keep my st build light. Still learning how it works.
   allow-emacs-pinentry
 #+end_src
 ** Xmodmap
-#+begin_src conf :tangle ~/.config/xmodmap
-  !
+#+begin_src conf (if (eq system-name "frost.armaanb.net") ":tangle ~/.config/xmodmap")
   ! Unmap left super
-  !
   clear mod4
 
-  !
   ! Turn right alt into super
-  !
   remove mod1 = Alt_R
   add mod4 = Alt_R
-#+end_src
-#+begin_src conf (if (eq system-name "frost.armaanb.net") ":tangle ~/.config/xmodmap")
-  !
+
   ! Swap caps and control
-  !
   remove Lock = Caps_Lock
   remove Control = Control_L
   remove Lock = Control_L