Skip to content
Browse files

Added Fluxbox configuration.

  • Loading branch information...
0 parents commit a91420f71f7bf1613900d65641b175e99e732e69 @postmodern committed Sep 7, 2011
30 .fluxbox/apps
@@ -0,0 +1,30 @@
+[app] (name=fbrun)
+ [Position] (CENTER) {0 0}
+ [Layer] {2}
+[end]
+[app] (name=.*[Tt]erm.*) (role=HUD)
+ [Deco] {BORDER}
+ [Alpha] {220}
+ [Position] (CENTER) {0 0}
+ [Dimensions] {900 600}
+ [Layer] {TOP}
+[end]
+[app] (name=.*[Tt]erm.*)
+ [Dimensions] {744 453}
+ [Position] (UPPERLEFT) {32 266}
+[end]
+[group]
+ [app] (role=conversation)
+ [Sticky] {yes}
+ [Position] (TOPRIGHT) {0 0}
+ [Alpha] {255 190}
+[end]
+[group]
+ [app] (role=buddy_list)
+ [Dimensions] {277 527}
+ [Position] (UPPERLEFT) {1087 221}
+[end]
+[group]
+ [app] (name=.*vim.*)
+ [Dimensions] {660 733}
+[end]
1 .fluxbox/backgrounds
75 .fluxbox/init
@@ -0,0 +1,75 @@
+session.screen0.tabs.usePixmap: true
+session.screen0.tabs.maxOver: false
+session.screen0.tabs.intitlebar: true
+session.screen0.titlebar.left: Stick
+session.screen0.titlebar.right: Minimize Maximize Close
+session.screen0.window.focus.alpha: 255
+session.screen0.window.unfocus.alpha: 255
+session.screen0.tab.placement: TopLeft
+session.screen0.tab.width: 80
+session.screen0.toolbar.widthPercent: 100
+session.screen0.toolbar.placement: BottomCenter
+session.screen0.toolbar.visible: true
+session.screen0.toolbar.tools: prevworkspace, workspacename, nextworkspace, iconbar, systemtray, clock
+session.screen0.toolbar.height: 0
+session.screen0.toolbar.maxOver: false
+session.screen0.toolbar.alpha: 255
+session.screen0.toolbar.layer: Dock
+session.screen0.toolbar.onhead: 1
+session.screen0.toolbar.autoHide: false
+session.screen0.slit.alpha: 255
+session.screen0.slit.placement: TopRight
+session.screen0.slit.maxOver: true
+session.screen0.slit.layer: Dock
+session.screen0.slit.autoHide: false
+session.screen0.slit.acceptKdeDockapps: true
+session.screen0.slit.onhead: 0
+session.screen0.clientMenu.usePixmap: true
+session.screen0.menu.alpha: 255
+session.screen0.iconbar.iconTextPadding: 10
+session.screen0.iconbar.usePixmap: true
+session.screen0.iconbar.iconWidth: 128
+session.screen0.iconbar.alignment: Relative
+session.screen0.iconbar.mode: {static groups} (workspace)
+session.screen0.maxDisableMove: false
+session.screen0.windowPlacement: RowMinOverlapPlacement
+session.screen0.menuDelay: 200
+session.screen0.maxIgnoreIncrement: true
+session.screen0.tabFocusModel: ClickToTabFocus
+session.screen0.rowPlacementDirection: LeftToRight
+session.screen0.clickRaises: true
+session.screen0.defaultDeco: NORMAL
+session.screen0.demandsAttentionTimeout: 500
+session.screen0.windowMenu: ~/.fluxbox/windowmenu
+session.screen0.opaqueMove: true
+session.screen0.colPlacementDirection: TopToBottom
+session.screen0.edgeSnapThreshold: 10
+session.screen0.showwindowposition: false
+session.screen0.allowRemoteActions: false
+session.screen0.focusNewWindows: true
+session.screen0.noFocusWhileTypingDelay: 0
+session.screen0.tooltipDelay: 500
+session.screen0.autoRaise: true
+session.screen0.strftimeFormat: %k:%M
+session.screen0.workspaceNames: Workspace 1,Workspace 2,Workspace 3,Workspace 4,
+session.screen0.workspaces: 4
+session.screen0.workspacewarping: true
+session.screen0.focusModel: MouseFocus
+session.screen0.fullMaximization: false
+session.screen0.maxDisableResize: false
+session.menuFile: ~/.fluxbox/menu
+session.appsFile: ~/.fluxbox/apps
+session.autoRaiseDelay: 250
+session.cacheLife: 5
+session.doubleClickInterval: 250
+session.styleFile: ~/.fluxbox/styles/Dyne
+session.configVersion: 13
+session.ignoreBorder: false
+session.cacheMax: 200
+session.colorsPerChannel: 4
+session.tabPadding: 0
+session.keyFile: ~/.fluxbox/keys
+session.tabsAttachArea: Window
+session.styleOverlay: ~/.fluxbox/overlay
+session.slitlistFile: ~/.fluxbox/slitlist
+session.forcePseudoTransparency: false
169 .fluxbox/keys
@@ -0,0 +1,169 @@
+# click on the desktop to get menus
+OnDesktop Mouse1 :HideMenus
+OnDesktop Mouse2 :WorkspaceMenu
+OnDesktop Mouse3 :RootMenu
+
+# scroll on the desktop to change workspaces
+OnDesktop Mouse4 :PrevWorkspace
+OnDesktop Mouse5 :NextWorkspace
+
+# scroll on the toolbar to change current window
+OnToolbar Mouse4 :PrevWindow {static groups} (iconhidden=no)
+OnToolbar Mouse5 :NextWindow {static groups} (iconhidden=no)
+
+# alt + left/right click to move/resize a window
+OnWindow Mod1 Mouse1 :MacroCmd {Raise} {Focus} {StartMoving}
+OnWindowBorder Move1 :StartMoving
+
+OnWindow Mod1 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing NearestCorner}
+OnLeftGrip Move1 :StartResizing bottomleft
+OnRightGrip Move1 :StartResizing bottomright
+
+# alt + middle click to lower the window
+OnWindow Mod1 Mouse2 :Lower
+
+# control-click a window's titlebar and drag to attach windows
+OnTitlebar Control Mouse1 :StartTabbing
+
+# double click on the titlebar to shade
+OnTitlebar Double Mouse1 :Shade
+
+# left click on the titlebar to move the window
+OnTitlebar Mouse1 :MacroCmd {Raise} {Focus} {ActivateTab}
+OnTitlebar Move1 :StartMoving
+
+# middle click on the titlebar to lower
+OnTitlebar Mouse2 :Lower
+
+# right click on the titlebar for a menu of options
+OnTitlebar Mouse3 :WindowMenu
+
+# alt-tab
+Mod1 Tab :NextWindow {groups} (workspace=[current])
+Mod1 Shift Tab :PrevWindow {groups} (workspace=[current])
+
+# alt-tab gnome-terminals
+Mod1 t :NextWindow {groups} (name=gnome-terminal)
+
+# alt-tab gvims
+Mod1 e :NextWindow {groups} (name=gvim)
+
+# alt-tab firefoxes
+Mod1 b :NextWindow {groups} (name=firefox)
+
+# cycle through tabs in the current window
+Mod4 Tab :NextTab
+Mod4 Shift Tab :PrevTab
+
+# go to a specific tab in the current window
+Mod4 1 :Tab 1
+Mod4 2 :Tab 2
+Mod4 3 :Tab 3
+Mod4 4 :Tab 4
+Mod4 5 :Tab 5
+Mod4 6 :Tab 6
+Mod4 7 :Tab 7
+Mod4 8 :Tab 8
+Mod4 9 :Tab 9
+
+# volume settings, using common keycodes
+# if these don't work, use xev to find out your real keycodes
+176 :Exec amixer sset Master,0 1+
+174 :Exec amixer sset Master,0 1-
+160 :Exec amixer sset Master,0 toggle
+
+# current window commands
+Mod1 Escape :Minimize
+Mod1 F1 :Maximize
+Mod1 F4 :Close
+Mod1 F5 :Kill
+Mod1 F11 :Fullscreen
+
+Mod1 Left :MoveTo 0 * Left
+Mod1 Right :MoveTo 0 * Right
+Mod1 Up :MoveTo * 0 Top
+Mod1 Down :MoveTo * 0 Bottom
+Mod1 Return :MoveTo 0 0 Center
+
+Mod1 Home :SetAlpha +10
+Mod1 Delete :SetAlpha -10
+
+# open the window menu
+Mod1 space :WindowMenu
+
+Control Mod1 i :MacroCmd {Exec gnome-terminal --role=HUD -- irb}
+
+# open a terminal
+Control Mod1 t :Exec gnome-terminal
+
+# open a dialog to run programs
+Control Mod1 r :Exec fbrun
+
+# open a new GVim instance
+Control Mod1 e :Exec gvim
+
+# open a new Firefox instance
+Control Mod1 b :Exec firefox
+
+# open a new instance of nautilus
+Control Mod1 f :Exec nautilus --no-desktop
+
+# lock the screen
+Control Mod1 l :Exec xlock -mode blank
+
+# exit fluxbox
+Control Mod1 Delete :Exit
+
+# change to previous/next workspace
+Control Mod1 Left :PrevWorkspace
+Control Mod1 Right :NextWorkspace
+
+# send the current window to previous/next workspace
+Mod4 Left :SendToPrevWorkspace
+Mod4 Right :SendToNextWorkspace
+
+# send the current window and follow it to previous/next workspace
+Control Mod4 Left :TakeToPrevWorkspace
+Control Mod4 Right :TakeToNextWorkspace
+
+# change to a specific workspace
+Control F1 :Workspace 1
+Control F2 :Workspace 2
+Control F3 :Workspace 3
+Control F4 :Workspace 4
+Control F5 :Workspace 5
+Control F6 :Workspace 6
+Control F7 :Workspace 7
+Control F8 :Workspace 8
+Control F9 :Workspace 9
+Control F10 :Workspace 10
+Control F11 :Workspace 11
+Control F12 :Workspace 12
+
+# send the current window to a specific workspace
+Mod4 F1 :SendToWorkspace 1
+Mod4 F2 :SendToWorkspace 2
+Mod4 F3 :SendToWorkspace 3
+Mod4 F4 :SendToWorkspace 4
+Mod4 F5 :SendToWorkspace 5
+Mod4 F6 :SendToWorkspace 6
+Mod4 F7 :SendToWorkspace 7
+Mod4 F8 :SendToWorkspace 8
+Mod4 F9 :SendToWorkspace 9
+Mod4 F10 :SendToWorkspace 10
+Mod4 F11 :SendToWorkspace 11
+Mod4 F12 :SendToWorkspace 12
+
+# send the current window and change to a specific workspace
+Control Mod4 F1 :TakeToWorkspace 1
+Control Mod4 F2 :TakeToWorkspace 2
+Control Mod4 F3 :TakeToWorkspace 3
+Control Mod4 F4 :TakeToWorkspace 4
+Control Mod4 F5 :TakeToWorkspace 5
+Control Mod4 F6 :TakeToWorkspace 6
+Control Mod4 F7 :TakeToWorkspace 7
+Control Mod4 F8 :TakeToWorkspace 8
+Control Mod4 F9 :TakeToWorkspace 9
+Control Mod4 F10 :TakeToWorkspace 10
+Control Mod4 F11 :TakeToWorkspace 11
+Control Mod4 F12 :TakeToWorkspace 12
53 .fluxbox/menu
@@ -0,0 +1,53 @@
+# Generated by fluxbox-generate_menu
+#
+# If you read this it means you want to edit this file manually, so here
+# are some useful tips:
+#
+# - You can add your own menu-entries to ~/.fluxbox/usermenu
+#
+# - If you miss apps please let me know and I will add them for the next
+# release.
+#
+# - The -r option prevents removing of empty menu entries and lines which
+# makes things much more readable.
+#
+# - To prevent any other app from overwriting your menu
+# you can change the menu name in ~/.fluxbox/init to:
+# session.menuFile: ~/.fluxbox/my-menu
+[begin] (Fluxbox)
+[encoding] {UTF-8}
+ [exec] (Terminal) {gnome-terminal}
+ [exec] (Vim) {gvim}
+ [exec] (Files) {nautilus --no-desktop}
+ [separator]
+ [exec] (Firefox) {firefox}
+ [exec] (Thunderbird) {thunderbird}
+ [separator]
+ [exec] (Pidgin) {pidgin}
+ [exec] (XChat) {xchat}
+ [separator]
+ [exec] (Rhythmbox) {rhythmbox}
+ [separator]
+[submenu] (Fluxbox)
+ [config] (Configure)
+[submenu] (System Styles) {Choose a style...}
+ [stylesdir] (/usr/share/fluxbox/styles)
+[end]
+[submenu] (User Styles) {Choose a style...}
+ [stylesdir] (~/.fluxbox/styles)
+[end]
+ [exec] (Wallpaper) {nitrogen}
+ [workspaces] (Workspace List)
+[submenu] (Window Managers)
+ [restart] (metacity) {metacity}
+ [restart] (gnome) {gnome-session}
+[end]
+ [commanddialog] (Fluxbox Command)
+ [reconfig] (Reload config)
+ [restart] (Restart)
+ [exec] (About) {(fluxbox -v; fluxbox -info | sed 1d) | xmessage -file - -center}
+[end]
+ [exec] (Run) {fbrun}
+ [exit] (Exit)
+[endencoding]
+[end]
5 .fluxbox/overlay
@@ -0,0 +1,5 @@
+! The following line will prevent styles from setting the background.
+background: solid
+background.color: #c0c0c0
+
+*font: AvantGarde LT Medium-9
0 .fluxbox/slitlist
No changes.
31 .fluxbox/startup
@@ -0,0 +1,31 @@
+#!/bin/sh
+#
+# fluxbox startup-script:
+#
+# Lines starting with a '#' are ignored.
+
+# Change your keymap:
+xmodmap "/home/hal/.Xmodmap"
+
+# Applications you want to run with fluxbox.
+# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
+#
+# unclutter -idle 2 &
+# wmnd &
+# wmsmixer -w &
+# idesk &
+
+# And last but not least we start fluxbox.
+# Because it is the last app you have to run it with ''exec'' before it.
+
+xcompmgr -c &
+nitrogen --restore
+
+nm-applet &
+gnome-sound-applet &
+gnome-power-manager &
+gnome-screensaver &
+
+exec fluxbox
+# or if you want to keep a log:
+# exec fluxbox -log "/home/hal/.fluxbox/log"
23 .fluxbox/styles/Dyne/pixmaps/bar.xpm
@@ -0,0 +1,23 @@
+/* XPM */
+static char * bar_xpm[] = {
+"10 18 2 1",
+" c None",
+". c #303030",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+".........."};
22 .fluxbox/styles/Dyne/pixmaps/close.xpm
@@ -0,0 +1,22 @@
+/* XPM */
+static char * close_xpm[] = {
+"16 16 3 1",
+" c None",
+". c #303030",
+"+ c #C0C0C0",
+"................",
+"................",
+"................",
+"................",
+"................",
+".....+...+......",
+"......+.+.......",
+".......+........",
+"......+.+.......",
+".....+...+......",
+"................",
+"................",
+"................",
+"................",
+"................",
+"................"};
22 .fluxbox/styles/Dyne/pixmaps/close_pressed.xpm
@@ -0,0 +1,22 @@
+/* XPM */
+static char * close_pressed_xpm[] = {
+"16 16 3 1",
+" c None",
+". c #303030",
+"+ c #ECEDEE",
+"................",
+"................",
+"................",
+"................",
+"................",
+".....+...+......",
+"......+.+.......",
+".......+........",
+"......+.+.......",
+".....+...+......",
+"................",
+"................",
+"................",
+"................",
+"................",
+"................"};
22 .fluxbox/styles/Dyne/pixmaps/max.xpm
@@ -0,0 +1,22 @@
+/* XPM */
+static char * max_xpm[] = {
+"16 16 3 1",
+" c None",
+". c #303030",
+"+ c #C0C0C0",
+"................",
+"................",
+"................",
+"................",
+"................",
+"................",
+".......+........",
+"......+.+.......",
+".....+...+......",
+"................",
+"................",
+"................",
+"................",
+"................",
+"................",
+"................"};
22 .fluxbox/styles/Dyne/pixmaps/max_pressed.xpm
@@ -0,0 +1,22 @@
+/* XPM */
+static char * max_pressed_xpm[] = {
+"16 16 3 1",
+" c None",
+". c #303030",
+"+ c #ECEDEE",
+"................",
+"................",
+"................",
+"................",
+"................",
+"................",
+".......+........",
+"......+.+.......",
+".....+...+......",
+"................",
+"................",
+"................",
+"................",
+"................",
+"................",
+"................"};
23 .fluxbox/styles/Dyne/pixmaps/menu.xpm
@@ -0,0 +1,23 @@
+/* XPM */
+static char * menu_xpm[] = {
+"10 18 2 1",
+" c None",
+". c #303030",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+".........."};
22 .fluxbox/styles/Dyne/pixmaps/min.xpm
@@ -0,0 +1,22 @@
+/* XPM */
+static char * min_xpm[] = {
+"16 16 3 1",
+" c None",
+". c #303030",
+"+ c #C0C0C0",
+"................",
+"................",
+"................",
+"................",
+"................",
+"................",
+".....+...+......",
+"......+.+.......",
+".......+........",
+"................",
+"................",
+"................",
+"................",
+"................",
+"................",
+"................"};
22 .fluxbox/styles/Dyne/pixmaps/min_pressed.xpm
@@ -0,0 +1,22 @@
+/* XPM */
+static char * min_pressed_xpm[] = {
+"16 16 3 1",
+" c None",
+". c #303030",
+"+ c #ECEDEE",
+"................",
+"................",
+"................",
+"................",
+"................",
+"................",
+".....+...+......",
+"......+.+.......",
+".......+........",
+"................",
+"................",
+"................",
+"................",
+"................",
+"................",
+"................"};
22 .fluxbox/styles/Dyne/pixmaps/stick_pressed.xpm
@@ -0,0 +1,22 @@
+/* XPM */
+static char * stick_pressed_xpm[] = {
+"16 16 3 1",
+" c None",
+". c #303030",
+"+ c #ECEDEE",
+"................",
+"................",
+"................",
+"................",
+"................",
+"................",
+"................",
+".......++.......",
+".......++.......",
+"................",
+"................",
+"................",
+"................",
+"................",
+"................",
+"................"};
23 .fluxbox/styles/Dyne/pixmaps/toolbar.xpm
@@ -0,0 +1,23 @@
+/* XPM */
+static char * toolbar_xpm[] = {
+"10 18 2 1",
+" c None",
+". c #303030",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+"..........",
+".........."};
102 .fluxbox/styles/Dyne/theme.cfg
@@ -0,0 +1,102 @@
+style.name: Dyne
+style.author: lyrae
+style.date: July 9, 2007
+style.credits:
+style.comment:
+
+toolbar: flat
+toolbar.pixmap: toolbar.xpm
+toolbar.textColor: #c0c0c0
+toolbar.justify: center
+toolbar.height: 18
+toolbar.borderWidth: 0
+toolbar.borderColor: #303030
+toolbar.workspace: flat
+toolbar.workspace.pixmap: toolbar.xpm
+toolbar.workspace.textColor: #606060
+toolbar.iconbar.empty: flat
+toolbar.iconbar.empty.pixmap: toolbar.xpm
+toolbar.iconbar.focused: flat
+toolbar.iconbar.focused.pixmap: toolbar.xpm
+toolbar.iconbar.focused.textColor: #c0c0c0
+toolbar.iconbar.focused.justify: center
+toolbar.iconbar.unfocused: flat
+toolbar.iconbar.unfocused.pixmap: toolbar.xpm
+toolbar.iconbar.unfocused.textColor: #808080
+toolbar.iconbar.unfocused.justify: center
+toolbar.clock: flat
+toolbar.clock.pixmap: toolbar.xpm
+toolbar.clock.textColor: #606060
+toolbar.button: flat
+toolbar.button.pixmap: toolbar.xpm
+toolbar.button.picColor: #303030
+
+menu.title: flat
+menu.title.color: #303030
+menu.title.justify: center
+menu.title.textColor: #303030
+menu.title.font: DejaVu Sans-1
+menu.frame: flat
+menu.frame.justify: left
+menu.frame.color: #303030
+menu.frame.textColor: #707070
+menu.frame.disableColor: #aaaaaa
+menu.hilite: flat
+menu.hilite.color: #303030
+menu.hilite.textColor: #c0c0c0
+menu.itemHeight: 13
+menu.bevelWidth: 0
+menu.titleHeight: 4
+menu.borderColor: #303030
+menu.borderWidth: 1
+menu.bullet: empty
+menu.bullet.position: Right
+menu.submenu.pixmap:
+menu.hilite.submenu.pixmap:
+
+window.title.focus: flat
+window.title.focus.pixmap: bar.xpm
+window.title.unfocus: flat
+window.title.unfocus.pixmap: bar.xpm
+window.title.height: 16
+window.justify: left
+window.label.focus.pixmap: bar.xpm
+window.label.focus.textColor: #c0c0c0
+window.label.unfocus: flat
+window.label.unfocus.pixmap: bar.xpm
+window.label.unfocus.textColor: #303030
+window.close.pixmap: close.xpm
+window.close.unfocus.pixmap: bar.xpm
+window.close.pressed.pixmap: close_pressed.xpm
+window.iconify.pixmap: min.xpm
+window.iconify.unfocus.pixmap: bar.xpm
+window.iconify.pressed.pixmap: min_pressed.xpm
+window.maximize.pixmap: max.xpm
+window.maximize.unfocus.pixmap: bar.xpm
+window.maximize.pressed.pixmap: max_pressed.xpm
+window.stick.pixmap: bar.xpm
+window.stick.unfocus.pixmap: bar.xpm
+window.stick.pressed.pixmap: stick_pressed.xpm
+window.stuck.pixmap: bar.xpm
+window.stuck.unfocus.pixmap: bar.xpm
+window.handle.focus: flat
+window.handle.focus.color: #303030
+window.handle.unfocus: flat
+window.handle.unfocus.color: #303030
+window.grip.focus: flat
+window.grip.focus.color: #303030
+window.grip.unfocus: flat
+window.grip.unfocus.color: #303030
+window.bevelWidth: 0
+window.shade: true
+window.borderWidth: 1
+window.borderColor: #303030
+window.justify: left
+
+handleWidth: 1
+frameWidth: 1
+bevelWidth: 0
+borderWidth: 0
+borderColor: #303030
+
+*font: AvantGarde LT Medium-7
15 .fluxbox/windowmenu
@@ -0,0 +1,15 @@
+[begin]
+ [shade]
+ [stick]
+ [maximize]
+ [iconify]
+ [raise]
+ [lower]
+ [settitledialog]
+ [sendto]
+ [layer]
+ [alpha]
+ [extramenus]
+ [separator]
+ [close]
+[end]

0 comments on commit a91420f

Please sign in to comment.
Something went wrong with that request. Please try again.