source: dotfiles/wm/.ratpoisonrc@ 5211578

Last change on this file since 5211578 was 5211578, checked in by Mikhail Kirillov <w96k@…>, on Sep 25, 2024 at 11:43:27 PM

Update dotfiles

  • Property mode set to 100644
File size: 2.0 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 guix shell --container --network --no-cwd --preserve='^XAUTHORITY$' --expose="${XAUTHORITY}" --preserve='^DISPLAY$' icecat -- icecat
19alias chromium exec ratpoison -c "select chromium" || exec guix shell --container --network --no-cwd --preserve='^XAUTHORITY$' --expose="${XAUTHORITY}" --preserve='^DISPLAY$' ungoogled-chromium -- chromium
20alias torbrowser exec ratpoison -c "select torbrowser" || exec guix shell --container --network --no-cwd --preserve='^XAUTHORITY$' --expose="${XAUTHORITY}" --preserve='^DISPLAY$' torbrowser -- torbrowser
21alias workrave exec ratpoison -c "select workrave" || exec workrave
22alias emacs exec ratpoison -c "select emacs" || exec emacs
23alias xterm exec ratpoison -c "select xterm" || exec xterm
24alias firefox exec ratpoison -c "select firefox" || exec flatpak run org.mozilla.firefox
25alias dbeaver exec dbeaver -c "select dbeaver" || exec flatpak run io.dbeaver.DBeaverCommunity
26alias guix exec guix
27alias shell exec guix shell --check
28alias shell-container exec guix shell --container --network --no-cwd --preserve='^XAUTHORITY$' --expose="${XAUTHORITY}" --preserve='^DISPLAY$'
29alias shell-pure exec guix shell --pure --check
30alias mpv exec mpv
31
32# Run or raise Emacs
33bind e emacs
34
35# Run or raise Nyxt
36bind B palemoon
37
38# Run or raise Icecat
39bind I icecat
40
41# Run or raise TorBrowser
42bind T torbrowser
43
44# Run or raise Chromium
45bind C chromium
46
47# Run or raise Xterm
48bind c xterm
49
50# Run or raise workrave
51bind W workrave
52
53# Emacs-like switching windows
54bind o focus
55bind O focusprev
56
57# Emacs like help
58bind h help
59bind h help
60
61definekey top XF86AudioLowerVolume exec amixer -q sset Master 3%-
62definekey top XF86AudioRaiseVolume exec amixer -q sset Master 3%+
Note: See TracBrowser for help on using the repository browser.