Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I change the layout? #239

Closed
aaron525 opened this issue Mar 5, 2020 · 2 comments
Closed

How do I change the layout? #239

aaron525 opened this issue Mar 5, 2020 · 2 comments
Labels

Comments

@aaron525
Copy link

aaron525 commented Mar 5, 2020

How do I change the layout?
Since the initial installation was set to a modified layout (= -1x1) rather than the tile default layout (1x1 | =), how can I change to the default tile layout?

Software environment
Window 10 + bug.n 9.0.2

Thank you.

Here is my Config.ini file.
`; bug.n - tiling window management
; @Version 9.0.2

Monitor_#2_aView_#2=2
;Monitor_#2_showBar=0
View_#2_#1_layout_#2=2
View_#2_#1_layoutGapWidth=2
Monitor_#1_aView_#2=2
View_#1_#1_layout_#2=3
View_#1_#1_layoutMFact=0.500000

;; Status bar
Config_showBar=1
Config_horizontalBarPos=left
Config_verticalBarPos=top
Config_barWidth=100%
Config_singleRowBar=1
Config_spaciousBar=0
Config_fontName=Lucida Console
Config_fontSize=
Config_largeFontSize=24
;; ;;<title>;;;;;;
Config_backColor_#1=
Config_backColor_#2=
Config_backColor_#3=
Config_foreColor_#1=
Config_foreColor_#2=
Config_foreColor_#3=
Config_fontColor_#1=
Config_fontColor_#2=
Config_fontColor_#3=
Config_barTransparency=off
Config_barCommands=Run, explore doc;Monitor_toggleBar();Main_reload();Reload;ExitApp
Config_readinBat=0
Config_readinCpu=0
Config_readinDate=0
Config_readinDateFormat=ddd, dd. MMM. yyyy
Config_readinDiskLoad=0
Config_readinMemoryUsage=0
Config_readinNetworkLoad=0
Config_readinTime=0
Config_readinTimeFormat=HH:mm
Config_readinVolume=0
Config_readinInterval=30000

;; Windows ui elements
Config_bbCompatibility=0
Config_borderWidth=0
Config_borderPadding=-1
Config_showTaskBar=1
Config_showBorder=1
Config_selBorderColor=

;; Window arrangement
;Config_viewNames=1;2;3;4;5;6;7;8;9
Config_viewNames=1;2;3;4;5;6;7
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=2
Config_layoutMFactor=0.5
Config_areaTraceTimeout=1000
Config_continuouslyTraceAreas=0
Config_dynamicTiling=1
Config_ghostWndSubString= (Not Responding)
Config_mFactCallInterval=700
Config_mouseFollowsFocus=0
Config_newWndPosition=top ;;top, masterBottom, stackTop, bottom
Config_onActiveHiddenWnds=view
Config_shellMsgDelay=350
Config_syncMonitorViews=0
Config_viewFollowsTagged=0
Config_viewMargins=0;0;0;0

;; Config_rule_# := ';<title>;;;;;;;;'
Config_rule_#1=.;.;;1;0;0;0;0;0;
Config_rule_#2=.;.;Window_isChild;0;0;0;1;1;1;
Config_rule_#3=.;.;Window_isPopup;0;0;0;1;1;1;
Config_rule_#4=QWidget;.;;1;0;0;0;0;0;
Config_rule_#5=SWT_Window0;.
;;1;0;0;0;0;0;
Config_rule_#6=Xming;.;;1;0;0;0;0;0;
Config_rule_#7=MsiDialog(No)?CloseClass;.
;;1;0;0;1;1;0;
Config_rule_#8=AdobeFlashPlayerInstaller;.;;1;0;0;1;0;0;
Config_rule_#9=CalcFrame;.
;;1;0;0;1;1;0;
Config_rule_#10=CabinetWClass;.;;1;0;0;0;1;0;
Config_rule_#11=OperationStatusWindow;.
;;0;0;0;1;1;0;
Config_rule_#12=Chrome_WidgetWin_1;.;;1;0;0;0;1;0;
Config_rule_#13=Chrome_WidgetWin_1;.
;Window_isPopup;0;0;0;1;1;1;
Config_rule_#14=Chrome_RenderWidgetHostHWND;.*;;0;0;0;1;1;0;
Config_rule_#15=IEFrame;.*Internet Explorer;;1;0;0;0;1;0;
Config_rule_#16=MozillaWindowClass;.Mozilla Firefox;;1;0;0;0;1;0;
Config_rule_#17=MozillaDialogClass;.
;;1;0;0;1;1;0;
Config_rule_#18=ApplicationFrameWindow;.*Edge;;1;0;0;0;1;0;
Config_rule_#19=PX_WINDOW_CLASS;.*Sublime Text (UNREGISTERED);;1;0;0;0;1;0;

;; Configuration management
Config_autoSaveSession=auto
Config_maintenanceInterval=5000

;; Key definitions
;; Window management
Config_hotkey=#Down::View_activateWindow(0, +1)
Config_hotkey=#Up::View_activateWindow(0, -1)
Config_hotkey=!j::View_activateWindow(0, +1)
Config_hotkey=!k::View_activateWindow(0, -1)

Config_hotkey=#+Down::View_shuffleWindow(0, +1)
Config_hotkey=#+Up::View_shuffleWindow(0, -1)
Config_hotkey=#+Enter::View_shuffleWindow(1)
Config_hotkey=#c::Manager_closeWindow()
Config_hotkey=#+d::Window_toggleDecor()
Config_hotkey=#+f::View_toggleFloatingWindow()
Config_hotkey=#+m::Manager_moveWindow()
Config_hotkey=#+s::Manager_sizeWindow()
Config_hotkey=#+x::Manager_maximizeWindow()
Config_hotkey=#i::Manager_getWindowInfo()
Config_hotkey=#+i::Manager_getWindowList()
Config_hotkey=!Down::View_moveWindow(0, +1)
Config_hotkey=!Up::View_moveWindow(0, -1)
;Config_hotkey=!+Enter::Manager_maximizeWindow()
Config_hotkey=!+Enter::
Config_hotkey=!+l::Manager_maximizeWindow()
;Config_hotkey=!1::View_moveWindow(1)
;Config_hotkey=!2::View_moveWindow(2)
;Config_hotkey=!3::View_moveWindow(3)
;Config_hotkey=!4::View_moveWindow(4)
;Config_hotkey=!5::View_moveWindow(5)
;Config_hotkey=!6::View_moveWindow(6)
;Config_hotkey=!7::View_moveWindow(7)
;Config_hotkey=!8::View_moveWindow(8)
;Config_hotkey=!9::View_moveWindow(9)
;Config_hotkey=!0::View_moveWindow(10)
Config_hotkey=!1::
Config_hotkey=!2::
Config_hotkey=!3::
Config_hotkey=!4::
Config_hotkey=!5::
Config_hotkey=!6::
Config_hotkey=!7::
Config_hotkey=!8::
Config_hotkey=!9::
Config_hotkey=!0::
Config_hotkey=!BackSpace::View_toggleStackArea()

;; Window debugging
Config_hotkey=#^i::Debug_logViewWindowList()
Config_hotkey=#+^i::Debug_logManagedWindowList()
Config_hotkey=#^h::Debug_logHelp()
Config_hotkey=#^d::Debug_setLogLevel(0, -1)
Config_hotkey=#^+d::Debug_setLogLevel(0, +1)

;; Layout management
Config_hotkey=#Tab::View_setLayout(-1)
Config_hotkey=#f::View_setLayout(3)
Config_hotkey=#m::View_setLayout(2)
Config_hotkey=#t::View_setLayout(1)
Config_hotkey=#Left::View_setLayoutProperty(MFactor, 0, -0.05)
Config_hotkey=#Right::View_setLayoutProperty(MFactor, 0, +0.05)
Config_hotkey=#^t::View_setLayoutProperty(Axis, 0, +1, 1)
Config_hotkey=#^Enter::View_setLayoutProperty(Axis, 0, +2, 1)
Config_hotkey=#^Tab::View_setLayoutProperty(Axis, 0, +1, 2)
Config_hotkey=#^+Tab::View_setLayoutProperty(Axis, 0, +1, 3)
Config_hotkey=#^Up::View_setLayoutProperty(MY, 0, +1)
Config_hotkey=#^Down::View_setLayoutProperty(MY, 0, -1)
Config_hotkey=#^Right::View_setLayoutProperty(MX, 0, +1)
Config_hotkey=#^Left::View_setLayoutProperty(MX, 0, -1)
Config_hotkey=#+Left::View_setLayoutProperty(GapWidth, 0, -2)
Config_hotkey=#+Right::View_setLayoutProperty(GapWidth, 0, +2)

;; View/Tag management
Config_hotkey=#+n::View_toggleMargins()
Config_hotkey=#BackSpace::Monitor_activateView(-1)
Config_hotkey=#+0::Monitor_setWindowTag(10)
Config_hotkey=#1::Monitor_activateView(1)
Config_hotkey=#+1::Monitor_setWindowTag(1)
Config_hotkey=#^1::Monitor_toggleWindowTag(1)
Config_hotkey=#2::Monitor_activateView(2)
Config_hotkey=#+2::Monitor_setWindowTag(2)
Config_hotkey=#^2::Monitor_toggleWindowTag(2)
Config_hotkey=#3::Monitor_activateView(3)
Config_hotkey=#+3::Monitor_setWindowTag(3)
Config_hotkey=#^3::Monitor_toggleWindowTag(3)
Config_hotkey=#4::Monitor_activateView(4)
Config_hotkey=#+4::Monitor_setWindowTag(4)
Config_hotkey=#^4::Monitor_toggleWindowTag(4)
Config_hotkey=#5::Monitor_activateView(5)
Config_hotkey=#+5::Monitor_setWindowTag(5)
Config_hotkey=#^5::Monitor_toggleWindowTag(5)
Config_hotkey=#6::Monitor_activateView(6)
Config_hotkey=#+6::Monitor_setWindowTag(6)
Config_hotkey=#^6::Monitor_toggleWindowTag(6)
Config_hotkey=#7::Monitor_activateView(7)
Config_hotkey=#+7::Monitor_setWindowTag(7)
Config_hotkey=#^7::Monitor_toggleWindowTag(7)
;Config_hotkey=#8::Monitor_activateView(8)
;Config_hotkey=#+8::Monitor_setWindowTag(8)
;Config_hotkey=#^8::Monitor_toggleWindowTag(8)
;Config_hotkey=#9::Monitor_activateView(9)
;Config_hotkey=#+9::Monitor_setWindowTag(9)
;Config_hotkey=#^9::Monitor_toggleWindowTag(9)

Config_hotkey=#8::
Config_hotkey=#+8::
Config_hotkey=#^8::
Config_hotkey=#9::
Config_hotkey=#+9::
Config_hotkey=#^9::

;; Monitor management
Config_hotkey=#.::Manager_activateMonitor(0, +1)
Config_hotkey=#,::Manager_activateMonitor(0, -1)
Config_hotkey=#+.::Manager_setWindowMonitor(0, +1)
Config_hotkey=#+,::Manager_setWindowMonitor(0, -1)
Config_hotkey=#^+.::Manager_setViewMonitor(0, +1)
Config_hotkey=#^+,::Manager_setViewMonitor(0, -1)

;; GUI management
Config_hotkey=#+Space::Monitor_toggleBar()
Config_hotkey=#Space::Monitor_toggleTaskBar()
Config_hotkey=#y::Bar_toggleCommandGui()
Config_hotkey=#+y::Monitor_toggleNotifyIconOverflowWindow()
Config_hotkey=!+y::View_traceAreas()
Config_hotkey=!+o::Manager_override(1;0;0;0;1;0;)
Config_hotkey=!+p::Manager_override(0;0;0;0;1;0;)

;; Administration
Config_hotkey=#^s::Config_UI_saveSession()
Config_hotkey=#^r::Main_reload()
Config_hotkey=#^+r::Reload
Config_hotkey=#^q::ExitApp
`

@joten joten added the question label Mar 21, 2020
@joten
Copy link
Collaborator

joten commented Mar 21, 2020

Have a look at issue #68 : #68 (comment)

@aaron525
Copy link
Author

Thank you. I solved the problem well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants