guest@dotshare [~/groups/wms/ratpoison] $ ls ratpoison/ | cat

ratpoison! (scrot, raw, dl) (+1 likes)

defektz Jul 14, 2012 (wms/ratpoison)

SCROT

  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
112
113
114
115
116
# startup_message off

escape C-i
bind Escape abort

#rudeness is a bitwise or of the following values:
# 1    Transient windows may raise.
# 2    Normal windows may raise.
# 4    New transient windows end up in the foreground.
# 8    New normal windows end up in the foreground.
rudeness 13
warp off

set winname title
set wingravity center
set transgravity center
set border 3
set barborder 3
#fails hard on multi-monitor. Do this manually
#set padding 0 20 0 0
set barpadding 1 1
set inputwidth 800
set bargravity center
set font sans-9
set font "ohsnap:size=10"
set bgcolor #2f2f2f
set fgcolor #418CDD
set fwcolor #418CDD
set bwcolor #2f2f2f

# Display formats
set infofmt %c: %t [%n]
set framefmt %t [%n]

# Blank Monitor
#bind grave exec xset dpms force off
bind grave exec xscreensaver-command -lock
definekey top s-l exec xscreensaver-command -lock

bind w exec /usr/share/ratpoison/allwindows.sh
bind C-w exec /usr/share/ratpoison/allwindows.sh

# Stuff

# Applications
bind f exec firefox
bind C-f exec firefox

bind c exec urxvt
bind C-c exec urxvt
#set font "-ypn-envypnd-medium-r-normal--13-130-75-75-c-90-iso8859-1"
alias dmenu exec dmenu_run -fn '-ypn-envypnd-medium-r-normal--13-130-75-75-c-90-iso8859-1' -nb '#2f2f2f' -nf '#418CDD' -sb '#418CDD' -sf '#2f2f2f' -p 'exec:' || true
bind d dmenu
bind C-d dmenu
alias dunst exec dunst
bind C-1 dunst

# Sticky Windows
bind d dedicate
bind C-d dedicate

# Undo
bind u undo
bind C-u undo
bind e exec emacs

definekey top M-h hsplit
definekey top M-v vsplit
definekey top M-. colon
# Printscreen!
#definekey top Print exec mkdir ~/snapshots/; import ~/snapshots/`date +%Y%m%d%H%M%S`.png

# Date/Time
bind C-a exec ratpoison -c "echo `date +'%r - %A %n    %D - %B'`  `cal | tail -n +2 | sed -e 's/^Su/\n\n Su/' -e 's/.*/ & /' -e \"s/\ $(date +%e) /\<$(date +%e)\>/\"`"
bind C-s exec ratpoison -c "echo $(date +'%a %b %d %I:%M%p')"

# Volume
definekey top S-XF86AudioRaiseVolume exec ratvolume Master 3%+
definekey top S-XF86AudioMute exec ratvolume Master 0
definekey top S-XF86AudioLowerVolume exec ratvolume Master 3%-
definekey top XF86AudioRaiseVolume exec ratvolume PCM 3%+
definekey top XF86AudioMute exec ratvolume PCM 0
definekey top XF86AudioLowerVolume exec ratvolume PCM 3%-

definekey top s-Up exec ratvolume PCM 3%+
definekey top s-Down exec ratvolume PCM 3%-
definekey top s-S-Up exec ratvolume Master 3%+
definekey top s-S-Down exec ratvolume Master 3%-

# Focus
definekey top M-Tab next
definekey top M-ISO_Left_Tab prev

# Navigation
definekey top C-S-Up focusup
definekey top C-S-Left focusleft
definekey top C-S-Down focusdown
definekey top C-S-Right focusright
definekey top s-Left prevscreen
definekey top s-Right nextscreen


# Workspaces
exec rpws init 3 -a
definekey top C-M-1 rpws1
definekey top C-M-2 rpws2
definekey top C-M-3 rpws3
definekey top C-M-Left rpwsp
definekey top C-M-Right rpwsn

# Startup crap
sselect 1
set padding 0 20 0 0
exec killall xfce4-notifyd
exec dunst
# tmpwm stumpwm

CLICK TO VIEW

x

Notes

This is not stumpwm. Its ratpoison.