source: dotfiles/wm/.ratpoisonrc@ fc6fa17

Last change on this file since fc6fa17 was 254aa1d, checked in by Mikhail Kirillov <w96k@…>, on Aug 5, 2024 at 6:53:43 AM

Massively update guix home

  • 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=10"
11set winliststyle column
12set bargravity n
13defborder 0
14set winname class
15set wingravity n
16
17# Commands to run-or-raise programs
18alias icecat exec ratpoison -c "select icecat" || exec icecat
19alias palemoon exec ratpoison -c "select Pale moon" || sh ~/Software/palemoon/palemoon-guix.sh
20alias workrave exec ratpoison -c "select workrave" || exec workrave
21alias emacs exec ratpoison -c "select emacs" || exec emacs
22alias xterm exec ratpoison -c "select xterm" || exec xterm
23alias firefox exec ratpoison -c "select firefox" || exec flatpak run org.mozilla.firefox
24alias dbeaver exec dbeaver -c "select dbeaver" || exec flatpak run io.dbeaver.DBeaverCommunity
25alias guix exec guix
26alias shell exec guix shell
27alias mpv exec mpv
28
29# Run or raise Emacs
30bind e emacs
31
32# Run or raise Nyxt
33bind B palemoon
34
35# Run or raise Icecat
36bind I icecat
37
38# Run or raise Xterm
39bind c xterm
40
41# Run or raise workrave
42bind W workrave
43
44# Emacs-like switching windows
45bind o focus
46bind O focusprev
47
48# Emacs like help
49bind h help
50bind h help
51
52definekey top XF86AudioLowerVolume exec amixer -q sset Master 3%-
53definekey top XF86AudioRaiseVolume exec amixer -q sset Master 3%+
Note: See TracBrowser for help on using the repository browser.