Rev | Line | |
---|
[92e496b] | 1 | # Change default ratpoison bind
|
---|
[55d9f24] | 2 | escape C-Tab
|
---|
[92e496b] | 3 |
|
---|
[0b4cee3] | 4 | # Hide the cursor on window switch
|
---|
[dc54de2] | 5 | # addhook switchwin banish
|
---|
[0b4cee3] | 6 |
|
---|
[92e496b] | 7 | # Window numbering
|
---|
| 8 | set framesels 1234567890abcdefg
|
---|
| 9 |
|
---|
[254aa1d] | 10 | set font "Courier:size=10"
|
---|
| 11 | set winliststyle column
|
---|
[c8063e1] | 12 | set bargravity n
|
---|
[b4abc58] | 13 | defborder 0
|
---|
[c8063e1] | 14 | set winname class
|
---|
| 15 | set wingravity n
|
---|
| 16 |
|
---|
[618683a] | 17 | # Commands to run-or-raise programs
|
---|
[5211578] | 18 | alias icecat exec ratpoison -c "select icecat" || exec guix shell --container --network --no-cwd --preserve='^XAUTHORITY$' --expose="${XAUTHORITY}" --preserve='^DISPLAY$' icecat -- icecat
|
---|
| 19 | alias chromium exec ratpoison -c "select chromium" || exec guix shell --container --network --no-cwd --preserve='^XAUTHORITY$' --expose="${XAUTHORITY}" --preserve='^DISPLAY$' ungoogled-chromium -- chromium
|
---|
| 20 | alias torbrowser exec ratpoison -c "select torbrowser" || exec guix shell --container --network --no-cwd --preserve='^XAUTHORITY$' --expose="${XAUTHORITY}" --preserve='^DISPLAY$' torbrowser -- torbrowser
|
---|
[618683a] | 21 | alias workrave exec ratpoison -c "select workrave" || exec workrave
|
---|
| 22 | alias emacs exec ratpoison -c "select emacs" || exec emacs
|
---|
[dc54de2] | 23 | alias xterm exec ratpoison -c "select xterm" || exec xterm
|
---|
[c53d99e] | 24 | alias firefox exec ratpoison -c "select firefox" || exec flatpak run org.mozilla.firefox
|
---|
[54ebfd5] | 25 | alias dbeaver exec dbeaver -c "select dbeaver" || exec flatpak run io.dbeaver.DBeaverCommunity
|
---|
[a6193f9] | 26 | alias guix exec guix
|
---|
[5211578] | 27 | alias shell exec guix shell --check
|
---|
| 28 | alias shell-container exec guix shell --container --network --no-cwd --preserve='^XAUTHORITY$' --expose="${XAUTHORITY}" --preserve='^DISPLAY$'
|
---|
| 29 | alias shell-pure exec guix shell --pure --check
|
---|
[7bfb563] | 30 | alias mpv exec mpv
|
---|
[618683a] | 31 |
|
---|
[c8063e1] | 32 | # Run or raise Emacs
|
---|
[618683a] | 33 | bind e emacs
|
---|
[c8063e1] | 34 |
|
---|
[b4abc58] | 35 | # Run or raise Nyxt
|
---|
[254aa1d] | 36 | bind B palemoon
|
---|
[b4abc58] | 37 |
|
---|
[c8063e1] | 38 | # Run or raise Icecat
|
---|
[618683a] | 39 | bind I icecat
|
---|
[c8063e1] | 40 |
|
---|
[5211578] | 41 | # Run or raise TorBrowser
|
---|
| 42 | bind T torbrowser
|
---|
| 43 |
|
---|
| 44 | # Run or raise Chromium
|
---|
| 45 | bind C chromium
|
---|
| 46 |
|
---|
[dc54de2] | 47 | # Run or raise Xterm
|
---|
| 48 | bind c xterm
|
---|
| 49 |
|
---|
[c8063e1] | 50 | # Run or raise workrave
|
---|
[618683a] | 51 | bind W workrave
|
---|
[c8063e1] | 52 |
|
---|
| 53 | # Emacs-like switching windows
|
---|
| 54 | bind o focus
|
---|
| 55 | bind O focusprev
|
---|
| 56 |
|
---|
| 57 | # Emacs like help
|
---|
| 58 | bind h help
|
---|
| 59 | bind h help
|
---|
| 60 |
|
---|
| 61 | definekey top XF86AudioLowerVolume exec amixer -q sset Master 3%-
|
---|
[618683a] | 62 | definekey top XF86AudioRaiseVolume exec amixer -q sset Master 3%+
|
---|
Note:
See
TracBrowser
for help on using the repository browser.