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

wmfscratch... (scrot, raw, dl) (+12 likes)

jasonwryan Jun 23, 2011 (wms/wmfs)

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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
#----------------------------------------------------
# file:     ~/.config/wmfs/wmfsrc                         
# author:   jason ryan - http://jasonwryan.com/    
# vim:fenc=utf-8:nu:ai:si:et:ts=4:sw=4:fdn=1:ft=conf:
#----------------------------------------------------

# @include "~/.config/wmfs/menu-wmfsrc"

[misc]
        font                = "envy code r:medium:size=9.5" 
        raisefocus          = true
        focus_follow_mouse  = false
        focus_pointer_click = true
        status_timing       = 5     #seconds
        status_path         = "~/Scripts/wmfs-status"
[/misc]

[bar]
        bg     = "#121212"
        fg     = "#777777"
        border = false

        [systray]
                active = true   # Enable/disable systray
                screen = 0      # Screen of systray
                spacing = 4     # Spacing between tray icons
        [/systray]

        [selbar]
                bg = "#121212"
                fg = "#C0C0C0"
                max_length = 36
        [/selbar]
[/bar]

[layouts]
        fg = "#666666"
        bg = "#121212"
        border = false              # Border around the layout button.
        system = "menu"             # Value menu or switch.
        placement = "right"         # Value left or right.
        keep_layout_geo = false     # Keep layout geo for free layout
        selected_layout_symbol = "*" # Symbol displayed for the selected layout in the list
        layout_button_width = 20    # Width of layout button

       # Tiling layouts.
        [layout] type = "tile_right"     symbol = "       \i[0;3;14;14;/home/jason/.config/wmfs/icons/tile.png]\"  [/layout]
        [layout] type = "tile_left"      symbol = "       \i[0;3;14;14;/home/jason/.config/wmfs/icons/tileleft.png]\" [/layout]
        [layout] type = "tile_top"       symbol = "       \i[0;3;14;14;/home/jason/.config/wmfs/icons/tiletop.png]\" [/layout]
        [layout] type = "tile_bottom"    symbol = "       \i[0;3;14;14;/home/jason/.config/wmfs/icons/tilebottom.png]\" [/layout]
        [layout] type = "max"            symbol = "       \i[0;3;14;14;/home/jason/.config/wmfs/icons/max.png]\" [/layout]
        [layout] type = "free"           symbol = "       \i[0;3;14;14;/home/jason/.config/wmfs/icons/floating.png]\" [/layout]
[/layouts]

[tags]
        [default_tag]
             name             = "new tag"
             mwfact           = 0.5
             nmaster          = 1
             layout           = "tile_right"
             resizehint       = false
             infobar_position = "top"
        [/default_tag]

        tag_round      = true
        occupied_bg    = "#121212"
        occupied_fg    = "#395573"
        sel_fg         = "#C0C0C0"
        sel_bg         = "#121212"
        urgent_bg      = "#121212"
        urgent_fg      = "#BF4D80"

        name_count     = false  # If true, number of the tag will be used for name
        border      = false     # Border around the tag buttons.
        autohide    = false     # Hide empty tags in tag list

        [tag] name = "web"   screen = 0 layout = "max" [/tag]
        [tag] name = "term"  screen = 0 layout = "tile_right" [/tag]
        [tag] name = "mail"  screen = 0 layout = "max" [/tag]
        [tag] name = "misc"  screen = 0 layout = "free" [/tag]

[/tags]

[rules]
       [rule] instance = "vimprobable2" class = "vimprobable2" screen = 0     tag = "1"  max =  "true"  [/rule]
       [rule] instance = "tabbed"       class = "tabbed"       screen = 0     tag = "1"  max =  "true"  [/rule]
       [rule] instance = "tmux"         class = "tmux"         screen = 0     tag = "2"  max =  "false" [/rule]
       [rule] instance = "mutt"         class = "mutt"         screen = 0     tag = "3"  max =  "true"  [/rule]
       [rule] instance = "skype"        class = "skype"        screen = 0     tag = "4"  free = "true"  [/rule]
       [rule] instance = "mplayer"      class = "mplayer"      screen = 0     tag = "4"  free = "true"  [/rule]
       [rule] instance = "filezilla"    class = "filezilla"    screen = 0     tag = "4"  free = "true"  [/rule]
       [rule] instance = "gimp"         class = "gimp"         screen = 0     tag = "4"  free = "true"  [/rule]
       [rule] instance = "scratchpad"   name  = "scratchpad"                             free = "true"  [/rule]
       [rule] instance = "netspeed"     name = "netspeed"                                free = "true"  [/rule]
[/rules]

[root]
       # Command you can execute to set the background.
       # background_command = "xsetroot -solid '#333333'"
[/root]

[client]
        client_round         = true
        border_height        = 1
        border_shadow        = false
        border_normal        = "#222222"
        border_focus         = "#666666"
        resize_corner_normal = "#222222"
        resize_corner_focus  = "#666666"

        # Space between tiled clients
        padding = 0

        # Modifier for mouse use
        modifier = "Mod4"

        [mouse] button = "1" func = "client_raise" [/mouse]
        [mouse] button = "1" func = "mouse_move"   [/mouse]
        [mouse] button = "3" func = "client_raise" [/mouse]
        [mouse] button = "3" func = "mouse_resize" [/mouse]

        # Remove this section to delete the titlebar.
        [titlebar]
                stipple   = false
                height    = 1
                fg_normal = "#121212"
                fg_focus  = "#899CA1"

                [mouse] button = "1" func = "client_raise" [/mouse]
                [mouse] button = "1" func = "mouse_move"   [/mouse]
                [mouse] button = "3" func = "client_raise" [/mouse]
                [mouse] button = "3" func = "mouse_resize" [/mouse]
        [/titlebar]
[/client]

[menu]
        # Default menu, binded on the root window, button 3.
        [set_menu]
                name = "rootmenu"
                # Available "center", "left", "right" menu align. Default: "center".
                align = "left"

                fg_focus  = "#899CA1" bg_focus  = "#121212"
                fg_normal = "#888888" bg_normal = "#333333"

                [item] name = "Terminal"        func = "spawn" cmd = "urxvtc" [/item]
                [item] name = "Next tag"        func = "tag_next"                  [/item]
                [item] name = "Previous tag"    func = "tag_prev"                  [/item]
                [item] name = "Next layout"     func = "layout_next"               [/item]
                [item] name = "Previous layout" func = "layout_prev"               [/item]
                [item] name = "Toggle infobar"  func = "toggle_infobar_position"   [/item]
                [item] name = "Quit WMFS"       func = "quit"                      [/item]
        [/set_menu]

        [set_menu]
                name = "clientmenu"

                fg_focus  = "#D4D4D4" bg_focus  = "#003366"
                fg_normal = "#D4D4D4" bg_normal = "#191919"

                # Check items: possible 'check_max' or 'check_free'.
                [item] name = "Close"    func = "client_kill"                      [/item]
                [item] name = "Maximize" func = "toggle_max"  check = "check_max"  [/item]
                [item] name = "Free"     func = "toggle_free" check = "check_free" [/item]
        [/set_menu]
[/menu]

[launcher]
        [set_launcher]
                # Limit size of the launcher window (px)
                width_limit = 300

                name = "launcher_exec"
                prompt = "Exec: "
                command = "exec"
        [/set_launcher]

        #ViWMFS : manage wmfs with vi-based command.
        [set_launcher]
                name = "viwmfs"
                prompt = "> "
                command = "wmfs -V"
        [/set_launcher]
[/launcher]

[keys]

        # Reload the configuration of wmfs.
        [key] mod = {"Mod4", "Shift"} key = "r" func = "reload" [/key]

        # Open a terminal.
        [key] mod = {"Mod4", "Shift"} key = "Return" func = "spawn" cmd = "urxvtc" [/key]

        # Kill the selected client.
        [key] mod = {"Mod4", "Shift"} key = "c" func = "client_kill" [/key]

        # Quit wmfs.
        [key] mod = {"Mod4", "Shift"} key = "q" func = "quit" [/key]

        # Swap current client with the next.
        [key] mod = {"Mod4", "Shift"} key = "j" func = "client_swap_next" [/key]

        # Swap current client with the previous.
        [key] mod = {"Mod4", "Shift"} key = "k" func = "client_swap_prev" [/key]

        # Toggle layouts
        [key] mod = {"Mod4"} key = "t" func = "set_layout" cmd = "tile_right" [/key]
        [key] mod = {"Mod4"} key = "s" func = "set_layout" cmd = "tile_bottom" [/key]
        [key] mod = {"Mod4"} key = "m" func = "set_layout" cmd = "max" [/key]
        [key] mod = {"Mod4"} key = "f" func = "set_layout" cmd = "free" [/key]

        # Toggle the position of the infobar.
        [key] mod = {"Mod4"} key = "b" func = "toggle_infobar_position" [/key]

        # Toggle the resizehint of the current tag/screen
        [key] mod = {"Shift", "Control"} key = "r" func = "toggle_resizehint" [/key]

        # Toggle the tag_autohide mode
        [key] mod = {"Shift", "Control"} key = "t" func = "toggle_tagautohide" [/key]

        # Select the next client.
        [key] mod = {"Mod4"} key = "j" func = "client_next" [/key]

        # Select the previous client.
        [key] mod = {"Mod4"} key = "k" func = "client_prev" [/key]

        # Select the next tag.
        [key] mod = {"Mod4"} key = "Right" func = "tag_next" [/key]

        # Select the previous tag.
        [key] mod = {"Mod4"} key = "Left" func = "tag_prev" [/key]

        # Select the next visible tag.
        [key] mod = {"Mod4","Shift"} key = "Right" func = "tag_next_visible" [/key]

        # Select the previous visible tag.
        [key] mod = {"Mod4","Shift"} key = "Left" func = "tag_prev_visible" [/key]

        # Set the next layout.
        [key] mod = {"Mod4"} key = "space" func = "layout_next" [/key]

        # Set the previous layout.
        [key] mod = {"Alt", "Shift"} key = "space" func = "layout_prev" [/key]

        # Increase mwfact.
        [key] mod = {"Mod4"} key = "l" func = "set_mwfact" cmd = "+0.025" [/key]

        # Decrease mwfact.
        [key] mod = {"Mod4"} key = "h" func = "set_mwfact" cmd = "-0.025" [/key]

        # Increase nmaster.
        [key] mod = {"Alt"} key = "d" func = "set_nmaster" cmd = "+1" [/key]

        # Decease nmaster.
        [key] mod = {"Alt", "Shift"} key = "d" func = "set_nmaster" cmd = "-1" [/key]

        #Launcher.
        [key] mod = {"0"} key = "Menu" func = "launcher" cmd = "launcher_exec" [/key]

        #ViWMFS
        [key] mod = {"Mod4"} key = "Menu" func = "launcher" cmd = "viwmfs" [/key]

        # Open
        [key] mod = {"Mod4", "Shift"} key = "Menu" func = "spawn" cmd = "dmenu_run -fn '-*-dina-medium-r-*-*-*-100-*-*-*-*-*-*' -nb '#1A1A1A' -nf '#696969' -sb '#1A1A1A' -sf '#D3D7Cf'" [/key]
        [key] mod = {"Control", "Alt"} key = "w" func = "spawn" cmd = "TID=`tabbed -d 2>/dev/null`; vimprobable2 -e $TID" [/key]
        [key] mod = {"Control", "Alt"} key = "t" func = "spawn" cmd = "urxvtc -name tmux -e tmux -f /home/jason/.tmux/conf" [/key]
        [key] mod = {"Control", "Alt"} key = "p" func = "spawn" cmd = "urxvtc -name scratchpad -geometry 64x10+480+34" [/key]
        [key] mod = {"Control", "Alt"} key = "n" func = "spawn" cmd = "urxvtc -name netspeed -geometry 30x2+764+14 -e $HOME/Scripts/netspeed.sh wlan0" [/key]
        [key] mod = {"Control", "Alt"} key = "m" func = "spawn" cmd = "urxvtc -name mutt -e mutt" [/key]
        [key] mod = {"Control", "Alt"} key = "l" func = "spawn" cmd = "slock" [/key]
        [key] mod = {"Control", "Alt"} key = "r" func = "exec"  cmd = "sudo shutdown -r now" [/key]
        [key] mod = {"Control", "Alt"} key = "q" func = "exec"  cmd = "sudo shutdown -h now" [/key]

        # Set the tag x.
        [key] mod = {"Mod4"} key = "1" func = "tag" cmd = "1" [/key]
        [key] mod = {"Mod4"} key = "2" func = "tag" cmd = "2" [/key]
        [key] mod = {"Mod4"} key = "3" func = "tag" cmd = "3" [/key]
        [key] mod = {"Mod4"} key = "4" func = "tag" cmd = "4" [/key]

        # Transfert selected client to x.
        [key] mod = {"Mod4", "Shift"} key = "1" func = "tag_transfert" cmd ="1" [/key]
        [key] mod = {"Mod4", "Shift"} key = "2" func = "tag_transfert" cmd ="2" [/key]
        [key] mod = {"Mod4", "Shift"} key = "3" func = "tag_transfert" cmd ="3" [/key]
        [key] mod = {"Mod4", "Shift"} key = "4" func = "tag_transfert" cmd ="4" [/key]

        # Toggle additional tags (x) on the current tag
        [key] mod = {"Mod4", "Control"} key = "1" func = "tag_toggle_additional" cmd ="1" [/key]
        [key] mod = {"Mod4", "Control"} key = "2" func = "tag_toggle_additional" cmd ="2" [/key]
        [key] mod = {"Mod4", "Control"} key = "3" func = "tag_toggle_additional" cmd ="3" [/key]
        [key] mod = {"Mod4", "Control"} key = "4" func = "tag_toggle_additional" cmd ="4" [/key]

[/keys]

CLICK TO VIEW

x

Comments

bl1nk said about 13 years ago

Oh I love that!