View KeePassXC.ahk
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
EnvGet, ProgramFiles32, ProgramFiles(x86) | |
EnvGet, ProgramFiles64, ProgramFiles | |
if (!ProgramFiles32) | |
ProgramFiles32 := ProgramFiles64 | |
; ************************************************************************************************************************************************************ | |
; Run/show/hide KeePassXC using Win+K | |
; | |
#k:: | |
if (WinExist("ahk_exe KeePassXC.exe") && WinActive("ahk_exe KeePassXC.exe")) |
View notepad2-solarized.ini
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
[Default Text] | |
FileNameExtensions=txt; text; wtx; log; asc; doc; diz; nfo | |
Default Style=font:Consolas; size:11; fore:#93a1a1; back:#002b36 | |
Margins and Line Numbers=size:-1; fore:#657b83; back:#073642 | |
Matching Braces=size:+1; bold; fore:#dc322f; back:#073642 | |
Matching Braces Error=size:+1; underline; fore:#dc322f; back:#073642 | |
Control Characters (Font)=size:-1 | |
Indentation Guide (Color)=fore:#073642 | |
Selected Text (Colors)=eolfilled; fore:#eee8d5; back:#586e75 | |
Whitespace (Colors, Size 0-5)=fore:#d33682 |
View cygrun.sh
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/bash | |
# | |
# Run a program, converting UNIX and Windows format path arguments. | |
# | |
# Install in Cygwin's `bin` dir or elsewhere in your path. | |
# Create a symlink for convenience: `ln -s cygrun.sh cygrun`. | |
# | |
# Use `cygrun -w windows-program unix-path ...` to run Windows programs (e.g. from UNIX software). | |
# E.g., in my .gitconfig core.editor is set to `cygrun -w 'C:/Program Files/Notepad2/Notepad2.exe'`. | |
# |