source:
dotfiles/wm/.ratpoisonrc@
254aa1d
Last change on this file since 254aa1d was 254aa1d, checked in by , on Aug 5, 2024 at 6:53:43 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 | ||
[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 |
18 | alias icecat exec ratpoison -c "select icecat" || exec icecat | |
[254aa1d] | 19 | alias palemoon exec ratpoison -c "select Pale moon" || sh ~/Software/palemoon/palemoon-guix.sh |
[618683a] | 20 | alias workrave exec ratpoison -c "select workrave" || exec workrave |
21 | alias emacs exec ratpoison -c "select emacs" || exec emacs | |
[dc54de2] | 22 | alias xterm exec ratpoison -c "select xterm" || exec xterm |
[c53d99e] | 23 | alias firefox exec ratpoison -c "select firefox" || exec flatpak run org.mozilla.firefox |
[54ebfd5] | 24 | alias dbeaver exec dbeaver -c "select dbeaver" || exec flatpak run io.dbeaver.DBeaverCommunity |
[a6193f9] | 25 | alias guix exec guix |
26 | alias shell exec guix shell | |
[7bfb563] | 27 | alias mpv exec mpv |
[618683a] | 28 | |
[c8063e1] | 29 | # Run or raise Emacs |
[618683a] | 30 | bind e emacs |
[c8063e1] | 31 | |
[b4abc58] | 32 | # Run or raise Nyxt |
[254aa1d] | 33 | bind B palemoon |
[b4abc58] | 34 | |
[c8063e1] | 35 | # Run or raise Icecat |
[618683a] | 36 | bind I icecat |
[c8063e1] | 37 | |
[dc54de2] | 38 | # Run or raise Xterm |
39 | bind c xterm | |
40 | ||
[c8063e1] | 41 | # Run or raise workrave |
[618683a] | 42 | bind W workrave |
[c8063e1] | 43 | |
44 | # Emacs-like switching windows | |
45 | bind o focus | |
46 | bind O focusprev | |
47 | ||
48 | # Emacs like help | |
49 | bind h help | |
50 | bind h help | |
51 | ||
52 | definekey top XF86AudioLowerVolume exec amixer -q sset Master 3%- | |
[618683a] | 53 | definekey top XF86AudioRaiseVolume exec amixer -q sset Master 3%+ |
Note:
See TracBrowser
for help on using the repository browser.