123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311 |
- <?xml version="1.0"?>
- <JWM>
- <!-- || JWM config || -->
- <!--
- ________
- __| __ _|_ --|| About ||--
- \ \ / / / __| Vestylon 20210502.01
- \ \/ / / /|
- \ / / / | by Jayvee Enaguas (HarvettFox96)
- |\/ / / | <harvettfox96@dismail.de>
- |__/ / |
- |___/ | The config file for Joe's Window Manager (JWM)
- |________| on *nix systems.
- -->
- <!-- --|| Appearance ||-- -->
- <!-- ----|| Icons ||---- -->
- <!-- Global: -->
- <IconPath>/usr/share/</IconPath>
- <!-- GNOME: -->
- <IconPath>/usr/share/icons/gnome/</IconPath>
- <!-- Default icon: -->
- <DefaultIcon>./32x32/mimetypes/exec.png</DefaultIcon>
- <!-- ----|| Desktop ||---- -->
- <Desktops width="2" height="1">
- <Background type="command">nitrogen --restore;</Background>
- </Desktops>
- <!-- ----|| Panel ||---- -->
- <TrayStyle>
- <!-- Colour: -->
- <!-- Compositor to handle opacity is required. -->
- <Opacity>1.00</Opacity>
- <Background>#1F1F1F</Background>
- <Foreground>white</Foreground>
- <Outline>#1F1F1F</Outline>
- <Active>
- <Background>#3FFF6F</Background>
- <Foreground>#1F1F1F</Foreground>
- </Active>
- <!-- Font: -->
- <Font>Oxanium-10</Font>
- </TrayStyle>
- <!-- ----|| Desktop pager ||---- -->
- <PagerStyle>
- <!-- Colour: -->
- <Background>#DF8F2F</Background>
- <Foreground>#EFEFEF</Foreground>
- <Outline>#1F1F1F</Outline>
- <Active>
- <Background>#FFCF3F</Background>
- <Foreground>white</Foreground>
- </Active>
- </PagerStyle>
- <!-- ----|| Window ||---- -->
- <WindowStyle>
- <!-- Geometry: -->
- <Width>4</Width>
- <Height>22</Height>
- <Corner>3</Corner>
- <!-- Colour: -->
- <!-- Compositor to handle opacity is required. -->
- <Opacity>1.00</Opacity>
- <Background>#EFEFEF</Background>
- <Foreground>#7F7F7F</Foreground>
- <Outline>#BFBFBF</Outline>
- <Active>
- <Opacity>1.00</Opacity>
- <Background>#3FFF6F</Background>
- <Foreground>#1F1F1F</Foreground>
- <Outline>#0F9F5F</Outline>
- </Active>
- <!-- Font: -->
- <Font>Oxanium-10</Font>
- </WindowStyle>
- <!-- ----|| Menu ||---- -->
- <MenuStyle>
- <!-- Colour: -->
- <!-- Compositor to handle opacity is required. -->
- <Opacity>1.00</Opacity>
- <Background>white</Background>
- <Foreground>#1F1F1F</Foreground>
- <Outline>#BFBFBF</Outline>
- <Active>
- <Background>#3FFF6F</Background>
- <Foreground>#1F1F1F</Foreground>
- </Active>
- <!-- Font: -->
- <Font>Barlow-10</Font>
- </MenuStyle>
- <!-- ----|| Tool-tip ||---- -->
- <PopupStyle delay="250">
- <!-- Colour: -->
- <Background>#1F1F1F</Background>
- <Foreground>white</Foreground>
- <Outline>#7F7F7F</Outline>
- <!-- Font: -->
- <Font>Barlow-10</Font>
- </PopupStyle>
- <!-- --|| Placement ||-- -->
- <!-- ----|| Panel ||---- -->
- <Tray valign="top" height="30">
- <TrayButton icon="./24x24/devices/computer.png" popup="Show or hide menu">root:1</TrayButton>
- <Clock width="48" format="%-H:%M">exec:gsimplecal;</Clock>
- <TrayButton icon="./24x24/places/desktop.png" popup="Show or hide all windows on the desktop">showdesktop</TrayButton>
- <Spacer width="4"/>
- <TaskList labeled="false"/>
- <Spacer width="4"/>
- <Dock/>
- <Spacer width="4"/>
- <Pager/>
- </Tray>
- <!-- ----|| Menu ||---- -->
- <RootMenu onroot="13" height="14">
- <Program icon="./16x16/actions/system-run.png" label="Run...">[ `command -v gmrun` ] && gmrun || dmenu_run -b -nb "#1F1F1F" -nf white -sb "#3FFF6F" -sf "#1F1F1F" -fn "Modern DOS 8x16-12";</Program>
- <Program icon="./16x16/apps/terminal.png" label="Terminal">xterm;</Program>
- <Separator/>
- <Include>exec:xdg_menu --root-menu "/etc/xdg/menus/hyperbola-applications.menu" --format jwm --fullmenu;</Include>
- <Separator/>
- <Restart icon="./16x16/actions/reload.png" label="Refresh JWM"/>
- <Exit icon="./16x16/actions/exit.png" label="Exit JWM"/>
- </RootMenu>
- <!-- --|| Window ||-- -->
- <!-- ----|| Behaviour ||---- -->
- <!-- Focus mode: -->
- <FocusModel>click</FocusModel>
- <!-- Move and resize indicators: -->
- <MoveMode coordinates="off"/>
- <ResizeMode coordinates="window"/>
- <!-- Snap mode and distance: -->
- <SnapMode distance="4"/>
- <!-- ----|| Class ||---- -->
- <!-- Global: -->
- <Group>
- <!-- Keep all centre in position. -->
- <Option>centered</Option>
- </Group>
- <!-- gmrun: -->
- <Group>
- <Name>gmrun</Name>
- <!-- Keep above in layer. -->
- <Option>layer:above</Option>
- <!-- Keep on every page of the desktop. -->
- <Option>sticky</Option>
- <!-- Hide task list in the panel. -->
- <Option>nolist</Option>
- <!-- Hide in the desktop pager. -->
- <Option>nopager</Option>
- <!-- Hide title bar. -->
- <Option>notitle</Option>
- <!-- Hide border. -->
- <Option>noborder</Option>
- <!-- Don't minimize. -->
- <Option>nomin</Option>
- <!-- Don't roll-up. -->
- <Option>noshade</Option>
- <!-- Don't drag while moving or resizing. -->
- <Option>nodrag</Option>
- <!-- Don't move. -->
- <Option>nomove</Option>
- <!-- Don't switch to full screen. -->
- <Option>nofullscreen</Option>
- </Group>
- <!-- gsimplecal: -->
- <Group>
- <Name>gsimplecal</Name>
- <!-- Hide in the desktop pager. -->
- <Option>nopager</Option>
- <!-- Don't minimize. -->
- <Option>nomin</Option>
- <!-- Don't roll-up. -->
- <Option>noshade</Option>
- <!-- Don't drag while moving or resizing. -->
- <Option>nodrag</Option>
- <!-- Don't move. -->
- <Option>nomove</Option>
- <!-- Don't switch to full screen. -->
- <Option>nofullscreen</Option>
- </Group>
- <!-- --|| Binding ||-- -->
- <!-- ----|| Navigation ||---- -->
- <!-- Directional keys: -->
- <Key key="Up">up</Key>
- <Key key="Down">down</Key>
- <Key key="Left">left</Key>
- <Key key="Right">right</Key>
- <!-- Confirm key: -->
- <Key key="Return">select</Key>
- <!-- Cancel key: -->
- <Key key="Escape">escape</Key>
- <!-- ----|| Window ||---- -->
- <!-- Menu: -->
- <Key mask="A" key="space">window</Key>
- <!-- Minimize: -->
- <Key mask="4" key="Down">minimize</Key>
- <!-- Close: -->
- <Key mask="A" key="F4">close</Key>
- <!-- Next in stacking order: -->
- <Key mask="A" key="Tab">nextstacked</Key>
- <!-- Previous in stacking order: -->
- <Key mask="SA" key="Tab">prevstacked</Key>
- <!-- Show or hide all windows on the desktop: -->
- <Key mask="4" key="D">showdesktop</Key>
- <!-- ----|| Session ||---- -->
- <!-- Lock session via screen locker (slock): -->
- <Key mask="4" key="l">exec:slock;</Key>
- <!-- Refresh JWM: -->
- <Key mask="S4" key="R">restart</Key>
- <!-- Exit JWM: -->
- <Key mask="S4" key="Q">exit</Key>
- <!-- ----|| Screencap ||---- -->
- <!-- Screencap in the desktop: -->
- <Key key="Print">exec:scrot -z "$HOME/screencap-desktop-%Y.%m.%d-%H.%M.%S.png" -e "play -qn synth 0.05 sin F6 sin C7 delay 0 0.075 vol 0.75";</Key>
- <!-- Screencap in the current window: -->
- <Key mask="S" key="Print">exec:scrot -buz "$HOME/screencap-window-%Y.%m.%d-%H.%M.%S.png" -e "play -qn synth 0.05 sin F6 sin C7 delay 0 0.075 vol 0.75";</Key>
- <!-- ----|| Programme ||---- -->
- <!-- Run command (gmrun or dmenu_run (fallback)): -->
- <Key mask="4" key="R">exec:[ `command -v gmrun` ] && gmrun || dmenu_run -b -nb "#1F1F1F" -nf white -sb "#3FFF6F" -sf "#1F1F1F" -fn "Modern DOS 8x16-12";</Key>
- <!-- File manager (GNU Midnight Commander) via terminal: -->
- <Key mask="A4" key="E">exec:xterm -e "mc";</Key>
- <!-- System monitor (htop) via terminal: -->
- <Key mask="S4" key="Delete">exec:xterm -e "htop";</Key>
- <!-- Terminal (XTerm): -->
- <Key mask="4" key="T">exec:xterm;</Key>
- <!-- File manager (X File Explorer or FOX PathFinder (fallback)): -->
- <Key mask="4" key="E">exec:[ `command -v xfe` ] && xfe || PathFinder;</Key>
- <!-- BleachBit: -->
- <!-- If used, uncomment in Key tag below to enable. -->
- <!-- Key mask="4" key="Delete">exec:bleachbit;</Key -->
- <!-- ----|| Accessbility ||---- -->
- <!-- Magnifier (xmag): -->
- <Key mask="4" key="M">exec:xmag;</Key>
- <!-- ----|| Audio ||---- -->
- <!-- Increase master volume by 5%. -->
- <Key key="XF86AudioRaiseVolume">exec:amixer -q set "Master" 5%+;</Key>
- <!-- Decrease master volume by 5%. -->
- <Key key="XF86AudioRaiseVolume">exec:amixer -q set "Master" 5%+;</Key>
- <!-- Toggle to mute or unmute master volume -->
- <Key key="XF86AudioMute">exec:amixer -q set "Master" toggle;</Key>
- <!-- Audio mixer (PulseAudio): -->
- <!-- If used, uncomment in Key tag below to enable. -->
- <!-- Key mask="4" key="V">exec:pavucontrol;</Key -->
- <!-- Audio mixer (ALSA) via terminal: -->
- <Key mask="S4" key="V">exec:xterm -e "alsamixer";</Key>
- <!-- ----|| Display ||---- -->
- <!-- For portable devices only. -->
- <!-- Increase brightness: -->
- <Key mask="S4" key="plus">exec:xbacklight -inc 5 -time 125</Key>
- <!-- Decrease brightness: -->
- <Key mask="S4" key="underscore">exec:xbacklight -dec 5 -time 125</Key>
- <!-- --|| Session ||-- -->
- <!-- ----|| Start-up ||---- -->
- <!-- Launch compositor (compton) as daemon. -->
- <StartupCommand>compton -b;</StartupCommand>
- <!-- Launch system monitor widget (conky) as daemon. -->
- <!-- If used, uncomment in StartupCommand tag below to enable. -->
- <!-- StartupCommand>conky -d;</StartupCommand -->
- <!-- Launch audio mixer (volwheel) as the tray icon in the panel. -->
- <StartupCommand>volwheel;</StartupCommand>
- <!-- Launch clipboard manager (Parcellite) as the tray icon in the panel. -->
- <StartupCommand>parcellite;</StartupCommand>
- <!-- Launch battery indicator (Parcellite) as the tray icon in the panel. -->
- <StartupCommand>cbatticon -l 15 -r 5 -c "doas poweroff";</StartupCommand>
- <!-- Synchronize display off timer. -->
- <StartupCommand>xset s `cat "/sys/module/kernel/parameters/consoleblank"`;</StartupCommand>
- <!-- Inactive before locking session via screen locker, launching screen saver, or both. -->
- <StartupCommand>xautolock -locker slock -time 5;</StartupCommand>
- <!-- ----|| Refresh ||---- -->
- <!-- Relaunch compositor (compton) as daemon. -->
- <RestartCommand>pkill -9 compton; compton -b;</RestartCommand>
- </JWM>
|