source: dotfiles/wm/.ratpoisonrc@ 254aa1d

Last change on this file since 254aa1d 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
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
18alias icecat exec ratpoison -c "select icecat" || exec icecat
[254aa1d]19alias palemoon exec ratpoison -c "select Pale moon" || sh ~/Software/palemoon/palemoon-guix.sh
[618683a]20alias workrave exec ratpoison -c "select workrave" || exec workrave
21alias emacs exec ratpoison -c "select emacs" || exec emacs
[dc54de2]22alias xterm exec ratpoison -c "select xterm" || exec xterm
[c53d99e]23alias firefox exec ratpoison -c "select firefox" || exec flatpak run org.mozilla.firefox
[54ebfd5]24alias dbeaver exec dbeaver -c "select dbeaver" || exec flatpak run io.dbeaver.DBeaverCommunity
[a6193f9]25alias guix exec guix
26alias shell exec guix shell
[7bfb563]27alias mpv exec mpv
[618683a]28
[c8063e1]29# Run or raise Emacs
[618683a]30bind e emacs
[c8063e1]31
[b4abc58]32# Run or raise Nyxt
[254aa1d]33bind B palemoon
[b4abc58]34
[c8063e1]35# Run or raise Icecat
[618683a]36bind I icecat
[c8063e1]37
[dc54de2]38# Run or raise Xterm
39bind c xterm
40
[c8063e1]41# Run or raise workrave
[618683a]42bind W workrave
[c8063e1]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%-
[618683a]53definekey top XF86AudioRaiseVolume exec amixer -q sset Master 3%+
Note: See TracBrowser for help on using the repository browser.