source:
dotfiles/wm/.ratpoisonrc@
7bfb563
Last change on this file since 7bfb563 was 7bfb563, checked in by , on Jul 31, 2024 at 3:43:12 AM | |
---|---|
|
|
File size: 1.3 KB |
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 | ||
[7bfb563] | 10 | set font "Courier:size=12" |
[c8063e1] | 11 | set bargravity n |
[b4abc58] | 12 | defborder 0 |
[c8063e1] | 13 | set winname class |
14 | set wingravity n | |
15 | ||
[618683a] | 16 | # Commands to run-or-raise programs |
17 | alias icecat exec ratpoison -c "select icecat" || exec icecat | |
[b4abc58] | 18 | alias nyxt exec ratpoison -c "select nyxt" || exec nyxt |
[618683a] | 19 | alias workrave exec ratpoison -c "select workrave" || exec workrave |
20 | alias emacs exec ratpoison -c "select emacs" || exec emacs | |
[dc54de2] | 21 | alias xterm exec ratpoison -c "select xterm" || exec xterm |
[c53d99e] | 22 | alias firefox exec ratpoison -c "select firefox" || exec flatpak run org.mozilla.firefox |
[54ebfd5] | 23 | alias dbeaver exec dbeaver -c "select dbeaver" || exec flatpak run io.dbeaver.DBeaverCommunity |
[a6193f9] | 24 | alias guix exec guix |
25 | alias shell exec guix shell | |
[7bfb563] | 26 | alias mpv exec mpv |
[618683a] | 27 | |
[c8063e1] | 28 | # Run or raise Emacs |
[618683a] | 29 | bind e emacs |
[c8063e1] | 30 | |
[b4abc58] | 31 | # Run or raise Nyxt |
[92e496b] | 32 | bind B nyxt |
[b4abc58] | 33 | |
[c8063e1] | 34 | # Run or raise Icecat |
[618683a] | 35 | bind I icecat |
[c8063e1] | 36 | |
[dc54de2] | 37 | # Run or raise Xterm |
38 | bind c xterm | |
39 | ||
[c8063e1] | 40 | # Run or raise workrave |
[618683a] | 41 | bind W workrave |
[c8063e1] | 42 | |
43 | # Emacs-like switching windows | |
44 | bind o focus | |
45 | bind O focusprev | |
46 | ||
47 | # Emacs like help | |
48 | bind h help | |
49 | bind h help | |
50 | ||
51 | definekey top XF86AudioLowerVolume exec amixer -q sset Master 3%- | |
[618683a] | 52 | definekey top XF86AudioRaiseVolume exec amixer -q sset Master 3%+ |
53 | ||
[7bfb563] | 54 | #exec wmname LG3D |
Note:
See TracBrowser
for help on using the repository browser.