Dash To Dock: Difference between revisions

From Fvwm Extensions (configs) Archive
Jump to navigation Jump to search
(Created page with "right|150px|link=Dash To Dock|Image '''Dash To Dock''' <small>''(module)''</small> is an application panel bar that can be moved to different sides of the screen to be pushed temporarily aside when working on a crowded desk. <pre> ## FILE 1: dashToD.txt KillModule FvwmButtons DashToDock KillModule FvwmButtons hideBar ## Dockbar Module FvwmButtons DashToDock DestroyModuleConfig DashToDock: * *DashToDock: PressColorset 4 *DashToDock: Frame 0...")
 
No edit summary
Line 154: Line 154:
----
----
'''HOW TO''':
'''HOW TO''':
Copy the code and paste it into your config. Or create FILE 1 and run the below line:<br>
Copy the code and paste it into your config. Or create FILE 1, 2 and 3 and run the below line:<br>
''Read $[HOME]/dashToD.txt''
''Read $[HOME]/dashToD.txt''



Revision as of 17:56, 11 July 2025

Dash To Dock (module) is an application panel bar that can be moved to different sides of the screen to be pushed temporarily aside when working on a crowded desk.

## FILE 1: dashToD.txt
KillModule FvwmButtons DashToDock
KillModule FvwmButtons hideBar

## Dockbar
Module FvwmButtons DashToDock

DestroyModuleConfig DashToDock: *
*DashToDock: PressColorset 4
*DashToDock: Frame 0

## [EDIT start]
*DashToDock: (1x1, $[colorCode], Icon $[search-icon], Action(Mouse 1) "Exec exec xfce4-appfinder" )
*DashToDock: (1x1, Colorset 268, Icon $[dTDicons]/terminal.png \
			  Action(Mouse 1) "Exec exec xfce4-terminal")
*DashToDock: (1x1, Colorset 268, Icon $[dTDicons]/thunar.png, \
              Action(Mouse 1) "Exec exec thunar")
*DashToDock: (1x1, Colorset 268, Icon $[dTDicons]/firefox.png, \
              Action(Mouse 1) "Exec exec firefox")
*DashToDock: (1x1,Colorset 268, Icon $[dTDicons]/thunderbird.png, \
              Action(Mouse 1) "Exec exec thunderbird")
*DashToDock: (1x1, Colorset 268, Icon $[dTDicons]/featherpad.png, \
              Action(Mouse 1) "Exec exec featherpad")
*DashToDock: (1x1, Colorset 268, Icon $[dTDicons]/gimp.png, \
              Action(Mouse 1) "Exec exec gimp")
*DashToDock: (1x1, Colorset 268, Icon $[dTDicons]/ext-installer.png, \
              Action(Mouse 1) "Exec ~/.fvwm/extraEXT/scripts/InstallExt/ExtInstaller.sh")
*DashToDock: (1x1, Colorset 268, Icon $[dTDicons]/desktop-color.png, \
              Action(Mouse 1) "Exec exec lxappearance")         
*DashToDock: (1x1, Colorset 268, Icon $[dTDicons]/screenshooter.png, \
              Action(Mouse 1) "Exec exec xfce4-screenshooter")
*DashToDock: (1x1, Colorset 268, Icon $[dTDicons]/gparted.png, \
              Action(Mouse 1) "Exec exec /usr/sbin/gparted ")
              
## [EDIT end] (number of buttons edit Rows in action/west.conf, east.conf and north.conf)

## Style setting
Style DashToDock !Borders, !Title, WindowListSkip, StaysOnTop, Sticky

## Visible bar hiding DashToDock

Module FvwmButtons hideBar
DestroyModuleConfig hideBar: *

*hideBar: PressColorset 4
*hideBar: Frame 2
*hideBar: Rows 1
*hideBar: (4x1, Colorset 269)

Style hideBar !Borders, !Title, WindowListSkip, StaysOnTop, Sticky

## FILE 2: west.txt
KillModule FvwmButtons DashToDock
KillModule FvwmButtons hideBar

## Apps icon folder (32x32 or 40x40)
SetEnv dTDicons $[HOME]/icons/icon40x40

## Colorset and icon for apps-finder.
SetEnv colorCode "Colorset 266"
SetEnv search-icon $[HOME]/icons/search44x44.png

## Direction buttons:
SetEnv dir-icon $[HOME]/icons

Read dashToD.sys

## DashToDock geometry, rows and hidebar

*DashToDock: Geometry 56x564+2+192	#(vertical west [width]x[hight]+[left-right]+[top-down])
*DashToDock: Rows 12  #(1 container + 11 as per numbers of buttons in dashToD.txt)

## Container
*DashToDock: (1x1, Container(Rows 1,Frame 0))
*DashToDock: (1x1, Colorset 268, Icon $[dir-icon]/up.png, Action(Mouse 1) `Read $[HOME]/north.txt`)
*DashToDock: (1x1, Colorset 268, Icon $[dir-icon]/right.png, Action(Mouse 1) `Read $[HOME]/east.txt`)

## Hide bar
*hideBar: Geometry 6x572+0+188 #(+8px)

## FILE 3: north.txt
KillModule FvwmButtons DashToDock
KillModule FvwmButtons hideBar

## Apps icon folder (32x32 or 40x40)
SetEnv dTDicons $[HOME]/icons/icon32x32
# SetEnv dTDicons $[HOME]/icons/icon40x40

## Colorset and icon for apps-finder.
SetEnv colorCode "Colorset 273"
SetEnv search-icon $[HOME]/icons/search38x38.png

## Direction buttons:
SetEnv dir-icon $[HOME]/icons

Read dashToD.sys

## DashToDock geometry, rows and hidebar [EDIT below]

*DashToDock: Geometry 525x48-550+2	#(horizontal [hight]x[width]+[rightleft]+[top-down])
*DashToDock: Rows 1   #(no edit)

## Container
*DashToDock: (1x1, Container(Rows 1,Frame 0))
*DashToDock: (1x1, Colorset 268, Icon $[dir-icon]/left.png, Action(Mouse 1) `Read $[HOME]/west.txt`)
*DashToDock: (1x1, Colorset 268, Icon $[dir-icon]/right.png, Action(Mouse 1) `Read $[HOME]/east.txt`)

## Hide bar
*hideBar: Geometry 533x6-546+0 #(+8px)

## [EDIT above]

## FILE 4: east.txt
KillModule FvwmButtons DashToDock
KillModule FvwmButtons hideBar

## Apps icon folder (32x32 or 40x40)
# SetEnv dTDicons $[HOME]/icons/icon32x32
SetEnv dTDicons $[HOME]/icons/icon40x40

## Colorset and icon for apps-finder.
SetEnv colorCode "Colorset 266"
SetEnv search-icon $[HOME]/icons/search44x44.png

## Direction buttons:
SetEnv dir-icon $[HOME]/icons

Read $[HOME]/dashToD.sys

## DashToDock geometry, rows and hidebar [EDIT below]

*DashToDock: Geometry 56x564-3+292	#(vertical east [width]x[hight]+[right-left]+[top-down])
*DashToDock: Rows 12  #(1 container + 11 as per numbers of buttons in dashToD.txt)

## Container
*DashToDock: (1x1, Container(Rows 1,Frame 0))
*DashToDock: (1x1, Colorset 268, Icon $[dir-icon]/left.png, Action(Mouse 1) `Read $[HOME]/west.txt`)
*DashToDock: (1x1, Colorset 268, Icon $[dir-icon]/up.png, Action(Mouse 1) `Read $[HOME]/north.txt`)

## Hide bar
*hideBar: Geometry 6x572-0+288 #(+8px)

## [EDIT above]

HOW TO: Copy the code and paste it into your config. Or create FILE 1, 2 and 3 and run the below line:
Read $[HOME]/dashToD.txt