├── .Xdefaults ├── .Xmodmap_hhkb ├── .ctwmrc ├── .cwmrc ├── .gitignore ├── .gtkrc-2.0 ├── .gtkrc.mine ├── .mpdasrc ├── .mpdconf ├── .muttrc ├── .netrc ├── .tmux.conf ├── .twmrc ├── .vim ├── .netrwhist └── colors │ ├── jellybeans.vim │ └── neverland.vim ├── .vimrc ├── .xinitrc ├── .xombrero.conf ├── .zshrc ├── 2bwm.conf ├── README.md ├── barconfig.h ├── dmenu_script ├── freebsd ├── .Xmodmap ├── .gtkrc-2.0 ├── .gtkrc.mine ├── .twmrc ├── .xinitrc ├── BEASTIE ├── boot.config ├── fstab ├── jfbterm.conf ├── loader.conf ├── make.conf ├── rc.conf ├── sysctl.conf ├── ttys └── wpa_supplicant.conf ├── irssi ├── adv_windowlist.pl ├── config └── irssi.theme ├── mk.conf ├── ncmpc.config ├── ncmpcppconfig ├── netbsd ├── .mlterm │ ├── font-fb │ └── main ├── .zshrc ├── boot.cfg ├── rc.conf └── wpa_supplicant.conf ├── rc.conf ├── userChrome.css └── weechat ├── irc.conf └── weechat.conf /.Xdefaults: -------------------------------------------------------------------------------- 1 | ! Basic Term appearence 2 | URxvt.borderColor: #021B21 3 | *boldMode: false 4 | *scrollBar: false 5 | *internalBorder: 8 6 | URxvt*termName: rxvt-256color 7 | urxvt.xftAntialias: false 8 | !urxvt*cursorUnderline: true 9 | 10 | ! Other X apps 11 | xcalc*ti.button1.vertDistance: 4 12 | xcalc*ti.button2.vertDistance: 4 13 | xcalc*ti.button3.vertDistance: 4 14 | xcalc*ti.button4.vertDistance: 4 15 | xcalc*ti.button5.vertDistance: 4 16 | xcalc*ti.background: gray90 17 | xcalc*ti.bevel.borderColor: gray65 18 | xcalc*ti.bevel.borderWidth: 1 19 | xcalc*ti.bevel.vertDistance: 4 20 | xcalc*ti.bevel.defaultDistance: 0 21 | xcalc*ti.bevel.background: rgb:b/c/b 22 | xcalc*ti.bevel.screen*background: rgb:b/c/b 23 | xcalc*ti.bevel.screen.borderColor: rgb:b/c/b 24 | xcalc*ti.bevel.screen.vertDistance: 10 25 | xcalc*ti.bevel.screen.horizDistance: 10 26 | xcalc*ti.bevel.screen*left: chainLeft 27 | xcalc*ti.bevel.screen*right: chainRight 28 | xcalc*ti.bevel.screen*top: chainTop 29 | xcalc*ti.bevel.screen*bottom: chainBottom 30 | xcalc*ti.bevel.screen*LCD.foreground: gray10 31 | xcalc*ti.bevel.screen*INV.vertDistance: 0 32 | xcalc*ti.Command.borderColor: gray65 33 | xcalc*ti.Command.background: gray85 34 | xcalc*ti.Command.foreground: gray30 35 | xcalc*ti.button5.background: rgb:e/b/b 36 | xcalc*ti.button20.background: rgb:e/d/c 37 | xcalc*ti.button25.background: rgb:e/d/c 38 | xcalc*ti.button30.background: rgb:e/d/c 39 | xcalc*ti.button35.background: rgb:e/d/c 40 | xcalc*ti.button40.background: rgb:b/b/e 41 | xcalc*ti.button22.background: gray95 42 | xcalc*ti.button23.background: gray95 43 | xcalc*ti.button24.background: gray95 44 | xcalc*ti.button27.background: gray95 45 | xcalc*ti.button28.background: gray95 46 | xcalc*ti.button29.background: gray95 47 | xcalc*ti.button32.background: gray95 48 | xcalc*ti.button33.background: gray95 49 | xcalc*ti.button34.background: gray95 50 | xcalc*ti.button37.background: gray95 51 | xcalc*ti.button38.background: gray95 52 | xcalc*ti.button39.background: gray95 53 | 54 | xmessage*form.okay.shapeStyle: rectangle 55 | xmessage*form.okay.background: IndianRed 56 | xmessage*form.okay.foreground: rgb:e/b/b 57 | xmessage*message*background: ivory3 58 | xmessage*background: gray85 59 | xmessage*foreground: gray15 60 | xmessage*Scrollbar.width: 1 61 | xmessage*Scrollbar.borderWidth: 0 62 | xmessage*Text.?.cursorColor: rgb:d/5/5 63 | xmessage*Text.borderColor: gray65 64 | xmessage*Text*background: gray95 65 | xmessage*Command.highlightThickness: 1 66 | xmessage*Command.internalWidth: 5 67 | xmessage*Command.internalHeight: 3 68 | xmessage*Command.borderColor: gray40 69 | xmessage*Command.shapeStyle: Rectangle 70 | xmessage*Command.background: gray80 71 | 72 | xman*jumpScroll: true 73 | xman*multiScroll: true 74 | xman*scrollBar: 0 75 | xman*background: #040404 76 | !xman*foreground: #d1a375 77 | xman*foreground: #afd700 78 | xman*manualFontBoldColor: #afd700 79 | xman*manualFontItalicColor: #6495ed 80 | 81 | xfontsel*background: #0D131A 82 | xfontsel*foreground: #B3354C 83 | 84 | 85 | 86 | !! Colors. 87 | !*background: #0D131A 88 | !*foreground: #8A9499 89 | ! 90 | !! black 91 | !*color0: #0D131A 92 | !*color8: #44484C 93 | ! 94 | !! red 95 | !*color1: #802635 96 | !*color9: #B3354C 97 | ! 98 | !! green 99 | !*color2: #608040 100 | !*color10: #4BA65A 101 | ! 102 | !! yellow 103 | !*color3: #877C43 104 | !*color11: #BF9F5F 105 | ! 106 | !! blue 107 | !*color4: #1C678C 108 | !*color12: #3995BF 109 | ! 110 | !! magenta 111 | !*color5: #684D80 112 | !*color13: #A64286 113 | ! 114 | !! cyan 115 | !*color6: #337373 116 | !*color14: #6AAAB3 117 | ! 118 | !! white 119 | !*color7: #738080 120 | !*color15: #B3B3B3 121 | !! 122 | ! Jellybeans 123 | ! 124 | !*background: #080808 125 | !*foreground: #808080 126 | !*color0: #1a1a1a 127 | !! 64 64 64 128 | !*color8: #404040 129 | !! red 130 | !! 215 95 95 131 | !*color1: #d75f5f 132 | !! 234 132 132 133 | !*color9: #EA8484 134 | !! green 135 | !! 135 175 95 136 | !*color2: #87af5f 137 | !! 199 240 159 138 | !*color10: #C7F09F 139 | !! yellow 140 | !! 255 175 95 141 | !*color3: #ffaf5f 142 | !! 255 204 154 143 | !*color11: #FFCC9A 144 | !! blue 145 | !! 135 175 215 146 | !*color4: #87afd7 147 | !! 165 202 239 148 | !*color12: #a5caef 149 | !! magenta 150 | !! 135 135 175 151 | !*color5: #8787af 152 | !! 166 166 222 153 | !*color13: #A6A6DE 154 | !! cyan 155 | !! 95 135 135 156 | !*color6: #5f8787 157 | !! 105 178 178 158 | !*color14: #69b2b2 159 | !! white 160 | !! 128 128 128 161 | !*color7: #808080 162 | !! 215 215 215 163 | !*color15: #d7d7d7 164 | !*font: -beastie-terminus12-medium-r-normal--12-120-72-72-c-60-iso8859-1 165 | !*boldFont: -beastie-terminus12-medium-r-normal--12-120-72-72-c-60-iso8859-1 166 | 167 | ! Colors from hal at 168 | ! http://dotshare.it/dots/634/ 169 | URxvt.colorUL: #ffaf5f 170 | URxvt.perl-ext-common: default,matcher 171 | URxvt.url-launcher: /usr/bin/firefox 172 | URxvt.matcher.button: 1 173 | urxvt.foreground: #E8DFD6 174 | urxvt.background: #021B21 175 | urxvt.cursorColor: #2E3340 176 | urxvt.color0: #032C36 177 | urxvt.color8: #065F73 178 | urxvt.color1: #C2454E 179 | urxvt.color9: #EF5847 180 | urxvt.color2: #7CBF9E 181 | urxvt.color10: #A2D9B1 182 | urxvt.color3: #8A7A63 183 | urxvt.color11: #BEB090 184 | urxvt.color4: #2E3340 185 | urxvt.color12: #61778D 186 | urxvt.color5: #FF5879 187 | urxvt.color13: #FF99A1 188 | urxvt.color6: #44B5B1 189 | urxvt.color14: #9ED9D8 190 | urxvt.color7: #F2F1B9 191 | urxvt.color15: #F6F6C9 192 | urxvt.font:-misc-dash-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1 193 | urxvt.boldFont:-misc-dash-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1 194 | -------------------------------------------------------------------------------- /.Xmodmap_hhkb: -------------------------------------------------------------------------------- 1 | clear control 2 | keycode 37 = BackSpace 3 | clear Mod1 4 | clear Mod4 5 | keycode 131 = Alt_L 6 | keycode 129 = Control_L 7 | add Control = Control_L 8 | -------------------------------------------------------------------------------- /.ctwmrc: -------------------------------------------------------------------------------- 1 | # 2 | # 3 | # Minimal Keyboard Driven Config by Youri Mouton (youri.mout@gmail.com) 4 | # 5 | # 6 | # 7 | # Remember the state of client windows if we're started after another 8 | # window manager. 9 | RestartPreviousState 10 | 11 | Color 12 | { 13 | DefaultBackground "dimgrey" 14 | DefaultForeground "white" 15 | 16 | # Border on focused window 17 | BorderColor "#1c678c" 18 | 19 | # Amber: 20 | # Border on unfocused windows. 21 | # 22 | # If we define both of these to the same colour, we get a solid 23 | # border. Otherwise stippled. 24 | BorderTileBackground "#44484c" 25 | BorderTileForeground "#44484c" 26 | 27 | MenuBackground "dimgrey" 28 | MenuForeground "white" 29 | MenuTitleBackground "dimgrey" 30 | MenuTitleForeground "white" 31 | 32 | TitleBackground "dimgrey" 33 | TitleForeground "white" 34 | 35 | IconManagerBackground "black" 36 | IconManagerForeground "white" 37 | IconManagerHighlight "white" 38 | 39 | MapWindowBackground "black" 40 | MapWindowForeground "white" 41 | } 42 | 43 | ### Nice pointer glyphs depending on where the mouse has moved the 44 | ### pointer. 45 | Cursors 46 | { 47 | Frame "left_ptr" 48 | Title "left_ptr" 49 | Move "left_ptr" 50 | Resize "left_ptr" 51 | Menu "left_ptr" 52 | Button "left_ptr" 53 | Wait "left_ptr" 54 | Select "left_ptr" 55 | Destroy "left_ptr" 56 | Icon "left_ptr" 57 | IconMgr "left_ptr" 58 | } 59 | 60 | TitleJustification "left" 61 | 62 | ### Go directly to the menu entry if the user taps the corresponding 63 | ### key, ignoring case. 64 | IgnoreCaseInMenuSelection 65 | 66 | DecorateTransients # Temporary child windows also get decorations. 67 | 68 | NoGrabServer # Permit X events to update server 69 | # while doing other stuff. 70 | 71 | UsePPosition "on" # Honour window's own idea of placement 72 | # when opening. 73 | 74 | WarpCursor # Move cursor to middle of window when unhiding. 75 | DontMoveOff # Keep things on the physical screen. 76 | 77 | ### Remove the the "opaque" lines below if you're on a fast display 78 | ### and you can move the contents of the windows instead of an 79 | ### outline. Not quite usable on an unaccellerated X server, slow 80 | ### graphics hardware or if you're running over the network with lots 81 | ### of latency. 82 | OpaqueMove 83 | OpaqueResize 84 | 85 | ### Size of windows (in percentage of the screen estate) where ctwm 86 | ### will show windows' contents while moving or resizing. 87 | #OpaqueMoveThreshold 40 88 | #OpaqueResizeThreshold 10 89 | 90 | ### Sloppy focus will only work in CTWM versions >= 3.6 and not very 91 | ### well. 92 | #SloppyFocus 93 | 94 | ### Try not to overlap existing windows when mapping a new window. 95 | #PackNewWindows 96 | 97 | ### Place new windows wherever. Not very random, however. 98 | RandomPlacement "on" 99 | 100 | # No icons, please. Ever. Just make the windows disappear. 101 | IconifyByUnmapping 102 | 103 | ### Don't show icon managers or workspaces in windows or icon menus. 104 | ShortAllWindowsMenus 105 | 106 | ### But let the menus stay up on screen. 107 | StayUpMenus 108 | 109 | ### Uncomment if you want the feedback window when resizing et c in 110 | ### the middle of the screen and not in top left corner. Note that 111 | ### with Xinerama with two screens, this usually means that the window 112 | ### will be shared between two screens! 113 | # CenterFeedbackWindow 114 | 115 | ### Avoid 'technicolor effect' on decorations if we have very few 116 | ### colours, like if you have 8 bit graphics, say. 117 | SaveColor 118 | { 119 | BorderColor 120 | BorderTileBackground 121 | BorderTileForeground 122 | TitleBackground 123 | TitleForeground 124 | } 125 | WarpRingOnScreen 126 | WindowRingExclude 127 | { 128 | "dclock" 129 | } 130 | ### If I set the root window to contain something nice to look at, I 131 | ### don't want ctwm to repaint it when I shift workspaces. 132 | DontPaintRootWindow 133 | 134 | #Set up 9 workspaces. We don't define the root background colour, 135 | #because we use the same colour on every workspace and use 136 | #MapWindowDefaultWorkSpace below instead. 137 | WorkSpaces 138 | { 139 | "1" { "dimgray" "white" } 140 | "2" { "dimgray" "white" } 141 | "3" { "dimgray" "white" } 142 | "4" { "dimgray" "white" } 143 | "5" { "dimgray" "white" } 144 | "6" { "dimgray" "white" } 145 | "7" { "dimgray" "white" } 146 | "8" { "dimgray" "white" } 147 | "9" { "dimgray" "white" } 148 | } 149 | 150 | # When changing workspace, restore the focus to the window in this 151 | # workspace which last had it. 152 | SaveWorkspaceFocus 153 | 154 | ### Configuration of the workspace manager, if visible at all. 155 | #ShowWorkSpaceManager 156 | #WorkSpaceManagerGeometry "400x60-0-0" 10 # Where to place it. 157 | StartInMapState # Show little windows... 158 | #UseThreeDWMap # ...in 3D. 159 | # Uncomment if you want reverse colours to mark current workspace. 160 | #ReverseCurrentWorkSpace 161 | MapWindowCurrentWorkSpace { "rgb:c/c/c" "grey50" "white" } 162 | MapWindowDefaultWorkSpace { "black" "grey20" "white" } 163 | WMgrButtonShadowDepth 0 164 | WMgrHorizButtonIndent 0 165 | WMgrVertButtonIndent 0 166 | 167 | ### Don't show windows that occupies all workspaces in the workspace 168 | ### manager. 169 | NoShowOccupyAll 170 | 171 | ### Menu config 172 | #UseThreeDMenus 173 | MenuShadowDepth 1 174 | 175 | ### Paint a thin border around windows. 176 | BorderWidth 5 177 | 178 | # But if we're running a ctwm, we might want to use slightly thicker 179 | # 3D borders with a 1 pixel shadow. Uncomment below to use them. 180 | #UseThreeDBorders 181 | ThreeDBorderWidth 2 182 | BorderShadowDepth 1 183 | 184 | ### But use no borders at all for these clients. 185 | NoBorder 186 | { 187 | "xclock" 188 | } 189 | 190 | # Make a resize cursor if the user points to the border. Kind of hard 191 | # with a 1 pixel border, though. Use with f.resize and bind it to a 192 | # button in frame context. 193 | #BorderResizeCursors 194 | 195 | ### 3D effect on titles. Uncomment to use. 196 | #UseThreeDTitles 197 | #TitleShadowDepth 1 198 | 199 | #FramePadding 1 # Margin beetwen decorations and border in title. 200 | 201 | ### The window with focus gets a decoration in the title bar. The 202 | ### default is a stipple pattern which is a pain over VNC. Above I 203 | ### have asked to use a small solid bitmap instead. If you don't want 204 | ### any such highlight, uncomment this. 205 | #NoTitleHighlight 206 | 207 | # Mark focus with a sunken title bar if we have 3D titles. 208 | #SunkFocusWindowTitle 209 | 210 | ### Uncomment for tight titles squeezed to the left side. 211 | #SqueezeTitle 212 | 213 | # Use no titles on windows whatsoever. 214 | Notitle 215 | 216 | ### If we turn on titles above, dont draw a title bar on top of these 217 | ### windows. 218 | Notitle 219 | { 220 | "WorkSpaceManager" 221 | "dclock" 222 | "xbiff" 223 | "bbmail" 224 | "xclock" 225 | "xeyes" 226 | "xmcbiff" 227 | } 228 | 229 | # Place windows with these names on the designated workspaces. 230 | #Occupy 231 | #{ 232 | # Workspace "3" {"foo"} 233 | #} 234 | 235 | ### Put these windows on all workspaces. 236 | OccupyAll 237 | { 238 | "WorkSpaceManager" 239 | "dclock" 240 | "xclock" 241 | "rclock" 242 | "xbiff" 243 | "xmcbiff" 244 | } 245 | 246 | ### No default buttons on title bar. 247 | NoDefaults 248 | 249 | ### Functions 250 | 251 | ### Move current window to another workspace. 252 | Function "toone" 253 | { 254 | f.addtoworkspace "1" 255 | f.removefromworkspace "2" 256 | f.removefromworkspace "3" 257 | f.removefromworkspace "4" 258 | f.removefromworkspace "5" 259 | f.removefromworkspace "6" 260 | f.removefromworkspace "7" 261 | f.removefromworkspace "8" 262 | f.removefromworkspace "9" 263 | } 264 | 265 | Function "totwo" 266 | { 267 | f.removefromworkspace "1" 268 | f.addtoworkspace "2" 269 | f.removefromworkspace "3" 270 | f.removefromworkspace "4" 271 | f.removefromworkspace "5" 272 | f.removefromworkspace "6" 273 | f.removefromworkspace "7" 274 | f.removefromworkspace "8" 275 | f.removefromworkspace "9" 276 | } 277 | 278 | Function "tothree" 279 | { 280 | f.removefromworkspace "1" 281 | f.removefromworkspace "2" 282 | f.addtoworkspace "3" 283 | f.removefromworkspace "4" 284 | f.removefromworkspace "5" 285 | f.removefromworkspace "6" 286 | f.removefromworkspace "7" 287 | f.removefromworkspace "8" 288 | f.removefromworkspace "9" 289 | } 290 | 291 | Function "tofour" 292 | { 293 | f.removefromworkspace "1" 294 | f.removefromworkspace "2" 295 | f.removefromworkspace "3" 296 | f.addtoworkspace "4" 297 | f.removefromworkspace "5" 298 | f.removefromworkspace "6" 299 | f.removefromworkspace "7" 300 | f.removefromworkspace "8" 301 | f.removefromworkspace "9" 302 | } 303 | 304 | Function "tofive" 305 | { 306 | f.removefromworkspace "1" 307 | f.removefromworkspace "2" 308 | f.removefromworkspace "3" 309 | f.removefromworkspace "4" 310 | f.addtoworkspace "5" 311 | f.removefromworkspace "6" 312 | f.removefromworkspace "7" 313 | f.removefromworkspace "8" 314 | f.removefromworkspace "9" 315 | } 316 | 317 | Function "tosix" 318 | { 319 | f.removefromworkspace "1" 320 | f.removefromworkspace "2" 321 | f.removefromworkspace "3" 322 | f.removefromworkspace "4" 323 | f.removefromworkspace "5" 324 | f.addtoworkspace "6" 325 | f.removefromworkspace "7" 326 | f.removefromworkspace "8" 327 | f.removefromworkspace "9" 328 | } 329 | 330 | Function "toseven" 331 | { 332 | f.removefromworkspace "1" 333 | f.removefromworkspace "2" 334 | f.removefromworkspace "3" 335 | f.removefromworkspace "4" 336 | f.removefromworkspace "5" 337 | f.removefromworkspace "6" 338 | f.addtoworkspace "7" 339 | f.removefromworkspace "8" 340 | f.removefromworkspace "9" 341 | } 342 | 343 | Function "toeight" 344 | { 345 | f.removefromworkspace "1" 346 | f.removefromworkspace "2" 347 | f.removefromworkspace "3" 348 | f.removefromworkspace "4" 349 | f.removefromworkspace "5" 350 | f.removefromworkspace "6" 351 | f.removefromworkspace "7" 352 | f.addtoworkspace "8" 353 | f.removefromworkspace "9" 354 | } 355 | 356 | Function "tonine" 357 | { 358 | f.removefromworkspace "1" 359 | f.removefromworkspace "2" 360 | f.removefromworkspace "3" 361 | f.removefromworkspace "4" 362 | f.removefromworkspace "5" 363 | f.removefromworkspace "6" 364 | f.removefromworkspace "7" 365 | f.removefromworkspace "8" 366 | f.addtoworkspace "9" 367 | } 368 | 369 | TitleButtonBorderWidth 0 370 | ButtonIndent 0 371 | TitleButtonShadowDepth 1 372 | 373 | # Start resizing right away, even without crossing a border. 374 | AutoRelativeResize 375 | 376 | # When moving around windows, if we pass another window by this many 377 | # pixels, moving is resumed. 378 | MovePackResistance 20 379 | 380 | ### Mouse buttons 381 | Button3 = : title : f.menu "programs" 382 | Button1 = mod2 : window : f.movepack 383 | Button2 = mod2 : window : f.raiselower 384 | Button3 = mod2 : window : f.resize 385 | 386 | ### Move visible screen to a different workspaces with the Function 387 | "1" = mod2 : all : f.gotoworkspace "1" 388 | "2" = mod2 : all : f.gotoworkspace "2" 389 | "3" = mod2 : all : f.gotoworkspace "3" 390 | "4" = mod2 : all : f.gotoworkspace "4" 391 | "5" = mod2 : all : f.gotoworkspace "5" 392 | "6" = mod2 : all : f.gotoworkspace "6" 393 | "7" = mod2 : all : f.gotoworkspace "7" 394 | "8" = mod2 : all : f.gotoworkspace "8" 395 | "9" = mod2 : all : f.gotoworkspace "9" 396 | 397 | ### Send windows to other workspaces. 398 | "1" = mod2 | shift : all : f.function "toone" 399 | "2" = mod2 | shift : all : f.function "totwo" 400 | "3" = mod2 | shift : all : f.function "tothree" 401 | "4" = mod2 | shift : all : f.function "tofour" 402 | "5" = mod2 | shift : all : f.function "tofive" 403 | "6" = mod2 | shift : all : f.function "tosix" 404 | "7" = mod2 | shift : all : f.function "toseven" 405 | "8" = mod2 | shift : all : f.function "toeight" 406 | "9" = mod2 | shift : all : f.function "tonine" 407 | 408 | ### Occupy all workspaces. Doesn't toggle, I'm afraid. 409 | "f" = mod2 : all : f.occupyall 410 | 411 | ### Move windows about with Alt + vi-like keys or arrow keys. 412 | "Up" = mod2 : all : f.jumpup "20" 413 | "Left" = mod2 : all : f.jumpleft "20" 414 | "Right" = mod2 : all: f.jumpright "20" 415 | "Down" = mod2 : all : f.jumpdown "20" 416 | 417 | "i" = mod2 : all : f.jumpup "20" 418 | "n" = mod2 : all : f.jumpleft "20" 419 | "o" = mod2 : all: f.jumpright "20" 420 | "e" = mod2 : all : f.jumpdown "20" 421 | 422 | "Right" = mod2 | shift : all : f.changesize "right +10" 423 | "Left" = mod2 | shift : all : f.changesize "right -10" 424 | "Down" = mod2 | shift : all : f.changesize "bottom +10" 425 | "Up" = mod2 | shift : all : f.changesize "bottom -10" 426 | 427 | "o" = mod2 | shift : all : f.changesize "right +10" 428 | "n" = mod2 | shift : all : f.changesize "right -10" 429 | "e" = mod2 | shift : all : f.changesize "bottom +10" 430 | "i" = mod2 | shift : all : f.changesize "bottom -10" 431 | 432 | ### Maximize windows 433 | "m" = mod2 : all: f.zoom 434 | "v" = mod2 : all : f.hzoom 435 | "m" = mod2 | shift:all: f.fullzoom 436 | 437 | ### Kill a window. 438 | "x" = mod2 : all: f.delete 439 | 440 | ### Program shortcuts. 441 | "Return" = mod2 : all: f.exec "LANG=en_US.UTF-8;urxvt &" 442 | 443 | ### Restart the wm. 444 | "r" = mod2: all: f.restart 445 | 446 | # Move around. 447 | "k" = mod2 : all : f.warpring "next" 448 | "Tab" = mod2 : all : f.warpring "next" 449 | 450 | 451 | ### Some useful tools I often start. 452 | menu "programs" 453 | { 454 | "Programs" f.title 455 | "Lock" f.exec "slock" 456 | "Terminal" f.exec "urxvt &" 457 | "Terminal Gacha" f.exec "urxvt -fn '-bellcore-gacha-medium-r-normal--16-160-72-72-c-60-iso8859-1' &" 458 | "Terminal 9x15" f.exec "urxvt -fn 9x15 &" 459 | "Emacs" f.exec "emacs &" 460 | "Firefox" f.exec "firefox&" 461 | "Interface" f.title 462 | "Screens" f.menu "screens" 463 | "Keyboards" f.menu "keyboards" 464 | } 465 | 466 | # to add? 467 | 468 | #second move/resize speed 469 | #screen corner and center warping 470 | #cursor warping? 471 | 472 | #f.rightzoom 473 | #f.leftzoom 474 | #f.topzoom 475 | #f.bottomzoom 476 | 477 | #f.fill string 478 | #Where string is either : oqrightcq, oqleftcq, oqtopcq, oqbottomcq or oqverticalcq. The current window is resized in the specified direction until it 479 | #reaches an obstacle (either another window, or the screen border). f.fill oqverticalcq sets the window status to oqzoomedcq and toggles, ie calling it 480 | #again will reset the previous window size. 481 | -------------------------------------------------------------------------------- /.cwmrc: -------------------------------------------------------------------------------- 1 | # CWM config file by Beastie 2 | # Muh Colemak! 3 | 4 | # Moving and Resizing: 5 | 6 | bind M-n moveleft 7 | bind M-e movedown 8 | bind M-i moveup 9 | bind M-o moveright 10 | bind MS-n bigmoveleft 11 | bind MS-e bigmovedown 12 | bind MS-i bigmoveup 13 | bind MS-o bigmoveright 14 | 15 | 16 | bind CM-n resizeleft 17 | bind CM-e resizedown 18 | bind CM-i resizeup 19 | bind CM-o resizeright 20 | bind CMS-n bigresizeleft 21 | bind CMS-e bigresizedown 22 | bind CMS-i bigresizeup 23 | bind CMS-o bigresizeright 24 | 25 | mousebind M-3 window_resize 26 | 27 | # Other keybinds 28 | 29 | bind MS-c delete 30 | bind MS-r reload 31 | 32 | 33 | # Launching 34 | 35 | bind MS-Return "urxvt" 36 | 37 | # Progams: 38 | 39 | command shell urxvtc 40 | 41 | # WM Appearence: 42 | 43 | borderwidth 3 44 | moveamount 3 45 | color activeborder "#1c678c" 46 | color inactiveborder "#44484c" 47 | #color menubg "#212121" 48 | #color menufg "#c2c2c2" 49 | 50 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | -------------------------------------------------------------------------------- /.gtkrc-2.0: -------------------------------------------------------------------------------- 1 | # DO NOT EDIT! This file will be overwritten by LXAppearance. 2 | # Any customization should be done in ~/.gtkrc-2.0.mine instead. 3 | 4 | gtk-theme-name="royalbeastie" 5 | gtk-icon-theme-name="Faenza" 6 | gtk-font-name="terminus12 9" 7 | gtk-cursor-theme-size=0 8 | gtk-toolbar-style=GTK_TOOLBAR_BOTH 9 | gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR 10 | gtk-button-images=1 11 | gtk-menu-images=1 12 | gtk-enable-event-sounds=1 13 | gtk-enable-input-feedback-sounds=1 14 | gtk-xft-antialias=1 15 | gtk-xft-hinting=1 16 | gtk-xft-hintstyle="hintfull" 17 | include "/home/youri/.gtkrc-2.0.mine" 18 | include "/home/youri/.gtkrc.mine" 19 | -------------------------------------------------------------------------------- /.gtkrc.mine: -------------------------------------------------------------------------------- 1 | style "murrinestyle" 2 | { 3 | #remove the ugly stipple effect that the pixmap engine causes 4 | #remove the ugly distortion that the pixmap engine causes on disabled text 5 | engine "murrine" {} 6 | } 7 | 8 | class "GtkImage" style "murrinestyle" 9 | class "GtkLabel" style "murrinestyle" 10 | class "GtkComboBox" style "murrinestyle" 11 | class "GtkCellView" style "murrinestyle" 12 | widget_class "*.." style "murrinestyle" 13 | widget_class "*.." style "murrinestyle" 14 | -------------------------------------------------------------------------------- /.mpdasrc: -------------------------------------------------------------------------------- 1 | username = Beastie_ 2 | password = popkektart 3 | host = 0.0.0.0 4 | port = 1337 5 | 6 | -------------------------------------------------------------------------------- /.mpdconf: -------------------------------------------------------------------------------- 1 | music_directory "~/Music/music" 2 | playlist_directory "~/.mpd/playlists" 3 | db_file "~/.mpd/database" 4 | log_file "~/.mpd/log" 5 | pid_file "~/.mpd/pid" 6 | state_file "~/.mpd/state" 7 | sticker_file "~/.mpd/sticker.sql" 8 | auto_update "yes" 9 | auto_update_depth "2" 10 | follow_outside_symlinks "yes" 11 | follow_inside_symlinks "yes" 12 | bind_to_address "0.0.0.0:1337" 13 | audio_output { 14 | type "osx" 15 | name "CoreAudio" 16 | mixer_type "software" 17 | } 18 | audio_output { 19 | type "fifo" 20 | name "my_fifo" 21 | path "/tmp/mpd.fifo" 22 | format "44100:16:2" 23 | } -------------------------------------------------------------------------------- /.muttrc: -------------------------------------------------------------------------------- 1 | #fichier ~/.muttrc 2 | 3 | #enregistre les messages envoyés et brouillons dans Gmail 4 | #set record="+[Gmail]/Messages envoyés" 5 | #set postponed="+[Gmail]/Brouillons" 6 | 7 | #configuration du serveur 8 | set hostname=gmail.com 9 | my_hdr From: Youri Mouton 10 | 11 | unignore Date Message-ID In-Reply-To 12 | 13 | set move=no 14 | set spoolfile=imaps://imap.gmail.com:993/INBOX 15 | set imap_user = "youri.mout@gmail.com" 16 | set imap_pass= "" 17 | set imap_authenticators="login" 18 | set imap_passive="no" 19 | set folder="imaps://imap.gmail.com:993" 20 | set imap_list_subscribed="yes" 21 | 22 | set smtp_url="smtps://youri.mout:@smtp.gmail.com:465" 23 | set ssl_starttls="yes" 24 | 25 | set locale="fr_FR" 26 | set date_format="%A %d %b %Y à %H:%M:%S (%Z)" 27 | set attribution="Le %d, %n à écrit:" 28 | set forward_format="[Fwd: %s]" 29 | set forward_quote 30 | 31 | mailboxes ! 32 | 33 | set pager_index_lines="7" 34 | set pager_stop 35 | 36 | #force l'utilisation d'un programme exterieur pour les mails en HTML 37 | auto_view text/html 38 | 39 | set certificate_file=/Users/youri/.gmail_cert 40 | set move = no # STOPS THE STUPID MBOX QUESTIONS 41 | # set pager = w3m 42 | # threaded view 43 | set sort = "threads" 44 | #bind pager i "previous-undeleted" 45 | #bind pager e "next-undeleted" 46 | #color hdrdefault yellow black 47 | #color quoted brightred black 48 | #color signature magenta black 49 | #color indicator brightwhite black 50 | #color attachment black green 51 | #color error red black 52 | #color message white black 53 | #color search brightwhite magenta 54 | #color status blue black 55 | #color tree red black 56 | #color normal white black 57 | #color tilde green black 58 | #color bold brightyellow black 59 | #color markers red black 60 | #color header yellow black “.*:” 61 | #color header brightwhite black “^(From|Subject):” 62 | #mono header bold “^(From|Subject):” 63 | #color index brightblue default ~N 64 | #color index red default ~F 65 | #color index black green ~T 66 | #color index brightwhite black ~D 67 | #mono index bold ~N 68 | #mono index bold ~F 69 | #mono index bold ~T 70 | #mono index bold ~D 71 | ## Various smilies and the like 72 | #color body brightgreen black “<[Ee]?[Bb]?[Gg]>” 73 | #color body brightgreen black “<[Bb][Gg]>” 74 | ## color body brightgreen black ”[;:]-*[)>(<|]” 75 | #color body brightblue black “(http|ftp|news|telnet|finger)://[^\"\t\r\n]*” 76 | #color body brightblue black “mailto:[-a-z_0-9.]+@[-a-z_0-9.]+” 77 | #mono body bold “(http|ftp|news|telnet|finger)://[^\"\t\r\n]*” 78 | #mono body bold “mailto:[-a-z_0-9.]+@[-a-z_0-9.]+” 79 | ## email addresses 80 | #color body brightblue black “[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+” 81 | #mono body bold “[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+” 82 | ## Mutt compile line 83 | # ./configure --with-curses --with-regex --enable-locales-fix --enable-pop --enable-imap --enable-smtp --with-ssl -with-sasl 84 | color hdrdefault cyan default 85 | color attachment yellow default 86 | 87 | color header brightyellow default "From: " 88 | color header brightyellow default "Subject: " 89 | color header brightyellow default "Date: " 90 | 91 | color quoted green default 92 | color quoted1 cyan default 93 | color quoted2 green default 94 | color quoted3 cyan default 95 | 96 | color error red default # error messages 97 | color message white default # message informational messages 98 | color indicator red default # indicator for the "current message" 99 | color status white default # status lines in the folder index sed for the mini-help line 100 | color tree red default # the "tree" display of threads within the folder index 101 | color search white blue # search matches found with search within the internal pager 102 | color markers red default # The markers indicate a wrapped line hen showing messages with looong lines 103 | 104 | color index yellow default '~O' 105 | color index yellow default '~N' 106 | color index brightred default '~F' # Flagged Messages are important! 107 | color index blue default '~D' # Deleted Mails - use dark color as these are already "dealt with" 108 | 109 | 110 | # Key remapping for colemak, hjkl to neio. 111 | # move cursor over deleted messages 112 | bind index 'e' next-entry 113 | bind index 'i' previous-entry 114 | bind pager 'e' next-entry 115 | bind pager 'i' previous-entry 116 | -------------------------------------------------------------------------------- /.netrc: -------------------------------------------------------------------------------- 1 | machine paste.xinu.at login beastie password ************ 2 | -------------------------------------------------------------------------------- /.tmux.conf: -------------------------------------------------------------------------------- 1 | # change prefix to Ctrl-a (like in gnu-screen) 2 | unbind C-b 3 | set-option -g prefix C-a 4 | bind-key C-a send-prefix 5 | 6 | 7 | # shell 8 | set -g default-command /bin/zsh 9 | set -g default-shell /bin/zsh 10 | 11 | 12 | # start with window 1 (instead of 0) 13 | set -g base-index 1 14 | 15 | 16 | # start with pane 1 17 | set -g pane-base-index 1 18 | 19 | 20 | # screen mode 21 | #set -g default-terminal "screen-256color" 22 | 23 | 24 | # source config file 25 | bind r source-file ~/.tmux.conf 26 | 27 | 28 | # history 29 | set -g history-limit 4096 30 | 31 | 32 | # allow terminal scrolling 33 | set-option -g terminal-overrides 'xterm*:smcup@:rmcup@' 34 | 35 | 36 | # copy mode 37 | #unbind [ 38 | #bind Escape copy-mode 39 | #unbind ] 40 | bind z paste-buffer 41 | set -g status off 42 | bind w run "tmux set-buffer \"$(pbpaste)\"; tmux paste-buffer" 43 | 44 | # use vi mode 45 | setw -g mode-keys vi 46 | set -g status-keys vi 47 | setw -g utf8 on 48 | # use mouse in copy mode 49 | setw -g mode-mouse on 50 | 51 | 52 | # splitting 53 | unbind % 54 | bind h split-window -h 55 | unbind '"' 56 | bind v split-window -v 57 | 58 | 59 | # window switching 60 | unbind n 61 | bind = next-window 62 | #unbind p 63 | bind - previous-window 64 | bind -n C-Right next-window 65 | bind -n C-Left previous-window 66 | # with mouse (click on pretty little boxes) 67 | set -g mouse-select-window on 68 | 69 | 70 | # colon : 71 | bind : command-prompt 72 | 73 | 74 | # panes 75 | set -g mouse-select-pane on 76 | set -g pane-border-fg colour4 77 | set -g pane-active-border-fg colour12 78 | # resize panes with mouse (drag borders) 79 | set -g mouse-select-pane on 80 | set -g mouse-resize-pane on 81 | 82 | 83 | # status line 84 | set -g status-utf8 on 85 | set -g status-justify left 86 | set -g status-bg colour0 87 | set -g status-fg default 88 | set -g status-interval 1 89 | 90 | 91 | # messaging 92 | set -g message-fg black 93 | set -g message-bg blue 94 | set -g message-command-fg black 95 | set -g message-command-bg blue 96 | 97 | 98 | #window mode 99 | setw -g mode-bg colour6 100 | setw -g mode-fg colour2 101 | 102 | # window status 103 | #setw -g window-status-format " #F#I:#W#F " 104 | #setw -g window-status-current-format " #F#I:#W#F " 105 | #setw -g window-status-format "#[fg=colour0]#[bg=colour5] #I #[bg=colour0]#[fg=colour8] #W " 106 | #setw -g window-status-current-format "#[bg=colour0]#[fg=colour1] #I #[fg=colour4]#[bg=colour0] #W " 107 | #setw -g window-status-current-bg colour11 108 | #setw -g window-status-current-fg colour11 109 | #setw -g window-status-current-attr dim 110 | #setw -g window-status-fg colour3 111 | #setw -g window-status-attr reverse 112 | #setw -g window-status-content-bg colour238 113 | #setw -g window-status-content-fg colour11 114 | #$setw -g window-status-content-attr bold,blink,reverse 115 | 116 | 117 | # Info on right (requires stlarch-terminusmod font) 118 | #set -g status-right-length 60 119 | #set -g status-right '#[bg=colour0]#[fg=colour4]%a %H:%M' 120 | 121 | 122 | # Info on left (I don't have a session display for now) 123 | #set -g status-left '' 124 | 125 | 126 | # loud or quiet? 127 | set-option -g visual-activity off 128 | set-option -g visual-bell off 129 | set-option -g visual-content off 130 | set-option -g visual-silence off 131 | set-window-option -g monitor-activity off 132 | set-window-option -g monitor-content on 133 | set-option -g bell-action none 134 | 135 | 136 | # tmux clock 137 | set -g clock-mode-colour blue 138 | 139 | 140 | # some key-binding changes 141 | bind x kill-pane 142 | bind X next-layout 143 | bind Z previous-layout 144 | #source ~/.tmux.clipboard 145 | #bind z run "tmux set-buffer $(reattach-to-user-namespace pbpaste); tmux paste-buffer" 146 | #bind y run "tmux save-buffer - | reattach-to-user-namespace pbcopy" 147 | 148 | -------------------------------------------------------------------------------- /.twmrc: -------------------------------------------------------------------------------- 1 | NoGrabServer 2 | RestartPreviousState 3 | DecorateTransients 4 | TitleFont "-*-drift-medium-r-normal-*-*-*-*-*-*-*-*-*" 5 | ResizeFont "-*-drift-medium-r-normal-*-*-*-*-*-*-*-*-*" 6 | MenuFont "-*-drift-medium-r-normal-*-*-*-*-*-*-*-*-*" 7 | IconFont "-*-drift-medium-r-normal-*-*-*-*-*-*-*-*-*" 8 | IconManagerFont "-*-drift-medium-r-normal-*-*-*-*-*-*-*-*-*" 9 | #TitleFont "-*-tamsyn-medium-r-normal-*-*-87-*-*-*-*-*-*" 10 | #ResizeFont "-*-tamsyn-medium-r-normal-*-*-87-*-*-*-*-*-*" 11 | #MenuFont "-*-tamsyn-medium-r-normal-*-*-87-*-*-*-*-*-*" 12 | #IconFont "-*-tamsyn-medium-r-normal-*-*-87-*-*-*-*-*-*" 13 | #IconManagerFont "-*-tamsyn-medium-r-normal-*-*-87-*-*-*-*-*-*" 14 | ShowIconManager 15 | SortIconManager 16 | ForceIcons 17 | ClientBorderWidth 1 18 | IconDirectory "/usr/include/X11/bitmaps" 19 | 20 | 21 | Color 22 | { 23 | BorderColor "#181512" 24 | BorderTileForeground "#bea492" 25 | BorderTileBackground "#181512" 26 | DefaultBackground "#181512" 27 | DefaultForeground "#bea492" 28 | TitleBackground "#181512" 29 | TitleForeground "#9a875f" 30 | MenuBackground "#181512" 31 | MenuForeground "#9a875f" 32 | MenuBorderColor "#504339" 33 | MenuTitleBackground "#9a875f" 34 | MenuTitleForeground "#181512" 35 | IconBackground "#181512" 36 | IconForeground "#bea492" 37 | IconBorderColor "#504339" 38 | IconManagerBackground "#181512" 39 | IconManagerForeground "#9a875f" 40 | } 41 | 42 | # 43 | # Define some useful functions for motion-based actions. 44 | # 45 | MoveDelta 3 46 | Function "move-or-lower" { f.move f.deltastop f.lower } 47 | Function "move-or-raise" { f.move f.deltastop f.raise } 48 | Function "move-or-iconify" { f.move f.deltastop f.iconify } 49 | 50 | # 51 | # Set some useful bindings. Sort of uwm-ish, sort of simple-button-ish 52 | # 53 | Button1 = : root : f.menu "System" 54 | Button3 = : root : f.menu "Applications" 55 | 56 | Button1 = m : window|icon : f.function "move-or-lower" 57 | Button2 = m : window|icon : f.iconify 58 | Button3 = m : window|icon : f.function "move-or-raise" 59 | 60 | Button1 = : title : f.function "move-or-raise" 61 | Button2 = : title : f.raiselower 62 | 63 | Button1 = : icon : f.function "move-or-iconify" 64 | Button2 = : icon : f.iconify 65 | 66 | Button1 = : iconmgr : f.iconify 67 | Button2 = : iconmgr : f.iconify 68 | 69 | Button1 = mod1 : window : f.move 70 | Button3 = mod1 : window : f.resize 71 | 72 | NoTitle 73 | { 74 | "TWM Icon Manager" 75 | "Conky" 76 | "astime" 77 | } 78 | 79 | # 80 | # And a menus with the usual things 81 | # 82 | menu "System" 83 | { 84 | "System" f.title 85 | "Window ops" f.menu "Window Ops" 86 | "Windows" f.menu "TwmWindows" 87 | "" f.nop 88 | "Refresh" f.refresh 89 | "Unfocus" f.unfocus 90 | "Show Icon Box" f.showiconmgr 91 | "Hide Icon Box" f.hideiconmgr 92 | "Version" f.version 93 | "" f.nop 94 | "Restart" f.restart 95 | "Logout" f.quit 96 | } 97 | 98 | menu "Window Ops" 99 | { 100 | "Window Ops" f.title 101 | "Lower" f.lower 102 | "Raise" f.raise 103 | "Resize" f.resize 104 | "Move" f.move 105 | "Deiconify" f.deiconify 106 | "Iconify" f.iconify 107 | "Identify" f.identify 108 | "Focus" f.focus 109 | "Kill" f.destroy 110 | } 111 | 112 | menu "Title Menu" 113 | { 114 | "Lower" f.lower 115 | "Raise" f.raise 116 | "Resize" f.resize 117 | "Move" f.move 118 | "Iconify" f.iconify 119 | "Identify" f.identify 120 | "Focus" f.focus 121 | "Kill" f.destroy 122 | "Dismiss" f.delete 123 | } 124 | 125 | 126 | 127 | menu "Applications" 128 | { 129 | "Applications" f.title 130 | "urxvt" !"urxvtc &" 131 | "firefox" !"firefox &" 132 | "scrot" !"scrot&" 133 | } 134 | 135 | Icons { 136 | "Navigator" "xlogo32" 137 | "urxvt" "terminal" 138 | } -------------------------------------------------------------------------------- /.vim/.netrwhist: -------------------------------------------------------------------------------- 1 | let g:netrw_dirhistmax =10 2 | let g:netrw_dirhist_cnt =5 3 | let g:netrw_dirhist_1='/Users/youri/rice/mcwm-beast' 4 | let g:netrw_dirhist_2='/Users/youri/.zsh' 5 | let g:netrw_dirhist_3='/Users/youri/music' 6 | let g:netrw_dirhist_4='/Users/youri' 7 | let g:netrw_dirhist_5='/Users/youri/.cmus' 8 | -------------------------------------------------------------------------------- /.vim/colors/jellybeans.vim: -------------------------------------------------------------------------------- 1 | " Vim color file 2 | " 3 | " " __ _ _ _ " 4 | " " \ \ ___| | |_ _| |__ ___ __ _ _ __ ___ " 5 | " " \ \/ _ \ | | | | | _ \ / _ \/ _ | _ \/ __| " 6 | " " /\_/ / __/ | | |_| | |_| | __/ |_| | | | \__ \ " 7 | " " \___/ \___|_|_|\__ |____/ \___|\____|_| |_|___/ " 8 | " " \___/ " 9 | " 10 | " "A colorful, dark color scheme for Vim." 11 | " 12 | " File: jellybeans.vim 13 | " URL: github.com/nanotech/jellybeans.vim 14 | " Scripts URL: vim.org/scripts/script.php?script_id=2555 15 | " Maintainer: NanoTech (nanotech.nanotechcorp.net) 16 | " Version: 1.6~git 17 | " Last Change: January 15th, 2012 18 | " License: MIT 19 | " Contributors: Daniel Herbert (pocketninja) 20 | " Henry So, Jr. 21 | " David Liang 22 | " Rich Healey (richo) 23 | " Andrew Wong (w0ng) 24 | " 25 | " Copyright (c) 2009-2012 NanoTech 26 | " 27 | " Permission is hereby granted, free of charge, to any per‐ 28 | " son obtaining a copy of this software and associated doc‐ 29 | " umentation files (the “Software”), to deal in the Soft‐ 30 | " ware without restriction, including without limitation 31 | " the rights to use, copy, modify, merge, publish, distrib‐ 32 | " ute, sublicense, and/or sell copies of the Software, and 33 | " to permit persons to whom the Software is furnished to do 34 | " so, subject to the following conditions: 35 | " 36 | " The above copyright notice and this permission notice 37 | " shall be included in all copies or substantial portions 38 | " of the Software. 39 | " 40 | " THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY 41 | " KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO 42 | " THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICU‐ 43 | " LAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 44 | " AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, 45 | " DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CON‐ 46 | " TRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON‐ 47 | " NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 48 | " THE SOFTWARE. 49 | 50 | set background=dark 51 | 52 | hi clear 53 | 54 | if exists("syntax_on") 55 | syntax reset 56 | endif 57 | 58 | let colors_name = "jellybeans" 59 | 60 | if has("gui_running") || &t_Co == 88 || &t_Co == 256 61 | let s:low_color = 0 62 | else 63 | let s:low_color = 1 64 | endif 65 | 66 | " Color approximation functions by Henry So, Jr. and David Liang {{{ 67 | " Added to jellybeans.vim by Daniel Herbert 68 | 69 | " returns an approximate grey index for the given grey level 70 | fun! s:grey_number(x) 71 | if &t_Co == 88 72 | if a:x < 23 73 | return 0 74 | elseif a:x < 69 75 | return 1 76 | elseif a:x < 103 77 | return 2 78 | elseif a:x < 127 79 | return 3 80 | elseif a:x < 150 81 | return 4 82 | elseif a:x < 173 83 | return 5 84 | elseif a:x < 196 85 | return 6 86 | elseif a:x < 219 87 | return 7 88 | elseif a:x < 243 89 | return 8 90 | else 91 | return 9 92 | endif 93 | else 94 | if a:x < 14 95 | return 0 96 | else 97 | let l:n = (a:x - 8) / 10 98 | let l:m = (a:x - 8) % 10 99 | if l:m < 5 100 | return l:n 101 | else 102 | return l:n + 1 103 | endif 104 | endif 105 | endif 106 | endfun 107 | 108 | " returns the actual grey level represented by the grey index 109 | fun! s:grey_level(n) 110 | if &t_Co == 88 111 | if a:n == 0 112 | return 0 113 | elseif a:n == 1 114 | return 46 115 | elseif a:n == 2 116 | return 92 117 | elseif a:n == 3 118 | return 115 119 | elseif a:n == 4 120 | return 139 121 | elseif a:n == 5 122 | return 162 123 | elseif a:n == 6 124 | return 185 125 | elseif a:n == 7 126 | return 208 127 | elseif a:n == 8 128 | return 231 129 | else 130 | return 255 131 | endif 132 | else 133 | if a:n == 0 134 | return 0 135 | else 136 | return 8 + (a:n * 10) 137 | endif 138 | endif 139 | endfun 140 | 141 | " returns the palette index for the given grey index 142 | fun! s:grey_color(n) 143 | if &t_Co == 88 144 | if a:n == 0 145 | return 16 146 | elseif a:n == 9 147 | return 79 148 | else 149 | return 79 + a:n 150 | endif 151 | else 152 | if a:n == 0 153 | return 16 154 | elseif a:n == 25 155 | return 231 156 | else 157 | return 231 + a:n 158 | endif 159 | endif 160 | endfun 161 | 162 | " returns an approximate color index for the given color level 163 | fun! s:rgb_number(x) 164 | if &t_Co == 88 165 | if a:x < 69 166 | return 0 167 | elseif a:x < 172 168 | return 1 169 | elseif a:x < 230 170 | return 2 171 | else 172 | return 3 173 | endif 174 | else 175 | if a:x < 75 176 | return 0 177 | else 178 | let l:n = (a:x - 55) / 40 179 | let l:m = (a:x - 55) % 40 180 | if l:m < 20 181 | return l:n 182 | else 183 | return l:n + 1 184 | endif 185 | endif 186 | endif 187 | endfun 188 | 189 | " returns the actual color level for the given color index 190 | fun! s:rgb_level(n) 191 | if &t_Co == 88 192 | if a:n == 0 193 | return 0 194 | elseif a:n == 1 195 | return 139 196 | elseif a:n == 2 197 | return 205 198 | else 199 | return 255 200 | endif 201 | else 202 | if a:n == 0 203 | return 0 204 | else 205 | return 55 + (a:n * 40) 206 | endif 207 | endif 208 | endfun 209 | 210 | " returns the palette index for the given R/G/B color indices 211 | fun! s:rgb_color(x, y, z) 212 | if &t_Co == 88 213 | return 16 + (a:x * 16) + (a:y * 4) + a:z 214 | else 215 | return 16 + (a:x * 36) + (a:y * 6) + a:z 216 | endif 217 | endfun 218 | 219 | " returns the palette index to approximate the given R/G/B color levels 220 | fun! s:color(r, g, b) 221 | " get the closest grey 222 | let l:gx = s:grey_number(a:r) 223 | let l:gy = s:grey_number(a:g) 224 | let l:gz = s:grey_number(a:b) 225 | 226 | " get the closest color 227 | let l:x = s:rgb_number(a:r) 228 | let l:y = s:rgb_number(a:g) 229 | let l:z = s:rgb_number(a:b) 230 | 231 | if l:gx == l:gy && l:gy == l:gz 232 | " there are two possibilities 233 | let l:dgr = s:grey_level(l:gx) - a:r 234 | let l:dgg = s:grey_level(l:gy) - a:g 235 | let l:dgb = s:grey_level(l:gz) - a:b 236 | let l:dgrey = (l:dgr * l:dgr) + (l:dgg * l:dgg) + (l:dgb * l:dgb) 237 | let l:dr = s:rgb_level(l:gx) - a:r 238 | let l:dg = s:rgb_level(l:gy) - a:g 239 | let l:db = s:rgb_level(l:gz) - a:b 240 | let l:drgb = (l:dr * l:dr) + (l:dg * l:dg) + (l:db * l:db) 241 | if l:dgrey < l:drgb 242 | " use the grey 243 | return s:grey_color(l:gx) 244 | else 245 | " use the color 246 | return s:rgb_color(l:x, l:y, l:z) 247 | endif 248 | else 249 | " only one possibility 250 | return s:rgb_color(l:x, l:y, l:z) 251 | endif 252 | endfun 253 | 254 | " returns the palette index to approximate the 'rrggbb' hex string 255 | fun! s:rgb(rgb) 256 | let l:r = ("0x" . strpart(a:rgb, 0, 2)) + 0 257 | let l:g = ("0x" . strpart(a:rgb, 2, 2)) + 0 258 | let l:b = ("0x" . strpart(a:rgb, 4, 2)) + 0 259 | return s:color(l:r, l:g, l:b) 260 | endfun 261 | 262 | " sets the highlighting for the given group 263 | fun! s:X(group, fg, bg, attr, lcfg, lcbg) 264 | if s:low_color 265 | let l:fge = empty(a:lcfg) 266 | let l:bge = empty(a:lcbg) 267 | 268 | if !l:fge && !l:bge 269 | exec "hi ".a:group." ctermfg=".a:lcfg." ctermbg=".a:lcbg 270 | elseif !l:fge && l:bge 271 | exec "hi ".a:group." ctermfg=".a:lcfg." ctermbg=NONE" 272 | elseif l:fge && !l:bge 273 | exec "hi ".a:group." ctermfg=NONE ctermbg=".a:lcbg 274 | endif 275 | else 276 | let l:fge = empty(a:fg) 277 | let l:bge = empty(a:bg) 278 | 279 | if !l:fge && !l:bge 280 | exec "hi ".a:group." guifg=#".a:fg." guibg=#".a:bg." ctermfg=".s:rgb(a:fg)." ctermbg=".s:rgb(a:bg) 281 | elseif !l:fge && l:bge 282 | exec "hi ".a:group." guifg=#".a:fg." guibg=NONE ctermfg=".s:rgb(a:fg)." ctermbg=NONE" 283 | elseif l:fge && !l:bge 284 | exec "hi ".a:group." guifg=NONE guibg=#".a:bg." ctermfg=NONE ctermbg=".s:rgb(a:bg) 285 | endif 286 | endif 287 | 288 | if a:attr == "" 289 | exec "hi ".a:group." gui=none cterm=none" 290 | else 291 | let l:noitalic = join(filter(split(a:attr, ","), "v:val !=? 'italic'"), ",") 292 | if empty(l:noitalic) 293 | let l:noitalic = "none" 294 | endif 295 | exec "hi ".a:group." gui=".a:attr." cterm=".l:noitalic 296 | endif 297 | endfun 298 | " }}} 299 | 300 | if !exists("g:jellybeans_background_color") 301 | let g:jellybeans_background_color = "151515" 302 | end 303 | 304 | call s:X("Normal","e8e8d3",g:jellybeans_background_color,"","White","") 305 | set background=dark 306 | 307 | if !exists("g:jellybeans_use_lowcolor_black") || g:jellybeans_use_lowcolor_black 308 | let s:termBlack = "Black" 309 | else 310 | let s:termBlack = "Grey" 311 | endif 312 | 313 | if version >= 700 314 | call s:X("CursorLine","","1c1c1c","","",s:termBlack) 315 | call s:X("CursorColumn","","1c1c1c","","",s:termBlack) 316 | call s:X("MatchParen","ffffff","80a090","bold","","DarkCyan") 317 | 318 | call s:X("TabLine","000000","b0b8c0","italic","",s:termBlack) 319 | call s:X("TabLineFill","9098a0","","","",s:termBlack) 320 | call s:X("TabLineSel","000000","f0f0f0","italic,bold",s:termBlack,"White") 321 | 322 | " Auto-completion 323 | call s:X("Pmenu","ffffff","606060","","White",s:termBlack) 324 | call s:X("PmenuSel","101010","eeeeee","",s:termBlack,"White") 325 | endif 326 | 327 | call s:X("Visual","","404040","","",s:termBlack) 328 | call s:X("Cursor","","b0d0f0","","","") 329 | 330 | call s:X("LineNr","605958",g:jellybeans_background_color,"none",s:termBlack,"") 331 | call s:X("CursorLineNr","ccc5c4","","none","White","") 332 | call s:X("Comment","888888","","italic","Grey","") 333 | call s:X("Todo","c7c7c7","","bold","White",s:termBlack) 334 | 335 | call s:X("StatusLine","000000","dddddd","italic","","White") 336 | call s:X("StatusLineNC","ffffff","403c41","italic","White","Black") 337 | call s:X("VertSplit","777777","403c41","",s:termBlack,s:termBlack) 338 | call s:X("WildMenu","f0a0c0","302028","","Magenta","") 339 | 340 | call s:X("Folded","a0a8b0","384048","italic",s:termBlack,"") 341 | call s:X("FoldColumn","535D66","1f1f1f","","",s:termBlack) 342 | call s:X("SignColumn","777777","333333","","",s:termBlack) 343 | call s:X("ColorColumn","","000000","","",s:termBlack) 344 | 345 | call s:X("Title","70b950","","bold","Green","") 346 | 347 | call s:X("Constant","cf6a4c","","","Red","") 348 | call s:X("Special","799d6a","","","Green","") 349 | call s:X("Delimiter","668799","","","Grey","") 350 | 351 | call s:X("String","99ad6a","","","Green","") 352 | call s:X("StringDelimiter","556633","","","DarkGreen","") 353 | 354 | call s:X("Identifier","c6b6ee","","","LightCyan","") 355 | call s:X("Structure","8fbfdc","","","LightCyan","") 356 | call s:X("Function","fad07a","","","Yellow","") 357 | call s:X("Statement","8197bf","","","DarkBlue","") 358 | call s:X("PreProc","8fbfdc","","","LightBlue","") 359 | 360 | hi! link Operator Structure 361 | 362 | call s:X("Type","ffb964","","","Yellow","") 363 | call s:X("NonText","606060",g:jellybeans_background_color,"",s:termBlack,"") 364 | 365 | call s:X("SpecialKey","444444","1c1c1c","",s:termBlack,"") 366 | 367 | call s:X("Search","f0a0c0","302028","underline","Magenta","") 368 | 369 | call s:X("Directory","dad085","","","Yellow","") 370 | call s:X("ErrorMsg","","902020","","","DarkRed") 371 | hi! link Error ErrorMsg 372 | hi! link MoreMsg Special 373 | call s:X("Question","65C254","","","Green","") 374 | 375 | 376 | " Spell Checking 377 | 378 | call s:X("SpellBad","","902020","underline","","DarkRed") 379 | call s:X("SpellCap","","0000df","underline","","Blue") 380 | call s:X("SpellRare","","540063","underline","","DarkMagenta") 381 | call s:X("SpellLocal","","2D7067","underline","","Green") 382 | 383 | " Diff 384 | 385 | hi! link diffRemoved Constant 386 | hi! link diffAdded String 387 | 388 | " VimDiff 389 | 390 | call s:X("DiffAdd","D2EBBE","437019","","White","DarkGreen") 391 | call s:X("DiffDelete","40000A","700009","","DarkRed","DarkRed") 392 | call s:X("DiffChange","","2B5B77","","White","DarkBlue") 393 | call s:X("DiffText","8fbfdc","000000","reverse","Yellow","") 394 | 395 | " PHP 396 | 397 | hi! link phpFunctions Function 398 | call s:X("StorageClass","c59f6f","","","Red","") 399 | hi! link phpSuperglobal Identifier 400 | hi! link phpQuoteSingle StringDelimiter 401 | hi! link phpQuoteDouble StringDelimiter 402 | hi! link phpBoolean Constant 403 | hi! link phpNull Constant 404 | hi! link phpArrayPair Operator 405 | hi! link phpOperator Normal 406 | hi! link phpRelation Normal 407 | hi! link phpVarSelector Identifier 408 | 409 | " Python 410 | 411 | hi! link pythonOperator Statement 412 | 413 | " Ruby 414 | 415 | hi! link rubySharpBang Comment 416 | call s:X("rubyClass","447799","","","DarkBlue","") 417 | call s:X("rubyIdentifier","c6b6fe","","","Cyan","") 418 | hi! link rubyConstant Type 419 | hi! link rubyFunction Function 420 | 421 | call s:X("rubyInstanceVariable","c6b6fe","","","Cyan","") 422 | call s:X("rubySymbol","7697d6","","","Blue","") 423 | hi! link rubyGlobalVariable rubyInstanceVariable 424 | hi! link rubyModule rubyClass 425 | call s:X("rubyControl","7597c6","","","Blue","") 426 | 427 | hi! link rubyString String 428 | hi! link rubyStringDelimiter StringDelimiter 429 | hi! link rubyInterpolationDelimiter Identifier 430 | 431 | call s:X("rubyRegexpDelimiter","540063","","","Magenta","") 432 | call s:X("rubyRegexp","dd0093","","","DarkMagenta","") 433 | call s:X("rubyRegexpSpecial","a40073","","","Magenta","") 434 | 435 | call s:X("rubyPredefinedIdentifier","de5577","","","Red","") 436 | 437 | " Erlang 438 | 439 | hi! link erlangAtom rubySymbol 440 | hi! link erlangBIF rubyPredefinedIdentifier 441 | hi! link erlangFunction rubyPredefinedIdentifier 442 | hi! link erlangDirective Statement 443 | hi! link erlangNode Identifier 444 | 445 | " JavaScript 446 | 447 | hi! link javaScriptValue Constant 448 | hi! link javaScriptRegexpString rubyRegexp 449 | 450 | " CoffeeScript 451 | 452 | hi! link coffeeRegExp javaScriptRegexpString 453 | 454 | " Lua 455 | 456 | hi! link luaOperator Conditional 457 | 458 | " C 459 | 460 | hi! link cFormat Identifier 461 | hi! link cOperator Constant 462 | 463 | " Objective-C/Cocoa 464 | 465 | hi! link objcClass Type 466 | hi! link cocoaClass objcClass 467 | hi! link objcSubclass objcClass 468 | hi! link objcSuperclass objcClass 469 | hi! link objcDirective rubyClass 470 | hi! link objcStatement Constant 471 | hi! link cocoaFunction Function 472 | hi! link objcMethodName Identifier 473 | hi! link objcMethodArg Normal 474 | hi! link objcMessageName Identifier 475 | 476 | " Vimscript 477 | 478 | hi! link vimOper Normal 479 | 480 | " Debugger.vim 481 | 482 | call s:X("DbgCurrent","DEEBFE","345FA8","","White","DarkBlue") 483 | call s:X("DbgBreakPt","","4F0037","","","DarkMagenta") 484 | 485 | " vim-indent-guides 486 | 487 | if !exists("g:indent_guides_auto_colors") 488 | let g:indent_guides_auto_colors = 0 489 | endif 490 | call s:X("IndentGuidesOdd","","232323","","","") 491 | call s:X("IndentGuidesEven","","1b1b1b","","","") 492 | 493 | " Plugins, etc. 494 | 495 | hi! link TagListFileName Directory 496 | call s:X("PreciseJumpTarget","B9ED67","405026","","White","Green") 497 | 498 | if !exists("g:jellybeans_background_color_256") 499 | let g:jellybeans_background_color_256=233 500 | end 501 | " Manual overrides for 256-color terminals. Dark colors auto-map badly. 502 | if !s:low_color 503 | hi StatusLineNC ctermbg=235 504 | hi Folded ctermbg=236 505 | hi FoldColumn ctermbg=234 506 | hi SignColumn ctermbg=236 507 | hi CursorColumn ctermbg=234 508 | hi CursorLine ctermbg=234 509 | hi SpecialKey ctermbg=234 510 | exec "hi NonText ctermbg=".g:jellybeans_background_color_256 511 | exec "hi LineNr ctermbg=".g:jellybeans_background_color_256 512 | hi DiffText ctermfg=81 513 | exec "hi Normal ctermbg=".g:jellybeans_background_color_256 514 | hi DbgBreakPt ctermbg=53 515 | hi IndentGuidesOdd ctermbg=235 516 | hi IndentGuidesEven ctermbg=234 517 | endif 518 | 519 | if exists("g:jellybeans_overrides") 520 | fun! s:load_colors(defs) 521 | for [l:group, l:v] in items(a:defs) 522 | call s:X(l:group, get(l:v, 'guifg', ''), get(l:v, 'guibg', ''), 523 | \ get(l:v, 'attr', ''), 524 | \ get(l:v, 'ctermfg', ''), get(l:v, 'ctermbg', '')) 525 | if !s:low_color 526 | for l:prop in ['ctermfg', 'ctermbg'] 527 | let l:override_key = '256'.l:prop 528 | if has_key(l:v, l:override_key) 529 | exec "hi ".l:group." ".l:prop."=".l:v[l:override_key] 530 | endif 531 | endfor 532 | endif 533 | unlet l:group 534 | unlet l:v 535 | endfor 536 | endfun 537 | call s:load_colors(g:jellybeans_overrides) 538 | delf s:load_colors 539 | endif 540 | 541 | " delete functions {{{ 542 | delf s:X 543 | delf s:rgb 544 | delf s:color 545 | delf s:rgb_color 546 | delf s:rgb_level 547 | delf s:rgb_number 548 | delf s:grey_color 549 | delf s:grey_level 550 | delf s:grey_number 551 | " }}} 552 | -------------------------------------------------------------------------------- /.vim/colors/neverland.vim: -------------------------------------------------------------------------------- 1 | " Vim color file - neverland.vim 2 | " Eyes are sober, this is the plan 3 | " I'm sitting in a car heading Neverland 4 | " Author: Magnus Woldrich 5 | 6 | 7 | " Set background first 8 | set background=dark 9 | hi clear 10 | 11 | if version > 580 12 | " no guarantees for version 5.8 and below, but this makes it stop 13 | " complaining 14 | if exists("syntax_on") 15 | syntax reset 16 | endif 17 | endif 18 | let g:colors_name="neverland" 19 | 20 | " Setting normal before any other highlight group is a good idea 21 | hi Normal guifg=#ffd7ff guibg=#121212 22 | 23 | " background might have changed to 'light', so fix it 24 | set background=dark 25 | 26 | hi Boolean guifg=#af5fff 27 | hi Character guifg=#afaf5f 28 | hi Number guifg=#0087ff 29 | hi String guifg=#d7af5f 30 | hi Conditional guifg=#ff0000 gui=bold 31 | hi Constant guifg=#87af00 gui=bold 32 | hi Cursor guifg=#afd787 guibg=#dadada 33 | hi Debug guifg=#ffd7ff gui=bold 34 | hi Define guifg=#5fd7ff 35 | hi Delimiter guifg=#626262 36 | 37 | hi DiffAdd guibg=#005f87 38 | hi DiffChange guifg=#d7afaf guibg=#4e4e4e 39 | hi DiffDelete guifg=#d70087 guibg=#5f005f 40 | hi DiffText guibg=#878787 gui=bold 41 | 42 | hi Directory guifg=#87ff00 gui=bold 43 | hi Error guifg=#ffafff guibg=#87005f 44 | hi ErrorMsg guifg=#ff00af guibg=#000000 gui=bold 45 | hi Exception guifg=#87ff00 gui=bold 46 | hi Float guifg=#af5fff 47 | hi FoldColumn guifg=#5f87af guibg=#121212 gui=none 48 | hi Folded guifg=#585858 guibg=#262626 gui=bold 49 | hi Function guifg=#87ff00 50 | hi Identifier guifg=#afd75f 51 | hi Ignore guifg=#808080 guibg=#080808 52 | hi IncSearch guifg=#d7ffaf guibg=#000000 53 | 54 | hi Keyword guifg=#87afff gui=bold 55 | hi Label guifg=#ffffaf gui=none 56 | hi Macro guifg=#d7ffaf 57 | hi SpecialKey guifg=#5fd7ff 58 | 59 | hi MatchParen guifg=#ff0000 guibg=#1c1c1c gui=bold 60 | hi ModeMsg guifg=#ffaf5f 61 | hi MoreMsg guifg=#ffaf5f 62 | hi Operator guifg=#afd700 63 | 64 | " complete menu 65 | hi Pmenu guifg=#af875f guibg=#000000 gui=none 66 | hi PmenuSel guifg=#ff0000 guibg=#262626 gui=bold 67 | hi PmenuSbar guifg=#000000 guibg=#121212 gui=none 68 | hi PmenuThumb guifg=#af875f guibg=#000000 gui=none 69 | 70 | hi PreCondit guifg=#87ff00 gui=bold 71 | hi PreProc guifg=#ffafd7 72 | hi Question guifg=#5fd7ff 73 | hi Repeat guifg=#d7005f gui=bold 74 | hi Search guifg=#1c1c1c guibg=#ffd787 75 | 76 | " marks column 77 | hi SignColumn guifg=#87ff00 guibg=#262626 78 | hi SpecialChar guifg=#d7005f gui=bold 79 | hi SpecialComment guifg=#8a8a8a gui=bold 80 | hi Special guifg=#5fd7ff guibg=#080808 81 | hi SpecialKey guifg=#8a8a8a 82 | 83 | hi SpellBad guifg=#ff0000 guibg=#121212 gui=bold 84 | hi SpellCap guifg=#875f00 guibg=#121212 gui=bold 85 | hi SpellRare guifg=#875f87 guibg=#121212 gui=bold 86 | hi SpellLocal guifg=#af0000 guibg=#121212 gui=bold 87 | 88 | hi Statement guifg=#d78700 gui=bold 89 | hi StatusLine guifg=#1c1c1c guibg=#af8700 90 | hi StatusLineNC guifg=#1c1c1c guibg=#878700 91 | hi StorageClass guifg=#ff8700 92 | hi Structure guifg=#5fd7ff 93 | hi Tag guifg=#d7005f 94 | hi Title guifg=#5faf5f 95 | hi Todo guifg=#d70000 guibg=#121212 gui=bold 96 | 97 | hi Typedef guifg=#5fd7ff 98 | hi Type guifg=#d75f00 gui=none 99 | hi Underlined guifg=#87af00 gui=none 100 | 101 | hi VertSplit guifg=#808080 guibg=#080808 gui=bold 102 | hi VisualNOS guibg=#444444 103 | hi Visual guibg=#262626 104 | hi WarningMsg guifg=#0000ff guibg=#444444 gui=bold 105 | hi WildMenu guifg=#5fd7ff guibg=#000000 106 | 107 | hi Comment guifg=#af875f 108 | hi ColorColumn guibg=#262626 109 | hi CursorLine guibg=#1c1c1c gui=none 110 | hi CursorColumn guibg=#121212 111 | hi LineNr guifg=#626262 guibg=#121212 112 | hi NonText guifg=#121212 guibg=#121212 113 | 114 | hi TabLine guifg=#878700 guibg=#121212 115 | hi TabLineFill guifg=#121212 guibg=#121212 116 | hi TabLineSel guifg=#ffd700 guibg=#1c1c1c 117 | 118 | 119 | if &t_Co > 255 120 | " Setting normal before any other highlight group is a good idea 121 | hi Normal ctermfg=225 ctermbg=233 122 | 123 | " background might have changed to 'light', so fix it 124 | set background=dark 125 | 126 | hi Boolean ctermfg=135 127 | hi Character ctermfg=143 128 | hi Number ctermfg=33 129 | hi String ctermfg=179 130 | hi Conditional ctermfg=196 cterm=bold 131 | hi Constant ctermfg=106 cterm=bold 132 | hi Cursor ctermfg=150 ctermbg=253 133 | hi Debug ctermfg=225 cterm=bold 134 | hi Define ctermfg=81 135 | hi Delimiter ctermfg=241 136 | 137 | hi DiffAdd ctermbg=24 138 | hi DiffChange ctermfg=181 ctermbg=239 139 | hi DiffDelete ctermfg=162 ctermbg=53 140 | hi DiffText ctermbg=102 cterm=bold 141 | 142 | hi Directory ctermfg=118 cterm=bold 143 | hi Error ctermfg=219 ctermbg=89 144 | hi ErrorMsg ctermfg=199 ctermbg=16 cterm=bold 145 | hi Exception ctermfg=118 cterm=bold 146 | hi Float ctermfg=135 147 | hi FoldColumn ctermfg=67 ctermbg=233 cterm=none 148 | hi Folded ctermfg=240 ctermbg=235 cterm=bold 149 | hi Function ctermfg=118 150 | hi Identifier ctermfg=149 151 | hi Ignore ctermfg=244 ctermbg=232 152 | hi IncSearch ctermfg=193 ctermbg=16 153 | 154 | hi Keyword ctermfg=111 cterm=bold 155 | hi Label ctermfg=229 cterm=none 156 | hi Macro ctermfg=193 157 | hi SpecialKey ctermfg=81 158 | 159 | hi MatchParen ctermfg=196 ctermbg=234 cterm=bold 160 | hi ModeMsg ctermfg=215 161 | hi MoreMsg ctermfg=215 162 | hi Operator ctermfg=148 163 | 164 | " complete menu 165 | hi Pmenu ctermfg=137 ctermbg=233 cterm=none 166 | hi PmenuSel ctermfg=196 ctermbg=234 cterm=bold 167 | hi PmenuSbar ctermfg=000 ctermbg=233 cterm=none 168 | hi PmenuThumb ctermfg=137 ctermbg=235 cterm=none 169 | 170 | hi PreCondit ctermfg=118 cterm=bold 171 | hi PreProc ctermfg=218 172 | hi Question ctermfg=81 173 | hi Repeat ctermfg=161 cterm=bold 174 | hi Search ctermfg=234 ctermbg=222 175 | 176 | " marks column 177 | hi SignColumn ctermfg=118 ctermbg=235 178 | hi SpecialChar ctermfg=161 cterm=bold 179 | hi SpecialComment ctermfg=245 cterm=bold 180 | hi Special ctermfg=81 ctermbg=232 181 | hi SpecialKey ctermfg=245 182 | 183 | hi SpellBad ctermfg=196 ctermbg=233 cterm=bold 184 | hi SpellCap ctermfg=094 ctermbg=233 cterm=bold 185 | hi SpellRare ctermfg=096 ctermbg=233 cterm=bold 186 | hi SpellLocal ctermfg=124 ctermbg=233 cterm=bold 187 | 188 | hi Statement ctermfg=172 cterm=bold 189 | hi StatusLine ctermfg=234 ctermbg=136 190 | hi StatusLineNC ctermfg=234 ctermbg=100 191 | hi StorageClass ctermfg=208 192 | hi Structure ctermfg=81 193 | hi Tag ctermfg=161 194 | hi Title ctermfg=71 195 | hi Todo ctermfg=160 ctermbg=233 cterm=bold 196 | 197 | hi Typedef ctermfg=81 198 | hi Type ctermfg=166 cterm=none 199 | hi Underlined ctermfg=106 cterm=none 200 | 201 | hi VertSplit ctermfg=244 ctermbg=232 cterm=bold 202 | hi VisualNOS ctermbg=238 203 | hi Visual ctermbg=235 204 | hi WarningMsg ctermfg=21 ctermbg=238 cterm=bold 205 | hi WildMenu ctermfg=81 ctermbg=16 206 | 207 | hi Comment ctermfg=137 208 | hi ColorColumn ctermbg=235 209 | hi CursorLine ctermbg=234 cterm=none 210 | hi CursorColumn ctermbg=233 211 | hi LineNr ctermfg=241 ctermbg=233 212 | hi NonText ctermfg=233 ctermbg=233 213 | 214 | hi TabLine ctermfg=100 ctermbg=233 215 | hi TabLineFill ctermfg=233 ctermbg=233 216 | hi TabLineSel ctermfg=220 ctermbg=234 217 | end -------------------------------------------------------------------------------- /.vimrc: -------------------------------------------------------------------------------- 1 | " 2 | " 3 | " yrmt february 2015 4 | " 5 | " 6 | set nocompatible " be iMproved, required 7 | filetype off " required 8 | set laststatus=2 9 | set encoding=utf8 10 | set modeline 11 | filetype plugin on 12 | syntax on 13 | set mouse=a 14 | 15 | " " 16 | " ui " 17 | " " 18 | "if &t_Co < 256 19 | set t_Co=256 20 | set guicursor=a:blinkon0 21 | "set nu! " line numbering 22 | set smartindent 23 | 24 | " wrap'n'jump by display lines 25 | set wrap 26 | set linebreak 27 | set display+=lastline 28 | 29 | set ruler " show the cursor position all the time 30 | set showcmd " display incomplete commands 31 | 32 | " buftabs 33 | noremap :bprev 34 | noremap :bnext 35 | let g:buftabs_only_basename=1 36 | let g:buftabs_separator = "." 37 | let g:buftabs_marker_start = "[" 38 | let g:buftabs_marker_end = "]" 39 | let g:buftabs_marker_modified = "*" 40 | 41 | " statusline 42 | "set cmdheight=0 " command line height 43 | set ruler " show cursor position in status line 44 | set showmode " show mode in status line 45 | set showcmd " show partial commands in status line 46 | " fileformat, encoding, type, buffer num, RO/HELP/PREVIEW, mod flag, filepath; spacer; line pos, line/total, percentage 47 | set statusline=%{&ff}\ \%{&fenc}\ \b%1.3n\ \%#StatusFTP#\%Y\ \%#StatusRO#\%R\ \%#StatusHLP#\%H\ \%#StatusPRV#\%W\ \%#StatusModFlag#\%M\ \%#StatusLine#\%f\%=\%1.7c\ \%1.7l/%L\ \%p%% 48 | 49 | " automatically give executable permissions if file 50 | " begins with #! and contains '/bin/' in the path 51 | function ModeChange() 52 | if getline(1) =~ "^#!" 53 | if getline(1) =~ "/bin/" 54 | silent !chmod a+x 55 | endif 56 | endif 57 | endfunction 58 | au BufWritePost * call ModeChange() 59 | 60 | augroup mkd 61 | autocmd BufRead *.mkd set ai formatoptions=tcroqn2 comments=n:> 62 | augroup END 63 | 64 | " tab key in visual mode 65 | vmap >gv 66 | vmap /dev/null 102 | colorscheme neverland 103 | 104 | set colorcolumn=80 105 | set cinoptions=t0,+4,(4,u4,w1 106 | set shiftwidth=8 107 | set softtabstop=8 108 | set tabstop=8 109 | set autoindent 110 | set showmatch 111 | set tags=./tags,tags,/usr/src/sys/arch/amd64/tags,/var/db/libc.tags 112 | set hlsearch 113 | set incsearch 114 | set backspace=indent,eol,start 115 | set showcmd " display incomplete commands 116 | set ttyfast " needed to make laggy connections work fast enough 117 | " show KNF violations 118 | highlight OverLength ctermbg=red ctermfg=white guibg=#592929 119 | match OverLength /\%81v.*/ 120 | let c_space_errors=1 121 | 122 | " line 123 | set cinoptions=:0,t0,+4,(4 124 | -------------------------------------------------------------------------------- /.xinitrc: -------------------------------------------------------------------------------- 1 | #!/bin/zsh 2 | xsetroot -cursor_name left_ptr 3 | setbg ~/Pictures/Wallpapers/wallpaper-2801335.jpg& 4 | #mpdas & 5 | xset b off 6 | unclutter -idle 1 -root& 7 | loop|bar -p& 8 | export HOME=/Users/youri 9 | termite& 10 | 2bwm 11 | -------------------------------------------------------------------------------- /.xombrero.conf: -------------------------------------------------------------------------------- 1 | # 2 | # - Xombrero configuration file 3 | # 4 | 5 | download_dir = ~/Downloads 6 | 7 | # Appearance 8 | gui_mode = minimal 9 | show_statusbar = no 10 | show_scrollbars = no 11 | 12 | tabbar_font = cure 8 13 | 14 | # Functionality 15 | enable_socket = yes 16 | single_instance = yes 17 | spell_check_languages = en_GB 18 | external_editor = vim 19 | 20 | # Key Bindings 21 | 22 | keybinding = :open ,a 23 | keybinding = :tabnew ,t 24 | keybinding = tabclose,d 25 | keybinding = reload,r 26 | keybinding = goback,C-o 27 | keybinding = goforward,C-i 28 | keybinding = stop,s 29 | keybinding = scrolldown,e 30 | keybinding = scrollup,i 31 | keybinding = scrollleft,n 32 | keybinding = scrollright,o 33 | 34 | # Aliases 35 | 36 | alias = gl,https://google.com?q=%s 37 | -------------------------------------------------------------------------------- /.zshrc: -------------------------------------------------------------------------------- 1 | # 2 | # yrmt's zshrc. 3 | # 4 | # May 2014. 5 | # 6 | # 7 | # 8 | # 9 | # TimeZone 10 | export TZ=Europe/Brussels 11 | 12 | # Locale 13 | export LANG=en_US.UTF-8 14 | export LC_ALL=en_US.UTF-8 15 | 16 | # Colored ManPages 17 | export LESS_TERMCAP_mb=$'\E[01;31m' 18 | export LESS_TERMCAP_md=$'\E[01;31m' 19 | export LESS_TERMCAP_me=$'\E[0m' 20 | export LESS_TERMCAP_se=$'\E[0m' 21 | export LESS_TERMCAP_so=$'\E[01;44;33m' 22 | export LESS_TERMCAP_ue=$'\E[0m' 23 | export LESS_TERMCAP_us=$'\E[01;32m' 24 | 25 | export PAGER=less 26 | 27 | # history 28 | HISTFILE=$HOME/.zsh-history 29 | HISTSIZE=3000 30 | SAVEHIST=10000 # nice for logging 31 | setopt extended_history 32 | setopt share_history 33 | function history-all { history -E 1 } 34 | 35 | # Term variable 36 | export TERM=rxvt-256color 37 | export SDK=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/ 38 | 39 | # path 40 | export PATH=/usr/pkg/cross/bin:/usr/pkg/xv6/bin:/usr/pkg/lib/cw:/Volumes/pkgsrc/pkg/bin:/Volumes/pkgsrc/pkg/sbin:/usr/local/homebrew/bin:~/bin:$PATH:/usr/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/libexec:/opt/local/bin:/opt/local/sbin:/usr/local/mysql/bin:/usr/pkg/bin:/usr/pkg/sbin 41 | export MANPATH="/usr/pkg/man:$MANPATH" 42 | 43 | # Go env 44 | export GOROOT=/usr/pkg/go 45 | export GOPATH=~/gopath 46 | export PATH=$GOROOT:$GOPATH/bin:$PATH 47 | 48 | # abbreviation for later use 49 | export EDITOR=vim 50 | export PAGER=less 51 | 52 | ### OPTIONS ### 53 | setopt autopushd 54 | setopt NOTIFY 55 | #setopt NO_FLOW_CONTROL 56 | setopt APPEND_HISTORY 57 | # setopt AUTO_LIST # these two should be turned off 58 | # setopt AUTO_REMOVE_SLASH 59 | # setopt AUTO_RESUME # tries to resume command of same name 60 | unsetopt BG_NICE # do NOT nice bg commands 61 | setopt EXTENDED_HISTORY # puts timestamps in the history 62 | setopt HASH_CMDS # turns on hashing 63 | setopt HIST_ALLOW_CLOBBER 64 | setopt HIST_REDUCE_BLANKS 65 | setopt INC_APPEND_HISTORY SHARE_HISTORY 66 | setopt ALL_EXPORT 67 | 68 | # Set/unset shell options 69 | setopt notify globdots pushdtohome cdablevars autolist 70 | setopt autocd recexact longlistjobs 71 | setopt autoresume histignoredups pushdsilent noclobber 72 | setopt autopushd pushdminus extendedglob rcquotes mailwarning 73 | unsetopt bgnice autoparamslash 74 | 75 | # Autoload zsh modules when they are referenced 76 | zmodload -a zsh/stat stat 77 | zmodload -a zsh/zpty zpty 78 | zmodload -a zsh/zprof zprof 79 | #zmodload -ap zsh/mapfile mapfile 80 | 81 | ## display fancy terminal title 82 | 83 | # completion 84 | autoload -U compinit 85 | compinit 86 | 87 | ## 88 | ## completion 89 | ## 90 | # Completion Styles 91 | zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31' 92 | # list of completers to use 93 | #zstyle ':completion:*::::' completer _expand _complete _ignored _approximate 94 | #NEW completion: 95 | # 1. All /etc/hosts hostnames are in autocomplete 96 | # 2. If you have a comment in /etc/hosts like #%foobar.domain, 97 | # then foobar.domain will show up in autocomplete! 98 | zstyle ':completion:*' hosts $(awk '/^[^#]/ {print $2 $3" "$4" "$5}' /etc/hosts | grep -v ip6- && grep "^#%" /etc/hosts | awk -F% '{print $2}') 99 | # match uppercase from lowercase 100 | zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' 101 | # offer indexes before parameters in subscripts 102 | #zstyle ':completion:*:*:-subscript-:*' tag-order indexes parameters 103 | # command for process lists, the local web server details and host completion 104 | zstyle '*' hosts $hosts 105 | # ignore completion functions (until the _ignored completer) 106 | zstyle ':completion:*:functions' ignored-patterns '_*' 107 | zstyle ':completion:*:scp:*' tag-order \ 108 | files users 'hosts:-host hosts:-domain:domain hosts:-ipaddr"IP\ Address *' 109 | zstyle ':completion:*:scp:*' group-order \ 110 | files all-files users hosts-domain hosts-host hosts-ipaddr 111 | zstyle ':completion:*:ssh:*' tag-order \ 112 | users 'hosts:-host hosts:-domain:domain hosts:-ipaddr"IP\ Address *' 113 | zstyle ':completion:*:ssh:*' group-order \ 114 | hosts-domain hosts-host users hosts-ipaddr 115 | #zstyle '*' single-ignored show 116 | 117 | 118 | # Prompt with cvs info: 119 | setopt prompt_subst 120 | setopt promptsubst 121 | setopt promptpercent 122 | 123 | local git_branch='$(git_prompt_info)%{$reset_color%}' 124 | 125 | function git_prompt_info() { 126 | ref=$(git symbolic-ref HEAD 2> /dev/null) || return 127 | echo "%B%F{black}─%f(%{$fg[yellow]%}${ref#refs/heads/}%{$reset_color%})" 128 | } 129 | 130 | PROMPT=" 131 | ${git_branch}%B%F{black}──── %f" 132 | 133 | ### 134 | # 135 | # Live coloring. 136 | # 137 | ### 138 | 139 | ZLE_RESERVED_WORD_STYLE='fg=yellow,bold' 140 | ZLE_ALIAS_STYLE='fg=magenta,bold' 141 | ZLE_BUILTIN_STYLE='fg=cyan,bold' 142 | ZLE_FUNCTION_STYLE='fg=blue,bold' 143 | ZLE_COMMAND_STYLE='fg=green,bold' 144 | ZLE_COMMAND_UNKNOWN_TOKEN_STYLE='fg=red,bold' 145 | 146 | ZLE_HYPHEN_CLI_OPTION='fg=yellow,bold' 147 | ZLE_DOUBLE_HYPHEN_CLI_OPTION='fg=green,bold' 148 | ZLE_SINGLE_QUOTED='fg=magenta,bold' 149 | ZLE_DOUBLE_QUOTED='fg=red,bold' 150 | ZLE_BACK_QUOTED='fg=cyan,bold' 151 | ZLE_GLOBING='fg=blue,bold' 152 | 153 | ZLE_DEFAULT='fg=white,bold' 154 | 155 | ZLE_TOKENS_FOLLOWED_BY_COMMANDS=('|' '||' ';' '&' '&&' 'sudo' 'start' 'time' 'strace' '§') 156 | 157 | # Recolorize the current ZLE buffer. 158 | colorize-zle-buffer() { 159 | region_highlight=() 160 | colorize=true 161 | start_pos=0 162 | for arg in ${(z)BUFFER}; do 163 | ((start_pos+=${#BUFFER[$start_pos+1,-1]}-${#${BUFFER[$start_pos+1,-1]## #}})) 164 | ((end_pos=$start_pos+${#arg})) 165 | if $colorize; then 166 | colorize=false 167 | res=$(LC_ALL=C builtin type $arg 2>/dev/null) 168 | case $res in 169 | *'reserved word'*) style=$ZLE_RESERVED_WORD_STYLE;; 170 | *'an alias'*) style=$ZLE_ALIAS_STYLE;; 171 | *'shell builtin'*) style=$ZLE_BUILTIN_STYLE;; 172 | *'shell function'*) style=$ZLE_FUNCTION_STYLE;; 173 | *"$cmd is"*) style=$ZLE_COMMAND_STYLE;; 174 | *) style=$ZLE_COMMAND_UNKNOWN_TOKEN_STYLE;; 175 | esac 176 | else 177 | case $arg in 178 | '--'*) style=$ZLE_DOUBLE_HYPHEN_CLI_OPTION;; 179 | '-'*) style=$ZLE_HYPHEN_CLI_OPTION;; 180 | "'"*"'") style=$ZLE_SINGLE_QUOTED;; 181 | '"'*'"') style=$ZLE_DOUBLE_QUOTED;; 182 | '`'*'`') style=$ZLE_BACK_QUOTED;; 183 | *"*"*) style=$ZLE_GLOBING;; 184 | *) style=$ZLE_DEFAULT;; 185 | esac 186 | fi 187 | region_highlight+=("$start_pos $end_pos $style") 188 | [[ ${${ZLE_TOKENS_FOLLOWED_BY_COMMANDS[(r)${arg//|/\|}]}:+yes} = 'yes' ]] && colorize=true 189 | start_pos=$end_pos 190 | done 191 | } 192 | 193 | # Bind the function to ZLE events. 194 | ZLE_COLORED_FUNCTIONS=( 195 | self-insert 196 | delete-char 197 | backward-delete-char 198 | kill-word 199 | backward-kill-word 200 | up-line-or-history 201 | down-line-or-history 202 | beginning-of-history 203 | end-of-history 204 | undo 205 | redo 206 | yank 207 | ) 208 | 209 | for f in $ZLE_COLORED_FUNCTIONS; do 210 | eval "$f() { zle .$f && colorize-zle-buffer } ; zle -N $f" 211 | done 212 | 213 | # create an expansion widget which mimics the original "expand-or-complete" (you can see the default setup using "zle -l -L") 214 | zle -C orig-expand-or-complete .expand-or-complete _main_complete 215 | 216 | # use the orig-expand-or-complete inside the colorize function (for some reason, using the ".expand-or-complete" widget doesn't work the same) 217 | expand-or-complete() { builtin zle orig-expand-or-complete && colorize-zle-buffer } 218 | zle -N expand-or-complete 219 | 220 | # mutt background fix 221 | COLORFGBG="default;default" 222 | 223 | # 224 | # Shell aliases. 225 | # 226 | ### 227 | alias wifi='open -a "Wireless Network Utility"' 228 | alias cro='open -a "Chromium"' 229 | alias o='open .' 230 | alias xerg='launchctl start com.beastie.startx' 231 | alias top='top -s1 -o cpu -R -F' 232 | alias solaris="sudo ssh -X ymouton@sunset.info.fundp.ac.be -D 80" 233 | alias grep='grep --color' 234 | alias mplay='mplayer -vo x11 -msgmodule -msgcolor -aspect 16:9' 235 | alias w4m='w3m -cookie' 236 | alias w5m='w3m -cookie unixhub.net' 237 | alias xel='xelatex -interaction=nonstopmode' 238 | alias hmp='pkg_info|wc -l' 239 | alias ls='gls --color=auto' 240 | alias l='ls -lah' 241 | alias up=' rsync -avhz --progress /Volumes/Backup/pkgsrc_2013Q4/packages/ root@saveosx.org:/usr/local/www/saveosx/packages/Darwin/2013Q4/x86_64/' 242 | alias pup='sudo pkgin up' 243 | alias pin='sudo pkgin -y in' 244 | alias pav='pkgin av' 245 | alias pls='pkgin ls' 246 | alias sauce='source ~/.zshrc' 247 | alias spc='spc -c /usr/pkg/share/supercat/spcrc-c' 248 | alias mipc='sudo bmake install package clean' 249 | alias mc='sudo bmake clean' 250 | alias ext='sudo bmake extract' 251 | alias mdi='sudo bmake mdi' 252 | 253 | ### 254 | # 255 | # Shell functions. 256 | # 257 | ### 258 | 259 | if [[ $TERM == xterm-termite ]]; then 260 | . /etc/profile.d/vte.sh 261 | 262 | __vte_ps1 263 | 264 | chpwd() { 265 | __vte_ps1 266 | } 267 | fi 268 | 269 | findsym () { 270 | [[ -z $1 ]] && return 1 271 | SYMBOL=$1 272 | LIBDIR=${2:-/usr/lib} 273 | for lib in $LIBDIR/*.dylib 274 | do 275 | nm $lib &> /dev/null | grep -q $SYMBOL && \ 276 | print "symbol found in $lib\n -L$LIBDIR -l${${lib:t:r}#lib}" 277 | done 278 | } 279 | 280 | upb () { 281 | cd ~/downloads/blog; 282 | jekyll build 2>/dev/null; 283 | rsync -ahz _site/* root@saveosx.org:/var/www/saveosx/blog/; 284 | git add -A; 285 | git commit -m 'update'; 286 | git push --quiet; 287 | cd -; 288 | } 289 | 290 | gpb () { 291 | COM=$1 292 | git add *; 293 | git add .*; 294 | git commit -m $COM; 295 | git push --quiet; 296 | } 297 | 298 | cl () { 299 | cd $1; 300 | ls 301 | } 302 | 303 | add () { 304 | echo "Uploading the package to remote server..."; 305 | scp $1 ssx:/usr/local/www/saveosx/packages/Darwin/2013Q3/x86_64/All/ 2>/dev/null; 306 | echo "Updating the package summary..."; 307 | ssh ssx 'cd /usr/local/www/saveosx/packages/Darwin/2013Q3/x86_64/All/; 308 | rm pkg_summary.gz; 309 | /usr/pkg/sbin/pkg_info -X *.tgz | gzip -9 > pkg_summary.gz'; 310 | echo "Package uploaded, I'll update your pkgin..."; 311 | sudo pkgin update; 312 | } 313 | 314 | case $TERM in 315 | rxvt-256color*) 316 | precmd () {print -Pn "\e]0; %~\a"} 317 | ;; 318 | esac 319 | 320 | ### 321 | # 322 | # Key setup for Colemak on an HHKB. 323 | # 324 | ### 325 | bindkey '^E' backward-char 326 | bindkey "^P" up-line-or-search 327 | bindkey "^N" down-line-or-search 328 | bindkey "^A" beginning-of-line 329 | bindkey "^O" end-of-line 330 | 331 | ### 332 | # 333 | # LS colors for gnu ls and gnu dircolors. 334 | # 335 | # ## 336 | LS_COLORS='bd=38;5;68:ca=38;5;17:cd=38;5;113;1:di=38;5;30:do=38;5;127:ex=38;5;166;1:pi=38;5;126:fi=38;5;253:ln=target:mh=38;5;220;1:or=48;5;196;38;5;232;1:ow=38;5;220;1:sg=48;5;234;38;5;100;1:su=38;5;137:so=38;5;197:st=38;5;86;48;5;234:tw=48;5;235;38;5;139;3:*LS_COLORS=48;5;89;38;5;197;1;3;4;7:*.BAT=38;5;108:*.PL=38;5;160:*.asm=38;5;240;1:*.awk=38;5;148;1:*.bash=38;5;173:*.bat=38;5;108:*.c=38;5;110:*.cc=38;5;24;1:*.ii=38;5;24;1:*.cfg=1:*.cl=38;5;204;1:*.coffee=38;5;94;1:*.conf=1:*.C=38;5;24;1:*.cp=38;5;24;1:*.cpp=38;5;24;1:*.cxx=38;5;24;1:*.c++=38;5;24;1:*.ii=38;5;24;1:*.cs=38;5;74;1:*.css=38;5;91:*.csv=38;5;78:*.ctp=38;5;95:*.diff=48;5;197;38;5;232:*.enc=38;5;192;3:*.eps=38;5;192:*.etx=38;5;172:*.ex=38;5;148;1:*.example=38;5;225;1:*.git=38;5;197:*.gitignore=38;5;240:*.go=38;5;36;1:*.h=38;5;81:*.H=38;5;81:*.hpp=38;5;81:*.hxx=38;5;81:*.h++=38;5;81:*.tcc=38;5;81:*.f=38;5;81:*.for=38;5;81:*.ftn=38;5;81:*.s=38;5;81:*.S=38;5;81:*.sx=38;5;81:*.hi=38;5;240:*.hs=38;5;155;1:*.htm=38;5;125;1:*.html=38;5;125;1:*.info=38;5;101:*.ini=38;5;122:*.java=38;5;142;1:*.jhtm=38;5;125;1:*.js=38;5;42:*.jsm=38;5;42:*.jsm=38;5;42:*.json=38;5;199:*.jsp=38;5;45:*.lisp=38;5;204;1:*.log=38;5;190:*.lua=38;5;34;1:*.m=38;5;130;3:*.mht=38;5;129:*.mm=38;5;130;3:*.M=38;5;130;3:*.map=38;5;58;3:*.markdown=38;5;184:*.md=38;5;184:*.mf=38;5;220;3:*.mfasl=38;5;73:*.mi=38;5;124:*.mkd=38;5;184:*.mtx=38;5;36;3:*.nfo=38;5;220:*.o=38;5;240:*.pacnew=38;5;33:*.patch=48;5;197;38;5;232;1:*.pc=38;5;100:*.pfa=38;5;43:*.php=38;5;93:*.pl=38;5;214:*.plt=38;5;204;1:*.pm=38;5;197;1:*.pod=38;5;172;1:*.py=38;5;41:*.pyc=38;5;240:*.rb=38;5;192:*.rdf=38;5;144:*.rst=38;5;67:*.ru=38;5;142:*.scm=38;5;204;1:*.sed=38;5;130;1:*.sfv=38;5;197:*.sh=38;5;113:*.signature=38;5;206:*.sql=38;5;222:*.srt=38;5;116:*.sty=38;5;58:*.sug=38;5;44:*.t=38;5;28;1:*.tcl=38;5;64;1:*.tdy=38;5;214:*.tex=38;5;172:*.textile=38;5;106:*.tfm=38;5;64:*.tfnt=38;5;140:*.theme=38;5;109:*.txt=38;5;192:*.urlview=38;5;85:*.vim=1:*.viminfo=38;5;240;1:*.xml=38;5;199:*.yml=38;5;208:*.zsh=38;5;173:*README=38;5;220;1:*Makefile=38;5;196:*MANIFEST=38;5;243:*pm_to_blib=38;5;240:*.1=38;5;196;1:*.3=38;5;196;1:*.7=38;5;196;1:*.1p=38;5;160:*.3p=38;5;160:*.am=38;5;242:*.in=38;5;242:*.old=38;5;242:*.out=38;5;46;1:*.bmp=38;5;62:*.cdr=38;5;59:*.gif=38;5;72:*.ico=38;5;73:*.jpeg=38;5;66:*.jpg=38;5;66:*.JPG=38;5;66:*.png=38;5;68;1:*.svg=38;5;24;1:*.xpm=38;5;36:*.32x=38;5;137:*.A64=38;5;82:*.a00=38;5;11:*.a52=38;5;112:*.a64=38;5;82:*.a78=38;5;112:*.adf=38;5;35:*.atr=38;5;213:*.cdi=38;5;124:*.fm2=38;5;35:*.gb=38;5;203:*.gba=38;5;205:*.gbc=38;5;204:*.gel=38;5;83:*.gg=38;5;138:*.ggl=38;5;83:*.j64=38;5;102:*.nds=38;5;193:*.nes=38;5;160:*.rom=38;5;59;1:*.sav=38;5;220:*.sms=38;5;33:*.st=38;5;208;1:*.iso=38;5;124:*.nrg=38;5;124:*.qcow=38;5;141:*.VOB=38;5;137:*.IFO=38;5;240:*.BUP=38;5;241:*.MOV=38;5;42:*.3gp=38;5;134:*.3g2=38;5;133:*.asf=38;5;25:*.avi=38;5;114:*.divx=38;5;112:*.f4v=38;5;125:*.flv=38;5;131:*.m2v=38;5;166:*.mkv=38;5;202:*.mov=38;5;42:*.mp4=38;5;124:*.mpg=38;5;38:*.mpeg=38;5;38:*.ogm=38;5;97:*.ogv=38;5;94:*.rmvb=38;5;112:*.sample=38;5;130;1:*.ts=38;5;39:*.vob=38;5;137:*.webm=38;5;109:*.wmv=38;5;113:*.S3M=38;5;71;1:*.aac=38;5;137:*.cue=38;5;112:*.dat=38;5;165:*.dts=38;5;100;1:*.fcm=38;5;41:*.flac=38;5;166;1:*.m3u=38;5;172:*.m4=38;5;196;3:*.m4a=38;5;137;1:*.mid=38;5;102:*.midi=38;5;102:*.mod=38;5;72:*.mp3=38;5;191:*.oga=38;5;95:*.ogg=38;5;96:*.s3m=38;5;71;1:*.sid=38;5;69;1:*.spl=38;5;173:*.wv=38;5;149:*.wvc=38;5;149:*.afm=38;5;58:*.pfb=38;5;58:*.pfm=38;5;58:*.ttf=38;5;66:*.pcf=38;5;65:*.psf=38;5;64:*.bak=38;5;41;1:*.bin=38;5;249:*.pid=38;5;160:*.state=38;5;124:*.swo=38;5;236:*.swp=38;5;241:*.tmp=38;5;244:*.un~=38;5;240:*.zcompdump=38;5;240:*.zwc=38;5;240:*.db=38;5;60:*.dump=38;5;119:*.sqlite=38;5;60:*.typelib=38;5;60:*.7z=38;5;40:*.a=38;5;46:*.apk=38;5;172;3:*.arj=38;5;41:*.bz2=38;5;44:*.deb=38;5;215:*.ipk=38;5;117:*.jad=38;5;50:*.jar=38;5;51:*.nth=38;5;40:*.sis=38;5;39:*.part=38;5;239;1:*.r00=38;5;239:*.r01=38;5;239:*.r02=38;5;239:*.r03=38;5;239:*.r04=38;5;239:*.r05=38;5;239:*.r06=38;5;239:*.r07=38;5;239:*.r08=38;5;239:*.r09=38;5;239:*.r10=38;5;239:*.r100=38;5;239:*.r101=38;5;239:*.r102=38;5;239:*.r103=38;5;239:*.r104=38;5;239:*.r105=38;5;239:*.r106=38;5;239:*.r107=38;5;239:*.r108=38;5;239:*.r109=38;5;239:*.r11=38;5;239:*.r110=38;5;239:*.r111=38;5;239:*.r112=38;5;239:*.r113=38;5;239:*.r114=38;5;239:*.r115=38;5;239:*.r116=38;5;239:*.r12=38;5;239:*.r13=38;5;239:*.r14=38;5;239:*.r15=38;5;239:*.r16=38;5;239:*.r17=38;5;239:*.r18=38;5;239:*.r19=38;5;239:*.r20=38;5;239:*.r21=38;5;239:*.r22=38;5;239:*.r25=38;5;239:*.r26=38;5;239:*.r27=38;5;239:*.r28=38;5;239:*.r29=38;5;239:*.r30=38;5;239:*.r31=38;5;239:*.r32=38;5;239:*.r33=38;5;239:*.r34=38;5;239:*.r35=38;5;239:*.r36=38;5;239:*.r37=38;5;239:*.r38=38;5;239:*.r39=38;5;239:*.r40=38;5;239:*.r41=38;5;239:*.r42=38;5;239:*.r43=38;5;239:*.r44=38;5;239:*.r45=38;5;239:*.r46=38;5;239:*.r47=38;5;239:*.r48=38;5;239:*.r49=38;5;239:*.r50=38;5;239:*.r51=38;5;239:*.r52=38;5;239:*.r53=38;5;239:*.r54=38;5;239:*.r55=38;5;239:*.r56=38;5;239:*.r57=38;5;239:*.r58=38;5;239:*.r59=38;5;239:*.r60=38;5;239:*.r61=38;5;239:*.r62=38;5;239:*.r63=38;5;239:*.r64=38;5;239:*.r65=38;5;239:*.r66=38;5;239:*.r67=38;5;239:*.r68=38;5;239:*.r69=38;5;239:*.r69=38;5;239:*.r70=38;5;239:*.r71=38;5;239:*.r72=38;5;239:*.r73=38;5;239:*.r74=38;5;239:*.r75=38;5;239:*.r76=38;5;239:*.r77=38;5;239:*.r78=38;5;239:*.r79=38;5;239:*.r80=38;5;239:*.r81=38;5;239:*.r82=38;5;239:*.r83=38;5;239:*.r84=38;5;239:*.r85=38;5;239:*.r86=38;5;239:*.r87=38;5;239:*.r88=38;5;239:*.r89=38;5;239:*.r90=38;5;239:*.r91=38;5;239:*.r92=38;5;239:*.r93=38;5;239:*.r94=38;5;239:*.r95=38;5;239:*.r96=38;5;239:*.r97=38;5;239:*.r98=38;5;239:*.r99=38;5;239:*.rar=38;5;106;1:*.tar=38;5;118:*.tar.gz=38;5;34:*.tgz=38;5;35;1:*.xz=38;5;118:*.zip=38;5;41:*.pdf=38;5;203:*.djvu=38;5;141:*.cbr=38;5;140:*.cbz=38;5;140:*.chm=38;5;144:*.odt=38;5;111:*.ods=38;5;112:*.odp=38;5;166:*.odb=38;5;161:*.allow=38;5;112:*.deny=38;5;196:*.SKIP=38;5;244:*.def=38;5;136:*.directory=38;5;83:*.err=38;5;160;1:*.error=38;5;160;1:*.pi=38;5;126:*.properties=38;5;197;1:*.torrent=38;5;58:*.gp3=38;5;114:*.gp4=38;5;115:*.tg=38;5;99:*.pcap=38;5;29:*.cap=38;5;29:*.dmp=38;5;29:*.service=38;5;81:*@.service=38;5;45:*.socket=38;5;75:*.device=38;5;24:*.mount=38;5;115:*.automount=38;5;114:*.swap=38;5;113:*.target=38;5;73:*.path=38;5;116:*.timer=38;5;111:*.snapshot=38;5;139:'; 337 | export LS_COLORS 338 | -------------------------------------------------------------------------------- /2bwm.conf: -------------------------------------------------------------------------------- 1 | ///---Modifiers---/// 2 | #define MOD XCB_MOD_MASK_2 /* Super/Windows key */ 3 | ///--Speed---/// 4 | /* Move this many pixels when moving or resizing with keyboard unless the window has hints saying otherwise. 5 | *0)move step slow 1)move step fast 6 | *2)mouse slow 3)mouse fast */ 7 | static const uint16_t movements[] = {10,40,15,400}; 8 | ///---Offsets---/// 9 | /*0)offsetx 1)offsety 10 | *2)maxwidth 3)maxheight */ 11 | static const uint8_t offsets[] = {0,0,0,0}; 12 | ///---Colors---/// 13 | /*0)focuscol 1)unfocuscol 14 | *2)fixedcol 3)unkilcol 15 | *4)fixedunkilcol 5)outerbordercol 16 | *6)emptycol */ 17 | static const char *colors[] = {"#1c678c","#44484c","#7a8c5c","#ff6666","#cc9933","#0d131a","#000000"}; 18 | ///---Borders---/// 19 | /*0) Outer border size. If you put this negative it will be a square. 20 | *1) Full borderwidth 21 | *2) Magnet border size */ 22 | static const uint8_t borders[] = {0,9,5,9}; 23 | static const bool inverted_colors = false; 24 | #define NB_NAMES 1 25 | #define LOOK_INTO "_NET_WM_NAME" 26 | static const char *ignore_names[] = {"xload" }; 27 | #define CURSOR_MOVING 52 28 | #define CURSOR_RESIZING 120 29 | 30 | static const bool resize_by_line = true; 31 | static const float resize_keep_aspect_ratio=1.03; 32 | ///--Menus and Programs---/// 33 | static const char *menucmd[] = { "open", "-a", "Finder", NULL }; 34 | static const char *terminal[] = { "urxvt", NULL }; 35 | static const char *dmenucmd[] = { "dnemu", NULL }; 36 | static const char *mmenucmd[] = { "8menu", NULL }; 37 | static const char *pausecmd[] = { "ncmpcpp", "toggle", NULL }; 38 | static const char *nextcmd[] = { "ncmpcpp", "next", NULL }; 39 | static const char *prevcmd[] = { "ncmpcpp", "prev", NULL }; 40 | static const char *twobwm_path = "/usr/pkg/bin/2bwm"; 41 | 42 | ///---Shortcuts---/// 43 | #define DESKTOPCHANGE(K,N) \ 44 | { MOD , K, changeworkspace, {.i = N}}, \ 45 | { MOD |SHIFT, K, sendtoworkspace, {.i = N}}, 46 | static key keys[] = { 47 | /* modifier key function argument */ 48 | // Focus to next/previous window 49 | { MOD , XK_k, focusnext, {.i = 0}}, 50 | { MOD |SHIFT, XK_k, focusnext, {.i = 1}}, 51 | 52 | // Kill a window 53 | { MOD , XK_x, deletewin, {.i=0}}, 54 | 55 | // Resize a window 56 | { MOD |SHIFT, XK_n,/*h*/ resizestep, {.i=0}}, 57 | { MOD |SHIFT, XK_e,/*j*/ resizestep, {.i=1}}, 58 | { MOD |SHIFT, XK_i,/*k*/ resizestep, {.i=2}}, 59 | { MOD |SHIFT, XK_o,/*l*/ resizestep, {.i=3}}, 60 | // Resize a window slower 61 | { MOD |SHIFT|CONTROL,XK_n, resizestep, {.i=4}}, 62 | { MOD |SHIFT|CONTROL,XK_e, resizestep, {.i=5}}, 63 | { MOD |SHIFT|CONTROL,XK_i, resizestep, {.i=6}}, 64 | { MOD |SHIFT|CONTROL,XK_o, resizestep, {.i=7}}, 65 | 66 | // Move a window 67 | { MOD , XK_n, movestep, {.i=0}}, 68 | { MOD , XK_e, movestep, {.i=1}}, 69 | { MOD , XK_i, movestep, {.i=2}}, 70 | { MOD , XK_o, movestep, {.i=3}}, 71 | // Move a window slower 72 | { MOD |CONTROL, XK_n, movestep, {.i=4}}, 73 | { MOD |CONTROL, XK_e, movestep, {.i=5}}, 74 | { MOD |CONTROL, XK_i, movestep, {.i=6}}, 75 | { MOD |CONTROL, XK_o, movestep, {.i=7}}, 76 | 77 | // Teleport the window to an area of the screen. 78 | // Center: 79 | { MOD , XK_d, teleport, {.i = 0}}, 80 | // Top left: 81 | { MOD , XK_a, teleport, {.i = 2}}, 82 | // Top right: 83 | { MOD , XK_t, teleport, {.i = -2}}, 84 | // Bottom left: 85 | { MOD , XK_r, teleport, {.i = 1}}, 86 | // Bottom right: 87 | { MOD , XK_s, teleport, {.i = -1}}, 88 | 89 | // Resize while keeping the window aspect 90 | { MOD , XK_w, resizestep_aspect,{.i=0}}, 91 | { MOD , XK_q, resizestep_aspect,{.i=1}}, 92 | 93 | // Full screen window without borders 94 | { MOD , XK_m, maximize, {.i=0}}, 95 | // Maximize vertically 96 | { MOD |CONTROL, XK_m, maxvert_hor, {.i=1}}, 97 | // Maximize horizontally 98 | { MOD |SHIFT, XK_m, maxvert_hor, {.i=0}}, 99 | 100 | // Maximize and move 101 | // vertically left 102 | { MOD |SHIFT, XK_a, maxhalf, {.i=2}}, 103 | // vertically right 104 | { MOD |SHIFT, XK_t, maxhalf, {.i=1}}, 105 | // horizontally left 106 | { MOD |SHIFT, XK_r, maxhalf, {.i=-1}}, 107 | // horizontally right 108 | { MOD |SHIFT, XK_s, maxhalf, {.i=-2}}, 109 | 110 | // Next/Previous screen 111 | { MOD , XK_comma, changescreen, {.i=1}}, 112 | { MOD , XK_period, changescreen, {.i=0}}, 113 | 114 | // Raise or lower a window 115 | { MOD , XK_h, raiseorlower, {.i=0}}, 116 | 117 | // Next/Previous workpace 118 | { MOD , XK_v, nextworkspace, {.i=0}}, 119 | { MOD , XK_c, prevworkspace, {.i=0}}, 120 | 121 | // Iconify the window 122 | //{ MOD , XK_l, hide, {.i=0}}, 123 | // Make the window unkillable 124 | { MOD , XK_u, unkillable, {.i=0}}, 125 | // Make the window stay on all workpace 126 | { MOD , XK_f, fix, {.i=0}}, 127 | 128 | // Move the cursor 129 | { MOD , XK_Up, cursor_move, {.i=4}}, 130 | { MOD , XK_Down, cursor_move, {.i=5}}, 131 | { MOD , XK_Right, cursor_move, {.i=6}}, 132 | { MOD , XK_Left, cursor_move, {.i=7}}, 133 | // Move the cursor faster 134 | { MOD |SHIFT, XK_Up, cursor_move, {.i=0}}, 135 | { MOD |SHIFT, XK_Down, cursor_move, {.i=1}}, 136 | { MOD |SHIFT, XK_Right, cursor_move, {.i=2}}, 137 | { MOD |SHIFT, XK_Left, cursor_move, {.i=3}}, 138 | { MOD, XK_j, always_on_top, {.i=0}}, 139 | // Start programs 140 | { MOD , XK_Return, start, {.com = terminal}}, 141 | { MOD , XK_y, start, {.com = menucmd}}, 142 | { MOD , XK_p, start, {.com = dmenucmd}}, 143 | { MOD , XK_g, start, {.com = mmenucmd}}, 144 | { MOD , XK_F8, start, {.com = pausecmd}}, 145 | { MOD , XK_F9, start, {.com = nextcmd}}, 146 | { MOD , XK_F7, start, {.com = prevcmd}}, 147 | 148 | // Exit or restart twobwm 149 | { MOD |CONTROL, XK_q, twobwm_exit, {.i=0}}, 150 | { MOD |CONTROL, XK_r, twobwm_restart, {.i=0}}, 151 | 152 | // Change current workspace 153 | DESKTOPCHANGE( XK_1, 0) 154 | DESKTOPCHANGE( XK_2, 1) 155 | DESKTOPCHANGE( XK_3, 2) 156 | DESKTOPCHANGE( XK_4, 3) 157 | DESKTOPCHANGE( XK_5, 4)}; 158 | static Button buttons[] = { 159 | { MOD , XCB_BUTTON_INDEX_1, mousemotion, {.i = TWOBWM_MOVE}}, 160 | { MOD , XCB_BUTTON_INDEX_3, mousemotion, {.i = TWOBWM_RESIZE}}, 161 | { MOD |CONTROL,XCB_BUTTON_INDEX_3, start, {.com = menucmd}}, 162 | }; 163 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ![](http://misc.saveosx.org/scrot.png) 2 | ![](http://fc00.deviantart.net/fs70/f/2013/236/8/0/agust_warm_setup_by_ybeastie-d6jaqyb.png) 3 | ![](http://fc02.deviantart.net/fs71/f/2013/252/3/4/restoring_an_old_thinkpad_with_netbsd__by_ybeastie-d6lnrv8.png) 4 | ![](http://fc03.deviantart.net/fs70/f/2013/069/3/f/_openbsd__cwm_and_xombrero_by_ybeastie-d5xkmbk.png) 5 | -------------------------------------------------------------------------------- /barconfig.h: -------------------------------------------------------------------------------- 1 | /* The height of the bar (in pixels) */ 2 | #define BAR_HEIGHT 22 3 | /* The width of the bar. Set to -1 to fit screen */ 4 | #define BAR_WIDTH -1 5 | /* Offset from the left. Set to 0 to have no effect */ 6 | #define BAR_OFFSET 0 7 | /* Choose between an underline or an overline */ 8 | #define BAR_UNDERLINE 1 9 | /* The thickness of the underline (in pixels). Set to 0 to disable. */ 10 | #define BAR_UNDERLINE_HEIGHT 1 11 | /* Default bar position, overwritten by '-b' switch */ 12 | #define BAR_BOTTOM 0 13 | /* The fonts used for the bar, comma separated. Only the first 2 will be used. */ 14 | #define BAR_FONT "-artwiz-cure-medium-r-normal--11-110-75-75-p-90-iso8859-1", "fixed" 15 | /* Some fonts don't set the right width for some chars, pheex it */ 16 | #define BAR_FONT_FALLBACK_WIDTH 6 17 | /* Color palette */ 18 | 19 | #define COLOR0 0x080808 20 | #define COLOR1 0x808080 21 | #define COLOR2 0x1a1a1a 22 | #define COLOR3 0xd75f5f 23 | #define COLOR4 0x87af5f 24 | #define COLOR5 0xffaf5f 25 | #define COLOR6 0x87afd7 26 | #define COLOR7 0x8787af 27 | #define COLOR8 0x5f8787 28 | #define COLOR9 0x808080 29 | -------------------------------------------------------------------------------- /dmenu_script: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | dmenu_run -p ">>" -fn "-beastie-terminus12-medium-r-normal--12-120-72-72-c-60-iso8859-1" -nb "#30251D" -nf "#DDCCBB" -sb "#F79321" -sf "#F3F3F4" -f 3 | -------------------------------------------------------------------------------- /freebsd/.Xmodmap: -------------------------------------------------------------------------------- 1 | remove mod1 = Alt_L 2 | clear mod4 3 | keycode 64 = Super_L 4 | add mod4 = Super_L 5 | keycode 109 = Alt_L 6 | -------------------------------------------------------------------------------- /freebsd/.gtkrc-2.0: -------------------------------------------------------------------------------- 1 | # -- THEME AUTO-WRITTEN DO NOT EDIT 2 | include "/home/youri/.themes/royalty_mod/gtk-2.0/gtkrc" 3 | 4 | style "user-font" { 5 | font_name = "terminus12 9" 6 | } 7 | 8 | widget_class "*" style "user-font" 9 | 10 | gtk-font-name="terminus12 9" 11 | 12 | include "/home/youri/.gtkrc.mine" 13 | 14 | # -- THEME AUTO-WRITTEN DO NOT EDIT 15 | -------------------------------------------------------------------------------- /freebsd/.gtkrc.mine: -------------------------------------------------------------------------------- 1 | gtk-icon-theme-name="Faenza" 2 | style "murrinestyle" 3 | { 4 | #remove the ugly stipple effect that the pixmap engine causes 5 | #remove the ugly distortion that the pixmap engine causes on disabled text 6 | engine "murrine" {} 7 | } 8 | 9 | class "GtkImage" style "murrinestyle" 10 | class "GtkLabel" style "murrinestyle" 11 | class "GtkComboBox" style "murrinestyle" 12 | class "GtkCellView" style "murrinestyle" 13 | widget_class "*.." style "murrinestyle" 14 | widget_class "*.." style "murrinestyle" 15 | -------------------------------------------------------------------------------- /freebsd/.twmrc: -------------------------------------------------------------------------------- 1 | # -*- shell-script -*- 2 | 3 | ### Time-stamp: <2010-06-15 11:33:31 MEST> 4 | 5 | ### CTWM configuration file by Michael Cardell Widerkrantz, mc at 6 | ### hack.org, http://hack.org/mc/ 7 | ### 8 | ### Grey and white 2D look that works with or without title bars. 9 | ### Provides keybindings and mouse actions for common tasks like 10 | ### moving, zooming and warping between on screen windows. No keyboard 11 | ### resize, I'm afraid. 12 | 13 | # Remember the state of client windows if we're started after another 14 | # window manager. 15 | RestartPreviousState 16 | 17 | Color 18 | { 19 | DefaultBackground "dimgrey" 20 | DefaultForeground "white" 21 | 22 | # Border on focused window 23 | BorderColor "grey90" 24 | 25 | # Amber: 26 | # BorderColor "#ff7f24" 27 | 28 | # Border on unfocused windows. 29 | # 30 | # If we define both of these to the same colour, we get a solid 31 | # border. Otherwise stippled. 32 | BorderTileBackground "grey40" 33 | BorderTileForeground "grey40" 34 | 35 | MenuBackground "dimgrey" 36 | MenuForeground "white" 37 | MenuTitleBackground "dimgrey" 38 | MenuTitleForeground "white" 39 | 40 | TitleBackground "dimgrey" 41 | TitleForeground "white" 42 | 43 | IconManagerBackground "dimgrey" 44 | IconManagerForeground "white" 45 | IconManagerHighlight "white" 46 | 47 | MapWindowBackground "dimgray" 48 | MapWindowForeground "white" 49 | } 50 | 51 | ### Some nice colours I want to remember. 52 | # Nice blue colour: "#676788" 53 | # Nice dark blue: #002441 54 | # Another blue: #383c8e 55 | # Ditto green: "#278827" 56 | # Nice grey: "#6a6e72" 57 | # Nicer #717971 58 | # Very dark grey "#3a404b" 59 | 60 | # Very nice blue colour: #383c8e 61 | # blue: #003366 62 | 63 | ### You may have to change the XorValue variable depending on how 64 | ### different colours are in your palette. This is a good XOR value on 65 | ### an 8 bit display like the cgsix on my Sun SPARCstation 5. On more 66 | ### modern hardware this is generally not needed. 67 | #XorValue 1 68 | 69 | ### Nice pointer glyphs depending on where the mouse has moved the 70 | ### pointer. 71 | Cursors 72 | { 73 | Frame "left_ptr" 74 | Title "left_ptr" 75 | Move "fleur" 76 | Resize "sizing" 77 | Menu "right_ptr" 78 | Button "right_ptr" 79 | Wait "watch" 80 | Select "target" 81 | Destroy "pirate" 82 | Icon "box_spiral" 83 | IconMgr "left_ptr" 84 | } 85 | 86 | Pixmaps 87 | { 88 | TitleHighlight "/home/mc/solid.xbm" 89 | 90 | # The solid.xbm file above is a a solid white image. The entire 91 | # file looks like this: 92 | # 93 | # ----------------- 8< ----------------- 94 | # #define solid_width 8 95 | # #define solid_height 8 96 | # static char solid_bits[] = { 97 | # 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 98 | # 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff}; 99 | # ----------------- 8< ----------------- 100 | # 101 | # That's it. Save the above in a file and use the path to it 102 | # above. 103 | } 104 | 105 | TitleFont "9x15" 106 | MenuFont "9x15" 107 | ResizeFont "10x20" 108 | WorkSpaceFont "5x7" 109 | IconManagerFont "9x15" 110 | 111 | TitleJustification "left" 112 | 113 | ### Go directly to the menu entry if the user taps the corresponding 114 | ### key, ignoring case. 115 | IgnoreCaseInMenuSelection 116 | 117 | DecorateTransients # Temporary child windows also get decorations. 118 | 119 | NoGrabServer # Permit X events to update server 120 | # while doing other stuff. 121 | 122 | UsePPosition "on" # Honour window's own idea of placement 123 | # when opening. 124 | 125 | WarpCursor # Move cursor to middle of window when unhiding. 126 | DontMoveOff # Keep things on the physical screen. 127 | 128 | ### Remove the the "opaque" lines below if you're on a fast display 129 | ### and you can move the contents of the windows instead of an 130 | ### outline. Not quite usable on an unaccellerated X server, slow 131 | ### graphics hardware or if you're running over the network with lots 132 | ### of latency. 133 | #OpaqueMove 134 | #OpaqueResize 135 | 136 | ### Size of windows (in percentage of the screen estate) where ctwm 137 | ### will show windows' contents while moving or resizing. 138 | #OpaqueMoveThreshold 40 139 | #OpaqueResizeThreshold 10 140 | 141 | ### Sloppy focus will only work in CTWM versions >= 3.6 and not very 142 | ### well. 143 | #SloppyFocus 144 | 145 | ### Try not to overlap existing windows when mapping a new window. 146 | #PackNewWindows 147 | 148 | ### Place new windows wherever. Not very random, however. 149 | RandomPlacement "on" 150 | 151 | # No icons, please. Ever. Just make the windows disappear. 152 | IconifyByUnmapping 153 | 154 | ### Don't show icon managers or workspaces in windows or icon menus. 155 | ShortAllWindowsMenus 156 | 157 | ### But let the menus stay up on screen. 158 | StayUpMenus 159 | 160 | ### Uncomment if you want the feedback window when resizing et c in 161 | ### the middle of the screen and not in top left corner. Note that 162 | ### with Xinerama with two screens, this usually means that the window 163 | ### will be shared between two screens! 164 | # CenterFeedbackWindow 165 | 166 | ### Avoid 'technicolor effect' on decorations if we have very few 167 | ### colours, like if you have 8 bit graphics, say. 168 | SaveColor 169 | { 170 | BorderColor 171 | BorderTileBackground 172 | BorderTileForeground 173 | TitleBackground 174 | TitleForeground 175 | } 176 | 177 | ### If I set the root window to contain something nice to look at, I 178 | ### don't want ctwm to repaint it when I shift workspaces. 179 | DontPaintRootWindow 180 | 181 | #Set up 10 workspaces. We don't define the root background colour, 182 | #because we use the same colour on every workspace and use 183 | #MapWindowDefaultWorkSpace below instead. 184 | WorkSpaces 185 | { 186 | "1" { "dimgray" "white" } 187 | "2" { "dimgray" "white" } 188 | "3" { "dimgray" "white" } 189 | "4" { "dimgray" "white" } 190 | "5" { "dimgray" "white" } 191 | "6" { "dimgray" "white" } 192 | "7" { "dimgray" "white" } 193 | "8" { "dimgray" "white" } 194 | "9" { "dimgray" "white" } 195 | "10" { "dimgray" "white" } 196 | } 197 | 198 | # When changing workspace, restore the focus to the window in this 199 | # workspace which last had it. 200 | SaveWorkspaceFocus 201 | 202 | ### Configuration of the workspace manager, if visible at all. 203 | #ShowWorkSpaceManager 204 | WorkSpaceManagerGeometry "400x60-0-0" 10 # Where to place it. 205 | StartInMapState # Show little windows... 206 | UseThreeDWMap # ...in 3D. 207 | # Uncomment if you want reverse colours to mark current workspace. 208 | #ReverseCurrentWorkSpace 209 | MapWindowCurrentWorkSpace { "rgb:c/c/c" "grey50" "white" } 210 | MapWindowDefaultWorkSpace { "black" "grey20" "white" } 211 | WMgrButtonShadowDepth 0 212 | WMgrHorizButtonIndent 0 213 | WMgrVertButtonIndent 0 214 | 215 | ### Don't show windows that occupies all workspaces in the workspace 216 | ### manager. 217 | NoShowOccupyAll 218 | 219 | ### Menu config 220 | #UseThreeDMenus 221 | MenuShadowDepth 1 222 | 223 | ### Paint a thin border around windows. 224 | BorderWidth 1 225 | 226 | # But if we're running a ctwm, we might want to use slightly thicker 227 | # 3D borders with a 1 pixel shadow. Uncomment below to use them. 228 | #UseThreeDBorders 229 | ThreeDBorderWidth 2 230 | BorderShadowDepth 1 231 | 232 | ### But use no borders at all for these clients. 233 | #NoBorder 234 | #{ 235 | # "xclock" 236 | #} 237 | 238 | # Make a resize cursor if the user points to the border. Kind of hard 239 | # with a 1 pixel border, though. Use with f.resize and bind it to a 240 | # button in frame context. 241 | #BorderResizeCursors 242 | 243 | ### 3D effect on titles. Uncomment to use. 244 | UseThreeDTitles 245 | TitleShadowDepth 1 246 | 247 | #FramePadding 1 # Margin beetwen decorations and border in title. 248 | 249 | ### The window with focus gets a decoration in the title bar. The 250 | ### default is a stipple pattern which is a pain over VNC. Above I 251 | ### have asked to use a small solid bitmap instead. If you don't want 252 | ### any such highlight, uncomment this. 253 | #NoTitleHighlight 254 | 255 | # Mark focus with a sunken title bar if we have 3D titles. 256 | #SunkFocusWindowTitle 257 | 258 | ### Uncomment for tight titles squeezed to the left side. 259 | #SqueezeTitle 260 | 261 | # Use no titles on windows whatsoever. 262 | Notitle 263 | 264 | ### If we turn on titles above, dont draw a title bar on top of these 265 | ### windows. 266 | Notitle 267 | { 268 | "WorkSpaceManager" 269 | "dclock" 270 | "xbiff" 271 | "bbmail" 272 | "xclock" 273 | "xeyes" 274 | "xmcbiff" 275 | } 276 | 277 | # Place windows with these names on the designated workspaces. 278 | #Occupy 279 | #{ 280 | # Workspace "3" {"foo"} 281 | #} 282 | 283 | ### Put these windows on all workspaces. 284 | OccupyAll 285 | { 286 | "WorkSpaceManager" 287 | "dclock" 288 | "xclock" 289 | "rclock" 290 | "xbiff" 291 | "xmcbiff" 292 | } 293 | 294 | ### Make window automatically occupy the right screen if they change 295 | ### names. 296 | #AutoOccupy 297 | 298 | ### I want transient windows to be able to occupy other workspaces 299 | ### than their parent window. Incidentally, this setting also makes 300 | ### f.occupy work on GTK programs. They seem to create an invisible 301 | ### parent window for some reason. Perhaps it's a bug? 302 | #TransientHasOccupation 303 | 304 | ### No default buttons on title bar. 305 | NoDefaults 306 | 307 | ### Functions 308 | 309 | ### Move current window to another workspace. 310 | Function "toone" 311 | { 312 | f.addtoworkspace "1" 313 | f.removefromworkspace "2" 314 | f.removefromworkspace "3" 315 | f.removefromworkspace "4" 316 | f.removefromworkspace "5" 317 | f.removefromworkspace "6" 318 | f.removefromworkspace "7" 319 | f.removefromworkspace "8" 320 | f.removefromworkspace "9" 321 | f.removefromworkspace "10" 322 | } 323 | 324 | Function "totwo" 325 | { 326 | f.removefromworkspace "1" 327 | f.addtoworkspace "2" 328 | f.removefromworkspace "3" 329 | f.removefromworkspace "4" 330 | f.removefromworkspace "5" 331 | f.removefromworkspace "6" 332 | f.removefromworkspace "7" 333 | f.removefromworkspace "8" 334 | f.removefromworkspace "9" 335 | f.removefromworkspace "10" 336 | } 337 | 338 | Function "tothree" 339 | { 340 | f.removefromworkspace "1" 341 | f.removefromworkspace "2" 342 | f.addtoworkspace "3" 343 | f.removefromworkspace "4" 344 | f.removefromworkspace "5" 345 | f.removefromworkspace "6" 346 | f.removefromworkspace "7" 347 | f.removefromworkspace "8" 348 | f.removefromworkspace "9" 349 | f.removefromworkspace "10" 350 | } 351 | 352 | Function "tofour" 353 | { 354 | f.removefromworkspace "1" 355 | f.removefromworkspace "2" 356 | f.removefromworkspace "3" 357 | f.addtoworkspace "4" 358 | f.removefromworkspace "5" 359 | f.removefromworkspace "6" 360 | f.removefromworkspace "7" 361 | f.removefromworkspace "8" 362 | f.removefromworkspace "9" 363 | f.removefromworkspace "10" 364 | } 365 | 366 | Function "tofive" 367 | { 368 | f.removefromworkspace "1" 369 | f.removefromworkspace "2" 370 | f.removefromworkspace "3" 371 | f.removefromworkspace "4" 372 | f.addtoworkspace "5" 373 | f.removefromworkspace "6" 374 | f.removefromworkspace "7" 375 | f.removefromworkspace "8" 376 | f.removefromworkspace "9" 377 | f.removefromworkspace "10" 378 | } 379 | 380 | Function "tosix" 381 | { 382 | f.removefromworkspace "1" 383 | f.removefromworkspace "2" 384 | f.removefromworkspace "3" 385 | f.removefromworkspace "4" 386 | f.removefromworkspace "5" 387 | f.addtoworkspace "6" 388 | f.removefromworkspace "7" 389 | f.removefromworkspace "8" 390 | f.removefromworkspace "9" 391 | f.removefromworkspace "10" 392 | } 393 | 394 | Function "toseven" 395 | { 396 | f.removefromworkspace "1" 397 | f.removefromworkspace "2" 398 | f.removefromworkspace "3" 399 | f.removefromworkspace "4" 400 | f.removefromworkspace "5" 401 | f.removefromworkspace "6" 402 | f.addtoworkspace "7" 403 | f.removefromworkspace "8" 404 | f.removefromworkspace "9" 405 | f.removefromworkspace "10" 406 | } 407 | 408 | Function "toeight" 409 | { 410 | f.removefromworkspace "1" 411 | f.removefromworkspace "2" 412 | f.removefromworkspace "3" 413 | f.removefromworkspace "4" 414 | f.removefromworkspace "5" 415 | f.removefromworkspace "6" 416 | f.removefromworkspace "7" 417 | f.addtoworkspace "8" 418 | f.removefromworkspace "9" 419 | f.removefromworkspace "10" 420 | } 421 | 422 | Function "tonine" 423 | { 424 | f.removefromworkspace "1" 425 | f.removefromworkspace "2" 426 | f.removefromworkspace "3" 427 | f.removefromworkspace "4" 428 | f.removefromworkspace "5" 429 | f.removefromworkspace "6" 430 | f.removefromworkspace "7" 431 | f.removefromworkspace "8" 432 | f.addtoworkspace "9" 433 | f.removefromworkspace "10" 434 | } 435 | 436 | Function "toten" 437 | { 438 | f.removefromworkspace "1" 439 | f.removefromworkspace "2" 440 | f.removefromworkspace "3" 441 | f.removefromworkspace "4" 442 | f.removefromworkspace "5" 443 | f.removefromworkspace "6" 444 | f.removefromworkspace "7" 445 | f.removefromworkspace "8" 446 | f.removefromworkspace "9" 447 | f.addtoworkspace "10" 448 | } 449 | 450 | ### The buttons on the title bar. Sort of classic Macintosh-like with 451 | ### Close Window on the left and Zoom (vertical zoom, toggles, on 452 | ### first button, horizontal zoom on second and maximize on third) on 453 | ### the right followed by a resize button. Years of refinement has 454 | ### told me that these are the functions I use the most, but, of 455 | ### course, you can see my TWM background from miles away. 456 | 457 | ### If you click anywhere else on the title bar, mouse button one 458 | ### moves the window, the middle raises or lowers the window and the 459 | ### third gives you a menu of window ops. 460 | 461 | #LeftTitleButton ":dot" { 462 | # For a 3D version, uncomment: 463 | LeftTitleButton ":xpm:dot" { 464 | Button1 = f.delete 465 | Button2 = f.destroy 466 | } 467 | 468 | RightTitleButton ":xpm:box" { 469 | Button1 = f.zoom 470 | Button2 = f.hzoom 471 | Button3 = f.fullzoom 472 | } 473 | 474 | #RightTitleButton ":resize" { 475 | # For a 3D version, uncomment: 476 | RightTitleButton ":xpm:resize" { 477 | Button1 = f.resize 478 | } 479 | 480 | TitleButtonBorderWidth 0 481 | ButtonIndent 0 482 | TitleButtonShadowDepth 1 483 | 484 | # Start resizing right away, even without crossing a border. 485 | #AutoRelativeResize 486 | 487 | # When moving around windows, if we pass another window by this many 488 | # pixels, moving is resumed. 489 | MovePackResistance 20 490 | 491 | ### The menus on the root window. 492 | 493 | Button1 = : root : f.menu "defops" 494 | 495 | ### The TwmIcons menu is only available in ctwm versions >=3.5.2, but 496 | ### very useful when its there. It shows a list of iconified windows 497 | ### so there is no need for mapped icon managers. 498 | Button2 = : root : f.menu "TwmIcons" 499 | 500 | Button3 = : root : f.menu "programs" 501 | 502 | ### If you can't run ctwm >= 3.5.2 for some reason, you will have to 503 | ### make do with the TwmWindows menu. Uncomment below. 504 | # Button2 = : root : f.menu "TwmWindows" 505 | 506 | ### Mouse buttons 507 | 508 | # Move window with left button, raise or lower with middle and show 509 | # a menu with the rightmost button. 510 | Button1 = : title : f.movepack 511 | Button2 = : title : f.raiselower 512 | Button3 = : title : f.menu "winops" 513 | 514 | # In the window, move with mod1 + button 1, raise with middle button 515 | # and resize with button 3. 516 | Button1 = mod1 : window : f.movepack 517 | Button2 = mod1 : window : f.raiselower 518 | Button3 = mod1 : window : f.resize 519 | 520 | ### Not really used, since I have no icons visible. 521 | Button1 = : icon : f.function "move-or-iconify" 522 | Button2 = : icon : f.iconify 523 | Button1 = : iconmgr : f.iconify 524 | Button2 = : iconmgr : f.iconify 525 | 526 | ### Move visible screen to a different workspaces with the Function 527 | ### keys or Alt+number keys. 528 | "F1" = : all : f.gotoworkspace "1" 529 | "F2" = : all : f.gotoworkspace "2" 530 | "F3" = : all : f.gotoworkspace "3" 531 | "F4" = : all : f.gotoworkspace "4" 532 | "F5" = : all : f.gotoworkspace "5" 533 | "F6" = : all : f.gotoworkspace "6" 534 | "F7" = : all : f.gotoworkspace "7" 535 | "F8" = : all : f.gotoworkspace "8" 536 | "F9" = : all : f.gotoworkspace "9" 537 | "F10" = : all : f.gotoworkspace "10" 538 | 539 | "1" = mod2 : all : f.gotoworkspace "1" 540 | "2" = mod2 : all : f.gotoworkspace "2" 541 | "3" = mod2 : all : f.gotoworkspace "3" 542 | "4" = mod2 : all : f.gotoworkspace "4" 543 | "5" = mod2 : all : f.gotoworkspace "5" 544 | "6" = mod2 : all : f.gotoworkspace "6" 545 | "7" = mod2 : all : f.gotoworkspace "7" 546 | "8" = mod2 : all : f.gotoworkspace "8" 547 | "9" = mod2 : all : f.gotoworkspace "9" 548 | "10" = mod2 : all : f.gotoworkspace "10" 549 | 550 | ### Send windows to other workspaces. 551 | "F1" = mod1 : all : f.function "toone" 552 | "F2" = mod1 : all : f.function "totwo" 553 | "F3" = mod1 : all : f.function "tothree" 554 | "F4" = mod1 : all : f.function "tofour" 555 | "F5" = mod1 : all : f.function "tofive" 556 | "F6" = mod1 : all : f.function "tosix" 557 | "F7" = mod1 : all : f.function "toseven" 558 | "F8" = mod1 : all : f.function "toeight" 559 | "F9" = mod1 : all : f.function "tonine" 560 | "F10" = mod1 : all : f.function "toten" 561 | 562 | "1" = mod2 | control : all : f.function "toone" 563 | "2" = mod2 | control : all : f.function "totwo" 564 | "3" = mod2 | control : all : f.function "tothree" 565 | "4" = mod2 | control : all : f.function "tofour" 566 | "5" = mod2 | control : all : f.function "tofive" 567 | "6" = mod2 | control : all : f.function "tosix" 568 | "7" = mod2 | control : all : f.function "toseven" 569 | "8" = mod2 | control : all : f.function "toeight" 570 | "9" = mod2 | control : all : f.function "tonine" 571 | "10" = mod2 | control : all : f.function "toten" 572 | 573 | ### Occupy all workspaces. Doesn't toggle, I'm afraid. 574 | "f" = mod2 : all : f.occupyall 575 | 576 | ### Move windows about with Alt + vi-like keys or arrow keys. 577 | "Up" = mod2 : all : f.jumpup "20" 578 | "Left" = mod2 : all : f.jumpleft "20" 579 | "Right" = mod2 : all: f.jumpright "20" 580 | "Down" = mod2 : all : f.jumpdown "20" 581 | 582 | "k" = mod2 : all : f.jumpup "20" 583 | "h" = mod2 : all : f.jumpleft "20" 584 | "l" = mod2 : all: f.jumpright "20" 585 | "j" = mod2 : all : f.jumpdown "20" 586 | 587 | ### Maximize a window vertically. 588 | "m" = mod2 : all: f.zoom 589 | 590 | ### Maximize a window to cover full screen. 591 | "x" = mod2 : all: f.fullzoom 592 | 593 | ### Kill a window. 594 | #"k" = mod1 | mod3 : all: f.delete 595 | 596 | ### Raise or lower window. 597 | "r" = mod2 : all : f.raiselower 598 | 599 | ### Hide a window. 600 | #"z" = mod2 : all : f.iconify 601 | 602 | ### Program shortcuts. 603 | "Return" = mod2 : all: f.exec "LANG=en_US.UTF-8;urxvt &" 604 | 605 | ### Move around focus on current workspace. 606 | #WindowRing 607 | WarpRingOnScreen 608 | WindowRingExclude 609 | { 610 | "WorkSpaceManager" 611 | "xbiff" 612 | "dclock" 613 | "xclock" 614 | "bbmail" 615 | "xmcbiff" 616 | } 617 | 618 | # Move around in warp ring with S-p, S-n and S-Tab. 619 | "p" = mod2 : all : f.warpring "prev" 620 | "n" = mod2 : all : f.warpring "next" 621 | "Tab" = mod2 : all : f.warpring "next" 622 | # Would be nice if this worked with Xinerama: 623 | "," = mod2 : all : f.warptoscreen "prev" 624 | "." = mod2 : all : f.warptoscreen "next" 625 | 626 | ### A menu with the usual window manager things, in case you need 627 | ### them. 628 | menu "defops" 629 | { 630 | "CTWM" f.title 631 | "Hide..." f.iconify 632 | "Resize..." f.resize 633 | "Move..." f.movepack 634 | "Raise..." f.raise 635 | "Lower..." f.lower 636 | "Zoom..." f.zoom 637 | "" f.nop 638 | "Focus..." f.focus 639 | "Unfocus..." f.unfocus 640 | "" f.nop 641 | 642 | "Occupy..." f.occupy 643 | "Occupy all..." f.occupyall 644 | "" f.nop 645 | "Kill..." f.destroy 646 | "Delete..." f.delete 647 | "" f.nop 648 | "Restart" f.restart 649 | "" f.nop 650 | "Exit" f.quit 651 | } 652 | 653 | menu "winops" 654 | { 655 | "Window Operations" f.title 656 | "Hide" f.iconify 657 | "Workspaces" f.occupy 658 | "To All" f.occupyall 659 | "To 1" f.function "toone" 660 | "To 2" f.function "totwo" 661 | "To 3" f.function "tothree" 662 | "To 4" f.function "tofour" 663 | "To 5" f.function "tofive" 664 | "To 6" f.function "tosix" 665 | "To 7" f.function "toseven" 666 | "To 8" f.function "toeight" 667 | "To 9" f.function "tonine" 668 | "To 10" f.function "toten" 669 | } 670 | 671 | ### Some useful tools I often start. 672 | menu "programs" 673 | { 674 | "Programs" f.title 675 | "Lock" f.exec "slock" 676 | "Terminal" f.exec "urxvt &" 677 | "Terminal Gacha" f.exec "urxvt -fn '-bellcore-gacha-medium-r-normal--16-160-72-72-c-60-iso8859-1' &" 678 | "Terminal 9x15" f.exec "urxvt -fn 9x15 &" 679 | "Emacs" f.exec "emacs &" 680 | "Firefox" f.exec "firefox&" 681 | "Interface" f.title 682 | "Screens" f.menu "screens" 683 | "Keyboards" f.menu "keyboards" 684 | } 685 | 686 | menu "screens" 687 | { 688 | "Screens" f.title 689 | "External Screen On" f.exec "xrandr --output VGA --auto" 690 | "External Screen Off" f.exec "xrandr --output VGA --off" 691 | "External Screen Right" f.exec "xrandr --output VGA --right-of LVDS" 692 | "External Screen Same" f.exec "xrandr --output VGA --same-as LVDS" 693 | "Internal Screen On" f.exec "xrandr --output LVDS --auto" 694 | "Internal Screen Off" f.exec "xrandr --output LVDS --off" 695 | } 696 | 697 | menu "keyboards" 698 | { 699 | "Keyboards" f.title 700 | "HHKB US" f.exec "xmodmap /home/mc/lib/xmodmap/hhkb-us.xmodmap" 701 | "HHKB US SE" f.exec "xmodmap /home/mc/lib/xmodmap/hhkb-us-se.xmodmap" 702 | "HHKB Swedish" f.exec "xmodmap /home/mc/lib/xmodmap/hhkb-se.xmodmap; xset r rate 180 60" 703 | "Internal" f.exec "xmodmap /home/mc/lib/xmodmap/thinkpad-x60.xmodmap" 704 | } 705 | 706 | #...and no more. 707 | -------------------------------------------------------------------------------- /freebsd/.xinitrc: -------------------------------------------------------------------------------- 1 | setxkbmap us -variant colemak 2 | setxkbmap -option terminate:ctrl_alt_bksp 3 | setxkbmap -option lv3:ralt_switch 4 | xmodmap ~/.Xmodmap 5 | xset r 66 6 | xset b off 7 | xsetroot -bg \#333 -fg \#121212 -mod 10 3 8 | xsetroot -cursor_name left_ptr 9 | urxvtd -q -o -f 10 | urxvtc& 11 | xset r 66 12 | 2bwm 13 | -------------------------------------------------------------------------------- /freebsd/BEASTIE: -------------------------------------------------------------------------------- 1 | # 2 | # GENERIC -- Generic kernel configuration file for FreeBSD/amd64 3 | # 4 | # For more information on this file, please read the config(5) manual page, 5 | # and/or the handbook section on Kernel Configuration Files: 6 | # 7 | # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html 8 | # 9 | # The handbook is also available locally in /usr/share/doc/handbook 10 | # if you've installed the doc distribution, otherwise always see the 11 | # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the 12 | # latest information. 13 | # 14 | # An exhaustive list of options and more detailed explanations of the 15 | # device lines is also present in the ../../conf/NOTES and NOTES files. 16 | # If you are in doubt as to the purpose or necessity of a line, check first 17 | # in NOTES. 18 | # 19 | # $FreeBSD: release/9.1.0/sys/amd64/conf/GENERIC 238090 2012-07-04 00:54:16Z delphij $ 20 | 21 | cpu HAMMER 22 | ident GENERIC 23 | 24 | makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 25 | 26 | options SCHED_ULE # ULE scheduler 27 | options PREEMPTION # Enable kernel thread preemption 28 | options INET # InterNETworking 29 | options INET6 # IPv6 communications protocols 30 | options SCTP # Stream Control Transmission Protocol 31 | options FFS # Berkeley Fast Filesystem 32 | options SOFTUPDATES # Enable FFS soft updates support 33 | options UFS_ACL # Support for access control lists 34 | options UFS_DIRHASH # Improve performance on big directories 35 | options UFS_GJOURNAL # Enable gjournal-based UFS journaling 36 | options MD_ROOT # MD is a potential root device 37 | options NFSCL # New Network Filesystem Client 38 | options NFSD # New Network Filesystem Server 39 | options NFSLOCKD # Network Lock Manager 40 | options NFS_ROOT # NFS usable as /, requires NFSCL 41 | options MSDOSFS # MSDOS Filesystem 42 | options CD9660 # ISO 9660 Filesystem 43 | options PROCFS # Process filesystem (requires PSEUDOFS) 44 | options PSEUDOFS # Pseudo-filesystem framework 45 | options GEOM_PART_GPT # GUID Partition Tables. 46 | options GEOM_RAID # Soft RAID functionality. 47 | options GEOM_LABEL # Provides labelization 48 | options COMPAT_FREEBSD32 # Compatible with i386 binaries 49 | options COMPAT_FREEBSD4 # Compatible with FreeBSD4 50 | options COMPAT_FREEBSD5 # Compatible with FreeBSD5 51 | options COMPAT_FREEBSD6 # Compatible with FreeBSD6 52 | options COMPAT_FREEBSD7 # Compatible with FreeBSD7 53 | options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI 54 | options KTRACE # ktrace(1) support 55 | options STACK # stack(9) support 56 | options SYSVSHM # SYSV-style shared memory 57 | options SYSVMSG # SYSV-style message queues 58 | options SYSVSEM # SYSV-style semaphores 59 | options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 60 | options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. 61 | options KBD_INSTALL_CDEV # install a CDEV entry in /dev 62 | options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) 63 | options AUDIT # Security event auditing 64 | options MAC # TrustedBSD MAC Framework 65 | #options KDTRACE_FRAME # Ensure frames are compiled in 66 | #options KDTRACE_HOOKS # Kernel DTrace hooks 67 | options INCLUDE_CONFIG_FILE # Include this file in kernel 68 | options KDB # Kernel debugger related code 69 | options KDB_TRACE # Print a stack trace for a panic 70 | 71 | # Make an SMP-capable kernel by default 72 | options SMP # Symmetric MultiProcessor Kernel 73 | 74 | # CPU frequency control 75 | device cpufreq 76 | 77 | # Bus support. 78 | device acpi 79 | device pci 80 | 81 | # Floppy drives 82 | device fdc 83 | 84 | # ATA controllers 85 | device ahci # AHCI-compatible SATA controllers 86 | device ata # Legacy ATA/SATA controllers 87 | options ATA_CAM # Handle legacy controllers with CAM 88 | options ATA_STATIC_ID # Static device numbering 89 | device mvs # Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA 90 | device siis # SiliconImage SiI3124/SiI3132/SiI3531 SATA 91 | 92 | # SCSI Controllers 93 | device ahc # AHA2940 and onboard AIC7xxx devices 94 | options AHC_REG_PRETTY_PRINT # Print register bitfields in debug 95 | # output. Adds ~128k to driver. 96 | device ahd # AHA39320/29320 and onboard AIC79xx devices 97 | options AHD_REG_PRETTY_PRINT # Print register bitfields in debug 98 | # output. Adds ~215k to driver. 99 | device esp # AMD Am53C974 (Tekram DC-390(T)) 100 | device hptiop # Highpoint RocketRaid 3xxx series 101 | device isp # Qlogic family 102 | #device ispfw # Firmware for QLogic HBAs- normally a module 103 | device mpt # LSI-Logic MPT-Fusion 104 | device mps # LSI-Logic MPT-Fusion 2 105 | #device ncr # NCR/Symbios Logic 106 | device sym # NCR/Symbios Logic (newer chipsets + those of `ncr') 107 | device trm # Tekram DC395U/UW/F DC315U adapters 108 | 109 | device adv # Advansys SCSI adapters 110 | device adw # Advansys wide SCSI adapters 111 | device aic # Adaptec 15[012]x SCSI adapters, AIC-6[23]60. 112 | device bt # Buslogic/Mylex MultiMaster SCSI adapters 113 | device isci # Intel C600 SAS controller 114 | 115 | # ATA/SCSI peripherals 116 | device scbus # SCSI bus (required for ATA/SCSI) 117 | device ch # SCSI media changers 118 | device da # Direct Access (disks) 119 | device sa # Sequential Access (tape etc) 120 | device cd # CD 121 | device pass # Passthrough device (direct ATA/SCSI access) 122 | device ses # Enclosure Services (SES and SAF-TE) 123 | device ctl # CAM Target Layer 124 | 125 | # RAID controllers interfaced to the SCSI subsystem 126 | device amr # AMI MegaRAID 127 | device arcmsr # Areca SATA II RAID 128 | #XXX it is not 64-bit clean, -scottl 129 | #device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID 130 | device ciss # Compaq Smart RAID 5* 131 | device dpt # DPT Smartcache III, IV - See NOTES for options 132 | device hptmv # Highpoint RocketRAID 182x 133 | device hptrr # Highpoint RocketRAID 17xx, 22xx, 23xx, 25xx 134 | device iir # Intel Integrated RAID 135 | device ips # IBM (Adaptec) ServeRAID 136 | device mly # Mylex AcceleRAID/eXtremeRAID 137 | device twa # 3ware 9000 series PATA/SATA RAID 138 | device tws # LSI 3ware 9750 SATA+SAS 6Gb/s RAID controller 139 | 140 | # RAID controllers 141 | device aac # Adaptec FSA RAID 142 | device aacp # SCSI passthrough for aac (requires CAM) 143 | device ida # Compaq Smart RAID 144 | device mfi # LSI MegaRAID SAS 145 | device mlx # Mylex DAC960 family 146 | #XXX pointer/int warnings 147 | #device pst # Promise Supertrak SX6000 148 | device twe # 3ware ATA RAID 149 | 150 | # atkbdc0 controls both the keyboard and the PS/2 mouse 151 | device atkbdc # AT keyboard controller 152 | device atkbd # AT keyboard 153 | device psm # PS/2 mouse 154 | 155 | device kbdmux # keyboard multiplexer 156 | 157 | device vga # VGA video card driver 158 | options VESA # Add support for VESA BIOS Extensions (VBE) 159 | 160 | device splash # Splash screen and screen saver support 161 | 162 | # syscons is the default console driver, resembling an SCO console 163 | device sc 164 | options SC_PIXEL_MODE # add support for the raster text mode 165 | 166 | device agp # support several AGP chipsets 167 | 168 | # PCCARD (PCMCIA) support 169 | # PCMCIA and cardbus bridge support 170 | device cbb # cardbus (yenta) bridge 171 | device pccard # PC Card (16-bit) bus 172 | device cardbus # CardBus (32-bit) bus 173 | 174 | # Serial (COM) ports 175 | device uart # Generic UART driver 176 | 177 | # Parallel port 178 | device ppc 179 | device ppbus # Parallel port bus (required) 180 | device lpt # Printer 181 | device plip # TCP/IP over parallel 182 | device ppi # Parallel port interface device 183 | #device vpo # Requires scbus and da 184 | 185 | device puc # Multi I/O cards and multi-channel UARTs 186 | 187 | # PCI Ethernet NICs. 188 | device bxe # Broadcom BCM57710/BCM57711/BCM57711E 10Gb Ethernet 189 | device de # DEC/Intel DC21x4x (``Tulip'') 190 | device em # Intel PRO/1000 Gigabit Ethernet Family 191 | device igb # Intel PRO/1000 PCIE Server Gigabit Family 192 | device ixgbe # Intel PRO/10GbE PCIE Ethernet Family 193 | device le # AMD Am7900 LANCE and Am79C9xx PCnet 194 | device ti # Alteon Networks Tigon I/II gigabit Ethernet 195 | device txp # 3Com 3cR990 (``Typhoon'') 196 | device vx # 3Com 3c590, 3c595 (``Vortex'') 197 | 198 | # PCI Ethernet NICs that use the common MII bus controller code. 199 | # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! 200 | device miibus # MII bus support 201 | device ae # Attansic/Atheros L2 FastEthernet 202 | device age # Attansic/Atheros L1 Gigabit Ethernet 203 | device alc # Atheros AR8131/AR8132 Ethernet 204 | device ale # Atheros AR8121/AR8113/AR8114 Ethernet 205 | device bce # Broadcom BCM5706/BCM5708 Gigabit Ethernet 206 | device bfe # Broadcom BCM440x 10/100 Ethernet 207 | device bge # Broadcom BCM570xx Gigabit Ethernet 208 | device cas # Sun Cassini/Cassini+ and NS DP83065 Saturn 209 | device dc # DEC/Intel 21143 and various workalikes 210 | device et # Agere ET1310 10/100/Gigabit Ethernet 211 | device fxp # Intel EtherExpress PRO/100B (82557, 82558) 212 | device gem # Sun GEM/Sun ERI/Apple GMAC 213 | device hme # Sun HME (Happy Meal Ethernet) 214 | device jme # JMicron JMC250 Gigabit/JMC260 Fast Ethernet 215 | device lge # Level 1 LXT1001 gigabit Ethernet 216 | device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet 217 | device nfe # nVidia nForce MCP on-board Ethernet 218 | device nge # NatSemi DP83820 gigabit Ethernet 219 | #device nve # nVidia nForce MCP on-board Ethernet Networking 220 | device pcn # AMD Am79C97x PCI 10/100 (precedence over 'le') 221 | device re # RealTek 8139C+/8169/8169S/8110S 222 | device rl # RealTek 8129/8139 223 | device sf # Adaptec AIC-6915 (``Starfire'') 224 | device sge # Silicon Integrated Systems SiS190/191 225 | device sis # Silicon Integrated Systems SiS 900/SiS 7016 226 | device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet 227 | device ste # Sundance ST201 (D-Link DFE-550TX) 228 | device stge # Sundance/Tamarack TC9021 gigabit Ethernet 229 | device tl # Texas Instruments ThunderLAN 230 | device tx # SMC EtherPower II (83c170 ``EPIC'') 231 | device vge # VIA VT612x gigabit Ethernet 232 | device vr # VIA Rhine, Rhine II 233 | device wb # Winbond W89C840F 234 | device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') 235 | 236 | # ISA Ethernet NICs. pccard NICs included. 237 | device cs # Crystal Semiconductor CS89x0 NIC 238 | # 'device ed' requires 'device miibus' 239 | device ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards 240 | device ex # Intel EtherExpress Pro/10 and Pro/10+ 241 | device ep # Etherlink III based cards 242 | device fe # Fujitsu MB8696x based cards 243 | device sn # SMC's 9000 series of Ethernet chips 244 | device xe # Xircom pccard Ethernet 245 | 246 | # Wireless NIC cards 247 | device wlan # 802.11 support 248 | options IEEE80211_DEBUG # enable debug msgs 249 | options IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's 250 | options IEEE80211_SUPPORT_MESH # enable 802.11s draft support 251 | device wlan_wep # 802.11 WEP support 252 | device wlan_ccmp # 802.11 CCMP support 253 | device wlan_tkip # 802.11 TKIP support 254 | device wlan_amrr # AMRR transmit rate control algorithm 255 | device an # Aironet 4500/4800 802.11 wireless NICs. 256 | device ath # Atheros NIC's 257 | device ath_pci # Atheros pci/cardbus glue 258 | device ath_hal # pci/cardbus chip support 259 | options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors 260 | device ath_rate_sample # SampleRate tx rate control for ath 261 | #device bwi # Broadcom BCM430x/BCM431x wireless NICs. 262 | #device bwn # Broadcom BCM43xx wireless NICs. 263 | device ipw # Intel 2100 wireless NICs. 264 | device iwi # Intel 2200BG/2225BG/2915ABG wireless NICs. 265 | device iwn # Intel 4965/1000/5000/6000 wireless NICs. 266 | device malo # Marvell Libertas wireless NICs. 267 | device mwl # Marvell 88W8363 802.11n wireless NICs. 268 | device ral # Ralink Technology RT2500 wireless NICs. 269 | device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs. 270 | device wpi # Intel 3945ABG wireless NICs. 271 | 272 | # Pseudo devices. 273 | device loop # Network loopback 274 | device random # Entropy device 275 | device ether # Ethernet support 276 | device vlan # 802.1Q VLAN support 277 | device tun # Packet tunnel. 278 | device pty # BSD-style compatibility pseudo ttys 279 | device md # Memory "disks" 280 | device gif # IPv6 and IPv4 tunneling 281 | device faith # IPv6-to-IPv4 relaying (translation) 282 | device firmware # firmware assist module 283 | 284 | # The `bpf' device enables the Berkeley Packet Filter. 285 | # Be aware of the administrative consequences of enabling this! 286 | # Note that 'bpf' is required for DHCP. 287 | device bpf # Berkeley packet filter 288 | 289 | # USB support 290 | options USB_DEBUG # enable debug msgs 291 | device uhci # UHCI PCI->USB interface 292 | device ohci # OHCI PCI->USB interface 293 | device ehci # EHCI PCI->USB interface (USB 2.0) 294 | device xhci # XHCI PCI->USB interface (USB 3.0) 295 | device usb # USB Bus (required) 296 | #device udbp # USB Double Bulk Pipe devices (needs netgraph) 297 | device uhid # "Human Interface Devices" 298 | device ukbd # Keyboard 299 | device ulpt # Printer 300 | device umass # Disks/Mass storage - Requires scbus and da 301 | device ums # Mouse 302 | device urio # Diamond Rio 500 MP3 player 303 | # USB Serial devices 304 | device u3g # USB-based 3G modems (Option, Huawei, Sierra) 305 | device uark # Technologies ARK3116 based serial adapters 306 | device ubsa # Belkin F5U103 and compatible serial adapters 307 | device uftdi # For FTDI usb serial adapters 308 | device uipaq # Some WinCE based devices 309 | device uplcom # Prolific PL-2303 serial adapters 310 | device uslcom # SI Labs CP2101/CP2102 serial adapters 311 | device uvisor # Visor and Palm devices 312 | device uvscom # USB serial support for DDI pocket's PHS 313 | # USB Ethernet, requires miibus 314 | device aue # ADMtek USB Ethernet 315 | device axe # ASIX Electronics USB Ethernet 316 | device cdce # Generic USB over Ethernet 317 | device cue # CATC USB Ethernet 318 | device kue # Kawasaki LSI USB Ethernet 319 | device rue # RealTek RTL8150 USB Ethernet 320 | device udav # Davicom DM9601E USB 321 | # USB Wireless 322 | device rum # Ralink Technology RT2501USB wireless NICs 323 | device run # Ralink Technology RT2700/RT2800/RT3000 NICs. 324 | device uath # Atheros AR5523 wireless NICs 325 | device upgt # Conexant/Intersil PrismGT wireless NICs. 326 | device ural # Ralink Technology RT2500USB wireless NICs 327 | device urtw # Realtek RTL8187B/L wireless NICs 328 | device zyd # ZyDAS zd1211/zd1211b wireless NICs 329 | 330 | # FireWire support 331 | device firewire # FireWire bus code 332 | # sbp(4) works for some systems but causes boot failure on others 333 | #device sbp # SCSI over FireWire (Requires scbus and da) 334 | device fwe # Ethernet over FireWire (non-standard!) 335 | device fwip # IP over FireWire (RFC 2734,3146) 336 | device dcons # Dumb console driver 337 | device dcons_crom # Configuration ROM for dcons 338 | 339 | # Sound support 340 | device sound # Generic sound driver (required) 341 | device snd_cmi # CMedia CMI8338/CMI8738 342 | device snd_csa # Crystal Semiconductor CS461x/428x 343 | device snd_emu10kx # Creative SoundBlaster Live! and Audigy 344 | device snd_es137x # Ensoniq AudioPCI ES137x 345 | device snd_hda # Intel High Definition Audio 346 | device snd_ich # Intel, NVidia and other ICH AC'97 Audio 347 | device snd_uaudio # USB Audio 348 | device snd_via8233 # VIA VT8233x Audio 349 | 350 | 351 | options SC_KERNEL_CONS_ATTR=(FG_GREEN|BG_BLACK) 352 | options SC_KERNEL_CONS_REV_ATTR=(FG_BLACK|BG_GREEN) 353 | options SC_DFLT_FONT 354 | 355 | # Modify /sys/dev/syscons/syscons.c: 356 | # remove lines containing references to font_8 and font_14 357 | # remove the font.h uudecode lines in /sys/conf/files.amd64 358 | # requires the font.h in the same dir. 359 | -------------------------------------------------------------------------------- /freebsd/boot.config: -------------------------------------------------------------------------------- 1 | -nmq 2 | -------------------------------------------------------------------------------- /freebsd/fstab: -------------------------------------------------------------------------------- 1 | /dev/gptid/f151c2b4-5471-11e2-beb5-000c29dee9a2 none swap sw 0 0 2 | -------------------------------------------------------------------------------- /freebsd/jfbterm.conf: -------------------------------------------------------------------------------- 1 | # 2 | # JFBTERM for FreeBSD configuration file 3 | # 4 | 5 | # 6 | # A. General configuration 7 | # 8 | 9 | # 1) TERM environment variable (default: jfbterm) 10 | # jfbterm, jfbterm-color or jfbterm-256color. 11 | term: jfbterm-color 12 | 13 | 14 | # 15 | # B. Scrollback history configuration 16 | # 17 | 18 | # 1) Buffer size 19 | history: 1024 20 | 21 | 22 | # 23 | # C. Splash image configuration 24 | # - Note: Splash image current only works on 15, 16, 24, 32bpp. 25 | # - We can read 24bit uncompressed BMP files and PNG files using libpng. 26 | # 27 | 28 | # 1) Image path 29 | #splash.image: /root/image.png 30 | 31 | # 2) Tint image: scale from 0(no tint) - 10(black) 32 | splash.tint: 5 33 | 34 | 35 | # 36 | # D. Font and Encoding configuration 37 | # 38 | 39 | # 1) Use iso10646 font only, let iconv handle the rest 40 | #fontset: iso10646.1,pcf,U,/usr/local/lib/X11/fonts/terminus-font/ter-212n.pcf.gz 41 | fontset: iso10646.1,pcf,U,/usr/local/lib/X11/fonts/local/unifont.pcf.gz 42 | +fontset: vt100-graphics,pcf,L,/usr/local/share/misc/fonts/vt100-graphics.pcf.gz 43 | 44 | encoding: locale 45 | encoding.UTF-8: UTF-8,iso10646.1 46 | 47 | # 2) Use M+ bitmap fonts [japanese/mplusfonts] (for reference) 48 | #fontset: iso646-1973irv,pcf,L,/usr/local/lib/X11/fonts/local/mplus_f12r.pcf.gz 49 | #+fontset: ansix3.4-1968,alias,L,iso646-1973irv 50 | #+fontset: jisc6226-1978,pcf,L,/usr/local/lib/X11/fonts/local/mplus_j12r.pcf.gz 51 | #+fontset: jisx0208-1983,alias,L,jisc6226-1978 52 | #+fontset: jisc6220-1969roman,pcf,L,/usr/local/lib/X11/fonts/local/mplus_f12r-jisx0201.pcf.gz 53 | #+fontset: jisc6220-1969kana,alias,R,jisc6220-1969roman 54 | 55 | #encoding.SJIS: other,SJIS,iconv,eucJP 56 | #encoding.UTF-8: other,UTF-8,iconv,eucJP 57 | #encoding.eucJP: G0,G1,ansix3.4-1968,jisx0208-1983,jisc6220-1969kana,ansix3.4-1968 58 | 59 | # 3) Full configuration (for reference) 60 | #fontset: iso646-1973irv,pcf,L,/usr/local/lib/X11/fonts/misc/8x16.pcf.gz 61 | #+fontset: ansix3.4-1968,alias,L,iso646-1973irv 62 | #+fontset: jisc6226-1978,pcf,L,/usr/local/lib/X11/fonts/misc/jiskan16.pcf.gz 63 | #+fontset: jisx0208-1983,alias,L,jisc6226-1978 64 | #+fontset: jisc6220-1969roman,pcf,L,/usr/local/lib/X11/fonts/misc/8x16rk.pcf.gz 65 | #+fontset: jisc6220-1969kana,alias,R,jisc6220-1969roman 66 | #+fontset: jisx0212-1990,pcf,L,/usr/local/lib/X11/fonts/local/jksp16.pcf.gz 67 | #+fontset: gb2312-80,pcf,L,/usr/local/lib/X11/fonts/misc/gb16fs.pcf.gz 68 | #+fontset: ksc5601-1987,pcf,L,/usr/local/lib/X11/fonts/misc/hanglg16.pcf.gz 69 | #+fontset: iso8859.1-1987,pcf,R,/usr/local/lib/X11/fonts/misc/8x16.pcf.gz 70 | #+fontset: iso8859.2-1987,pcf,R,/usr/local/lib/X11/fonts/local/lt2-16-etl.pcf.gz 71 | #+fontset: iso8859.3-1988,pcf,R,/usr/local/lib/X11/fonts/local/lt3-16-etl.pcf.gz 72 | #+fontset: iso8859.4-1988,pcf,R,/usr/local/lib/X11/fonts/local/lt4-16-etl.pcf.gz 73 | #+fontset: iso8859.5-1988,pcf,R,/usr/local/lib/X11/fonts/local/cyr16-etl.pcf.gz 74 | #+fontset: iso8859.7-1987,pcf,R,/usr/local/lib/X11/fonts/local/grk16-etl.pcf.gz 75 | #+fontset: iso8859.8-1988,pcf,R,/usr/local/lib/X11/fonts/local/heb16-etl.pcf.gz 76 | #+fontset: iso8859.9-1989,pcf,R,/usr/local/lib/X11/fonts/local/lt5-16-etl.pcf.gz 77 | #+fontset: iso8859.10-1992,pcf,R,/usr/local/lib/X11/fonts/misc/8x13-ISO8859-10.pcf.gz 78 | #+fontset: iso8859.13-1998,pcf,R,/usr/local/lib/X11/fonts/misc/8x13-ISO8859-13.pcf.gz 79 | #+fontset: iso8859.14-1998,pcf,R,/usr/local/lib/X11/fonts/misc/8x13-ISO8859-14.pcf.gz 80 | #+fontset: iso8859.15-1999,pcf,R,/usr/local/lib/X11/fonts/misc/8x13-ISO8859-15.pcf.gz 81 | #+fontset: vt100-graphics,pcf,L,/usr/local/share/misc/fonts/vt100-graphics.pcf.gz 82 | #+fontset: iso10646.1,pcf,U,/usr/local/lib/X11/fonts/local/unifont.pcf.gz 83 | 84 | # ISO-2022-* 85 | #encoding.US-ASCII: G0,G1,ansix3.4-1968,ansix3.4-1968,iso8859.1-1987,ansix3.4-1968 86 | #encoding.ISO8859-1: G0,G2,ansix3.4-1968,ansix3.4-1968,iso8859.1-1987,ansix3.4-1968 87 | #encoding.ISO8859-2: G0,G2,ansix3.4-1968,ansix3.4-1968,iso8859.2-1987,ansix3.4-1968 88 | #encoding.ISO8859-4: G0,G2,ansix3.4-1968,ansix3.4-1968,iso8859.4-1988,ansix3.4-1968 89 | #encoding.ISO8859-5: G0,G2,ansix3.4-1968,ansix3.4-1968,iso8859.5-1988,ansix3.4-1968 90 | #encoding.ISO8859-7: G0,G2,ansix3.4-1968,ansix3.4-1968,iso8859.7-1987,ansix3.4-1968 91 | #encoding.ISO8859-9: G0,G2,ansix3.4-1968,ansix3.4-1968,iso8859.9-1989,ansix3.4-1968 92 | #encoding.ISO8859-13: G0,G2,ansix3.4-1968,ansix3.4-1968,iso8859.13-1998,ansix3.4-1968 93 | #encoding.ISO8859-15: G0,G2,ansix3.4-1968,ansix3.4-1968,iso8859.15-1999,ansix3.4-1968 94 | #encoding.GB2312: G0,G1,ansix3.4-1968,gb2312-80,ansix3.4-1968,ansix3.4-1968 95 | #encoding.eucCN: G0,G1,ansix3.4-1968,gb2312-80,ansix3.4-1968,ansix3.4-1968 96 | #encoding.eucJP: G0,G1,ansix3.4-1968,jisx0208-1983,jisc6220-1969kana,jisx0212-1990 97 | #encoding.eucKR: G0,G1,ansix3.4-1968,ksc5601-1987,ansix3.4-1968,ansix3.4-1968 98 | 99 | # UTF-8 100 | #encoding.UTF-8: UTF-8,iso10646.1 101 | 102 | # OTHER-CODING-SYSTEM 103 | #encoding.ARMSCII-8: other,ARMSCII-8,iconv,UTF-8 104 | #encoding.Big5: other,BIG5,iconv,UTF-8 105 | #encoding.Big5HKSCS: other,BIG5HKSCS,iconv,UTF-8 106 | #encoding.CP1131: BROKEN 107 | #encoding.CP1251: other,CP1251,iconv,UTF-8 108 | #encoding.CP866: other,CP866,iconv,UTF-8 109 | #encoding.CP949: other,CP949,iconv,UTF-8 110 | #encoding.GB18030: other,GB18030,iconv,UTF-8 111 | #encoding.GBK: other,GBK,iconv,UTF-8 112 | #encoding.ISCII-DEV: BROKEN 113 | #encoding.KOI8-R: other,KOI8-R,iconv,UTF-8 114 | #encoding.KOI8-U: other,KOI8-U,iconv,UTF-8 115 | #encoding.PT154: other,PT154,iconv,UTF-8 116 | #encoding.SJIS: other,SJIS,iconv,UTF-8 117 | 118 | # A locale for Thai in Thailand, TIS-620 character set [misc/thailocale] 119 | #encoding.TIS-620: other,TIS-620,iconv,UTF-8 120 | 121 | 122 | # 123 | # E. Keyboard configuration 124 | # 125 | 126 | # 1) Keyboard delay (default: 250msec) 127 | keyboard.delay: 250 128 | 129 | # 2) Keyboard repeat rate (default: 30msec) 130 | keyboard.repeat: 30 131 | 132 | 133 | # 134 | # F. Mouse configuration 135 | # 136 | 137 | # 1) Mouse type (default: None) 138 | # Microsoft, MouseSystems, BusMouse, MMSeries, Logitech, PS2, IMPS2, EXPS2, 139 | # SysMouse or None. 140 | mouse.type: SysMouse 141 | 142 | # 2) Baud rate (default: 1200bps) 143 | # 1200, 2400, 4800 or 9600. 144 | mouse.baudRate: 1200 145 | 146 | # 3) Device file name 147 | mouse.device: /dev/sysmouse 148 | 149 | # 4) 3 button emulation (default: Middle) 150 | # Middle or Right. 151 | mouse.pasteButton: Middle 152 | 153 | # 5) Mouse cursor type (default: Normal) 154 | # Normal or Blink. 155 | mouse.cursor.type: Normal 156 | 157 | # 6) Blink mouse cursor interval (default: 0.4sec) 158 | mouse.cursor.interval: 4 159 | 160 | # 7) Mouse cursor color (default: 15) 161 | # 0 Black 8 Grey 162 | # 1 Red 9 Light Red 163 | # 2 Green 10 Light Green 164 | # 3 Brown 11 Yellow 165 | # 4 Blue 12 Light Blue 166 | # 5 Magenta 13 Light Magenta 167 | # 6 Cyan 14 Light Cyan 168 | # 7 White 15 Light White 169 | mouse.cursor.color: 13 170 | 171 | # 8) Mouse cursor height (default: 100%) 172 | mouse.cursor.height: 100 173 | 174 | 175 | # 176 | # G. Screen saver configuration 177 | # 178 | 179 | # 1) Screen saver mode (default: None) 180 | # Blank, StandBy, Suspend or None. 181 | screensaver.mode: None 182 | 183 | # 2) Screen saver timeout (default: 5min) 184 | screensaver.timeout: 5 185 | 186 | 187 | # 188 | # H. Cursor configuration 189 | # 190 | 191 | # 1) Cursor type (default: Normal) 192 | # Normal or Blink. 193 | cursor.type: Normal 194 | 195 | # 2) Blink cursor interval (default: 0.4sec) 196 | cursor.interval: 4 197 | 198 | # 3) Cursor color (default: 15) 199 | # 0 Black 8 Grey 200 | # 1 Red 9 Light Red 201 | # 2 Green 10 Light Green 202 | # 3 Brown 11 Yellow 203 | # 4 Blue 12 Light Blue 204 | # 5 Magenta 13 Light Magenta 205 | # 6 Cyan 14 Light Cyan 206 | # 7 White 15 Light White 207 | cursor.color: 11 208 | 209 | # 4) Cursor height (default: 100%) 210 | cursor.height: 100 211 | 212 | 213 | # 214 | # I. Bell configuration 215 | # 216 | 217 | # 1) Bell style (default: Off) 218 | # On, Off or Visible. 219 | bell.style: Off 220 | 221 | # 2) Bell duration (default: 125msec) 222 | bell.duration: 125 223 | 224 | # 3) Bell frequency (default: 750hz) 225 | bell.freq: 750 226 | 227 | # 4) Visible bell color (default: 15) 228 | # 0 Black 8 Grey 229 | # 1 Red 9 Light Red 230 | # 2 Green 10 Light Green 231 | # 3 Brown 11 Yellow 232 | # 4 Blue 12 Light Blue 233 | # 5 Magenta 13 Light Magenta 234 | # 6 Cyan 14 Light Cyan 235 | # 7 White 15 Light White 236 | bell.color: 15 237 | 238 | 239 | # 240 | # J. MTRR configuration 241 | # 242 | 243 | # 1) MTRR write-combining mode 244 | # On or Off. 245 | writecombine.mode: Off 246 | 247 | 248 | # 249 | # K. Other configuration 250 | # 251 | 252 | # 1) Font effect (default: Off) 253 | # Shadow or Off. 254 | font.effect: Off 255 | 256 | # 2) Font shadow color (default: 0) 257 | # 0 Black 8 Grey 258 | # 1 Red 9 Light Red 259 | # 2 Green 10 Light Green 260 | # 3 Brown 11 Yellow 261 | # 4 Blue 12 Light Blue 262 | # 5 Magenta 13 Light Magenta 263 | # 6 Cyan 14 Light Cyan 264 | # 7 White 15 Light White 265 | font.shadow.color: 0 266 | 267 | # 3) ANSI colors 268 | 269 | # Same as xterm-color 270 | color.0: rgb:1c/1c/1c 271 | color.8: rgb:50/50/50 272 | color.1: rgb:cd/5c/5c 273 | color.9: rgb:e5/50/5f 274 | color.2: rgb:8e/ae/71 275 | color.10: rgb:95/c7/49 276 | color.3: rgb:d2/b4/8c 277 | color.11: rgb:ff/a7/5d 278 | color.4: rgb:00/87/af 279 | color.12: rgb:64/95/ed 280 | color.5: rgb:7e/62/b3 281 | color.13: rgb:a4/88/d9 282 | color.6: rgb:5f/7b/8a 283 | color.14: rgb:00/af/d7 284 | color.7: rgb:66/5c/64 285 | color.15: rgb:ca/ca/ca 286 | 287 | # Reverse color 288 | #color.0: rgb:ff/ff/ff 289 | #color.1: rgb:55/ff/ff 290 | #color.2: rgb:ff/55/ff 291 | #color.3: rgb:55/55/ff 292 | #color.4: rgb:ff/ff/55 293 | #color.5: rgb:55/ff/55 294 | #color.6: rgb:ff/55/55 295 | #color.7: rgb:55/55/55 296 | #color.8: rgb:aa/aa/aa 297 | #color.9: rgb:00/aa/aa 298 | #color.10: rgb:aa/00/aa 299 | #color.11: rgb:00/00/aa 300 | #color.12: rgb:aa/55/00 301 | #color.13: rgb:00/aa/00 302 | #color.14: rgb:aa/00/00 303 | #color.15: rgb:00/00/00 304 | 305 | # 4) Video mode (default: 800x600x8) 306 | video.mode: 1280x800x16 307 | 308 | -------------------------------------------------------------------------------- /freebsd/loader.conf: -------------------------------------------------------------------------------- 1 | kern.ipc.shmseg=1024 2 | kern.ipc.shmmni=1024 3 | kern.maxproc=10000 4 | 5 | 6 | #beastie_disable="YES" 7 | #autoboot_delay="-1" 8 | #splash_load="YES" 9 | 10 | #bitmap_load="YES" 11 | #bitmap_name="/boot/modules/archbsd.bmp" 12 | #splash_bmp_load="YES" 13 | 14 | zfs_load="YES" 15 | vfs.root.mountfrom="zfs:tank/root" 16 | 17 | hint.sc.0.flags=0x0180 18 | hint.sc.0.vesa_mode=0x0117 19 | -------------------------------------------------------------------------------- /freebsd/make.conf: -------------------------------------------------------------------------------- 1 | # added by use.perl 2013-01-01 20:24:55 2 | PERL_VERSION=5.14.2 3 | 4 | WITHOUT_NOUVEAU=yes 5 | CPUTYPE?=core2 6 | CFLAGS=-O3 -pipe -funroll-loops -ffast-math -fno-strict-aliasing 7 | COPTFLAGS= -O2 -pipe -funroll-loops 8 | NO_CPU_CFLAGS=yes 9 | NO_CPU_COPTFLAGS=yes 10 | KERNCONF=BEASTIE 11 | OPTIMIZED_CFLAGS=YES 12 | # WITHOUT_X11=YES 13 | BUILD_OPTIMIZED_CFLAGS=yes 14 | WITHOUT_DEBUG=yes 15 | BUILD_STATIC=yes 16 | NO_PROFILE=yes 17 | NO_INET6=yes 18 | CC=clang 19 | CXX=clang++ 20 | CPP=clang-cpp 21 | NO_WERROR= 22 | WERROR= 23 | # WITH_NEW_XORG=true 24 | # WITH_KMS=true 25 | -------------------------------------------------------------------------------- /freebsd/rc.conf: -------------------------------------------------------------------------------- 1 | hostname="bsd.home.co" 2 | keymap="colemak.iso15.acc.kbd" 3 | wlans_urtw0="wlan0" 4 | ifconfig_wlan0="WPA DHCP" 5 | # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable 6 | dumpdev="NO" 7 | font8x16="iso15-thin-8x16" 8 | allscreens_flags="MODE_282" 9 | sendmail_enable="NONE" 10 | sendmail_msp_queue_enable="NO" 11 | sendmail_outbound_enable="NO" 12 | sendmail_submit_enable="NO" 13 | blanktime="NO" 14 | linux_enable="YES" 15 | hald_enable="YES" 16 | dbus_enable="YES" 17 | -------------------------------------------------------------------------------- /freebsd/sysctl.conf: -------------------------------------------------------------------------------- 1 | # $FreeBSD: release/9.1.0/etc/sysctl.conf 112200 2003-03-13 18:43:50Z mux $ 2 | # 3 | # This file is read when going to multi-user and its contents piped thru 4 | # ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for details. 5 | # 6 | 7 | # Uncomment this to prevent users from seeing information about processes that 8 | # are being run under another UID. 9 | #security.bsd.see_other_uids=0 10 | 11 | 12 | kern.ipc.shmmax=67108864 13 | kern.ipc.shmall=32768 14 | 15 | kern.sched.preempt_tresh=224 16 | 17 | kern.maxfiles=200000 18 | 19 | hw.syscons.bell=0 20 | -------------------------------------------------------------------------------- /freebsd/ttys: -------------------------------------------------------------------------------- 1 | # 2 | # $FreeBSD: release/9.1.0/etc/etc.amd64/ttys 220154 2011-03-30 08:22:29Z ed $ 3 | # @(#)ttys 5.1 (Berkeley) 4/17/89 4 | # 5 | # This file specifies various information about terminals on the system. 6 | # It is used by several different programs. Common entries for the 7 | # various columns include: 8 | # 9 | # name The name of the terminal device. 10 | # 11 | # getty The program to start running on the terminal. Typically a 12 | # getty program, as the name implies. Other common entries 13 | # include none, when no getty is needed, and xdm, to start the 14 | # X Window System. 15 | # 16 | # type The initial terminal type for this port. For hardwired 17 | # terminal lines, this will contain the type of terminal used. 18 | # For virtual consoles, the correct type is typically xterm. 19 | # Other common values include dialup for incoming modem ports, and 20 | # unknown when the terminal type cannot be predetermined. 21 | # 22 | # status Must be on or off. If on, init will run the getty program on 23 | # the specified port. If the word "secure" appears, this tty 24 | # allows root login. 25 | # 26 | # name getty type status comments 27 | # 28 | # If console is marked "insecure", then init will ask for the root password 29 | # when going to single-user mode. 30 | console none unknown off secure 31 | # 32 | ttyv0 "/usr/libexec/getty autologin" xterm on secure 33 | # Virtual terminals 34 | ttyv1 "/usr/libexec/getty Pc" xterm off secure 35 | ttyv2 "/usr/libexec/getty Pc" xterm off secure 36 | ttyv3 "/usr/libexec/getty Pc" xterm off secure 37 | ttyv4 "/usr/libexec/getty Pc" xterm off secure 38 | ttyv5 "/usr/libexec/getty Pc" xterm off secure 39 | ttyv6 "/usr/libexec/getty Pc" xterm off secure 40 | ttyv7 "/usr/libexec/getty Pc" xterm off secure 41 | ttyv8 "/usr/local/bin/xdm -nodaemon" xterm off secure 42 | # Serial terminals 43 | # The 'dialup' keyword identifies dialin lines to login, fingerd etc. 44 | ttyu0 "/usr/libexec/getty std.9600" dialup off secure 45 | ttyu1 "/usr/libexec/getty std.9600" dialup off secure 46 | ttyu2 "/usr/libexec/getty std.9600" dialup off secure 47 | ttyu3 "/usr/libexec/getty std.9600" dialup off secure 48 | # Dumb console 49 | dcons "/usr/libexec/getty std.9600" vt100 off secure 50 | -------------------------------------------------------------------------------- /freebsd/wpa_supplicant.conf: -------------------------------------------------------------------------------- 1 | ctrl_interface=/var/run/wpa_supplicant 2 | eapol_version=2 3 | ap_scan=1 4 | fast_reauth=1 5 | 6 | network={ 7 | ssid="bbox2-5f08" 8 | key_mgmt=NONE 9 | priority=5 10 | } 11 | network={ 12 | priority=5 13 | key_mgmt=NONE 14 | } 15 | -------------------------------------------------------------------------------- /irssi/config: -------------------------------------------------------------------------------- 1 | servers = ( 2 | { 3 | address = "nixers.net"; 4 | chatnet = "freenode"; 5 | port = "1025"; 6 | use_ssl = "no"; 7 | ssl_verify = "no"; 8 | autoconnect = "yes"; 9 | password = "youri/freenode:password"; 10 | }, 11 | { 12 | address = "nixers.net"; 13 | chatnet = "oftc"; 14 | port = "1025"; 15 | use_ssl = "no"; 16 | ssl_verify = "no"; 17 | autoconnect = "yes"; 18 | password = "youri/oftc:password"; 19 | }, 20 | { 21 | address = "nixers.net"; 22 | chatnet = "iotek"; 23 | port = "1025"; 24 | use_ssl = "no"; 25 | ssl_verify = "no"; 26 | autoconnect = "yes"; 27 | password = "youri/iotek:password"; 28 | }, 29 | { 30 | address = "nixers.net"; 31 | chatnet = "rizon"; 32 | port = "1025"; 33 | use_ssl = "no"; 34 | ssl_verify = "no"; 35 | autoconnect = "yes"; 36 | password = "youri/rizon:password"; 37 | } 38 | ); 39 | 40 | 41 | chatnets = { 42 | rizon = { type = "IRC"; }; 43 | freenode = { type = "IRC"; }; 44 | iotek = { type = "IRC"; }; 45 | oftc = { type = "IRC"; }; 46 | one = { type = "IRC"; }; 47 | unixhub = { type = "IRC"; }; 48 | nixers = { type = "IRC"; }; 49 | }; 50 | 51 | channels = ( ); 52 | 53 | aliases = { 54 | J = "join"; 55 | WJOIN = "join -window"; 56 | WQUERY = "query -window"; 57 | LEAVE = "part"; 58 | BYE = "quit"; 59 | EXIT = "quit"; 60 | SIGNOFF = "quit"; 61 | DESCRIBE = "action"; 62 | DATE = "time"; 63 | HOST = "userhost"; 64 | LAST = "lastlog"; 65 | SAY = "msg *"; 66 | WI = "whois"; 67 | WII = "whois $0 $0"; 68 | WW = "whowas"; 69 | W = "who"; 70 | N = "names"; 71 | M = "msg"; 72 | T = "topic"; 73 | C = "clear"; 74 | CL = "clear"; 75 | K = "kick"; 76 | KB = "kickban"; 77 | KN = "knockout"; 78 | BANS = "ban"; 79 | B = "ban"; 80 | MUB = "unban *"; 81 | UB = "unban"; 82 | IG = "ignore"; 83 | UNIG = "unignore"; 84 | SB = "scrollback"; 85 | UMODE = "mode $N"; 86 | WC = "window close"; 87 | WN = "window new hide"; 88 | SV = "say Irssi $J ($V) - http://irssi.org/"; 89 | GOTO = "sb goto"; 90 | CHAT = "dcc chat"; 91 | RUN = "SCRIPT LOAD"; 92 | CALC = "exec - if command -v bc >/dev/null 2>&1\\; then printf '%s=' '$*'\\; echo '$*' | bc -l\\; else echo bc was not found\\; fi"; 93 | SBAR = "STATUSBAR"; 94 | INVITELIST = "mode $C +I"; 95 | Q = "QUERY"; 96 | "MANUAL-WINDOWS" = "set use_status_window off;set autocreate_windows off;set autocreate_query_level none;set autoclose_windows off;set reuse_unused_windows on;save"; 97 | EXEMPTLIST = "mode $C +e"; 98 | ATAG = "WINDOW SERVER"; 99 | UNSET = "set -clear"; 100 | RESET = "set -default"; 101 | }; 102 | 103 | statusbar = { 104 | # formats: 105 | # when using {templates}, the template is shown only if it's argument isn't 106 | # empty unless no argument is given. for example {sb} is printed always, 107 | # but {sb $T} is printed only if $T isn't empty. 108 | 109 | items = { 110 | # start/end text in statusbars 111 | barstart = "{sbstart}"; 112 | barend = "{sbend}"; 113 | 114 | topicbarstart = "{topicsbstart}"; 115 | topicbarend = "{topicsbend}"; 116 | 117 | # treated "normally", you could change the time/user name to whatever 118 | time = "{sb $Z}"; 119 | user = "{sb {sbnickmode $cumode}$N{sbmode $usermode}{sbaway $A}}"; 120 | 121 | # treated specially .. window is printed with non-empty windows, 122 | # window_empty is printed with empty windows 123 | window = "{sb $winref:$tag/$itemname{sbmode $M}}"; 124 | window_empty = "{sb $winref{sbservertag $tag}}"; 125 | #prompt = "{prompt $[.15]itemname}"; 126 | #prompt = "$c >> "; 127 | #prompt = "$c%K └─ "; 128 | prompt = "$c %k$[-11]C %K└─ "; 129 | prompt_empty = "{prompt $winname}"; 130 | topic = " $topic"; 131 | topic_empty = " Irssi v$J - http://www.irssi.org"; 132 | 133 | # all of these treated specially, they're only displayed when needed 134 | lag = "{sb Lag: $0-}"; 135 | act = "{sb Act: $0-}"; 136 | more = "-- more --"; 137 | }; 138 | 139 | # there's two type of statusbars. root statusbars are either at the top 140 | # of the screen or at the bottom of the screen. window statusbars are at 141 | # the top/bottom of each split window in screen. 142 | default = { 143 | # the "default statusbar" to be displayed at the bottom of the window. 144 | # contains all the normal items. 145 | window = { 146 | disabled = "yes"; 147 | 148 | # window, root 149 | type = "window"; 150 | # top, bottom 151 | placement = "bottom"; 152 | # number 153 | position = "1"; 154 | # active, inactive, always 155 | visible = "active"; 156 | 157 | # list of items in statusbar in the display order 158 | items = { 159 | barstart = { priority = "100"; }; 160 | time = { }; 161 | user = { }; 162 | window = { }; 163 | window_empty = { }; 164 | lag = { priority = "-1"; }; 165 | more = { priority = "-1"; alignment = "right"; }; 166 | barend = { priority = "100"; alignment = "right"; }; 167 | }; 168 | }; 169 | 170 | # statusbar to use in inactive split windows 171 | window_inact = { 172 | type = "window"; 173 | placement = "bottom"; 174 | position = "1"; 175 | visible = "inactive"; 176 | items = { 177 | barstart = { priority = "100"; }; 178 | window = { }; 179 | window_empty = { }; 180 | more = { priority = "-1"; alignment = "right"; }; 181 | barend = { priority = "100"; alignment = "right"; }; 182 | }; 183 | }; 184 | 185 | # we treat input line as yet another statusbar :) It's possible to 186 | # add other items before or after the input line item. 187 | prompt = { 188 | type = "root"; 189 | placement = "bottom"; 190 | # we want to be at the bottom always 191 | position = "100"; 192 | visible = "always"; 193 | items = { 194 | prompt = { priority = "-1"; }; 195 | prompt_empty = { priority = "-1"; }; 196 | # treated specially, this is the real input line. 197 | input = { priority = "10"; }; 198 | }; 199 | }; 200 | 201 | # topicbar 202 | topic = { 203 | type = "root"; 204 | placement = "top"; 205 | position = "0"; 206 | visible = "inactive"; 207 | items = { 208 | topicbarstart = { priority = "100"; }; 209 | topic_empty = { }; 210 | topicbarend = { priority = "100"; alignment = "right"; }; 211 | }; 212 | disabled = "yes"; 213 | }; 214 | awl_0 = { 215 | placement = "top"; 216 | items = { 217 | barstart = { priority = "100"; }; 218 | awl_0 = { }; 219 | barend = { priority = "100"; alignment = "right"; }; 220 | }; 221 | }; 222 | awl_1 = { 223 | placement = "top"; 224 | items = { 225 | barstart = { priority = "100"; }; 226 | awl_1 = { }; 227 | barend = { priority = "100"; alignment = "right"; }; 228 | }; 229 | }; 230 | }; 231 | }; 232 | settings = { 233 | core = { 234 | real_name = "youri mouton"; 235 | user_name = "youri"; 236 | nick = "yrmt"; 237 | timestamp_format = ""; 238 | }; 239 | "fe-text" = { actlist_sort = "refnum"; }; 240 | "fe-common/core" = { theme = "irssi.theme"; timestamps = "no"; }; 241 | "perl/core/scripts" = { 242 | splitlong_max_length = "60"; 243 | awl_viewer = "no"; 244 | awl_mouse = "no"; 245 | awl_display_key = "%K$H $C $S"; 246 | awl_display_key_active = "$H %R$C $S"; 247 | awl_placement = "top"; 248 | awl_separator = "\\ "; 249 | }; 250 | }; 251 | ignores = ( 252 | { mask = "Jentuh"; level = "ALL"; }, 253 | { mask = "bokso"; level = "ALL"; } 254 | ); 255 | keyboard = ( ); 256 | -------------------------------------------------------------------------------- /irssi/irssi.theme: -------------------------------------------------------------------------------- 1 | # default foreground color (%N) - -1 is the "default terminal color" 2 | default_color = "-1"; 3 | 4 | # print timestamp/servertag at the end of line, not at beginning 5 | info_eol = "false"; 6 | 7 | # these characters are automatically replaced with specified color 8 | # (dark grey by default) 9 | replaces = { "[]" = "%g$*%n"; }; 10 | 11 | abstracts = { 12 | 13 | ############# generic ############################### 14 | 15 | #indent_default = " + "; 16 | indent_default = ""; 17 | 18 | # text to insert at the beginning of each non-message line 19 | # line_start = "%g//%n "; 20 | line_start = ""; 21 | 22 | # timestamp styling, nothing by default 23 | #timestamp = "%K$0-%n"; 24 | timestamp = ""; 25 | 26 | # any kind of text that needs hilighting, default is to bold 27 | hilight = "%_$*%_"; 28 | 29 | # any kind of error message, default is bright red 30 | error = "%R$*%n"; 31 | 32 | # channel name is printed 33 | channel = "%b$*%n"; 34 | 35 | # nick is printed 36 | #nick = "%_$*%_"; 37 | nick = ""; 38 | 39 | # nick host is printed 40 | nickhost = "%g$*"; 41 | 42 | # server name is printed 43 | server = "%_$*%_"; 44 | 45 | # some kind of comment is printed 46 | comment = "%n(%b\"$*\"%n);"; 47 | 48 | # reason for something is printed (part, quit, kick, ..) 49 | reason = "{comment $*}"; 50 | 51 | # mode change is printed ([+o nick]) 52 | mode = "{comment $*}"; 53 | 54 | ## channel specific messages 55 | 56 | # highlighted nick/host is printed (joins) 57 | channick_hilight = "%g$*%N"; 58 | chanhost_hilight = "{nickhost $*}"; 59 | 60 | # nick/host is printed (parts, quits, etc.) 61 | channick = "$*"; 62 | chanhost = "{nickhost $*}"; 63 | 64 | # highlighted channel name is printed 65 | channelhilight = "%g$*%n"; 66 | 67 | # ban/ban exception/invite list mask is printed 68 | ban = "$*"; 69 | 70 | ########### messages ################################# 71 | 72 | # the basic styling of how to print message, $0 = nick mode, $1 = nick 73 | # msgnick = "$1-$0%K·%N %|"; 74 | #msgnick = "%K$0%N $1 %K│ %|%N"; 75 | # msgnick = "%K$0%N $1 %K· %|%N"; 76 | msgnick = "%K%N $1 %K│ %N"; 77 | 78 | # $0 = nick mode, $1 = nick 79 | ownmsgnick = "{msgnick $0 $1}"; 80 | ownnick = "%Y$*%n"; 81 | 82 | # public message in channel, $0 = nick mode, $1 = nick 83 | pubmsgnick = "{msgnick $0 $1}"; 84 | pubnick = "%N$*%n"; 85 | 86 | # public highlighted message in channel 87 | pubmsghinick = "{msgnick $0 $1}%r"; 88 | menick = "%R$*%n"; 89 | 90 | # channel name is printed with message 91 | msgchannel = "%K:%m$*%n"; 92 | 93 | # private message, $0 = nick, $1 = host 94 | privmsg = "$0=%b\"$1-\"%n "; 95 | 96 | # private message from you, $0 = "msg", $1 = target nick 97 | ownprivmsg = "$0=%b\"$1-\"%n "; 98 | 99 | # private message in query 100 | # privmsgnick = "{msgnick $*}"; 101 | privmsgnick = " %g<%N "; 102 | 103 | # own private message in query 104 | #ownprivmsgnick = "{privmsgnick $*}"; 105 | ownprivmsgnick = " %r>%N "; 106 | #ownprivnick = "$*"; 107 | 108 | 109 | ########## Actions (/ME stuff) ######################### 110 | # used internally by this theme 111 | action_core = " %n$* │"; 112 | 113 | # generic one that's used by most actions 114 | action = "{action_core $*} "; 115 | 116 | # own action, both private/public 117 | ownaction = "{action %p$*}"; 118 | 119 | # own action with target, both private/public 120 | ownaction_target = "{action_core $0}%Y:%c$1%n "; 121 | 122 | # private action sent by others 123 | pvtaction = "%y (*) $*%n "; 124 | pvtaction_query = "{action $* }"; 125 | 126 | # public action sent by others 127 | pubaction = "{action $*}"; 128 | 129 | # generic one that's used by most actions 130 | # action = " %m$* │ %N%m"; 131 | 132 | # own action, both private/public 133 | # ownaction = "{action $*}"; 134 | # ownaction = " %m$* │ %N%m"; 135 | 136 | # own action with target, both private/public 137 | # ownaction_target = " {action $*}"; 138 | 139 | # private action sent by others 140 | # pvtaction = "{ $*}"; 141 | # pvtaction_query = "{ $*}"; 142 | 143 | # public action sent by others 144 | # pubaction = " {action}"; 145 | 146 | 147 | ########## other IRC events ############################# 148 | 149 | # whois 150 | whois = "%# $[8]0 = $1-;"; 151 | 152 | # notices 153 | ownnotice = "%NNote n = %Mnew%n $0 ($1-) "; 154 | notice = "%M$*%n "; 155 | pubnotice_channel = " %N($*)"; 156 | pvtnotice_host = " %N($*)"; 157 | servernotice = " %N($*)"; 158 | 159 | # CTCPs 160 | ownctcp = "%NCTCP c = %Mnew%n $0 ($1-) "; 161 | ctcp = "%N$*%n"; 162 | 163 | # wallops 164 | wallop = "%K$*%n: "; 165 | wallop_nick = "%n$*"; 166 | wallop_action = "%K * $*%n "; 167 | 168 | # netsplits 169 | netsplit = " %Knsplit %R│ %b\"$*\"%n"; 170 | netjoin = " %Knjoin %G│ %b\"$*\"%n"; 171 | 172 | # /names list 173 | names_prefix = " %Y│%n "; 174 | names_nick = "%_$2$0%_%n$1- "; 175 | names_nick_op = "{names_nick $* %R}"; 176 | names_nick_halfop = "{names_nick $* %C}"; 177 | names_nick_voice = "{names_nick $* %K}"; 178 | names_users = " %Y│%n $1"; 179 | names_channel = "\"%b$*\"%n"; 180 | 181 | # DCC 182 | dcc = "%g$*%n"; 183 | dccfile = "%_$*%_"; 184 | 185 | # DCC chat, own msg/action 186 | dccownmsg = "%g /* $0 ($1-) */"; 187 | dccownnick = "$*%n"; 188 | dccownquerynick = "$*%n"; 189 | dccownaction = "{action $*}"; 190 | dccownaction_target = "{action $*}"; 191 | 192 | # DCC chat, others 193 | dccmsg = "%g/* $1- ($0) */"; 194 | dccquerynick = "%g$*%n"; 195 | dccaction = "{action $*}"; 196 | 197 | ######## statusbar/topicbar ############################ 198 | 199 | # default background for all statusbars. You can also give 200 | # the default foreground color for statusbar items. 201 | sb_background = "%9"; 202 | 203 | # default backround for "default" statusbar group 204 | #sb_default_bg = "%4"; 205 | # background for prompt / input line 206 | sb_prompt_bg = "%n"; 207 | # background for info statusbar 208 | #sb_info_bg = "%8"; 209 | # background for topicbar (same default) 210 | #sb_topic_bg = "%4"; 211 | 212 | # text at the beginning of statusbars. sb-item already puts 213 | # space there,so we don't use anything by default. 214 | sbstart = ""; 215 | # text at the end of statusbars. Use space so that it's never 216 | # used for anything. 217 | sbend = ""; 218 | 219 | topicsbstart = "%BChannel: %b\"$*"; 220 | topicsbend = "$*%b\""; 221 | 222 | prompt = " %r» %n "; 223 | 224 | sb = "$*"; 225 | sbmode = " %K%g%g+%n$*%K"; 226 | sbaway = " %g/* zZzZ */%n"; 227 | sbservertag = ":%g$0%n"; 228 | sbnickmode = "$0"; 229 | 230 | # Usercount 231 | sb_usercount = "{sb %_$0%_ nicks ($1-)}"; 232 | sb_uc_ircops = "%_*%_$*"; 233 | sb_uc_ops = "%_@%r$*%n"; 234 | sb_uc_halfops = "%_%%%g$*%n"; 235 | sb_uc_voices = "%_+%y$*%n"; 236 | sb_uc_normal = "%w$*%n"; 237 | sb_uc_space = " "; 238 | # activity in statusbar 239 | 240 | # ',' separator 241 | sb_act_sep = " "; 242 | # normal text 243 | sb_act_text = "%K%9$*%n"; 244 | # public message 245 | sb_act_msg = "%Y%9$*%n"; 246 | # hilight 247 | sb_act_hilight = "%R%9$*%n"; 248 | # hilight with specified color, $0 = color, $1 = text 249 | sb_act_hilight_color = "%R%9$1-%n"; 250 | }; 251 | 252 | ######################################################## 253 | 254 | formats = { 255 | "fe-common/core" = { 256 | line_start = "{line_start}"; 257 | line_start_irssi = "{line_start}"; 258 | 259 | join = " join %g│ %n {channick $0}"; 260 | part = " part %r│ %n {channick $0}"; 261 | kick = " kicked %r│ %n {channick $0}"; 262 | quit = " quit %r│ %n {channick $0}"; 263 | quit_once = "{channel $3} {channick $0} {chanhost $1} %kquit {reason %C$2}"; 264 | 265 | nick_changed = "%K{channick $[-13]0}%G│ %n {channick $1}"; 266 | your_nick_changed = "%K you %G│ %n {channick $1}"; 267 | 268 | pubmsg = "{pubmsgnick $2 {pubnick \00304$[-11]0}}$1"; 269 | 270 | own_msg = "{ownmsgnick $2 {ownnick $[-11]0}}$1"; 271 | own_msg_channel = "{ownmsgnick $3 {ownnick $[-11]0}{msgchannel $1}}$2"; 272 | own_msg_private_query = "{ownprivmsgnick {ownprivnick $[-11]2}}$1"; 273 | 274 | pubmsg_me = "{pubmsghinick $2 {menick $[-11]0}}$1"; 275 | pubmsg_me_channel = "{pubmsghinick $3 {menick $[-11]0}{msgchannel $1}}$2"; 276 | 277 | pubmsg_hilight = "{pubmsghinick $3 {menick $[-11]1}}$2"; 278 | pubmsg_hilight_channel = "{pubmsghinick $0 $[-11]1$4{msgchannel $2}}$3"; 279 | 280 | pubmsg_channel = "{pubmsgnick {pubnick %G$[-11]0}$2}$1"; 281 | msg_private_query = "{privmsgnick $[-11]0}$2"; 282 | new_topic = " %ctopic %K│ %B'$2' %non %b$1%n%K[set by {channick $1}]"; 283 | 284 | endofnames = " names %Y│%m Total: {hilight $2} ops, {hilight $3} halfops, {hilight $4} voices, {hilight $5} normal%n"; 285 | }; 286 | "fe-common/irc" = { 287 | chanmode_change = " mode %y│ %n {channick $1}"; 288 | server_chanmode_change = "% mode %y│ %n {channick $1}"; 289 | 290 | own_action = "{ownaction $[-11]0} $1"; 291 | action_private = "{pvtaction $[-11]0}$1"; 292 | action_private_query = "{pvtaction_query $[-11]0} $2"; 293 | action_public = "{pubaction $[-11]0}$1"; 294 | }; 295 | }; 296 | -------------------------------------------------------------------------------- /mk.conf: -------------------------------------------------------------------------------- 1 | # Example /usr/pkg/etc/mk.conf file produced by bootstrap-pkgsrc 2 | # Tue Oct 15 21:21:46 CEST 2013 3 | 4 | .ifdef BSD_PKG_MK # begin pkgsrc settings 5 | 6 | DISTDIR= /pkgsrc/distfiles 7 | PACKAGES= /pkgsrc/packages 8 | WRKOBJDIR= /pkgsrc/work 9 | ABI= 64 10 | PKGSRC_COMPILER= clang 11 | CC= clang 12 | CXX= clang++ 13 | CPP= ${CC} -E 14 | 15 | PKG_DBDIR= /var/db/pkg 16 | LOCALBASE= /usr/pkg 17 | VARBASE= /var 18 | PKG_TOOLS_BIN= /usr/pkg/sbin 19 | PKGINFODIR= info 20 | PKGMANDIR= man 21 | BINPKG_SITES= http://pkgsrc.saveosx.org/Darwin/2013Q4/x86_64 22 | DEPENDS_TARGET= bin-install 23 | X11_TYPE=modular 24 | TOOLS_PLATFORM.awk?= /usr/pkg/bin/nawk 25 | TOOLS_PLATFORM.sed?= /usr/pkg/bin/nbsed 26 | ALLOW_VULNERABLE_PACKAGES= yes 27 | MAKE_JOBS= 8 28 | SKIP_LICENSE_CHECK= yes 29 | PKG_DEVELOPER=YES 30 | SIGN_PACKAGES= gpg 31 | PKG_DEFAULT_OPTIONS+= -pulseaudio -x264 -imlib2-amd64 -dconf -ffcall 32 | MAKEVERBOSE= 1 33 | USE_CWRAPPERS= yes 34 | .endif # end pkgsrc settings 35 | -------------------------------------------------------------------------------- /ncmpc.config: -------------------------------------------------------------------------------- 1 | # 2 | # ncmpcpp config 3 | # 4 | 5 | mpd_music_dir = "~/Music" 6 | mpd_crossfade_time = "5" 7 | mpd_host = "0.0.0.0" 8 | mpd_port = "1337" 9 | # Visualizer 10 | visualizer_fifo_path = "/tmp/mpd.fifo" 11 | visualizer_output_name = "my_fifo" 12 | visualizer_type = "wave" (spectrum/wave) 13 | 14 | # Playlist 15 | song_columns_list_format = "(3f)[black]{n} (40)[default]{t|f} (25)[red]{a} (30)[blue]{b} (4f)[black]{l}" 16 | #"$L(9)[black]{l} (20)[red]{a} (30)[blue]{b} $L(20)[default]{t}" 17 | now_playing_prefix = "$b" 18 | now_playing_suffix = "$/b" 19 | playlist_display_mode = "columns" (classic/columns) 20 | autocenter_mode = "yes" 21 | centered_cursor = "no" 22 | cyclic_scrolling = "no" 23 | mouse_list_scroll_whole_page = "no" 24 | #song_list_format = "{$8$9}{[%l] >> }{%t }$R{%a - %b}" 25 | song_list_format = "$1$9%l$1$9 $1¦$9 $2%a$9 $1¦$9 $5%b$9 $R$1$9%t$1$9 $1¦$9 $1%n$9" 26 | # $0$8$8%l$0$8 $1¦$7 $7%a$7 $1¦$7 $6%t$1 $R $1%b$1" 27 | song_library_format = "{%n > }{%t}|{%f}" 28 | 29 | # Bars 30 | song_status_format = "{%a - }{%t - }{%b}" 31 | #"$8%t $1• $2%a $1•{ $5%b $1• }$7%y$1" 32 | #progressbar_look = "||]" 33 | #progressbar_look = "-? " 34 | #"-??" 35 | titles_visibility = "no" 36 | header_visibility = "no" 37 | statusbar_visibility = "no" 38 | #now_playing_prefix = "?" 39 | 40 | # Browser 41 | browser_playlist_prefix = "$2plist »$9 " 42 | browser_display_mode = "columns" (classic/columns) 43 | 44 | # Colors 45 | discard_colors_if_item_is_selected = "yes" 46 | header_window_color = "black" 47 | volume_color = "cyan" 48 | state_line_color = "black" 49 | state_flags_color = "green" 50 | main_window_color = "default" 51 | color1 = "default" 52 | color2 = "green" 53 | main_window_highlight_color = "red" 54 | progressbar_color = "black" 55 | statusbar_color = "black" 56 | active_column_color = "red" 57 | visualizer_color = "cyan" 58 | 59 | # Others 60 | song_window_title_format = "MPD: {%a > }{%t}{ [%b{ Disc %d}]}|{%f}" 61 | search_engine_display_mode = "columns" (classic/columns) 62 | follow_now_playing_lyrics = "yes" 63 | display_screens_numbers_on_start = "no" 64 | # vim: set ts=2 sw=2 tw=0 : 65 | progressbar_look = "─ " 66 | -------------------------------------------------------------------------------- /ncmpcppconfig: -------------------------------------------------------------------------------- 1 | # 2 | # ncmpcpp config 3 | # 4 | 5 | mpd_music_dir = "~/Music" 6 | mpd_crossfade_time = "5" 7 | mpd_host = "0.0.0.0" 8 | mpd_port = "1337" 9 | # Visualizer 10 | visualizer_fifo_path = "/tmp/mpd.fifo" 11 | visualizer_output_name = "my_fifo" 12 | visualizer_type = "wave" (spectrum/wave) 13 | 14 | # Playlist 15 | song_columns_list_format = "(3f)[black]{n} (40)[default]{t|f} (25)[red]{a} (30)[blue]{b} (4f)[black]{l}" 16 | #"$L(9)[black]{l} (20)[red]{a} (30)[blue]{b} $L(20)[default]{t}" 17 | now_playing_prefix = "$b" 18 | now_playing_suffix = "$/b" 19 | playlist_display_mode = "columns" (classic/columns) 20 | autocenter_mode = "yes" 21 | centered_cursor = "no" 22 | cyclic_scrolling = "no" 23 | mouse_list_scroll_whole_page = "no" 24 | #song_list_format = "{$8$9}{[%l] >> }{%t }$R{%a - %b}" 25 | song_list_format = "$1$9%l$1$9 $1¦$9 $2%a$9 $1¦$9 $5%b$9 $R$1$9%t$1$9 $1¦$9 $1%n$9" 26 | # $0$8$8%l$0$8 $1¦$7 $7%a$7 $1¦$7 $6%t$1 $R $1%b$1" 27 | song_library_format = "{%n > }{%t}|{%f}" 28 | 29 | # Bars 30 | song_status_format = "{%a - }{%t - }{%b}" 31 | #"$8%t $1• $2%a $1•{ $5%b $1• }$7%y$1" 32 | #progressbar_look = "||]" 33 | #progressbar_look = "-? " 34 | #"-??" 35 | titles_visibility = "no" 36 | header_visibility = "no" 37 | statusbar_visibility = "no" 38 | #now_playing_prefix = "?" 39 | 40 | # Browser 41 | browser_playlist_prefix = "$2plist »$9 " 42 | browser_display_mode = "columns" (classic/columns) 43 | 44 | # Colors 45 | discard_colors_if_item_is_selected = "yes" 46 | header_window_color = "black" 47 | volume_color = "cyan" 48 | state_line_color = "black" 49 | state_flags_color = "green" 50 | main_window_color = "default" 51 | color1 = "default" 52 | color2 = "green" 53 | main_window_highlight_color = "red" 54 | progressbar_color = "black" 55 | statusbar_color = "black" 56 | active_column_color = "red" 57 | visualizer_color = "cyan" 58 | 59 | # Others 60 | song_window_title_format = "MPD: {%a > }{%t}{ [%b{ Disc %d}]}|{%f}" 61 | search_engine_display_mode = "columns" (classic/columns) 62 | follow_now_playing_lyrics = "yes" 63 | display_screens_numbers_on_start = "no" 64 | # vim: set ts=2 sw=2 tw=0 : 65 | progressbar_look = "─ " 66 | -------------------------------------------------------------------------------- /netbsd/.mlterm/font-fb: -------------------------------------------------------------------------------- 1 | #DEFAULT=/usr/pkg/lib/X11/font/efont/b16.pcf.gz 2 | 3 | ISO8859_1=/usr/X11R7/lib/X11/fonts/misc/terminus12.pcf 4 | JISX0201_KATA=/usr/X11R7/lib/X11/fonts/misc/8x16rk.pcf.gz 5 | JISX0208_1983=/usr/X11R7/lib/X11/fonts/misc/jiskan16.pcf.gz 6 | 7 | JISX0213_2000_1=&JISX0208_1983 8 | JISX0213_2000_2=&JISX0208_1983 9 | 10 | # using pkgsrc/fonts/jisx0213fonts 11 | #JISX0213_2000_1=/usr/pkg/lib/X11/fonts/local/jiskan16-2000-1.pcf.gz 12 | #JISX0213_2000_2=/usr/pkg/lib/X11/fonts/local/jiskan16-2000-2.pcf.gz 13 | 14 | # using pkgsrc/fonts/efont-unicode 15 | ISO10646_UCS4_1=/usr/pkg/lib/X11/fonts/efont/b16.pcf.gz 16 | ISO10646_UCS4_1_BIWIDTH=&ISO10646_UCS4_1 17 | -------------------------------------------------------------------------------- /netbsd/.mlterm/main: -------------------------------------------------------------------------------- 1 | ENCODING = UTF-8 2 | geometry = 80x25 3 | fontsize = 16 4 | use_xim = true 5 | input_method = xim 6 | xim_open_in_startup = true 7 | iso88591_font_for_usascii = true 8 | not_use_unicode_font = true 9 | #use_dynamic_comb = true 10 | use_multi_column_char = true 11 | col_size_of_width_a = 2 12 | use_variable_column_width = false 13 | #scrollbar_mode = left 14 | scrollbar_mode = none 15 | fg_color = #808080 16 | bg_color = #212121 17 | cursor_fg_color = #fedd26 18 | use_bold_font=false 19 | wall_picture = /home/youri/edgebsd-artwork/splash/yrmt-splash-1024x768-01.png 20 | -------------------------------------------------------------------------------- /netbsd/.zshrc: -------------------------------------------------------------------------------- 1 | # 2 | # yrmt's zshrc. 3 | # 4 | # October 2013. 5 | # 6 | # 7 | # 8 | # 9 | # TimeZone 10 | export TZ=Europe/Brussels 11 | 12 | # Locale 13 | #export LANG=en_US.UTF-8 14 | #export LC_CTYPE=en_US.UTF-8 15 | #export LC_ALL= 16 | 17 | 18 | # Colored ManPages 19 | export LESS_TERMCAP_mb=$'\E[01;31m' 20 | export LESS_TERMCAP_md=$'\E[01;31m' 21 | export LESS_TERMCAP_me=$'\E[0m' 22 | export LESS_TERMCAP_se=$'\E[0m' 23 | export LESS_TERMCAP_so=$'\E[01;44;33m' 24 | export LESS_TERMCAP_ue=$'\E[0m' 25 | export LESS_TERMCAP_us=$'\E[01;32m' 26 | 27 | export PAGER=less 28 | 29 | # history 30 | HISTFILE=$HOME/.zsh-history 31 | HISTSIZE=3000 32 | SAVEHIST=10000 # nice for logging 33 | setopt extended_history 34 | setopt share_history 35 | function history-all { history -E 1 } 36 | 37 | # Term variable 38 | #export TERM=rxvt-256color 39 | export TERM=wsvt25 40 | 41 | # path 42 | export PATH=/usr/pkg/lib/cw:/sbin/:/usr/X11R7/bin:/Volumes/pkgsrc/pkg/bin:/Volumes/pkgsrc/pkg/sbin:/usr/local/homebrew/bin:~/bin:$PATH:/usr/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/libexec:/opt/local/bin:/opt/local/sbin:/usr/local/mysql/bin:/usr/pkg/bin:/usr/pkg/sbin 43 | export MANPATH="/usr/share/man:/usr/pkg/man:$MANPATH" 44 | 45 | # Go env 46 | export GOROOT=~/go 47 | export GOPATH=~/gopath 48 | export PATH=$GOROOT/bin:$PATH 49 | export PATH=$GOPATH/bin:$PATH 50 | # abbreviation for later use 51 | export EDITOR=vim 52 | export PAGER=less 53 | 54 | ### OPTIONS ### 55 | #setopt PROMPT_SUBST 56 | setopt autopushd 57 | setopt NOTIFY 58 | #setopt NO_FLOW_CONTROL 59 | setopt APPEND_HISTORY 60 | # setopt AUTO_LIST # these two should be turned off 61 | # setopt AUTO_REMOVE_SLASH 62 | # setopt AUTO_RESUME # tries to resume command of same name 63 | unsetopt BG_NICE # do NOT nice bg commands 64 | setopt EXTENDED_HISTORY # puts timestamps in the history 65 | setopt HASH_CMDS # turns on hashing 66 | setopt HIST_ALLOW_CLOBBER 67 | setopt HIST_REDUCE_BLANKS 68 | setopt INC_APPEND_HISTORY SHARE_HISTORY 69 | setopt ALL_EXPORT 70 | 71 | # Set/unset shell options 72 | setopt notify globdots pushdtohome cdablevars autolist 73 | setopt autocd recexact longlistjobs 74 | setopt autoresume histignoredups pushdsilent noclobber 75 | setopt autopushd pushdminus extendedglob rcquotes mailwarning 76 | unsetopt bgnice autoparamslash 77 | 78 | # Autoload zsh modules when they are referenced 79 | zmodload -a zsh/stat stat 80 | zmodload -a zsh/zpty zpty 81 | zmodload -a zsh/zprof zprof 82 | #zmodload -ap zsh/mapfile mapfile 83 | 84 | ## display fancy terminal title 85 | 86 | # completion 87 | autoload -U compinit 88 | compinit 89 | 90 | ## 91 | ## completion 92 | ## 93 | # Completion Styles 94 | zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31' 95 | # list of completers to use 96 | #zstyle ':completion:*::::' completer _expand _complete _ignored _approximate 97 | #NEW completion: 98 | # 1. All /etc/hosts hostnames are in autocomplete 99 | # 2. If you have a comment in /etc/hosts like #%foobar.domain, 100 | # then foobar.domain will show up in autocomplete! 101 | zstyle ':completion:*' hosts $(awk '/^[^#]/ {print $2 $3" "$4" "$5}' /etc/hosts | grep -v ip6- && grep "^#%" /etc/hosts | awk -F% '{print $2}') 102 | # match uppercase from lowercase 103 | zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' 104 | # offer indexes before parameters in subscripts 105 | #zstyle ':completion:*:*:-subscript-:*' tag-order indexes parameters 106 | # command for process lists, the local web server details and host completion 107 | zstyle '*' hosts $hosts 108 | # ignore completion functions (until the _ignored completer) 109 | zstyle ':completion:*:functions' ignored-patterns '_*' 110 | zstyle ':completion:*:scp:*' tag-order \ 111 | files users 'hosts:-host hosts:-domain:domain hosts:-ipaddr"IP\ Address *' 112 | zstyle ':completion:*:scp:*' group-order \ 113 | files all-files users hosts-domain hosts-host hosts-ipaddr 114 | zstyle ':completion:*:ssh:*' tag-order \ 115 | users 'hosts:-host hosts:-domain:domain hosts:-ipaddr"IP\ Address *' 116 | zstyle ':completion:*:ssh:*' group-order \ 117 | hosts-domain hosts-host users hosts-ipaddr 118 | #zstyle '*' single-ignored show 119 | 120 | 121 | # Prompt 122 | PROMPT=' 123 | %B%F{black}> %f' 124 | 125 | ### 126 | # 127 | # Live coloring. 128 | # 129 | ### 130 | 131 | ZLE_RESERVED_WORD_STYLE='fg=yellow,bold' 132 | ZLE_ALIAS_STYLE='fg=magenta,bold' 133 | ZLE_BUILTIN_STYLE='fg=cyan,bold' 134 | ZLE_FUNCTION_STYLE='fg=blue,bold' 135 | ZLE_COMMAND_STYLE='fg=green,bold' 136 | ZLE_COMMAND_UNKNOWN_TOKEN_STYLE='fg=red,bold' 137 | 138 | ZLE_HYPHEN_CLI_OPTION='fg=yellow,bold' 139 | ZLE_DOUBLE_HYPHEN_CLI_OPTION='fg=green,bold' 140 | ZLE_SINGLE_QUOTED='fg=magenta,bold' 141 | ZLE_DOUBLE_QUOTED='fg=red,bold' 142 | ZLE_BACK_QUOTED='fg=cyan,bold' 143 | ZLE_GLOBING='fg=blue,bold' 144 | 145 | ZLE_DEFAULT='fg=white,bold' 146 | 147 | ZLE_TOKENS_FOLLOWED_BY_COMMANDS=('|' '||' ';' '&' '&&' 'sudo' 'start' 'time' 'strace' '§') 148 | 149 | # Recolorize the current ZLE buffer. 150 | colorize-zle-buffer() { 151 | region_highlight=() 152 | colorize=true 153 | start_pos=0 154 | for arg in ${(z)BUFFER}; do 155 | ((start_pos+=${#BUFFER[$start_pos+1,-1]}-${#${BUFFER[$start_pos+1,-1]## #}})) 156 | ((end_pos=$start_pos+${#arg})) 157 | if $colorize; then 158 | colorize=false 159 | res=$(LC_ALL=C builtin type $arg 2>/dev/null) 160 | case $res in 161 | *'reserved word'*) style=$ZLE_RESERVED_WORD_STYLE;; 162 | *'an alias'*) style=$ZLE_ALIAS_STYLE;; 163 | *'shell builtin'*) style=$ZLE_BUILTIN_STYLE;; 164 | *'shell function'*) style=$ZLE_FUNCTION_STYLE;; 165 | *"$cmd is"*) style=$ZLE_COMMAND_STYLE;; 166 | *) style=$ZLE_COMMAND_UNKNOWN_TOKEN_STYLE;; 167 | esac 168 | else 169 | case $arg in 170 | '--'*) style=$ZLE_DOUBLE_HYPHEN_CLI_OPTION;; 171 | '-'*) style=$ZLE_HYPHEN_CLI_OPTION;; 172 | "'"*"'") style=$ZLE_SINGLE_QUOTED;; 173 | '"'*'"') style=$ZLE_DOUBLE_QUOTED;; 174 | '`'*'`') style=$ZLE_BACK_QUOTED;; 175 | *"*"*) style=$ZLE_GLOBING;; 176 | *) style=$ZLE_DEFAULT;; 177 | esac 178 | fi 179 | region_highlight+=("$start_pos $end_pos $style") 180 | [[ ${${ZLE_TOKENS_FOLLOWED_BY_COMMANDS[(r)${arg//|/\|}]}:+yes} = 'yes' ]] && colorize=true 181 | start_pos=$end_pos 182 | done 183 | } 184 | 185 | # Bind the function to ZLE events. 186 | ZLE_COLORED_FUNCTIONS=( 187 | self-insert 188 | delete-char 189 | backward-delete-char 190 | kill-word 191 | backward-kill-word 192 | up-line-or-history 193 | down-line-or-history 194 | beginning-of-history 195 | end-of-history 196 | undo 197 | redo 198 | yank 199 | ) 200 | 201 | for f in $ZLE_COLORED_FUNCTIONS; do 202 | eval "$f() { zle .$f && colorize-zle-buffer } ; zle -N $f" 203 | done 204 | 205 | # create an expansion widget which mimics the original "expand-or-complete" (you can see the default setup using "zle -l -L") 206 | zle -C orig-expand-or-complete .expand-or-complete _main_complete 207 | 208 | # use the orig-expand-or-complete inside the colorize function (for some reason, using the ".expand-or-complete" widget doesn't work the same) 209 | expand-or-complete() { builtin zle orig-expand-or-complete && colorize-zle-buffer } 210 | zle -N expand-or-complete 211 | 212 | # mutt background fix 213 | COLORFGBG="default;default" 214 | 215 | 216 | ### 217 | # 218 | # Shell aliases. 219 | # 220 | ### 221 | alias wifi='open -a "Wireless Network Utility"' 222 | alias cro='open -a "Chromium"' 223 | alias o='open .' 224 | alias xerg='launchctl start com.beastie.startx' 225 | alias top='top -o cpu ' 226 | alias solaris="sudo ssh -X ymouton@sunset.info.fundp.ac.be -D 80" 227 | alias grep='grep --color' 228 | alias mplay='mplayer -msgmodule -msgcolor -aspect 16:9' 229 | alias w4m='w3m -cookie' 230 | alias w5m='w3m -cookie unixhub.net' 231 | alias xel='xelatex -interaction=nonstopmode' 232 | alias hmp='pkg_info|wc -l' 233 | #alias ls='ls -G' 234 | alias ls='gls --color=auto' 235 | alias l='ls -lah' 236 | alias up=' rsync -avhz --progress /Users/yrmt/downloads/pkgsrc/packages/ root@saveosx.org:/usr/local/www/saveosx/packages/Darwin/2013Q2/x86_64/' 237 | alias pup='sudo pkgin up' 238 | alias pin='sudo pkgin -y in' 239 | alias pav='pkgin av' 240 | alias pls='pkgin ls' 241 | alias sauce='source ~/.zshrc' 242 | alias spc='spc -c /etc/supercat/spcrc-c' 243 | alias mipc='sudo make install package clean' 244 | alias mc='sudo make clean' 245 | alias ext='sudo make extract' 246 | alias mdi='sudo make mdi' 247 | 248 | ### 249 | # 250 | # Shell functions. 251 | # 252 | ### 253 | 254 | if [[ $TERM == xterm-termite ]]; then 255 | . /etc/profile.d/vte.sh 256 | 257 | __vte_ps1 258 | 259 | chpwd() { 260 | __vte_ps1 261 | } 262 | fi 263 | 264 | findsym () { 265 | [[ -z $1 ]] && return 1 266 | SYMBOL=$1 267 | LIBDIR=${2:-/usr/lib} 268 | for lib in $LIBDIR/*.dylib 269 | do 270 | nm $lib &> /dev/null | grep -q $SYMBOL && \ 271 | print "symbol found in $lib\n -L$LIBDIR -l${${lib:t:r}#lib}" 272 | done 273 | } 274 | 275 | upb () { 276 | cd ~/downloads/git/blog; 277 | jekyll build 2>/dev/null; 278 | rsync -ahz _site/* root@saveosx.org:/usr/local/www/saveosx/blog/; 279 | git add -A; 280 | git commit -m 'update'; 281 | git push --quiet; 282 | cd -; 283 | } 284 | 285 | gpb () { 286 | COM=$1 287 | git add *; 288 | git add .*; 289 | git commit -m $COM; 290 | git push --quiet; 291 | } 292 | 293 | cl () { 294 | cd $1; 295 | ls 296 | } 297 | 298 | add () { 299 | echo "Uploading the package to remote server..."; 300 | scp $1 ssx:/usr/local/www/saveosx/packages/Darwin/2013Q2/x86_64/All/ 2>/dev/null; 301 | echo "Updating the package summary..."; 302 | ssh ssx 'cd /usr/local/www/saveosx/packages/Darwin/2013Q2/x86_64/All/; 303 | rm pkg_summary.gz; 304 | /pkginfo -X *.tgz | gzip -9 > pkg_summary.gz'; 305 | echo "Package uploaded, I'll update your pkgin..."; 306 | sudo pkgin update; 307 | } 308 | 309 | case $TERM in 310 | rxvt-256color*) 311 | precmd () {print -Pn "\e]0; %~\a"} 312 | ;; 313 | esac 314 | 315 | ### 316 | # 317 | # Key setup for Colemak on an HHKB. 318 | # 319 | ### 320 | bindkey '^E' backward-char 321 | bindkey "^P" up-line-or-search 322 | bindkey "^N" down-line-or-search 323 | bindkey "^A" beginning-of-line 324 | bindkey "^O" end-of-line 325 | 326 | ### 327 | # 328 | # LS colors for gnu ls and gnu dircolors. 329 | # 330 | # ## 331 | LS_COLORS='bd=38;5;68:ca=38;5;17:cd=38;5;113;1:di=38;5;30:do=38;5;127:ex=38;5;166;1:pi=38;5;126:fi=38;5;253:ln=target:mh=38;5;220;1:or=48;5;196;38;5;232;1:ow=38;5;220;1:sg=48;5;234;38;5;100;1:su=38;5;137:so=38;5;197:st=38;5;86;48;5;234:tw=48;5;235;38;5;139;3:*LS_COLORS=48;5;89;38;5;197;1;3;4;7:*.BAT=38;5;108:*.PL=38;5;160:*.asm=38;5;240;1:*.awk=38;5;148;1:*.bash=38;5;173:*.bat=38;5;108:*.c=38;5;110:*.cc=38;5;24;1:*.ii=38;5;24;1:*.cfg=1:*.cl=38;5;204;1:*.coffee=38;5;94;1:*.conf=1:*.C=38;5;24;1:*.cp=38;5;24;1:*.cpp=38;5;24;1:*.cxx=38;5;24;1:*.c++=38;5;24;1:*.ii=38;5;24;1:*.cs=38;5;74;1:*.css=38;5;91:*.csv=38;5;78:*.ctp=38;5;95:*.diff=48;5;197;38;5;232:*.enc=38;5;192;3:*.eps=38;5;192:*.etx=38;5;172:*.ex=38;5;148;1:*.example=38;5;225;1:*.git=38;5;197:*.gitignore=38;5;240:*.go=38;5;36;1:*.h=38;5;81:*.H=38;5;81:*.hpp=38;5;81:*.hxx=38;5;81:*.h++=38;5;81:*.tcc=38;5;81:*.f=38;5;81:*.for=38;5;81:*.ftn=38;5;81:*.s=38;5;81:*.S=38;5;81:*.sx=38;5;81:*.hi=38;5;240:*.hs=38;5;155;1:*.htm=38;5;125;1:*.html=38;5;125;1:*.info=38;5;101:*.ini=38;5;122:*.java=38;5;142;1:*.jhtm=38;5;125;1:*.js=38;5;42:*.jsm=38;5;42:*.jsm=38;5;42:*.json=38;5;199:*.jsp=38;5;45:*.lisp=38;5;204;1:*.log=38;5;190:*.lua=38;5;34;1:*.m=38;5;130;3:*.mht=38;5;129:*.mm=38;5;130;3:*.M=38;5;130;3:*.map=38;5;58;3:*.markdown=38;5;184:*.md=38;5;184:*.mf=38;5;220;3:*.mfasl=38;5;73:*.mi=38;5;124:*.mkd=38;5;184:*.mtx=38;5;36;3:*.nfo=38;5;220:*.o=38;5;240:*.pacnew=38;5;33:*.patch=48;5;197;38;5;232;1:*.pc=38;5;100:*.pfa=38;5;43:*.php=38;5;93:*.pl=38;5;214:*.plt=38;5;204;1:*.pm=38;5;197;1:*.pod=38;5;172;1:*.py=38;5;41:*.pyc=38;5;240:*.rb=38;5;192:*.rdf=38;5;144:*.rst=38;5;67:*.ru=38;5;142:*.scm=38;5;204;1:*.sed=38;5;130;1:*.sfv=38;5;197:*.sh=38;5;113:*.signature=38;5;206:*.sql=38;5;222:*.srt=38;5;116:*.sty=38;5;58:*.sug=38;5;44:*.t=38;5;28;1:*.tcl=38;5;64;1:*.tdy=38;5;214:*.tex=38;5;172:*.textile=38;5;106:*.tfm=38;5;64:*.tfnt=38;5;140:*.theme=38;5;109:*.txt=38;5;192:*.urlview=38;5;85:*.vim=1:*.viminfo=38;5;240;1:*.xml=38;5;199:*.yml=38;5;208:*.zsh=38;5;173:*README=38;5;220;1:*Makefile=38;5;196:*MANIFEST=38;5;243:*pm_to_blib=38;5;240:*.1=38;5;196;1:*.3=38;5;196;1:*.7=38;5;196;1:*.1p=38;5;160:*.3p=38;5;160:*.am=38;5;242:*.in=38;5;242:*.old=38;5;242:*.out=38;5;46;1:*.bmp=38;5;62:*.cdr=38;5;59:*.gif=38;5;72:*.ico=38;5;73:*.jpeg=38;5;66:*.jpg=38;5;66:*.JPG=38;5;66:*.png=38;5;68;1:*.svg=38;5;24;1:*.xpm=38;5;36:*.32x=38;5;137:*.A64=38;5;82:*.a00=38;5;11:*.a52=38;5;112:*.a64=38;5;82:*.a78=38;5;112:*.adf=38;5;35:*.atr=38;5;213:*.cdi=38;5;124:*.fm2=38;5;35:*.gb=38;5;203:*.gba=38;5;205:*.gbc=38;5;204:*.gel=38;5;83:*.gg=38;5;138:*.ggl=38;5;83:*.j64=38;5;102:*.nds=38;5;193:*.nes=38;5;160:*.rom=38;5;59;1:*.sav=38;5;220:*.sms=38;5;33:*.st=38;5;208;1:*.iso=38;5;124:*.nrg=38;5;124:*.qcow=38;5;141:*.VOB=38;5;137:*.IFO=38;5;240:*.BUP=38;5;241:*.MOV=38;5;42:*.3gp=38;5;134:*.3g2=38;5;133:*.asf=38;5;25:*.avi=38;5;114:*.divx=38;5;112:*.f4v=38;5;125:*.flv=38;5;131:*.m2v=38;5;166:*.mkv=38;5;202:*.mov=38;5;42:*.mp4=38;5;124:*.mpg=38;5;38:*.mpeg=38;5;38:*.ogm=38;5;97:*.ogv=38;5;94:*.rmvb=38;5;112:*.sample=38;5;130;1:*.ts=38;5;39:*.vob=38;5;137:*.webm=38;5;109:*.wmv=38;5;113:*.S3M=38;5;71;1:*.aac=38;5;137:*.cue=38;5;112:*.dat=38;5;165:*.dts=38;5;100;1:*.fcm=38;5;41:*.flac=38;5;166;1:*.m3u=38;5;172:*.m4=38;5;196;3:*.m4a=38;5;137;1:*.mid=38;5;102:*.midi=38;5;102:*.mod=38;5;72:*.mp3=38;5;191:*.oga=38;5;95:*.ogg=38;5;96:*.s3m=38;5;71;1:*.sid=38;5;69;1:*.spl=38;5;173:*.wv=38;5;149:*.wvc=38;5;149:*.afm=38;5;58:*.pfb=38;5;58:*.pfm=38;5;58:*.ttf=38;5;66:*.pcf=38;5;65:*.psf=38;5;64:*.bak=38;5;41;1:*.bin=38;5;249:*.pid=38;5;160:*.state=38;5;124:*.swo=38;5;236:*.swp=38;5;241:*.tmp=38;5;244:*.un~=38;5;240:*.zcompdump=38;5;240:*.zwc=38;5;240:*.db=38;5;60:*.dump=38;5;119:*.sqlite=38;5;60:*.typelib=38;5;60:*.7z=38;5;40:*.a=38;5;46:*.apk=38;5;172;3:*.arj=38;5;41:*.bz2=38;5;44:*.deb=38;5;215:*.ipk=38;5;117:*.jad=38;5;50:*.jar=38;5;51:*.nth=38;5;40:*.sis=38;5;39:*.part=38;5;239;1:*.r00=38;5;239:*.r01=38;5;239:*.r02=38;5;239:*.r03=38;5;239:*.r04=38;5;239:*.r05=38;5;239:*.r06=38;5;239:*.r07=38;5;239:*.r08=38;5;239:*.r09=38;5;239:*.r10=38;5;239:*.r100=38;5;239:*.r101=38;5;239:*.r102=38;5;239:*.r103=38;5;239:*.r104=38;5;239:*.r105=38;5;239:*.r106=38;5;239:*.r107=38;5;239:*.r108=38;5;239:*.r109=38;5;239:*.r11=38;5;239:*.r110=38;5;239:*.r111=38;5;239:*.r112=38;5;239:*.r113=38;5;239:*.r114=38;5;239:*.r115=38;5;239:*.r116=38;5;239:*.r12=38;5;239:*.r13=38;5;239:*.r14=38;5;239:*.r15=38;5;239:*.r16=38;5;239:*.r17=38;5;239:*.r18=38;5;239:*.r19=38;5;239:*.r20=38;5;239:*.r21=38;5;239:*.r22=38;5;239:*.r25=38;5;239:*.r26=38;5;239:*.r27=38;5;239:*.r28=38;5;239:*.r29=38;5;239:*.r30=38;5;239:*.r31=38;5;239:*.r32=38;5;239:*.r33=38;5;239:*.r34=38;5;239:*.r35=38;5;239:*.r36=38;5;239:*.r37=38;5;239:*.r38=38;5;239:*.r39=38;5;239:*.r40=38;5;239:*.r41=38;5;239:*.r42=38;5;239:*.r43=38;5;239:*.r44=38;5;239:*.r45=38;5;239:*.r46=38;5;239:*.r47=38;5;239:*.r48=38;5;239:*.r49=38;5;239:*.r50=38;5;239:*.r51=38;5;239:*.r52=38;5;239:*.r53=38;5;239:*.r54=38;5;239:*.r55=38;5;239:*.r56=38;5;239:*.r57=38;5;239:*.r58=38;5;239:*.r59=38;5;239:*.r60=38;5;239:*.r61=38;5;239:*.r62=38;5;239:*.r63=38;5;239:*.r64=38;5;239:*.r65=38;5;239:*.r66=38;5;239:*.r67=38;5;239:*.r68=38;5;239:*.r69=38;5;239:*.r69=38;5;239:*.r70=38;5;239:*.r71=38;5;239:*.r72=38;5;239:*.r73=38;5;239:*.r74=38;5;239:*.r75=38;5;239:*.r76=38;5;239:*.r77=38;5;239:*.r78=38;5;239:*.r79=38;5;239:*.r80=38;5;239:*.r81=38;5;239:*.r82=38;5;239:*.r83=38;5;239:*.r84=38;5;239:*.r85=38;5;239:*.r86=38;5;239:*.r87=38;5;239:*.r88=38;5;239:*.r89=38;5;239:*.r90=38;5;239:*.r91=38;5;239:*.r92=38;5;239:*.r93=38;5;239:*.r94=38;5;239:*.r95=38;5;239:*.r96=38;5;239:*.r97=38;5;239:*.r98=38;5;239:*.r99=38;5;239:*.rar=38;5;106;1:*.tar=38;5;118:*.tar.gz=38;5;34:*.tgz=38;5;35;1:*.xz=38;5;118:*.zip=38;5;41:*.pdf=38;5;203:*.djvu=38;5;141:*.cbr=38;5;140:*.cbz=38;5;140:*.chm=38;5;144:*.odt=38;5;111:*.ods=38;5;112:*.odp=38;5;166:*.odb=38;5;161:*.allow=38;5;112:*.deny=38;5;196:*.SKIP=38;5;244:*.def=38;5;136:*.directory=38;5;83:*.err=38;5;160;1:*.error=38;5;160;1:*.pi=38;5;126:*.properties=38;5;197;1:*.torrent=38;5;58:*.gp3=38;5;114:*.gp4=38;5;115:*.tg=38;5;99:*.pcap=38;5;29:*.cap=38;5;29:*.dmp=38;5;29:*.service=38;5;81:*@.service=38;5;45:*.socket=38;5;75:*.device=38;5;24:*.mount=38;5;115:*.automount=38;5;114:*.swap=38;5;113:*.target=38;5;73:*.path=38;5;116:*.timer=38;5;111:*.snapshot=38;5;139:'; 332 | export LS_COLORS 333 | 334 | if [ `/usr/bin/tty` = '/dev/ttyE0' ]; then 335 | #startx --:7: 2> /dev/null & 336 | #mlterm-fb -e zsh 337 | fi 338 | 339 | -------------------------------------------------------------------------------- /netbsd/boot.cfg: -------------------------------------------------------------------------------- 1 | menu=Boot normally:rndseed /var/db/entropy-file;vesa 1280x1024;boot netbsd 2 | menu=Boot single user:rndseed /var/db/entropy-file;boot netbsd -s 3 | menu=Disable ACPI:rndseed /var/db/entropy-file;boot netbsd -2 4 | menu=Disable ACPI and SMP:rndseed /var/db/entropy-file;boot netbsd -12 5 | menu=Drop to boot prompt:prompt 6 | default=1 7 | timeout=5 8 | clear=1 9 | -------------------------------------------------------------------------------- /netbsd/rc.conf: -------------------------------------------------------------------------------- 1 | # $NetBSD: rc.conf,v 1.96 2000/10/14 17:01:29 wiz Exp $ 2 | # 3 | # see rc.conf(5) for more information. 4 | # 5 | # Use program=YES to enable program, NO to disable it. program_flags are 6 | # passed to the program on the command line. 7 | # 8 | 9 | # Load the defaults in from /etc/defaults/rc.conf (if it's readable). 10 | # These can be overridden below. 11 | # 12 | if [ -r /etc/defaults/rc.conf ]; then 13 | . /etc/defaults/rc.conf 14 | fi 15 | 16 | # If this is not set to YES, the system will drop into single-user mode. 17 | # 18 | rc_configured=YES 19 | # Add local overrides below 20 | hostname="net.yrmt.bsd" 21 | rpcbind=YES 22 | dbus=YES 23 | hal=YES 24 | wscons=YES 25 | update_motd=NO 26 | ampd=YES 27 | wpa_supplicant=YES 28 | wpa_supplicant_flags="-B -iurtw0 -c/etc/wpa_supplicant.conf" 29 | -------------------------------------------------------------------------------- /netbsd/wpa_supplicant.conf: -------------------------------------------------------------------------------- 1 | ctrl_interface=/var/run/wpa_supplicant 2 | ctrl_interface_group=wheel 3 | update_config=1 4 | 5 | network={ 6 | ssid="bbox2-a818" 7 | key_mgmt=NONE 8 | } 9 | -------------------------------------------------------------------------------- /rc.conf: -------------------------------------------------------------------------------- 1 | # $NetBSD: rc.conf.example,v 1.2 2003/06/23 07:02:16 grant Exp $ 2 | # 3 | # see rc.conf(5) for more information. 4 | # 5 | # Use program=YES to enable program, NO to disable it. program_flags are 6 | # passed to the program on the command line. 7 | # 8 | # On osx install pkgtools/rc.subr 9 | # spawn-fcgi, php-5.4.26, ... 10 | 11 | pgsql=YES 12 | nginx=YES 13 | spawnfcgi=YES 14 | spawnfcgi_jobs="job1" 15 | spawnfcgi_job1_command="/usr/pkg/libexec/cgi-bin/php" 16 | spawnfcgi_job1_args="" 17 | spawnfcgi_job1_user="www" 18 | spawnfcgi_job1_group="www" 19 | spawnfcgi_job1_socket="" 20 | spawnfcgi_job1_address="127.0.0.1" 21 | spawnfcgi_job1_port="9000" 22 | spawnfcgi_job1_children="4" 23 | -------------------------------------------------------------------------------- /userChrome.css: -------------------------------------------------------------------------------- 1 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 2 | 3 | #appmenu-toolbar-button{ 4 | display: none !important; 5 | } 6 | 7 | .tabbrowser-tab[fadein]:not([pinned]){ 8 | min-width: 0px !important; 9 | max-width: 2000px !important; 10 | } 11 | 12 | #urlbar .autocomplete-history-dropmarker{ 13 | display: none !important; 14 | } 15 | 16 | #BMB_viewBookmarksToolbar, #BMB_viewBookmarksToolbar+menuseparator, 17 | #BMB_bookmarksShowAll, #BMB_bookmarksShowAll+menuseparator, 18 | #BMB_bookmarkThisPage, 19 | #BMB_subscribeToPageMenuitem, 20 | #BMB_subscribeToPageMenupopup, #BMB_subscribeToPageMenupopup+menuseparator, 21 | #BMB_bookmarksToolbar, #BMB_bookmarksToolbar+menuseparator, 22 | #BMB_bookmarksPopup menuseparator[builder="end"], 23 | #BMB_unsortedBookmarks{ 24 | display:none !important; 25 | } 26 | 27 | #tabbrowser-tabs { 28 | background: #080808 !important; 29 | border: none !important; 30 | padding-left: 0px !important; 31 | padding-right: 0px !important; 32 | padding-bottom: 0px !important; 33 | border-bottom: 0px solid #bdbdbd !important; 34 | } 35 | 36 | .tabbrowser-tab { 37 | border: 0px solid #808080 !important; 38 | border-left: 1px solid #808080 !important; 39 | border-right: 1px solid #808080 !important; 40 | border-radius: 0px !important; 41 | padding-left: 0px !important; 42 | padding-right: 0px !important; 43 | background: #080808 !important; 44 | margin-bottom: 0px !important; 45 | margin: 0px !important; 46 | box-shadow: 0px 0px 0px rgba(0,0,0,0.07) !important; 47 | } 48 | 49 | 50 | .tabbrowser-tab[selected=true], .tabbrowser-tab[selected=true]:hover { 51 | box-shadow: inset 0px 0px 0px rgba(0,0,0,0.12) !important; 52 | background: #080808 !important; 53 | }#urlbar > #urlbar-icons > #star-button 54 | { 55 | display: none !important; 56 | }#urlbar > #urlbar-icons > #star-button 57 | { 58 | display: none !important; 59 | }#content browser { margin-right:-14px!important; overflow-y:scroll; overflow-x:hidden;} 60 | .tab-icon-image { 61 | visibility: hidden!important; 62 | margin-left: -8px; 63 | } 64 | .tabbrowser-tab { 65 | height: 15px !important; 66 | min-height: 15px !important; 67 | max-height: 15px !important; 68 | } 69 | .tab-image-right, .tab-image-left, .tab-image-middle { 70 | min-height: 15px !important; 71 | max-height: 15px !important; 72 | } 73 | .tab-close-button > .toolbarbutton-icon { 74 | display: none!important; 75 | } 76 | .tabbrowser-arrowscrollbox > .scrollbutton-up, 77 | .tabbrowser-arrowscrollbox .scrollbutton-down, 78 | .tabbrowser-arrowscrollbox .scrollbutton-down-box, 79 | .tabbrowser-tabs .tabs-alltabs-box, 80 | .tabbrowser-tabs .tabs-alltabs-box-animate, 81 | .tabbrowser-tabs .tabs-alltabs-button { 82 | height: 15px !important; 83 | margin: 1px !important; 84 | } 85 | #urlbar .autocomplete-history-dropmarker { display:none!important; } 86 | #urlbar-go-button { display:none!important; }#urlbar-reload-button { display: none !important; }#urlbar-stop-button { display: none !important; } 87 | 88 | .autocomplete-history-dropmarker { display: none !important; }#go-button { display:none !important; }.tabbrowser-arrowscrollbox > .tabs-newtab-button { 89 | display: none; 90 | } 91 | #tabbrowser-tabs ~ #alltabs-button { display:none #important; } 92 | tabbrowser toolbarbutton[class^="scrollbutton"], 93 | #tab-throbber, #identity-box, #TabsToolbar toolbarbutton[class^="scrollbutton"] 94 | { 95 | display: none !important; 96 | }#urlbar { 97 | max-height: 15px; 98 | background: none!important; 99 | -moz-appearance: none!important; 100 | } 101 | #urlbar-container { background-color: #333;!important; max-height: 15px!important; } 102 | #main-window { height: 15px;} 103 | #back-button .toolbarbutton-icon, 104 | #forward-button .toolbarbutton-icon, 105 | #reload-button .toolbarbutton-icon, 106 | #urlbar-reload-button .toolbarbutton-icon, 107 | #stop-button .toolbarbutton-icon, 108 | #urlbar-stop-button .toolbarbutton-icon, 109 | #tabbrowser-tabs tab .tab-close-button .toolbarbutton-icon, 110 | #new-tab-button .toolbarbutton-icon, 111 | /* BUTTONS */ 112 | #back-button .toolbarbutton-icon, 113 | #forward-button .toolbarbutton-icon, 114 | #reload-button .toolbarbutton-icon, 115 | #urlbar-reload-button .toolbarbutton-icon, 116 | #stop-button .toolbarbutton-icon, 117 | #urlbar-stop-button .toolbarbutton-icon, 118 | #tabbrowser-tabs tab .tab-close-button .toolbarbutton-icon, 119 | #new-tab-button .toolbarbutton-icon, 120 | #appmenu-button .button-icon 121 | { 122 | list-style-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEIAAAALCAYAAADLA1tMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA5xJREFUeNrsVk1IG0EU3s3mx1RXY2qxaa0ULFakUogUESUnPaS0Wlo1oifbQ0AUDx704EGIeBAkUXOzEq0/kHpose2h2IbexUKLFA8VokIPKaghrfmpyfa9dELHcTai0FsXNpPZ+d43b9773tsVFUUR/l+CoM38EUWRXZPg1sCdgjuJDzJBI9gT61kukeyFNgrBJ8n/NC9waii+FGWr9vzUdcKb8VWifBVpG8RpVByXent7rywtLSX6+voKeAB8juuII5sIKk5qAZs/OzvrWVxc3Jufn38zPT39hASGjr5mYWEh0NTUVEDxSTgHuy+Ei5tMWP9IJ5W9enp6isDX+OTk5H3CfcKGR64dGhq6UVtbu7OxsXFzYmIizCPH57iOOMRzHNE0NzcXwsE/GAyGYgjE4MrKyrWDgwOvTqezQTAeMwFMra+vO9rb27/bbDYZ5rq6urpch8OxOzMzc0dFDZlsl2VJhuD1eiM4ms1mNySlGLlZGzYQksvlulVZWbm5trZ2fXR0dCuL7JO4jjjEox1NDGuXW1pa3oI0S6uqql5Fo9Ejv9+/Bwp6HYlElnNyclrZQLjd7tDY2JjZ6XRuw9zY3d39rbOz81IgEIhwykWPGLgNsEd6JHO9mnrC4bDParW6MRDE5m/t0nXf1dWV19jYGIHM3B4fH9+Exwm25jj9RN/f319RXV39aXV1Vfb5fD8yzjY0NBQBZxAcGITDvxgYGNhFc1BKUVtb2zYc0gzzGFXLAsmWEaQc7ujowDKJwv1LpRzKyIHEP+4piN0CXiuMRxTvBeD7CXxmUOjLUCj0zGKxPIV5Lqwdps+FP9SbQyJGcciGhZUbg03jEYd4tOPI0zA3N/fe4/E8pDKlnZqaegAOvSNZPLY/9IRCOCSWYz7wHoGUr3J4aUWYAIdqMbGKoHiNBJOHZQx7f4W5QnwWeM0SyyAGkTLV19cHQe4VWWoPy6gCcYhHO04ZJROJxHOTyfQIDn8XlHARxnuyLLfGYrFlBq+x2+0y9IQg9IRSVAKWSU1Nzfbw8DDrR4qoFRUQJ0qIk3mC108IJjkyMhLc3993CRyAwPmWwAAZscsTqfKwOrJuzNLRUZc6aIxOVADgD3HEOeEVqcyl5Q4dvph+a5SXl8uojJKSEr3KHnqw+0yUIPBKmcGIRCEKrUhRpe6572cGe9r7nQ5G5j0unvM7QiL4835HsJhjnLwekfU6C/Ys17/6uj3LuX4LMACwT+lvQQrZSgAAAABJRU5ErkJggg==")!important; 123 | } 124 | #back-button .toolbarbutton-icon 125 | { 126 | -moz-image-region:rect(0, 11px, 11px, 0)!important; 127 | } 128 | #forward-button .toolbarbutton-icon 129 | { 130 | -moz-image-region:rect(0, 22px, 11px, 11px)!important; 131 | } 132 | #nav-bar { 133 | background-image: none !important; 134 | background-color: #333!important; 135 | border: none !important; 136 | padding: 0 !important; 137 | max-height: 15px!important; 138 | border-top: 1px solid #333333!important; 139 | padding-top: 1.45px!important; 140 | padding-right: 2px!important; 141 | } 142 | 143 | /*change the ugly throbber*/ 144 | .tab-throbber[progress] { 145 | list-style-image: url("chrome://browser/skin/places/searching_16.png")!important; 146 | } 147 | -------------------------------------------------------------------------------- /weechat/irc.conf: -------------------------------------------------------------------------------- 1 | # 2 | # irc.conf -- weechat v0.4.1 3 | # 4 | 5 | [look] 6 | buffer_switch_autojoin = on 7 | buffer_switch_join = on 8 | color_nicks_in_names = off 9 | color_nicks_in_nicklist = off 10 | color_nicks_in_server_messages = on 11 | color_pv_nick_like_channel = on 12 | ctcp_time_format = "%a, %d %b %Y %T %z" 13 | display_away = local 14 | display_ctcp_blocked = on 15 | display_ctcp_reply = on 16 | display_ctcp_unknown = on 17 | display_host_join = on 18 | display_host_join_local = on 19 | display_host_quit = on 20 | display_join_message = "329,332,333,366" 21 | display_old_topic = on 22 | display_pv_away_once = on 23 | display_pv_back = on 24 | highlight_channel = "$nick" 25 | highlight_pv = "$nick" 26 | highlight_server = "$nick" 27 | highlight_tags = "irc_privmsg,irc_notice" 28 | item_away_message = on 29 | item_channel_modes_hide_key = off 30 | item_display_server = buffer_plugin 31 | item_nick_modes = on 32 | item_nick_prefix = on 33 | msgbuffer_fallback = current 34 | new_channel_position = none 35 | new_pv_position = none 36 | nick_color_force = "" 37 | nick_color_stop_chars = "_|[" 38 | nick_completion_smart = speakers 39 | nick_mode = prefix 40 | nick_mode_empty = off 41 | nicks_hide_password = "nickserv" 42 | notice_as_pv = auto 43 | notify_tags_ison = "notify_message" 44 | notify_tags_whois = "notify_message" 45 | part_closes_buffer = off 46 | pv_buffer = independent 47 | raw_messages = 256 48 | server_buffer = merge_with_core 49 | smart_filter = on 50 | smart_filter_delay = 5 51 | smart_filter_join = on 52 | smart_filter_join_unmask = 30 53 | smart_filter_nick = on 54 | smart_filter_quit = on 55 | topic_strip_colors = off 56 | 57 | [color] 58 | input_nick = lightcyan 59 | item_away = yellow 60 | item_channel_modes = default 61 | item_lag_counting = default 62 | item_lag_finished = yellow 63 | message_join = green 64 | message_quit = red 65 | mirc_remap = "1,-1:darkgray" 66 | nick_prefixes = "q:lightred;a:lightcyan;o:lightgreen;h:lightmagenta;v:yellow;*:lightblue" 67 | notice = green 68 | reason_quit = default 69 | topic_new = white 70 | topic_old = darkgray 71 | 72 | [network] 73 | alternate_nick = on 74 | autoreconnect_delay_growing = 2 75 | autoreconnect_delay_max = 1800 76 | colors_receive = on 77 | colors_send = on 78 | lag_check = 60 79 | lag_min_show = 500 80 | lag_reconnect = 0 81 | lag_refresh_interval = 1 82 | notify_check_ison = 1 83 | notify_check_whois = 5 84 | send_unknown_commands = off 85 | whois_double_nick = on 86 | 87 | [msgbuffer] 88 | 89 | [ctcp] 90 | 91 | [ignore] 92 | 93 | [server_default] 94 | addresses = "" 95 | anti_flood_prio_high = 2 96 | anti_flood_prio_low = 2 97 | autoconnect = off 98 | autojoin = "" 99 | autoreconnect = on 100 | autoreconnect_delay = 10 101 | autorejoin = off 102 | autorejoin_delay = 30 103 | away_check = 0 104 | away_check_max_nicks = 25 105 | capabilities = "" 106 | command = "" 107 | command_delay = 0 108 | connection_timeout = 60 109 | default_msg_part = "WeeChat %v" 110 | default_msg_quit = "WeeChat %v" 111 | ipv6 = on 112 | local_hostname = "" 113 | nicks = "yrmt,yrmt1,yrmt2,yrmt3,yrmt4" 114 | notify = "" 115 | password = "" 116 | proxy = "" 117 | realname = "" 118 | sasl_mechanism = plain 119 | sasl_password = "" 120 | sasl_timeout = 15 121 | sasl_username = "" 122 | ssl = off 123 | ssl_cert = "" 124 | ssl_dhkey_size = 2048 125 | ssl_priorities = "NORMAL" 126 | ssl_verify = on 127 | username = "yrmt" 128 | 129 | [server] 130 | freenode.addresses = "chat.freenode.net/6667" 131 | freenode.proxy 132 | freenode.ipv6 133 | freenode.ssl 134 | freenode.ssl_cert 135 | freenode.ssl_priorities 136 | freenode.ssl_dhkey_size 137 | freenode.ssl_verify 138 | freenode.password 139 | freenode.capabilities 140 | freenode.sasl_mechanism 141 | freenode.sasl_username 142 | freenode.sasl_password 143 | freenode.sasl_timeout 144 | freenode.autoconnect 145 | freenode.autoreconnect 146 | freenode.autoreconnect_delay 147 | freenode.nicks 148 | freenode.username 149 | freenode.realname 150 | freenode.local_hostname 151 | freenode.command 152 | freenode.command_delay 153 | freenode.autojoin 154 | freenode.autorejoin 155 | freenode.autorejoin_delay 156 | freenode.connection_timeout 157 | freenode.anti_flood_prio_high 158 | freenode.anti_flood_prio_low 159 | freenode.away_check 160 | freenode.away_check_max_nicks 161 | freenode.default_msg_part 162 | freenode.default_msg_quit 163 | freenode.notify 164 | uh.addresses = "irc.unixhub.net" 165 | uh.proxy 166 | uh.ipv6 167 | uh.ssl 168 | uh.ssl_cert 169 | uh.ssl_priorities 170 | uh.ssl_dhkey_size 171 | uh.ssl_verify 172 | uh.password 173 | uh.capabilities 174 | uh.sasl_mechanism 175 | uh.sasl_username 176 | uh.sasl_password 177 | uh.sasl_timeout 178 | uh.autoconnect = on 179 | uh.autoreconnect 180 | uh.autoreconnect_delay 181 | uh.nicks = "yrmt,yrmt-,yrmt_" 182 | uh.username 183 | uh.realname = "yrmt" 184 | uh.local_hostname 185 | uh.command = "/msg nickserv identify popkek123" 186 | uh.command_delay 187 | uh.autojoin = "#unixhub" 188 | uh.autorejoin 189 | uh.autorejoin_delay 190 | uh.connection_timeout 191 | uh.anti_flood_prio_high 192 | uh.anti_flood_prio_low 193 | uh.away_check 194 | uh.away_check_max_nicks 195 | uh.default_msg_part 196 | uh.default_msg_quit 197 | uh.notify 198 | -------------------------------------------------------------------------------- /weechat/weechat.conf: -------------------------------------------------------------------------------- 1 | # 2 | # weechat.conf -- weechat v0.4.1 3 | # 4 | 5 | [debug] 6 | 7 | [startup] 8 | command_after_plugins = "/buffer clear" 9 | command_before_plugins = "" 10 | display_logo = off 11 | display_version = off 12 | sys_rlimit = "" 13 | 14 | [look] 15 | align_end_of_lines = message 16 | bar_more_down = " [+] " 17 | bar_more_left = " [-] " 18 | bar_more_right = " [+] " 19 | bar_more_up = " [-] " 20 | buffer_notify_default = all 21 | buffer_time_format = " " 22 | color_basic_force_bold = off 23 | color_inactive_buffer = off 24 | color_inactive_message = on 25 | color_inactive_prefix = on 26 | color_inactive_prefix_buffer = on 27 | color_inactive_time = off 28 | color_inactive_window = off 29 | color_nick_offline = off 30 | color_pairs_auto_reset = 5 31 | color_real_white = off 32 | command_chars = "" 33 | confirm_quit = off 34 | day_change = on 35 | day_change_time_format = "%a, %d %b %Y" 36 | eat_newline_glitch = on 37 | highlight = "" 38 | highlight_regex = "" 39 | highlight_tags = "" 40 | hotlist_add_buffer_if_away = on 41 | hotlist_buffer_separator = ", " 42 | hotlist_count_max = 2 43 | hotlist_count_min_msg = 2 44 | hotlist_names_count = 3 45 | hotlist_names_length = 0 46 | hotlist_names_level = 12 47 | hotlist_names_merged_buffers = off 48 | hotlist_short_names = on 49 | hotlist_sort = group_time_asc 50 | hotlist_unique_numbers = on 51 | input_cursor_scroll = 20 52 | input_share = none 53 | input_share_overwrite = off 54 | input_undo_max = 32 55 | item_buffer_filter = "*" 56 | item_time_format = "%H:%M" 57 | jump_current_to_previous_buffer = on 58 | jump_previous_buffer_when_closing = on 59 | jump_smart_back_to_buffer = on 60 | mouse = off 61 | mouse_timer_delay = 100 62 | nick_prefix = "" 63 | nick_suffix = "" 64 | paste_bracketed = off 65 | paste_bracketed_timer_delay = 10 66 | paste_max_lines = 5 67 | prefix_action = "*" 68 | prefix_align = right 69 | prefix_align_max = 9 70 | prefix_align_min = 0 71 | prefix_align_more = "+" 72 | prefix_align_more_after = on 73 | prefix_buffer_align = right 74 | prefix_buffer_align_max = 0 75 | prefix_buffer_align_more = "+" 76 | prefix_buffer_align_more_after = on 77 | prefix_error = " !" 78 | prefix_join = " >" 79 | prefix_network = " @" 80 | prefix_quit = " <" 81 | prefix_same_nick = "" 82 | prefix_suffix = "│" 83 | read_marker = line 84 | read_marker_always_show = off 85 | read_marker_string = "- " 86 | save_config_on_exit = on 87 | save_layout_on_exit = all 88 | scroll_amount = 3 89 | scroll_bottom_after_switch = off 90 | scroll_page_percent = 100 91 | search_text_not_found_alert = on 92 | separator_horizontal = "─" 93 | separator_vertical = "│" 94 | set_title = on 95 | time_format = "%a, %d %b %Y %T" 96 | window_separator_horizontal = on 97 | window_separator_vertical = on 98 | 99 | [palette] 100 | 100 = "" 101 | 101 = "" 102 | 102 = "" 103 | 103 = "" 104 | 104 = "" 105 | 105 = "" 106 | 106 = "" 107 | 107 = "" 108 | 108 = "" 109 | 109 = "" 110 | 110 = "" 111 | 111 = "" 112 | 112 = "" 113 | 113 = "" 114 | 114 = "" 115 | 115 = "" 116 | 116 = "" 117 | 117 = "" 118 | 118 = "" 119 | 119 = "" 120 | 120 = "" 121 | 121 = "" 122 | 122 = "" 123 | 123 = "" 124 | 124 = "" 125 | 125 = "" 126 | 126 = "" 127 | 127 = "" 128 | 128 = "" 129 | 129 = "" 130 | 130 = "" 131 | 131 = "" 132 | 132 = "" 133 | 133 = "" 134 | 134 = "" 135 | 135 = "" 136 | 136 = "" 137 | 137 = "" 138 | 138 = "" 139 | 139 = "" 140 | 140 = "" 141 | 141 = "" 142 | 142 = "" 143 | 143 = "" 144 | 144 = "" 145 | 145 = "" 146 | 146 = "" 147 | 147 = "" 148 | 148 = "" 149 | 149 = "" 150 | 150 = "" 151 | 151 = "" 152 | 152 = "" 153 | 153 = "" 154 | 154 = "" 155 | 155 = "" 156 | 156 = "" 157 | 157 = "" 158 | 158 = "" 159 | 159 = "" 160 | 160 = "" 161 | 161 = "" 162 | 162 = "" 163 | 163 = "" 164 | 164 = "" 165 | 165 = "" 166 | 166 = "" 167 | 167 = "" 168 | 168 = "" 169 | 169 = "" 170 | 17 = "" 171 | 170 = "" 172 | 171 = "" 173 | 172 = "" 174 | 173 = "" 175 | 174 = "" 176 | 175 = "" 177 | 176 = "" 178 | 177 = "" 179 | 178 = "" 180 | 179 = "" 181 | 18 = "" 182 | 180 = "" 183 | 181 = "" 184 | 182 = "" 185 | 183 = "" 186 | 184 = "" 187 | 185 = "" 188 | 186 = "" 189 | 187 = "" 190 | 188 = "" 191 | 189 = "" 192 | 19 = "" 193 | 190 = "" 194 | 191 = "" 195 | 192 = "" 196 | 193 = "" 197 | 194 = "" 198 | 195 = "" 199 | 196 = "" 200 | 197 = "" 201 | 198 = "" 202 | 199 = "" 203 | 20 = "" 204 | 200 = "" 205 | 201 = "" 206 | 202 = "" 207 | 203 = "" 208 | 204 = "" 209 | 205 = "" 210 | 206 = "" 211 | 207 = "" 212 | 208 = "" 213 | 209 = "" 214 | 21 = "" 215 | 210 = "" 216 | 211 = "" 217 | 212 = "" 218 | 213 = "" 219 | 214 = "" 220 | 215 = "" 221 | 216 = "" 222 | 217 = "" 223 | 218 = "" 224 | 219 = "" 225 | 22 = "" 226 | 220 = "" 227 | 221 = "" 228 | 222 = "" 229 | 223 = "" 230 | 224 = "" 231 | 225 = "" 232 | 226 = "" 233 | 227 = "" 234 | 228 = "" 235 | 229 = "" 236 | 23 = "" 237 | 230 = "" 238 | 231 = "" 239 | 232 = "" 240 | 233 = "" 241 | 234 = "" 242 | 235 = "" 243 | 236 = "" 244 | 237 = "" 245 | 238 = "" 246 | 239 = "" 247 | 24 = "" 248 | 240 = "" 249 | 241 = "" 250 | 242 = "" 251 | 243 = "" 252 | 244 = "" 253 | 245 = "" 254 | 246 = "" 255 | 247 = "" 256 | 248 = "" 257 | 249 = "" 258 | 25 = "" 259 | 250 = "" 260 | 251 = "" 261 | 252 = "" 262 | 253 = "" 263 | 254 = "" 264 | 255 = "" 265 | 256 = "" 266 | 26 = "" 267 | 27 = "" 268 | 28 = "" 269 | 29 = "" 270 | 30 = "" 271 | 31 = "" 272 | 32 = "" 273 | 33 = "" 274 | 34 = "" 275 | 35 = "" 276 | 36 = "" 277 | 37 = "" 278 | 38 = "" 279 | 39 = "" 280 | 40 = "" 281 | 41 = "" 282 | 42 = "" 283 | 43 = "" 284 | 44 = "" 285 | 45 = "" 286 | 46 = "" 287 | 47 = "" 288 | 48 = "" 289 | 49 = "" 290 | 50 = "" 291 | 51 = "" 292 | 52 = "" 293 | 53 = "" 294 | 54 = "" 295 | 55 = "" 296 | 56 = "" 297 | 57 = "" 298 | 58 = "" 299 | 59 = "" 300 | 60 = "" 301 | 61 = "" 302 | 62 = "" 303 | 63 = "" 304 | 64 = "" 305 | 65 = "" 306 | 66 = "" 307 | 67 = "" 308 | 68 = "" 309 | 69 = "" 310 | 70 = "" 311 | 71 = "" 312 | 72 = "" 313 | 73 = "" 314 | 74 = "" 315 | 75 = "" 316 | 76 = "" 317 | 77 = "" 318 | 78 = "" 319 | 79 = "" 320 | 80 = "" 321 | 81 = "" 322 | 82 = "" 323 | 83 = "" 324 | 84 = "" 325 | 85 = "" 326 | 86 = "" 327 | 87 = "" 328 | 88 = "" 329 | 89 = "" 330 | 90 = "" 331 | 91 = "" 332 | 92 = "" 333 | 93 = "" 334 | 94 = "" 335 | 95 = "" 336 | 96 = "" 337 | 97 = "" 338 | 98 = "" 339 | 99 = "" 340 | 341 | [color] 342 | bar_more = green 343 | chat = default 344 | chat_bg = default 345 | chat_buffer = black 346 | chat_channel = black 347 | chat_delimiters = green 348 | chat_highlight = yellow 349 | chat_highlight_bg = default 350 | chat_host = black 351 | chat_inactive_buffer = darkgray 352 | chat_inactive_window = darkgray 353 | chat_nick = cyan 354 | chat_nick_colors = "lightred,magenta,lightcyan,lightmagenta,lightgreen,lightred,brown,darkbrown" 355 | chat_nick_offline = darkgray 356 | chat_nick_offline_highlight = default 357 | chat_nick_offline_highlight_bg = darkgray 358 | chat_nick_other = black 359 | chat_nick_prefix = green 360 | chat_nick_self = green 361 | chat_nick_suffix = green 362 | chat_prefix_action = black 363 | chat_prefix_buffer = red 364 | chat_prefix_buffer_inactive_buffer = darkgray 365 | chat_prefix_error = red 366 | chat_prefix_join = cyan 367 | chat_prefix_more = lightmagenta 368 | chat_prefix_network = magenta 369 | chat_prefix_quit = lightred 370 | chat_prefix_suffix = black 371 | chat_read_marker = magenta 372 | chat_read_marker_bg = default 373 | chat_server = black 374 | chat_tags = red 375 | chat_text_found = yellow 376 | chat_text_found_bg = lightmagenta 377 | chat_time = red 378 | chat_time_delimiters = red 379 | chat_value = cyan 380 | input_actions = lightgreen 381 | input_text_not_found = red 382 | nicklist_away = cyan 383 | nicklist_group = green 384 | nicklist_offline = black 385 | separator = black 386 | status_count_highlight = magenta 387 | status_count_msg = brown 388 | status_count_other = default 389 | status_count_private = green 390 | status_data_highlight = lightmagenta 391 | status_data_msg = yellow 392 | status_data_other = default 393 | status_data_private = lightgreen 394 | status_filter = green 395 | status_more = yellow 396 | status_name = black 397 | status_name_ssl = lightgreen 398 | status_number = yellow 399 | status_time = brown 400 | 401 | [completion] 402 | base_word_until_cursor = on 403 | default_template = "%(nicks)|%(irc_channels)" 404 | nick_add_space = off 405 | nick_completer = ":" 406 | nick_first_only = off 407 | nick_ignore_chars = "[]-^" 408 | partial_completion_alert = on 409 | partial_completion_command = off 410 | partial_completion_command_arg = off 411 | partial_completion_count = on 412 | partial_completion_other = off 413 | 414 | [history] 415 | display_default = 5 416 | max_buffer_lines_minutes = 0 417 | max_buffer_lines_number = 100 418 | max_commands = 100 419 | max_visited_buffers = 50 420 | 421 | [proxy] 422 | 423 | [network] 424 | connection_timeout = 60 425 | gnutls_ca_file = "%h/ssl/CAs.pem" 426 | gnutls_handshake_timeout = 30 427 | 428 | [plugin] 429 | autoload = "*" 430 | debug = off 431 | extension = ".so" 432 | path = "%h/plugins" 433 | save_config_on_unload = on 434 | 435 | [bar] 436 | buddylist.color_bg = default 437 | buddylist.color_delim = default 438 | buddylist.color_fg = default 439 | buddylist.conditions = "" 440 | buddylist.filling_left_right = vertical 441 | buddylist.filling_top_bottom = horizontal 442 | buddylist.hidden = on 443 | buddylist.items = "buddylist" 444 | buddylist.position = left 445 | buddylist.priority = 0 446 | buddylist.separator = off 447 | buddylist.size = 0 448 | buddylist.size_max = 0 449 | buddylist.type = root 450 | buffers.color_bg = default 451 | buffers.color_delim = default 452 | buffers.color_fg = default 453 | buffers.conditions = "" 454 | buffers.filling_left_right = vertical 455 | buffers.filling_top_bottom = horizontal 456 | buffers.hidden = on 457 | buffers.items = "buffers" 458 | buffers.position = top 459 | buffers.priority = 0 460 | buffers.separator = off 461 | buffers.size = 0 462 | buffers.size_max = 0 463 | buffers.type = root 464 | input.color_bg = default 465 | input.color_delim = black 466 | input.color_fg = default 467 | input.conditions = "" 468 | input.filling_left_right = horizontal 469 | input.filling_top_bottom = horizontal 470 | input.hidden = off 471 | input.items = " └─,input_text " 472 | input.position = bottom 473 | input.priority = 1000 474 | input.separator = off 475 | input.size = 1 476 | input.size_max = 0 477 | input.type = root 478 | nicklist.color_bg = default 479 | nicklist.color_delim = black 480 | nicklist.color_fg = default 481 | nicklist.conditions = "nicklist" 482 | nicklist.filling_left_right = vertical 483 | nicklist.filling_top_bottom = columns_horizontal 484 | nicklist.hidden = on 485 | nicklist.items = "buffer_nicklist" 486 | nicklist.position = right 487 | nicklist.priority = 200 488 | nicklist.separator = off 489 | nicklist.size = 13 490 | nicklist.size_max = 0 491 | nicklist.type = root 492 | title.color_bg = default 493 | title.color_delim = red 494 | title.color_fg = yellow 495 | title.conditions = "" 496 | title.filling_left_right = horizontal 497 | title.filling_top_bottom = horizontal 498 | title.hidden = on 499 | title.items = "" 500 | title.position = top 501 | title.priority = 0 502 | title.separator = on 503 | title.size = 1 504 | title.size_max = 0 505 | title.type = root 506 | 507 | [layout] 508 | default.buffer = "core;weechat;1" 509 | default.buffer = "irc;server.uh;1" 510 | default.window = "1;0;0;0;irc;server.uh" 511 | default.current = on 512 | 513 | [notify] 514 | 515 | [filter] 516 | 517 | [key] 518 | ctrl-? = "/input delete_previous_char" 519 | ctrl-A = "/input move_beginning_of_line" 520 | ctrl-B = "/input move_previous_char" 521 | ctrl-Cb = "/input insert \x02" 522 | ctrl-Cc = "/input insert \x03" 523 | ctrl-Ci = "/input insert \x1D" 524 | ctrl-Co = "/input insert \x0F" 525 | ctrl-Cr = "/input insert \x12" 526 | ctrl-Cu = "/input insert \x15" 527 | ctrl-D = "/input delete_next_char" 528 | ctrl-E = "/input move_end_of_line" 529 | ctrl-F = "/input move_next_char" 530 | ctrl-H = "/input delete_previous_char" 531 | ctrl-I = "/input complete_next" 532 | ctrl-J = "/input return" 533 | ctrl-K = "/input delete_end_of_line" 534 | ctrl-L = "/window refresh" 535 | ctrl-M = "/input return" 536 | ctrl-N = "/buffer +1" 537 | ctrl-P = "/buffer -1" 538 | ctrl-R = "/input search_text" 539 | ctrl-Sctrl-U = "/input set_unread" 540 | ctrl-T = "/input transpose_chars" 541 | ctrl-U = "/input delete_beginning_of_line" 542 | ctrl-W = "/input delete_previous_word" 543 | ctrl-X = "/input switch_active_buffer" 544 | ctrl-Y = "/input clipboard_paste" 545 | meta-meta2-1~ = "/window scroll_top" 546 | meta-meta2-23~ = "/bar scroll nicklist * yb" 547 | meta-meta2-24~ = "/bar scroll nicklist * ye" 548 | meta-meta2-4~ = "/window scroll_bottom" 549 | meta-meta2-5~ = "/window scroll_up" 550 | meta-meta2-6~ = "/window scroll_down" 551 | meta-meta2-7~ = "/window scroll_top" 552 | meta-meta2-8~ = "/window scroll_bottom" 553 | meta-meta2-A = "/buffer -1" 554 | meta-meta2-B = "/buffer +1" 555 | meta-meta2-C = "/buffer +1" 556 | meta-meta2-D = "/buffer -1" 557 | meta-0 = "/buffer *10" 558 | meta-1 = "/buffer *1" 559 | meta-2 = "/buffer *2" 560 | meta-3 = "/buffer *3" 561 | meta-4 = "/buffer *4" 562 | meta-5 = "/buffer *5" 563 | meta-6 = "/buffer *6" 564 | meta-7 = "/buffer *7" 565 | meta-8 = "/buffer *8" 566 | meta-9 = "/buffer *9" 567 | meta-< = "/input jump_previously_visited_buffer" 568 | meta-= = "/filter toggle" 569 | meta-> = "/input jump_next_visited_buffer" 570 | meta-OA = "/input history_global_previous" 571 | meta-OB = "/input history_global_next" 572 | meta-OC = "/input move_next_word" 573 | meta-OD = "/input move_previous_word" 574 | meta-OF = "/input move_end_of_line" 575 | meta-OH = "/input move_beginning_of_line" 576 | meta-Oa = "/input history_global_previous" 577 | meta-Ob = "/input history_global_next" 578 | meta-Oc = "/input move_next_word" 579 | meta-Od = "/input move_previous_word" 580 | meta2-15~ = "/buffer -1" 581 | meta2-17~ = "/buffer +1" 582 | meta2-18~ = "/window -1" 583 | meta2-19~ = "/window +1" 584 | meta2-1;3A = "/buffer -1" 585 | meta2-1;3B = "/buffer +1" 586 | meta2-1;3C = "/buffer +1" 587 | meta2-1;3D = "/buffer -1" 588 | meta2-1;5A = "/input history_global_previous" 589 | meta2-1;5B = "/input history_global_next" 590 | meta2-1~ = "/input move_beginning_of_line" 591 | meta2-20~ = "/bar scroll title * x-50%" 592 | meta2-21~ = "/bar scroll title * x+50%" 593 | meta2-23~ = "/bar scroll nicklist * y-100%" 594 | meta2-24~ = "/bar scroll nicklist * y+100%" 595 | meta2-3~ = "/input delete_next_char" 596 | meta2-4~ = "/input move_end_of_line" 597 | meta2-5;3~ = "/window scroll_up" 598 | meta2-5~ = "/window page_up" 599 | meta2-6;3~ = "/window scroll_down" 600 | meta2-6~ = "/window page_down" 601 | meta2-7~ = "/input move_beginning_of_line" 602 | meta2-8~ = "/input move_end_of_line" 603 | meta2-A = "/input history_previous" 604 | meta2-B = "/input history_next" 605 | meta2-C = "/input move_next_char" 606 | meta2-D = "/input move_previous_char" 607 | meta2-F = "/input move_end_of_line" 608 | meta2-G = "/window page_down" 609 | meta2-H = "/input move_beginning_of_line" 610 | meta2-I = "/window page_up" 611 | meta2-Z = "/input complete_previous" 612 | meta-_ = "/input redo" 613 | meta-a = "/input jump_smart" 614 | meta-b = "/input move_previous_word" 615 | meta-d = "/input delete_next_word" 616 | meta-f = "/input move_next_word" 617 | meta-h = "/input hotlist_clear" 618 | meta-jmeta-l = "/input jump_last_buffer" 619 | meta-jmeta-r = "/server raw" 620 | meta-jmeta-s = "/server jump" 621 | meta-j01 = "/buffer 1" 622 | meta-j02 = "/buffer 2" 623 | meta-j03 = "/buffer 3" 624 | meta-j04 = "/buffer 4" 625 | meta-j05 = "/buffer 5" 626 | meta-j06 = "/buffer 6" 627 | meta-j07 = "/buffer 7" 628 | meta-j08 = "/buffer 8" 629 | meta-j09 = "/buffer 9" 630 | meta-j10 = "/buffer 10" 631 | meta-j11 = "/buffer 11" 632 | meta-j12 = "/buffer 12" 633 | meta-j13 = "/buffer 13" 634 | meta-j14 = "/buffer 14" 635 | meta-j15 = "/buffer 15" 636 | meta-j16 = "/buffer 16" 637 | meta-j17 = "/buffer 17" 638 | meta-j18 = "/buffer 18" 639 | meta-j19 = "/buffer 19" 640 | meta-j20 = "/buffer 20" 641 | meta-j21 = "/buffer 21" 642 | meta-j22 = "/buffer 22" 643 | meta-j23 = "/buffer 23" 644 | meta-j24 = "/buffer 24" 645 | meta-j25 = "/buffer 25" 646 | meta-j26 = "/buffer 26" 647 | meta-j27 = "/buffer 27" 648 | meta-j28 = "/buffer 28" 649 | meta-j29 = "/buffer 29" 650 | meta-j30 = "/buffer 30" 651 | meta-j31 = "/buffer 31" 652 | meta-j32 = "/buffer 32" 653 | meta-j33 = "/buffer 33" 654 | meta-j34 = "/buffer 34" 655 | meta-j35 = "/buffer 35" 656 | meta-j36 = "/buffer 36" 657 | meta-j37 = "/buffer 37" 658 | meta-j38 = "/buffer 38" 659 | meta-j39 = "/buffer 39" 660 | meta-j40 = "/buffer 40" 661 | meta-j41 = "/buffer 41" 662 | meta-j42 = "/buffer 42" 663 | meta-j43 = "/buffer 43" 664 | meta-j44 = "/buffer 44" 665 | meta-j45 = "/buffer 45" 666 | meta-j46 = "/buffer 46" 667 | meta-j47 = "/buffer 47" 668 | meta-j48 = "/buffer 48" 669 | meta-j49 = "/buffer 49" 670 | meta-j50 = "/buffer 50" 671 | meta-j51 = "/buffer 51" 672 | meta-j52 = "/buffer 52" 673 | meta-j53 = "/buffer 53" 674 | meta-j54 = "/buffer 54" 675 | meta-j55 = "/buffer 55" 676 | meta-j56 = "/buffer 56" 677 | meta-j57 = "/buffer 57" 678 | meta-j58 = "/buffer 58" 679 | meta-j59 = "/buffer 59" 680 | meta-j60 = "/buffer 60" 681 | meta-j61 = "/buffer 61" 682 | meta-j62 = "/buffer 62" 683 | meta-j63 = "/buffer 63" 684 | meta-j64 = "/buffer 64" 685 | meta-j65 = "/buffer 65" 686 | meta-j66 = "/buffer 66" 687 | meta-j67 = "/buffer 67" 688 | meta-j68 = "/buffer 68" 689 | meta-j69 = "/buffer 69" 690 | meta-j70 = "/buffer 70" 691 | meta-j71 = "/buffer 71" 692 | meta-j72 = "/buffer 72" 693 | meta-j73 = "/buffer 73" 694 | meta-j74 = "/buffer 74" 695 | meta-j75 = "/buffer 75" 696 | meta-j76 = "/buffer 76" 697 | meta-j77 = "/buffer 77" 698 | meta-j78 = "/buffer 78" 699 | meta-j79 = "/buffer 79" 700 | meta-j80 = "/buffer 80" 701 | meta-j81 = "/buffer 81" 702 | meta-j82 = "/buffer 82" 703 | meta-j83 = "/buffer 83" 704 | meta-j84 = "/buffer 84" 705 | meta-j85 = "/buffer 85" 706 | meta-j86 = "/buffer 86" 707 | meta-j87 = "/buffer 87" 708 | meta-j88 = "/buffer 88" 709 | meta-j89 = "/buffer 89" 710 | meta-j90 = "/buffer 90" 711 | meta-j91 = "/buffer 91" 712 | meta-j92 = "/buffer 92" 713 | meta-j93 = "/buffer 93" 714 | meta-j94 = "/buffer 94" 715 | meta-j95 = "/buffer 95" 716 | meta-j96 = "/buffer 96" 717 | meta-j97 = "/buffer 97" 718 | meta-j98 = "/buffer 98" 719 | meta-j99 = "/buffer 99" 720 | meta-k = "/input grab_key_command" 721 | meta-n = "/window scroll_next_highlight" 722 | meta-p = "/window scroll_previous_highlight" 723 | meta-r = "/input delete_line" 724 | meta-u = "/input scroll_unread" 725 | meta-wmeta-meta2-A = "/window up" 726 | meta-wmeta-meta2-B = "/window down" 727 | meta-wmeta-meta2-C = "/window right" 728 | meta-wmeta-meta2-D = "/window left" 729 | meta-wmeta2-1;3A = "/window up" 730 | meta-wmeta2-1;3B = "/window down" 731 | meta-wmeta2-1;3C = "/window right" 732 | meta-wmeta2-1;3D = "/window left" 733 | meta-wmeta-b = "/window balance" 734 | meta-wmeta-s = "/window swap" 735 | meta-z = "/window zoom" 736 | ctrl-_ = "/input undo" 737 | 738 | [key_search] 739 | ctrl-J = "/input search_stop" 740 | ctrl-M = "/input search_stop" 741 | ctrl-R = "/input search_switch_case" 742 | meta2-A = "/input search_previous" 743 | meta2-B = "/input search_next" 744 | 745 | [key_cursor] 746 | ctrl-J = "/cursor stop" 747 | ctrl-M = "/cursor stop" 748 | meta-meta2-A = "/cursor move area_up" 749 | meta-meta2-B = "/cursor move area_down" 750 | meta-meta2-C = "/cursor move area_right" 751 | meta-meta2-D = "/cursor move area_left" 752 | meta2-1;3A = "/cursor move area_up" 753 | meta2-1;3B = "/cursor move area_down" 754 | meta2-1;3C = "/cursor move area_right" 755 | meta2-1;3D = "/cursor move area_left" 756 | meta2-A = "/cursor move up" 757 | meta2-B = "/cursor move down" 758 | meta2-C = "/cursor move right" 759 | meta2-D = "/cursor move left" 760 | @item(buffer_nicklist):K = "/window ${_window_number};/kickban ${nick}" 761 | @item(buffer_nicklist):b = "/window ${_window_number};/ban ${nick}" 762 | @item(buffer_nicklist):k = "/window ${_window_number};/kick ${nick}" 763 | @item(buffer_nicklist):q = "/window ${_window_number};/query ${nick};/cursor stop" 764 | @item(buffer_nicklist):w = "/window ${_window_number};/whois ${nick}" 765 | @chat:Q = "hsignal:chat_quote_time_prefix_message;/cursor stop" 766 | @chat:m = "hsignal:chat_quote_message;/cursor stop" 767 | @chat:q = "hsignal:chat_quote_prefix_message;/cursor stop" 768 | 769 | [key_mouse] 770 | @bar(input):button2 = "/input grab_mouse_area" 771 | @bar(nicklist):button1-gesture-down = "/bar scroll nicklist ${_window_number} +100%" 772 | @bar(nicklist):button1-gesture-down-long = "/bar scroll nicklist ${_window_number} e" 773 | @bar(nicklist):button1-gesture-up = "/bar scroll nicklist ${_window_number} -100%" 774 | @bar(nicklist):button1-gesture-up-long = "/bar scroll nicklist ${_window_number} b" 775 | @item(buffer_nicklist):button1 = "/window ${_window_number};/query ${nick}" 776 | @item(buffer_nicklist):button1-gesture-left = "/window ${_window_number};/kick ${nick}" 777 | @item(buffer_nicklist):button1-gesture-left-long = "/window ${_window_number};/kickban ${nick}" 778 | @item(buffer_nicklist):button2 = "/window ${_window_number};/whois ${nick}" 779 | @item(buffer_nicklist):button2-gesture-left = "/window ${_window_number};/ban ${nick}" 780 | @item(buffers):button1* = "hsignal:buffers_mouse" 781 | @item(buffers):button2 = "hsignal:buffers_mouse" 782 | @bar:wheeldown = "/bar scroll ${_bar_name} ${_window_number} +20%" 783 | @bar:wheelup = "/bar scroll ${_bar_name} ${_window_number} -20%" 784 | @chat:button1 = "/window ${_window_number}" 785 | @chat:button1-gesture-left = "/window ${_window_number};/buffer -1" 786 | @chat:button1-gesture-left-long = "/window ${_window_number};/buffer 1" 787 | @chat:button1-gesture-right = "/window ${_window_number};/buffer +1" 788 | @chat:button1-gesture-right-long = "/window ${_window_number};/input jump_last_buffer" 789 | @chat:wheeldown = "/window scroll_down -window ${_window_number}" 790 | @chat:wheelup = "/window scroll_up -window ${_window_number}" 791 | @*:button3 = "/cursor go ${_x},${_y}" 792 | --------------------------------------------------------------------------------