source: dotfiles/wm/.ratpoisonrc@ a6193f9

Last change on this file since a6193f9 was a6193f9, checked in by Mikhail Kirillov <w96k@…>, on Jul 15, 2024 at 3:11:53 PM

Add guix binds to ratpoison

  • Property mode set to 100644
File size: 1.2 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
[212c521]10# set font "Unifont:size=12"
[c8063e1]11set bargravity n
[b4abc58]12defborder 0
[c8063e1]13set winname class
14set wingravity n
15
[618683a]16# Commands to run-or-raise programs
17alias icecat exec ratpoison -c "select icecat" || exec icecat
[b4abc58]18alias nyxt exec ratpoison -c "select nyxt" || exec nyxt
[618683a]19alias workrave exec ratpoison -c "select workrave" || exec workrave
20alias emacs exec ratpoison -c "select emacs" || exec emacs
[dc54de2]21alias xterm exec ratpoison -c "select xterm" || exec xterm
[c53d99e]22alias firefox exec ratpoison -c "select firefox" || exec flatpak run org.mozilla.firefox
[54ebfd5]23alias dbeaver exec dbeaver -c "select dbeaver" || exec flatpak run io.dbeaver.DBeaverCommunity
[a6193f9]24alias guix exec guix
25alias shell exec guix shell
[618683a]26
[c8063e1]27# Run or raise Emacs
[618683a]28bind e emacs
[c8063e1]29
[b4abc58]30# Run or raise Nyxt
[92e496b]31bind B nyxt
[b4abc58]32
[c8063e1]33# Run or raise Icecat
[618683a]34bind I icecat
[c8063e1]35
[dc54de2]36# Run or raise Xterm
37bind c xterm
38
[c8063e1]39# Run or raise workrave
[618683a]40bind W workrave
[c8063e1]41
42# Emacs-like switching windows
43bind o focus
44bind O focusprev
45
46# Emacs like help
47bind h help
48bind h help
49
50definekey top XF86AudioLowerVolume exec amixer -q sset Master 3%-
[618683a]51definekey top XF86AudioRaiseVolume exec amixer -q sset Master 3%+
52
[8bf0e33]53exec wmname LG3D
Note: See TracBrowser for help on using the repository browser.