Skip to content

Instantly share code, notes, and snippets.

@natyusha
Last active February 2, 2016 21:51
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save natyusha/1946748 to your computer and use it in GitHub Desktop.
Save natyusha/1946748 to your computer and use it in GitHub Desktop.
bug.n config
; bug.n - tiling window management
; @version 9.0.0
;;Status bar
Config_showBar=1
Config_horizontalBarPos=left
Config_verticalBarPos=top
Config_barWidth=100%
Config_singleRowBar=1
Config_spaciousBar=0
Config_fontName=kroeger 05_55S
Config_fontSize=6
Config_largeFontSize=24
Config_backColor_#1=1b1b1b;1b1b1b;1b1b1b;1b1b1b;1b1b1b;1b1b1b;1b1b1b;1b1b1b;1b1b1b
Config_backColor_#2=333333;;;;;;;1b1b1b;1b1b1b
Config_backColor_#3=;;;;;;;1b1b1b;
Config_foreColor_#1=333333;1b1b1b;1b1b1b;1b1b1b;1b1b1b;1b1b1b;1b1b1b;1b1b1b;333333
Config_foreColor_#2=121314;;;;;;;;
Config_foreColor_#3=;;;;;;;121314;
Config_fontColor_#1=f0f0f0;2a7fa0;f0f0f0;2a7fa0;f0f0f0;f0f0f0;f0f0f0;f0f0f0
Config_fontColor_#2=9f1765;;;;;;;;f0f0f0
Config_fontColor_#3=;;;;;;;9f1765;
Config_barTransparency=off
Config_barCommands=Run, explore doc;Monitor_toggleBar();Main_reload();Reload;ExitApp
Config_readinBat=0
Config_readinCpu=1
Config_readinDate=1
Config_readinDiskLoad=0
Config_readinMemoryUsage=1
Config_readinNetworkLoad=0
Config_readinTime=1
Config_readinVolume=1
Config_readinInterval=3000
;; Windows ui elements
Config_borderWidth=0
Config_borderPadding=-1
Config_showTaskBar=0
Config_showBorder=1
Config_selBorderColor=0
;; Window arrangement
Config_viewNames=NET;VID;TXT;RND
Config_layout_#1=ÆÅå;tile
Config_layout_#2=ÅMå;monocle
Config_layout_#3=Ä;
Config_layoutCount=3
Config_layoutAxis_#1=-1
Config_layoutAxis_#2=-2
Config_layoutAxis_#3=2
Config_layoutGapWidth=0
Config_layoutMFactor=0.6
Config_areaTraceTimeout=1000
Config_continuouslyTraceAreas=0
Config_dynamicTiling=1
Config_ghostWndSubString=(Not Responding)
Config_mFactCallInterval=700
Config_mouseFollowsFocus=0
Config_newWndPosition=top
Config_onActiveHiddenWnds=view
Config_shellMsgDelay=450
Config_syncMonitorViews=0
Config_viewFollowsTagged=0
Config_viewMargins=0;0;0;0
;; Hotkeys 9.0.0
Config_hotkey=#WheelUp::View_shuffleWindow(0, +1)
Config_hotkey=#WheelDown::View_shuffleWindow(0, -1)
Config_hotkey=#+WheelUp::Manager_setWindowMonitor(0, +1)
Config_hotkey=#+WheelDown::Manager_setWindowMonitor(0, -1)
;; Rules
Config_rule=MozillaWindowClass;.*Nightly.*;;1;0;0;0;0;0;
Config_rule=MozillaWindowClass;.*Aurora.*;;1;0;0;0;0;0;
Config_rule=MozillaWindowClass;.*Firefox.*;;1;0;0;0;0;0
Config_rule=mintty;.*;;1;0;0;1;1;0;
Config_rule=TForm1;.*;;1;0;0;1;1;0;
Config_rule=PngOptimizer Main Window Class;.*;;1;0;0;1;1;0;
Config_rule=WindowsForms10.Window.8.app.0.378734a;.*;;1;0;0;1;1;0;
Config_rule=.*;Adobe Application Manager;;1;0;0;1;1;0;
Config_rule=HoneyView3Class;.*;;1;0;0;1;1;0;
Config_rule=ConsoleWindowClass;.*;;1;0;0;1;1;0;
Config_rule=PotPlayer;.*;;1;0;0;1;1;0;
Config_rule=.*;NVIDIA GeForce Experience;;1;0;0;1;1;0;
Config_rule=.*;NVIDIA Control Panel;;1;0;0;1;1;0;
Config_rule=.*;Intel(R) Graphics and Media Control Panel;;1;0;0;1;1;0;
Config_rule=MediaPlayerClassicW;.*;;1;0;0;1;1;0;
Config_rule=USurface_*;.*;;1;0;2;1;1;0;
Config_rule=SunAwtFrame;.*;;1;0;0;1;1;0;
Config_rule=VNCviewer;.*;;1;0;0;1;1;0;
Config_rule=.*;Software Update;;1;0;0;1;1;0;
Config_rule=ThunderRT6FormDC;;;1;0;0;1;1;0;
Config_rule=PiriformSpeccy;Piriform Speccy;;1;0;0;1;1;0;
Config_rule=PiriformCCleaner;Piriform CCleaner;;1;0;0;1;1;0;
Config_rule=.*;Aqua'S KeyTest;;1;0;0;1;1;0;
Config_rule=.*;ffdshow audio decoder configuration;;1;0;0;1;1;0;
Config_rule=.*;KeePass Password Safe;;1;0;0;1;1;1;
Config_rule=MMCMainFrame;.*;;1;0;0;1;1;1;
Config_rule=TWizardForm;.*;;1;0;0;1;1;0;
Config_rule=TMainForm;.*;;1;0;0;1;1;0;
Config_rule=TConfirmForm;.*;;1;0;0;1;1;0;
Config_rule=TBlockForm;.*;;1;0;0;1;1;0;
Config_rule=TFormLayout;.*;;1;0;0;1;1;0;
Config_rule=TCallQualityForm;.*;;1;0;0;1;1;0;
Config_rule=TOptionsForm;.*;;1;0;0;1;1;0;
Config_rule=TConversationForm;.*;;1;0;2;0;1;0;
Config_rule=TfrmMain.UnicodeClass;.*;;1;0;0;1;1;0;
Config_rule=.*;Audio Repeater 1.24;;1;0;0;1;1;0;
; Unmanaged
Config_rule=GLSLHackerWindowClass;.*;;0;0;0;1;1;0;
Config_rule=OBSWindowClass;.*;;0;0;0;1;1;0;
Config_rule=.*;FFXIVAPP;;0;0;0;1;1;0;
Config_rule=WindowsForms10.Window.8.app.0.2004eee;.*;;0;0;0;1;1;0;
Config_rule=WindowsForms10.Window.8.app.0.33c0d9d;.*;;0;0;0;1;1;0;
Config_rule=WindowsForms10.Window.20008.app.0.378734a_r66_ad1;.*;;0;0;0;1;0;0;
Config_rule=WindowsForms10.Window.20008.app.0.378734a_r55_ad1;.*;;0;0;0;1;0;0;
Config_rule=.*;QTTabBar Options;;0;1;0;1;1;0;
Config_rule=TAlertsForm;.*;;0;0;0;1;1;0;
Config_rule=PSExport_WindowClass;.*;;0;0;0;1;1;0;
Config_rule=.*;Win7 Style Builder;;0;0;0;1;1;0;
Config_rule=.*;NameDisplayTipWindow;;0;0;0;0;1;0;
Config_rule=RBWindow;.*;;0;1;2;1;1;0;
Config_rule=OSKMainClass;.*;;0;0;0;1;1;0;
Config_rule=#32770;Volume Mixer;;0;0;0;1;1;0;
Config_rule=tSkMainForm;.*;;0;0;0;0;1;0;
Config_rule=TDisplayForm;.*;;0;1;0;1;1;0;
Config_rule=WindowsForms10.Window.8.app.0.bb8560_r11_ad1;.*;;0;0;0;0;0;0;
Config_rule=ThunderRT6FormDC;XonarSwitch Main Form;;0;0;0;1;1;0;
; VID
Config_rule=Direct3DWindowClass;Path of Exile;;1;1;2;1;1;0;
Config_rule=QWidget;Battle.net;;0;1;2;1;1;0;
Config_rule=SSFIVAE;.*;;1;1;2;1;1;0;
Config_rule=LOLPATCHER;LoL Patcher;;1;1;2;1;1;0;
Config_rule=WindowsForms10.Window.8.app.0.12ab327_r31_ad1;.*WTFast.*;;1;1;2;1;1;0;
Config_rule=ApolloRuntimeContentWindow;PVP.net Client;;1;1;2;1;1;0;
Config_rule=.*;League of Legends (TM) Client;;1;1;2;1;1;0;
Config_rule=WinClass_FXS;.*;;1;1;2;1;1;0;
Config_rule=Valve001;Counter-Strike: Global Offensive;;1;1;2;1;0;0;
Config_rule=WindowsForms10.Window.8.app.0.5c39d4;.*;;1;1;2;1;1;0;
Config_rule=RiotWindowClass;.*;;1;1;2;1;0;0;
Config_rule=Wolfenstein The New Order;.*;;1;1;2;1;0;0;
Config_rule=D3 Main Window Class;.*;;1;1;2;1;0;0;
Config_rule=LaunchUnrealUWindowsClient;.*;;1;1;2;1;1;0;
Config_rule=StarCraft II;.*;;1;1;2;1;0;0;
Config_rule=WindowsForms10.Window.8.app.0.3d893c;.*;;1;1;2;1;0;0;
;Config_rule=FFXIVGAME;.*;;1;1;2;1;0;0;
Config_rule=FFXIVGAME;.*;;0;0;0;0;0;0;
Config_rule=Shadow of Mordor;.*;;1;1;2;1;0;0;
Config_rule=FFXIVBoot;.*;;1;1;2;1;1;0;
Config_rule=FFXIVLauncher;.*;;1;1;2;1;1;0;
Config_rule=SSFIVAE;SSFIVAE;;1;1;2;1;1;0;
Config_rule=Battlefield 4™;Battlefield 4™;;1;1;2;1;1;0;
Config_rule=ArenaNet_Dx_Window_Class;.*;;1;1;2;1;1;0;
Config_rule=ArenaNet;.*;;1;1;2;1;1;0;
Config_rule=.*;Diablo III;;1;1;2;1;1;0;
; TXT
Config_rule=PX_WINDOW_CLASS;.*;;1;1;4;0;0;0;
; Monitor 2
Config_rule=QWidget;.*Mumble --;;1;2;1;0;0;0;
Config_rule=Qt5QWindowIcon;TeamSpeak 3;;1;2;1;0;1;0;
Config_rule=.*Torrent4823DF041B09;.*;;1;2;1;0;0;0;
Config_rule={E7076D1C-A7BF-4f39-B771-BCBE88F2A2A8};.*;;1;2;1;0;1;0;
; Config_rule_#<i> := '<class>;<title>;<style>;<is managed>;<monitor>;<tags>;<is floating>;<is decorated>;<hide title>;<action>'
@Black-Light
Copy link

When using this config i get a massive memory leak if i leave it running for a few hours the memory usage goes from 8mb to 200ish anyway to fix it?

@natyusha
Copy link
Author

natyusha commented Jul 5, 2012

hmm i have not noticed a memory leak before. I will look into it.

@Black-Light
Copy link

Thanks i am using the source main.ahk file with the config because it's a bit buggy (some of the colors are white) if i just run the executable, Thanks great looking config btw.:)

@natyusha
Copy link
Author

natyusha commented Jul 7, 2012

using the newest AutoHotkey_L with a compiled version of the script I don't see any memory leaks on my end. As for the buggy colors I have told the bug.n author about the problem and if you feel like tooling around in the source code I mention the solution here: http://archive.installgentoo.net/g/thread/S24278384#p24279357

@Black-Light
Copy link

Thanks man i will try out autohotkey_L

@Black-Light
Copy link

I am still getting the memory leaks they aren't as bad as before but still. After leaving it running for two days it went up to 188mb from 9 that it starts at it is still going up as well. Also i am using the new version of Autohotkey_L and this config with bug.n 8.21 Do you turn your computer off all the time? Because that would make sense if you haven't noticed it before i usually keep it on for days.

@natyusha
Copy link
Author

There must be a program or something that it does not work well with. for me bug.n uses about 4mb with my custom build using 5mb. Also, I only restart my computer for windows updates. I don't really know what more I can say other than try asking the developer or somebody on the autohotkey forums for help. There is always windawesome too.

[~]$ uptime
06:00:37 up 18 days, 6:57, 0 users, load average: 0.00, 0.00, 0.00

@Black-Light
Copy link

I don't know what would be interfering with it but ill let you know if i find out what is causing it. I don't usually have much running other then Firefox and utorrent. Thanks for the help though ill probably have to try windawesome then.

@vmiheer
Copy link

vmiheer commented Jun 17, 2013

How to use config file with latest bugn?
When I pass as command line argument it says, path is not directory.
What i press win+ctrl+S followed by win+ctrl+e it says unable to edit, file not found
failed to attempt to launch program or document.
Line#
1047: Run, edit %Config_filePath%

I have made edit.lnk in windows/system32 folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment