Skip to content

Instantly share code, notes, and snippets.

@webframp
Created December 17, 2015 18:17
Show Gist options
  • Select an option

  • Save webframp/604400d7c1314299a01b to your computer and use it in GitHub Desktop.

Select an option

Save webframp/604400d7c1314299a01b to your computer and use it in GitHub Desktop.
bug.n config
; bug.n - tiling window management
; @version 9.0.0
Monitor_#1_aView_#2=3
Monitor_#2_aView_#2=3
View_#2_#1_layoutAxis_#1=2.000000
View_#2_#1_layoutMFact=0.650000
View_#2_#3_layoutAxis_#1=2.000000
;;; Layout
Config_newWndPosition=stackTop ;; top | stackTop | bottom | masterBottom
;;; Statusbar
Config_readinCpu=True
Config_readinMemoryUsage=True
Config_readinDiskLoad=True
Config_readinVolume=False
Config_readinInterval=10000
;;; Behavior
Config_mouseFollowsFocus=0
Config_shellMsgDelay=450
Config_autoSaveSession=auto
Config_selBorderColor=0x006A240A
;;; Hotkeys
;;; For defaults see:
;;; - https://github.com/fuhsjr00/bug.n/blob/master/src/Config.ahk
;;; - https://github.com/fuhsjr00/bug.n/blob/master/doc/Default_hotkeys.md
; Meanings:
; ! (Alt)
; ^ (Ctrl, Control)
; # (LWin, left Windows)
; + (Shift)
;; Window Management
Config_hotkey=#j::View_activateWindow(0, +1)
Config_hotkey=#k::View_activateWindow(0, -1)
Config_hotkey=#+j::View_shuffleWindow(0, +1)
Config_hotkey=#+k::View_shuffleWindow(0, -1)
;; Layout Management
Config_hotkey=#h::View_setLayoutProperty("Mactor", 0, -0.05)
Config_hotkey=#l::View_setLayoutProperty("MFactor", 0, +0.05)
Config_hotkey=#^k::View_setLayoutProperty("MY", 0, +1)
Config_hotkey=#^j::View_setLayoutProperty("MY", 0, -1)
Config_hotkey=#^h::View_setLayoutProperty("MX", 0, -1)
Config_hotkey=#^l::View_setLayoutProperty("MX", 0, +1)
Config_hotkey=#+h::View_setLayoutProperty("GapWidth", 0, -2)
Config_hotkey=#+l::View_setLayoutProperty("GapWidth", 0, +2)
;; View/Tag Management
; configured for atreus keyboard layout
Config_hotkey=#q::Monitor_activateView(1)
Config_hotkey=#+q::Monitor_setWindowTag(1)
Config_hotkey=#^q::Monitor_toggleWindowTag(1)
Config_hotkey=#w::Monitor_activateView(2)
Config_hotkey=#+w::Monitor_setWindowTag(2)
Config_hotkey=#^w::Monitor_toggleWindowTag(2)
Config_hotkey=#a::Monitor_activateView(3)
Config_hotkey=#+a::Monitor_setWindowTag(3)
Config_hotkey=#^a::Monitor_toggleWindowTag(3)
Config_hotkey=#s::Monitor_activateView(4)
Config_hotkey=#+s::Monitor_setWindowTag(4)
Config_hotkey=#^s::Monitor_toggleWindowTag(4)
;;; disabled stuff
;; I hate this one
Config_hotkey=!+Enter::
;;; Window Rules
;; Config_rule_#<i>='<class>;<title>;<style>;<is managed>;<monitor>;<tags>;<is floating>;<is decorated>;<hide title>;<action>
;; tags: (binary mask reference, add up int for associated tag)
;;| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | n | all |
;;|---+---+---+---+----+----+----+-----+-----+-------------+-----|
;;| 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 2 ** (n -1) | 511 |
Config_rule=SplashScreen;Mudra Mouse Tutorial;;0;0;0;1;1;0;
Config_rule=WindowsForms10.Window.8.app.0.33c0d9d;CCTray ;;0;0;0;1;1;0;
Config_rule=Progman;Program Manager;;0;0;0;0;1;0;
;Config_rule=EmacsClientWindowClass;Emacs Client;;0;0;0;1;1;0;
Config_rule=Chrome_RenderWidgetHostHWND;.*;;0;0;0;0;1;0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment