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
RevLine 
[92e496b]1# Change default ratpoison bind
[55d9f24]2escape C-Tab
[92e496b]3
[0b4cee3]4# Hide the cursor on window switch
[dc54de2]5# addhook switchwin banish
[0b4cee3]6
[92e496b]7# Window numbering
8set framesels 1234567890abcdefg
9
[254aa1d]10set font "Courier:size=10"
11set winliststyle column
[c8063e1]12set bargravity n
[b4abc58]13defborder 0
[c8063e1]14set winname class
15set wingravity n
16
[618683a]17# Commands to run-or-raise programs
[5211578]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
[618683a]21alias workrave exec ratpoison -c "select workrave" || exec workrave
22alias emacs exec ratpoison -c "select emacs" || exec emacs
[dc54de2]23alias xterm exec ratpoison -c "select xterm" || exec xterm
[c53d99e]24alias firefox exec ratpoison -c "select firefox" || exec flatpak run org.mozilla.firefox
[54ebfd5]25alias dbeaver exec dbeaver -c "select dbeaver" || exec flatpak run io.dbeaver.DBeaverCommunity
[a6193f9]26alias guix exec guix
[5211578]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
[7bfb563]30alias mpv exec mpv
[618683a]31
[c8063e1]32# Run or raise Emacs
[618683a]33bind e emacs
[c8063e1]34
[b4abc58]35# Run or raise Nyxt
[254aa1d]36bind B palemoon
[b4abc58]37
[c8063e1]38# Run or raise Icecat
[618683a]39bind I icecat
[c8063e1]40
[5211578]41# Run or raise TorBrowser
42bind T torbrowser
43
44# Run or raise Chromium
45bind C chromium
46
[dc54de2]47# Run or raise Xterm
48bind c xterm
49
[c8063e1]50# Run or raise workrave
[618683a]51bind W workrave
[c8063e1]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%-
[618683a]62definekey top XF86AudioRaiseVolume exec amixer -q sset Master 3%+
Note: See TracBrowser for help on using the repository browser.