source: dotfiles/wm/.ratpoisonrc@ 7bfb563

Last change on this file since 7bfb563 was 7bfb563, checked in by Mikhail Kirillov <w96k@…>, on Jul 31, 2024 at 3:43:12 AM

Update ratpoison config

  • Property mode set to 100644
File size: 1.3 KB
Line 
1# Change default ratpoison bind
2escape C-Tab
3
4# Hide the cursor on window switch
5# addhook switchwin banish
6
7# Window numbering
8set framesels 1234567890abcdefg
9
10set font "Courier:size=12"
11set bargravity n
12defborder 0
13set winname class
14set wingravity n
15
16# Commands to run-or-raise programs
17alias icecat exec ratpoison -c "select icecat" || exec icecat
18alias nyxt exec ratpoison -c "select nyxt" || exec nyxt
19alias workrave exec ratpoison -c "select workrave" || exec workrave
20alias emacs exec ratpoison -c "select emacs" || exec emacs
21alias xterm exec ratpoison -c "select xterm" || exec xterm
22alias firefox exec ratpoison -c "select firefox" || exec flatpak run org.mozilla.firefox
23alias dbeaver exec dbeaver -c "select dbeaver" || exec flatpak run io.dbeaver.DBeaverCommunity
24alias guix exec guix
25alias shell exec guix shell
26alias mpv exec mpv
27
28# Run or raise Emacs
29bind e emacs
30
31# Run or raise Nyxt
32bind B nyxt
33
34# Run or raise Icecat
35bind I icecat
36
37# Run or raise Xterm
38bind c xterm
39
40# Run or raise workrave
41bind W workrave
42
43# Emacs-like switching windows
44bind o focus
45bind O focusprev
46
47# Emacs like help
48bind h help
49bind h help
50
51definekey top XF86AudioLowerVolume exec amixer -q sset Master 3%-
52definekey top XF86AudioRaiseVolume exec amixer -q sset Master 3%+
53
54#exec wmname LG3D
Note: See TracBrowser for help on using the repository browser.