From: Samir Benmendil Date: Sat, 20 Jul 2013 17:37:30 +0000 (+0200) Subject: Merge branch 'master' of tardis:/dotfiles X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/2d4d3dacaf950bb40dcdcdfd601097359fdfa7e8?hp=50eec12322ec063e82618d8bdfffbd7ca4a4cfa9 Merge branch 'master' of tardis:/dotfiles --- diff --git a/Xmodmap_chronos b/Xmodmap_chronos index e356511..73f2cad 100644 --- a/Xmodmap_chronos +++ b/Xmodmap_chronos @@ -1,13 +1,16 @@ ! remap Caps_Lock as Escape -remove Lock = Caps_Lock -keysym Caps_Lock = Escape +clear Lock +keycode 66 = Escape NoSymbol Escape -! switch Alt_L and Super_L -remove Mod4 = Super_L -remove Mod1 = Alt_L -add Mod1 = Super_L -add Mod4 = Alt_L +! move around some keys +keycode 64 = Super_L Super_L Super_L Super_L +keycode 108 = Super_R Super_R Super_R Super_R +keycode 133 = Alt_L Alt_L Alt_L Alt_L +keycode 135 = ISO_Level3_Shift ISO_Level3_Shift ISO_Level3_Shift ISO_Level3_Shift -! Alt_R as 3rd level chooser -remove Mod1 = Alt_R -add Mod5 = Alt_R +clear Mod1 +clear Mod4 +add Mod1 = Alt_L +add Mod4 = Super_L Super_R + +! vim: syntax=xmodmap diff --git a/bin/whatsmyip b/bin/whatsmyip index a441b43..4b6d080 100755 --- a/bin/whatsmyip +++ b/bin/whatsmyip @@ -1,3 +1,4 @@ #!/bin/bash # only works behind DD-WRT router -ssh root@192.168.1.3 -p 2222 -q "nvram get wan_ipaddr" +#ssh root@192.168.1.3 -p 2222 -q "nvram get wan_ipaddr" +curl ifconfig.me/ip