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 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 | #====================================
#---- Set the root cursor
#====================================
CursorStyle ROOT left_ptr
CursorStyle TITLE left_ptr
CursorStyle DEFAULT left_ptr
CursorStyle SYS left_ptr
CursorStyle MENU left_ptr
#====================================
#---- Desktops
#====================================
DesktopSize 3x1
DesktopName 0 One
DesktopName 1 Two
DesktopName 3 Three
EdgeScroll 100 100
EdgeResistance 150 150
EdgeThickness 1
#====================================
#---- Paths
#====================================
SetEnv fvwm_img $[FVWM_USERDIR]/images
SetEnv fvwm_icon $[FVWM_USERDIR]/icons
SetEnv fvwm_scrpt $./scripts
SetEnv fvwm_wallpapers $[FVWM_USERDIR]/wallpaper
SetEnv fvwm_tmp $[FVWM_USERDIR]/tmp
#====================================
#---- Global Styles
#====================================
Style * PositionPlacement UnderMouse, GrabFocusOff
Style * NoPPosition, ResizeOpaque
OpaqueMoveSize -1
Emulate MWM
HideGeometryWindow Always
SnapAttraction 5 SameType Screen
SnapGrid 5 5
XorValue 55555
Style * DecorateTransient, DontRaiseTransient
Style * DontLowerTransient, StackTransientParent
Style * GrabFocusTransientOff
Style * WindowShadeSteps 20, WindowShadeScrolls
#====================================
#---- Colorsets
#====================================
# Window Deco
Colorset 3 fg #505050, bg #151515
Colorset 4 fg #808080, bg #101010
Colorset 5 fg #ffffff, bg #da4939
# Menu
Colorset 7 fg #808080, bg #151515, sh #da4939, hi #da4939
Colorset 8 fg #dddddd, bg #eb928e, sh #eb928e, hi #151515
# Pager
Colorset 9 fg #606060, bg #505050, sh #eeeeee, hi #303030
Colorset 10 fg #bbbbbb, bg #303030, sh #eeeeee, hi #303030
#====================================
#---- Windows
#====================================
DestroyDecor MyDecor
AddToDecor MyDecor
+ TitleStyle RightJustified Height 18
+ ButtonStyle 2 ActiveUp Vector 6 30x50@3 40x40@3 50x50@3 50x65@4 40x55@3 30x65@3 -- Flat
+ ButtonStyle 2 ActiveDown Vector 6 30x50@3 40x40@3 50x50@3 50x65@4 40x55@3 30x65@3 -- Flat
+ ButtonStyle 2 Inactive Vector 6 30x50@3 40x40@3 50x50@3 50x65@4 40x55@3 30x65@3 -- Flat
+ ButtonStyle 4 ActiveUp Vector 6 40x50@3 30x40@3 40x30@3 55x50@4 40x40@3 55x30@3 -- Flat
+ ButtonStyle 4 ActiveDown Vector 6 40x50@3 30x40@3 40x30@3 55x50@4 40x40@3 55x30@3 -- Flat
+ ButtonStyle 4 Inactive Vector 6 40x50@3 30x40@3 40x30@3 55x50@4 40x40@3 55x30@3 -- Flat
+ ButtonStyle 6 ActiveUp Vector 6 30x20@3 40x30@3 50x20@3 50x30@4 40x40@3 30x30@3 -- Flat
+ ButtonStyle 6 ActiveDown Vector 6 30x20@3 40x30@3 50x20@3 50x30@4 40x40@3 30x30@3 -- Flat
+ ButtonStyle 6 Inactive Vector 6 30x20@3 40x30@3 50x20@3 50x30@4 40x40@3 30x30@3 -- Flat
+ TitleStyle -- Flat
+ BorderStyle Simple -- NoInset Flat
+ ButtonStyle All -- UseTitleStyle
Style "*" UseDecor MyDecor
Style "*" Font "xft:Neep:size=6"
Style "*" NoTitle
Style "*" BorderWidth 3, HandleWidth 3
Style "*" BorderColorset 4
Style "*" HilightBorderColorset 5
# Bashrun
Style "bashrun2-run-dialog" UseDecor MyDecor
Style "bashrun2-run-dialog" !Title
#====================================
#---- Menus
#====================================
MenuStyle * PopupDelayed, PopupDelay 300, PopdownImmediately
MenuStyle * PopupOffset 10 100, TitleWarpOff
MenuStyle * TitleUnderlines2, SeparatorsShort, TrianglesSolid
MenuStyle * AnimationOff, AutomaticHotkeysOff
MenuStyle * BorderWidth 3
MenuStyle * PopupAsSubmenu, HoldSubmenus, SubmenusRight
MenuStyle * ItemFormat "%|%10.10l%5.5>%|"
MenuStyle * VerticalItemSpacing 5 5, VerticalTitleSpacing 2 2
MenuStyle * MenuColorset 7
MenuStyle * ActiveFore, Hilight3DOff
MenuStyle * ActiveColorset 8
MenuStyle * Font "xft:Neep:style=Regular:size=6"
#====================================
#---- Thumbnails
#====================================
Style * !IconTitle, IconBox 5 5 80 -5, IconGrid 70 70, IconFill bottom top
Style * IconBackgroundRelief 0
#====================================
#---- Pager
#====================================
Style "FvwmPager" !Title, !Handles, !Borders
Style "FvwmPager" Sticky, WindowListSkip, CirculateSkip
Style "FvwmPager" StaysOnBottom, FixedPosition, FixedSize
Style "FvwmPager" !Iconifiable
#====================================
#---- Startup Functions
#====================================
DestroyFunc StartFunction
AddToFunc StartFunction
+ I Nop
DestroyFunc InitFunction
AddToFunc InitFunction
+ I Exec exec feh --bg-fill ~/Bilder/Walls/blox.jpg
+ I Exec exec xcompmgr -cC -t-5 -l-5 -r4.2 -o.55
+ I Exec exec conky
DestroyFunc RestartFunction
AddToFunc RestartFunction
+ I Nop
#====================================
#---- Basic Functions
#====================================
DestroyFunc FvwmDeleteOrDestroy
AddToFunc FvwmDeleteOrDestroy
+ H Nop
+ M Nop
+ C Delete
+ D Destroy
DestroyFunc FvwmIconifyOrShade
AddToFunc FvwmIconifyOrShade
+ C Thumbnail
DestroyFunc FvwmMaximize
AddToFunc FvwmMaximize
+ H Nop
+ M Nop
+ C Maximize $0 $1
DestroyFunc FvwmMoveOrIconify
AddToFunc FvwmMoveOrIconify
+ M Move
+ D Iconify
DestroyFunc FvwmWindowShade
AddToFunc FvwmWindowShade
+ D WindowShade $0
#====================================
#---- Thumbnails
#====================================
DestroyFunc Thumbnail
AddToFunc Thumbnail
+ SetEnv fvwm_thumbnailing 1
+ I Raise
+ I SetEnv Icon-$[w.id] $[w.iconfile]
+ I ThisWindow (!Shaded Iconifiable !Iconic) PipeRead "xwd -silent -id $[w.id] | convert -resize 50x50^ -gravity center -crop 50x50+0+0 +repage -frame 1x1 -mattecolor black -quality 0 xwd:- png:$[fvwm_tmp]/icon.tmp.$[w.id].png && echo Nop"
# echo WindowStyle IconOverride, Icon $[fvwm_tmp]/icon.tmp.$[w.id].png || echo Nop"
+ I TestRc (Match) Test (f $[fvwm_icon]/$[w.iconfile], f $[fvwm_tmp]/icon.tmp.$[w.id].png) PipeRead "composite -geometry +2+4 $[fvwm_icon]/$[w.iconfile] $[fvwm_tmp]/icon.tmp.$[w.id].png $[fvwm_tmp]/icon.tmp.$[w.id].png && echo WindowStyle IconOverride, Icon $[fvwm_tmp]/icon.tmp.$[w.id].png || echo Nop"
+ I TestRc (NoMatch) WindowStyle IconOverride, Icon $[fvwm_tmp]/icon.tmp.$[w.id].png
+ I Iconify
+ SetEnv fvwm_thumbnailing 2
DestroyFunc DeThumbnail
AddToFunc DeThumbnail
+ I PipeRead "echo WindowStyle Icon \\$\\[Icon-$[w.id]\\]"
+ I UnsetEnv Icon-$[w.id]
+ I Exec rm -f $[fvwm_tmp]/icon.tmp.$[w.id].png
#====================================
#---- Pager
#====================================
DestroyModuleConfig FvwmPager: *
*FvwmPager: Geometry 250x25-10+-10
*FvwmPager: Colorset * 9
*FvwmPager: HilightColorset * 9
*FvwmPager: BalloonColorset * 9
*FvwmPager: WindowColorsets 9 10
*FvwmPager: Font "xft:Fixed:pixelsize=9"
*FvwmPager: Balloons All
*FvwmPager: BalloonFont "xft:Fixed:pixelsize=9"
*FvwmPager: BallonYOffset +2
*FvwmPager: UseSkipList
*FvwmPager: Rows 1
#====================================
#---- Keyboard
#====================================
Key F1 A M Menu MenuFvwmRoot
Key Tab A M WindowList Root c c NoDeskSort, SelectOnRelease Meta_L
# Applications
Key Return A 4 Exec exec urxvt -e zsh
Key Space A 4 Exec exec dmenu_run -fn "Neep:size=6" -p ">>>" -nb \#151515 -nf \#666666 -sb \#a761c2 -sf \#090909
Key B A 4 Exec exec luakit
Key V A 4 Exec exec gvim
Key M A 4 Exec exec urxvt -e ncmpcpp
# Multimedia Keys
Key XF86AudioNext A A Exec exec mpc next
Key XF86AudioPrev A A Exec exec mpc prev
Key XF86AudioPlay A A Exec exec mpc toggle
Key XF86AudioStop A A Exec exec mpc stop
Key XF86AudioMedia A A Exec exec /home/crshd/bin/mpm
Key XF86AudioLowerVolume A A Exec exec /home/crshd/bin/volume -d 5
Key XF86AudioRaiseVolume A A Exec exec /home/crshd/bin/volume -i 5
Key XF86AudioMute A A Exec exec /home/crshd/bin/volume -t
# Window Management
Key K W 4 Close
Key I W 4 FvwmIconifyOrShade
#====================================
#---- Mouse
#====================================
ClickTime 350
MoveThreshold 3
Style * SloppyFocus, MouseFocusClickRaises
Mouse 1 R A Menu FvwmRootMenu
Mouse 3 R A Menu FvwmWindowOpsMenu
Mouse 1 2 A FvwmDeleteOrDestroy
Mouse 1 4 A FvwmIconifyOrShade
Mouse 1 6 A FvwmMaximize 100 100
Mouse 2 6 A FvwmMaximize 0 100
Mouse 3 6 A FvwmMaximize 100 0
Mouse 1 W 4 FvwmMoveOrIconify
Mouse 9 W A FvwmMoveOrIconify
Mouse 1 I A FvwmMoveOrIconify
Mouse 4 T A FvwmWindowShade True
Mouse 5 T A FvwmWindowShade False
#====================================
#---- Menus
#====================================
DestroyMenu FvwmRootMenu
AddToMenu FvwmRootMenu
+ "tmnl" Exec exec urxvt
+ "" Nop
+ "appz" Popup FvwmProgramsMenu
+ "filez" Popup FvwmFilesMenu
+ "ctrl" Popup FvwmSettingsMenu
DestroyMenu FvwmProgramsMenu
AddToMenu FvwmProgramsMenu
+ "internet" Popup FvwmInternetMenu
+ "devel" Popup FvwmDevelopmentMenu
+ "graphic" Popup FvwmGraphicMenu
+ "office" Popup FvwmOfficeMenu
+ "media" Popup FvwmMediaMenu
DestroyMenu FvwmInternetMenu
AddToMenu FvwmInternetMenu
+ "lkit" Exec exec luakit
+ "IRC" Exec exec urxvt -name irc -e launchtmux irc
+ "m@il" Exec exec urxvt -name mutt -e mutt
+ "fzlla" Exec exec filezilla
+ "jDldr" Exec exec jdownloader
DestroyMenu FvwmDevelopmentMenu
AddToMenu FvwmDevelopmentMenu
+ "gvim" Exec exec gvim
+ "railz" Exec exec urxvt -name rails -e launchtmux rails
DestroyMenu FvwmGraphicMenu
AddToMenu FvwmGraphicMenu
+ "gimp" Exec exec gimp
+ "mrge" Exec exec mirage
DestroyMenu FvwmMediaMenu
AddToMenu FvwmMediaMenu
+ "mpd" Exec exec urxvt -name ncmpcpp -e ncmpcpp
DestroyMenu FvwmFilesMenu
AddToMenu FvwmFilesMenu
+ "h0me" Exec exec rox
+ "" Nop
+ "w3" Exec exec rox /home/crshd/www
+ "" Nop
+ "d4t4" Exec exec rox /mnt/data
+ "docs" Exec exec rox /mnt/data/Dokumente
+ "dloods" Exec exec rox /mnt/data/Downloads
+ "pr0n" Exec exec rox /mnt/data/Bilder
+ "tunes" Exec exec rox /mnt/data/Musik
+ "" Nop
+ "320" Exec exec rox /mnt/320GB
+ "vid" Exec exec rox /mnt/320GB/Video
+ "" Nop
+ "toolbx" Exec exec rox /mnt/TOOLBOX
DestroyMenu FvwmSettingsMenu
AddToMenu FvwmSettingsMenu
+ "FVWM Console" Module FvwmConsole
+ "Help" Popup FvwmManPagesMenu
+ "" Nop
+ "Restart" Restart
+ "" Nop
+ "Quit" Quit
|
x
Notes
Font: Neep