-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.ratpoisonrc
111 lines (107 loc) · 5.79 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# ================ initialization ==================
exec wal --backend wal -i $HOME/Pictures/wallpaper
exec sleep 1 && $HOME/.circus/rp_wal
exec picom &
exec $HOME/.circus/sloppy
exec rpws init 3 -k
exec xsetroot -cursor_name left_ptr
exec kitty
# ==================================================
# ==================== keybinds ====================
escape C-z
# --------------------------------------------------
bind period restart
bind BackSpace exec $HOME/.circus/rp_gaps bar
bind Tab windows
bind greater exec
bind Escape exec echo
bind Right rpwsn
bind Left rpwsp
bind bracketleft exec $HOME/.circus/rp_gaps inc
bind bracketright exec $HOME/.circus/rp_gaps dec
bind backslash exec $HOME/.circus/rp_gaps toggle
# --------------------------------------------------
bind z exec kitty
bind c hsplit
bind v vsplit
bind r resize
bind e fselect
bind q only
bind w delete
bind x remove
bind n next
bind p prev
bind y undo
bind t redo
bind u rpws1
bind i rpws2
bind o rpws3
bind m rpwsmn
bind h exec $HOME/.circus/rp_rat move left
bind l exec $HOME/.circus/rp_rat move right
bind k exec $HOME/.circus/rp_rat move top
bind j exec $HOME/.circus/rp_rat move bottom
bind f exec $HOME/.circus/rp_rat exchange horizontal
bind g exec $HOME/.circus/rp_rat exchange vertical
# ==================================================
# ============================== top level keybinds ==============================
definekey top C-A exec $HOME/.circus/rp_rat move left
definekey top C-D exec $HOME/.circus/rp_rat move right
definekey top C-W exec $HOME/.circus/rp_rat move top
definekey top C-S exec $HOME/.circus/rp_rat move bottom
# --------------------------------------------------------------------------------
definekey top C-U rpws1
definekey top C-I rpws2
definekey top C-O rpws3
# --------------------------------------------------------------------------------
definekey top C-space colon
definekey top C-Tab windows
# --------------------------------------------------------------------------------
definekey top XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -3000
definekey top XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +3000
definekey top XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
# --------------------------------------------------------------------------------
definekey top XF86AudioPlay exec playerctl play-pause
definekey top XF86AudioNext exec playerctl next
definekey top XF86AudioPrev exec playerctl previous
# --------------------------------------------------------------------------------
definekey top XF86MonBrightnessUp exec $HOME/.circus/bright up
definekey top XF86MonBrightnessDown exec $HOME/.circus/bright down
# ================================================================================
# ============ aliases =============
alias firefox exec firefox
alias skype exec skypeforlinux
alias spotify exec spotify
# ----------------------------------
alias audio exec pavucontrol
alias bluetooth exec blueman-manager
# ----------------------------------
alias logout quit
alias shutdown exec poweroff
alias reboot exec reboot
# ==================================
# ============== settings ===============
set font "Fira Code:size=14:style=medium"
set msgwait 1
set warp 0
startup_message off
# ---------------------------------------
set wingravity center
set winname title
set winfmt [%n] %t
set winliststyle column
# ---------------------------------------
set framesels abcdefghijklmnopqrstuvwxyz
set framemsgwait -1
set framefmt Current Frame
set resizeunit 20
# ---------------------------------------
set fgcolor #D65C78
set bgcolor #232530
set inputwidth 700
set bargravity center
set barpadding 35 30
# ---------------------------------------
set border 40
set padding 40 100 40 40
# =======================================