-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.ratpoisonrc
68 lines (56 loc) · 1.57 KB
/
.ratpoisonrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
escape s-z
set font "terminus-9"
set fgcolor "#ffffff"
set bgcolor "#000000"
set msgwait 2
set border 0
startup_message off
# fix terminal not taking up the whole screen
set shrink
# Format of the windows command - number + resource class of the program
set winfmt %n - %c: %t
set infofmt (%H, %W) %n(%c - %a) -- PID: %p, XWID: %i
# Messages in the middle of the screen
set barborder 0
set bargravity c
set transgravity nw
set resizeunit 126
# Vi-key navigation
unbind k
bind j focusdown
bind h focusleft
bind k focusup
bind l focusright
# Vi-key tile swapping
bind J exchangedown
bind H exchangeleft
bind K exchangeup
bind L exchangeright
bind C-k delete
bind Escape abort
# Workspaces
exec exec rpws init 4 -k
# Move window to the specified Workspace
bind S-F1 exec rpws move1
bind S-F2 exec rpws move2
bind S-F3 exec rpws move3
bind S-F4 exec rpws move4
# Other keybindings
bind F1 exec rpws 1
bind F2 exec rpws 2
bind F3 exec rpws 3
bind F4 exec rpws 4
bind d exec
bind c exec urxvt
bind q delete
bind E quit
bind Print exec scrot ~/Pictures/Screenshot_%Y-%m-%d_%H%M%S.png -e 'xclip -selection clipboard -t image/png -i $f'
bind s-Print exec scrot -u ~/Pictures/Screenshot_%Y-%m-%d_%H%M%S.png -e 'xclip -selection clipboard -t image/png -i $f'
bind s-S exec scrot -s --freeze ~/Pictures/Screenshot_%Y-%m-%d_%H%M%S.png -e 'xclip -selection clipboard -t image/png -i $f'
# Scripts
exec export GDK_CORE_DEVICE_EVENTS=1
#exec xsetroot -cursor_name left_ptr
exec ratpoison-sloppymove
exec wmname LG3D
#exec xsetroot -solid Teal
exec xsetroot -bitmap ~/.other/bliss.xbm -bg "#073642" -fg "#345345"