Line | |
---|
1 | # Change default ratpoison bind
|
---|
2 | escape C-Tab
|
---|
3 |
|
---|
4 | # Hide the cursor on window switch
|
---|
5 | # addhook switchwin banish
|
---|
6 |
|
---|
7 | # Window numbering
|
---|
8 | set framesels 1234567890abcdefg
|
---|
9 |
|
---|
10 | set font "Courier:size=10"
|
---|
11 | set winliststyle column
|
---|
12 | set bargravity n
|
---|
13 | defborder 0
|
---|
14 | set winname class
|
---|
15 | set wingravity n
|
---|
16 |
|
---|
17 | # Commands to run-or-raise programs
|
---|
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
|
---|
21 | alias workrave exec ratpoison -c "select workrave" || exec workrave
|
---|
22 | alias emacs exec ratpoison -c "select emacs" || exec emacs
|
---|
23 | alias xterm exec ratpoison -c "select xterm" || exec xterm
|
---|
24 | alias firefox exec ratpoison -c "select firefox" || exec flatpak run org.mozilla.firefox
|
---|
25 | alias dbeaver exec dbeaver -c "select dbeaver" || exec flatpak run io.dbeaver.DBeaverCommunity
|
---|
26 | alias guix exec guix
|
---|
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
|
---|
30 | alias mpv exec mpv
|
---|
31 |
|
---|
32 | # Run or raise Emacs
|
---|
33 | bind e emacs
|
---|
34 |
|
---|
35 | # Run or raise Nyxt
|
---|
36 | bind B palemoon
|
---|
37 |
|
---|
38 | # Run or raise Icecat
|
---|
39 | bind I icecat
|
---|
40 |
|
---|
41 | # Run or raise TorBrowser
|
---|
42 | bind T torbrowser
|
---|
43 |
|
---|
44 | # Run or raise Chromium
|
---|
45 | bind C chromium
|
---|
46 |
|
---|
47 | # Run or raise Xterm
|
---|
48 | bind c xterm
|
---|
49 |
|
---|
50 | # Run or raise workrave
|
---|
51 | bind W workrave
|
---|
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%-
|
---|
62 | definekey top XF86AudioRaiseVolume exec amixer -q sset Master 3%+
|
---|
Note:
See
TracBrowser
for help on using the repository browser.