source: dotfiles/wm/.ratpoisonrc@ 54ebfd5

Last change on this file since 54ebfd5 was 54ebfd5, checked in by Mikhail Kirillov <w96k@…>, on Aug 11, 2022 at 9:31:05 PM

Add dbeaver to ratpoison

  • 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
10# set font "Unifont:size=12"
11set bargravity n
12defborder 0
13set winname class
14set wingravity n
15
16# Commands to run-or-raise programs
17alias icecat exec ratpoison -c "select icecat" || exec icecat
18alias nyxt exec ratpoison -c "select nyxt" || exec nyxt
19alias workrave exec ratpoison -c "select workrave" || exec workrave
20alias emacs exec ratpoison -c "select emacs" || exec emacs
21alias xterm exec ratpoison -c "select xterm" || exec xterm
22alias firefox exec ratpoison -c "select firefox" || exec flatpak run org.mozilla.firefox
23alias dbeaver exec dbeaver -c "select dbeaver" || exec flatpak run io.dbeaver.DBeaverCommunity
24
25# Run or raise Emacs
26bind e emacs
27
28# Run or raise Nyxt
29bind B nyxt
30
31# Run or raise Icecat
32bind I icecat
33
34# Run or raise Xterm
35bind c xterm
36
37# Run or raise workrave
38bind W workrave
39
40# Shortcut for running commands
41bind semicolon exec colon
42
43alias cpu exec ratpoison -c "echo $(lscpu | grep 'CPU MHz')"
44
45# Show cpu info
46bind C cpu
47
48# Emacs-like switching windows
49bind o focus
50bind O focusprev
51
52# Emacs like help
53bind h help
54bind h help
55
56definekey top XF86AudioLowerVolume exec amixer -q sset Master 3%-
57definekey top XF86AudioRaiseVolume exec amixer -q sset Master 3%+
58
59exec wmname LG3D
Note: See TracBrowser for help on using the repository browser.