This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "gwash.h" | |
#include "mousekey.h" | |
const uint16_t PROGMEM fn_actions[] = { | |
[FN_SWP_HNDS] = ACTION_SWAP_HANDS_TAP_TOGGLE(), | |
[1] = ACTION_LAYER_TAP_TOGGLE(1) | |
}; | |
qk_tap_dance_action_t tap_dance_actions[] = { | |
[TD_SCOLON_COLON] = ACTION_TAP_DANCE_DOUBLE(KC_SCOLON,KC_COLN), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "ergodox.h" | |
#include "debug.h" | |
#include "action_layer.h" | |
#include "version.h" | |
#define _______ KC_TRNS | |
//linux keycodes | |
#define KC_FILEMANAGER KC_MY_COMPUTER | |
#define KC_TOOLS KC_F13 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#by M Rawash <[email protected]> | |
#requires archmage | |
[[ $BROWSER ]] || BROWSER='w3m -F' | |
if test "$1" = "-l"; then | |
shift | |
PORT=$((10000+$RANDOM)) | |
archmage -p $PORT "$@" & |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
com -d "Delete duplicate tabs" tabcloseduplicates,tabclosed -js let seen={},vtabs=tabs.visibleTabs,i=vtabs.length;while(i--){let loc=vtabs[i].linkedBrowser.contentDocument.location.href||"";if(Object.prototype.hasOwnProperty.call(seen, loc)){config.tabbrowser.removeTab(vtabs[i]);}else{seen[loc]=true;}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class relink(Command): | |
""" | |
:relink <newpath> | |
Changes the linked path of the currently highlighted symlink to <newpath> | |
""" | |
def execute(self): | |
from ranger.fsobject import File |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Copyright (c) 2011, M Rawash <[email protected]> | |
-- | |
-- Released under the most recent GPL <http://www.gnu.org/licenses/gpl.html> | |
-- | |
-- Subtle(wm)-like window management | |
-- | |
function notsubtle(cf,pos) | |
local cmx = assert(cf:mx_current()) | |
local cws = notioncore.find_manager(cf,'WGroupWS') |