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
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[File:dash-to-d.png|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.
[[File:dashTo-dock.png|right|150px|link=Dash To Dock|Image]] '''[[Dash To Dock]]''' <small>''(modules)''</small> is an application panel bar that can be moved to a different side of the screen to be pushed temporarily aside when working at a crowded desk.


<pre>
<pre>
## FILE 1: dashToD.txt
## FILE 1: dashToD.txt
KillModule FvwmButtons DashToDock
## Modules
KillModule FvwmButtons hideBar
 
SetEnv dir-icon $[HOME]/.fvwm/icons
SetEnv dTDicons $[HOME]/.fvwm/icons/icon40x40
 
## Colorsets
Colorset 21 HGradient 20 #ababab #666c63
Colorset 22 VGradient 20 #ababab #666c63
Colorset 23 fg black, bg #9c9c9c, hi #24424f, sh #111f26, Plain, NoShape
 
## Move the app panel upward horizontally.
 
DestroyFunc dNorth
AddToFunc dNorth
+ I KillModule FvwmButtons DashToDock
+ I DestroyModuleConfig DashToDock: *
+ I *DashToDock: Geometry 517x56-550+2 #(horizontal [hight]x[width]+[rightleft]+[top-down])
+ I *DashToDock: Columns 11  #(1 container + 10 as per numbers of buttons in dashToD.txt)
+ I dTDock
+ I Module FvwmButtons DashToDock
 
## Move the app panel vertically to the left.
 
DestroyFunc dWest
AddToFunc dWest
+ I KillModule FvwmButtons DashToDock
+ I DestroyModuleConfig DashToDock: *
+ I *DashToDock: Geometry 56x517+2+192 #(vertical west [width]x[hight]+[left-right]+[top-down])
+ I *DashToDock: Rows 11  #(1 container + 10 as per numbers of buttons in dashToD.txt)
+ I dTDock
+ I Module FvwmButtons DashToDock


## Dockbar
## Dockbar
Module FvwmButtons DashToDock


DestroyModuleConfig DashToDock: *
DestroyFunc dTDock
*DashToDock: PressColorset 4
AddToFunc dTDock
*DashToDock: Frame 0
+ I *DashToDock: PressColorset 23
 
+ I *DashToDock: Frame 0
## [EDIT start]
## Apps
*DashToDock: (1x1, $[colorCode], Icon $[search-icon], Action(Mouse 1) "Exec exec xfce4-appfinder" )
+ I *DashToDock: (1x1, Colorset 21, Icon $[dir-icon]/search44x44.png, Action(Mouse 1) "Exec exec xfce4-appfinder" )
*DashToDock: (1x1, Colorset 268, Icon $[dTDicons]/terminal.png \
+ I *DashToDock: (1x1, Colorset 10, Icon $[dTDicons]/terminal.png \
  Action(Mouse 1) "Exec exec xfce4-terminal")
  Action(Mouse 1) "Exec exec xfce4-terminal")
*DashToDock: (1x1, Colorset 268, Icon $[dTDicons]/thunar.png, \
+ I *DashToDock: (1x1, Colorset 10, Icon $[dTDicons]/thunar.png, \
               Action(Mouse 1) "Exec exec thunar")
               Action(Mouse 1) "Exec exec thunar")
*DashToDock: (1x1, Colorset 268, Icon $[dTDicons]/firefox.png, \
+ I *DashToDock: (1x1, Colorset 10, Icon $[dTDicons]/firefox.png, \
               Action(Mouse 1) "Exec exec firefox")
               Action(Mouse 1) "Exec exec firefox")
*DashToDock: (1x1,Colorset 268, Icon $[dTDicons]/thunderbird.png, \
+ I *DashToDock: (1x1,Colorset 10, Icon $[dTDicons]/thunderbird.png, \
               Action(Mouse 1) "Exec exec thunderbird")
               Action(Mouse 1) "Exec exec thunderbird")
*DashToDock: (1x1, Colorset 268, Icon $[dTDicons]/featherpad.png, \
+ I *DashToDock: (1x1, Colorset 10, Icon $[dTDicons]/featherpad.png, \
               Action(Mouse 1) "Exec exec featherpad")
               Action(Mouse 1) "Exec exec featherpad")
*DashToDock: (1x1, Colorset 268, Icon $[dTDicons]/gimp.png, \
+ I *DashToDock: (1x1, Colorset 10, Icon $[dTDicons]/gimp.png, \
               Action(Mouse 1) "Exec exec gimp")
               Action(Mouse 1) "Exec exec gimp")
*DashToDock: (1x1, Colorset 268, Icon $[dTDicons]/ext-installer.png, \
+ I *DashToDock: (1x1, Colorset 10, Icon $[dTDicons]/desktop-color.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")         
               Action(Mouse 1) "Exec exec lxappearance")         
*DashToDock: (1x1, Colorset 268, Icon $[dTDicons]/screenshooter.png, \
+ I *DashToDock: (1x1, Colorset 10, Icon $[dTDicons]/screenshooter.png, \
               Action(Mouse 1) "Exec exec xfce4-screenshooter")
               Action(Mouse 1) "Exec exec xfce4-screenshooter")
*DashToDock: (1x1, Colorset 268, Icon $[dTDicons]/gparted.png, \
+ I *DashToDock: (1x1, Colorset 10, Icon $[dTDicons]/gparted.png, \
               Action(Mouse 1) "Exec exec /usr/sbin/gparted ")
               Action(Mouse 1) "Exec exec /usr/sbin/gparted ")
             
## Container
## [EDIT end] (number of buttons edit Rows in action/west.conf, east.conf and north.conf)
+ I *DashToDock: (Container(Rows 1,Frame 0))
+ I *DashToDock: (Colorset 22, Icon $[dir-icon]/up.png, Action(Mouse 1) dNorth)
+ I *DashToDock: (Colorset 21, Icon $[dir-icon]/left.png, Action(Mouse 1) dWest)


## Default startup
dWest
           
## Style setting
## Style setting
Style DashToDock !Borders, !Title, WindowListSkip, StaysOnTop, Sticky
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
</pre>
----
<pre>
## 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)
</pre>
----
<pre>
## 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]
</pre>
----
<pre>
## 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]
</pre>
</pre>
----
----
'''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 and run the below line:<br>
''Read $[HOME]/dashToD.txt''
''Read $[HOME]/.fvwm/dashToD.txt''
----
Download icons:<br>
https://rasatpc.net/download/icons/dTD-icons.zip


__NOTOC____NOEDITSECTION__
__NOTOC____NOEDITSECTION__

Latest revision as of 07:00, 13 July 2025

Image

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

## FILE 1: dashToD.txt
## Modules

SetEnv dir-icon $[HOME]/.fvwm/icons
SetEnv dTDicons $[HOME]/.fvwm/icons/icon40x40

## Colorsets
Colorset 21 HGradient 20 #ababab #666c63
Colorset 22 VGradient 20 #ababab #666c63
Colorset 23 fg black, bg #9c9c9c, hi #24424f, sh #111f26, Plain, NoShape

## Move the app panel upward horizontally.

DestroyFunc dNorth
AddToFunc dNorth
+ I KillModule FvwmButtons DashToDock
+ I DestroyModuleConfig DashToDock: *
+ I *DashToDock: Geometry 517x56-550+2	#(horizontal [hight]x[width]+[rightleft]+[top-down])
+ I *DashToDock: Columns 11  #(1 container + 10 as per numbers of buttons in dashToD.txt)
+ I dTDock
+ I Module FvwmButtons DashToDock

## Move the app panel vertically to the left.

DestroyFunc dWest
AddToFunc dWest
+ I KillModule FvwmButtons DashToDock
+ I DestroyModuleConfig DashToDock: *
+ I *DashToDock: Geometry 56x517+2+192 #(vertical west [width]x[hight]+[left-right]+[top-down])
+ I *DashToDock: Rows 11  #(1 container + 10 as per numbers of buttons in dashToD.txt)
+ I dTDock
+ I Module FvwmButtons DashToDock

## Dockbar

DestroyFunc dTDock
AddToFunc dTDock
+ I *DashToDock: PressColorset 23
+ I *DashToDock: Frame 0
## Apps
+ I *DashToDock: (1x1, Colorset 21, Icon $[dir-icon]/search44x44.png, Action(Mouse 1) "Exec exec xfce4-appfinder" )
+ I *DashToDock: (1x1, Colorset 10, Icon $[dTDicons]/terminal.png \
			  Action(Mouse 1) "Exec exec xfce4-terminal")
+ I *DashToDock: (1x1, Colorset 10, Icon $[dTDicons]/thunar.png, \
              Action(Mouse 1) "Exec exec thunar")
+ I *DashToDock: (1x1, Colorset 10, Icon $[dTDicons]/firefox.png, \
              Action(Mouse 1) "Exec exec firefox")
+ I *DashToDock: (1x1,Colorset 10, Icon $[dTDicons]/thunderbird.png, \
              Action(Mouse 1) "Exec exec thunderbird")
+ I *DashToDock: (1x1, Colorset 10, Icon $[dTDicons]/featherpad.png, \
              Action(Mouse 1) "Exec exec featherpad")
+ I *DashToDock: (1x1, Colorset 10, Icon $[dTDicons]/gimp.png, \
              Action(Mouse 1) "Exec exec gimp")
+ I *DashToDock: (1x1, Colorset 10, Icon $[dTDicons]/desktop-color.png, \
              Action(Mouse 1) "Exec exec lxappearance")         
+ I *DashToDock: (1x1, Colorset 10, Icon $[dTDicons]/screenshooter.png, \
              Action(Mouse 1) "Exec exec xfce4-screenshooter")
+ I *DashToDock: (1x1, Colorset 10, Icon $[dTDicons]/gparted.png, \
              Action(Mouse 1) "Exec exec /usr/sbin/gparted ")
## Container
+ I *DashToDock: (Container(Rows 1,Frame 0))
+ I *DashToDock: (Colorset 22, Icon $[dir-icon]/up.png, Action(Mouse 1) dNorth)
+ I *DashToDock: (Colorset 21, Icon $[dir-icon]/left.png, Action(Mouse 1) dWest)

## Default startup
dWest
             
## Style setting
Style DashToDock !Borders, !Title, WindowListSkip, StaysOnTop, Sticky

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


Download icons:
https://rasatpc.net/download/icons/dTD-icons.zip