Configs/.jwmrc

281 lines
11 KiB
XML

<?xml version="1.0"?>
<JWM>
<StartupCommand>/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1</StartupCommand>
<StartupCommand>nm-applet</StartupCommand>
<StartupCommand>libinput-gestures-setup start</StartupCommand>
<StartupCommand>blueman-applet</StartupCommand>
<StartupCommand>numlockx on</StartupCommand>
<StartupCommand>picom -b --conf /etc/xdg/picom.conf</StartupCommand>
<StartupCommand> setxkbmap at</StartupCommand>
<StartupCommand>unclutter </StartupCommand>
<StartupCommand>cbatticon &amp; </StartupCommand>
<StartupCommand> volumeicon &amp;</StartupCommand>
<StartupCommand> ~/.local/share/jwm-config/batteryicon.sh &amp;</StartupCommand>
<StartupCommand>ksuperkey -e 'Super_L=Alt_L|F1' &amp;</StartupCommand>
<StartupCommand>lxqt-notificationd &amp; </StartupCommand>
<StartupCommand>nitrogen --restore</StartupCommand>
<!--
A decent JWM config for a usable desktop with proper icons and standard shortcuts.
Check the readme.md file to see instructions on how to install, use, requirements
info, common keyboard shortcuts etc.
Config:
- Some apps are configured with the apps I had installed (please change as necessary, e.g. file manager, text editor, terminal etc.)
-->
<!-- The root menu. -->
<RootMenu onroot="1" height="22">
<!--<Include>/etc/jwm/debian-menu</Include>-->
<Program icon="kitty.svg" label="Terminal">kitty</Program>
<Program icon="system-file-manager.svg" label="Archivos">spacefm</Program>
<Program icon="firefox.svg" label="Navegador">firefox</Program>
<Program icon="thunderbird.svg" label="Cliente de Correo">thunderbird</Program>
<Program icon="leafpad.svg" label="Editor">FeatherPad</Program>
<Separator/>
<Menu icon="chromium-app-list.svg" label="Aplicaciones">
<Include>exec: xdgmenumaker -n -i -f jwm</Include>
</Menu>
<Separator/>
<Program icon="lock.png" label="Bloquear">
betterlockscreen -u /usr/share/wallpapers/custom -l dim -t "Escribe tu contraseña" -r 1920x1080
</Program>
<Separator/>
<Restart label="Reiniciar JWM" icon="restart.png"/>
<Program icon="" label="Salir">~/.local/share/jwm-config/power.sh</Program>
</RootMenu>
<RootMenu onroot="3" height="25">
<Program icon="network-defaultroute.svg" label="Conexiones de Red">nm-connection-editor</Program>
<Separator/>
<Program icon="octopi.svg" label="Gestor de Paquetes">octoxbps</Program>
<Program icon="ksysguard.svg" label="Monitor del Sistema">kitty -e top</Program>
<Program icon="nitrogen.svg" label="Nitrogen">nitrogen</Program>
<Separator/>
<Program icon="ulauncher.svg" label="Ulauncher">ulauncher</Program>
</RootMenu>
<!-- Options for program groups. -->
<!-- Config note: You can change and adopt as necessary -->
<Group>
<Class>Pidgin</Class>
<Option>sticky</Option>
</Group>
<Group>
<Name>xclock</Name>
<Option>drag</Option>
<Option>notitle</Option>
</Group>
<!-- Tray at the bottom. -->
<Tray x="0" y="-1" height="32" autohide="off">
<TrayButton icon="chrome-app-list.svg">root:1</TrayButton>
<Spacer width="3"/>
<!-- Config note: You can add your apps for quick launch area. -->
<TrayButton label="" icon="octopi.svg">exec:octoxbps</TrayButton>
<TrayButton label="" icon="system-file-manager.svg">exec:spacefm</TrayButton>
<TrayButton label="" icon="tilix.svg">exec:tilix</TrayButton>
<TrayButton label="" icon="firefox.svg">exec:firefox</TrayButton>
<TrayButton label="" icon="thunderbird.svg">exec:thunderbird</TrayButton>
<TrayButton label="" icon="uget.svg">exec:uget-gtk</TrayButton>
<Spacer width="10"/>
<!-- Config note: You can uncomment this to get a pager (multiple desktops) -->
<!-- <Pager labeled="true"/> -->
<TaskList maxwidth="256"/>
<Spacer width="10"/>
<Dock/>
<Clock format="%H:%M"><Button mask="123">exec:gsimplecal</Button></Clock>
<TrayButton label="" popup="Show Desktop" icon="folder-black-desktop.svg">showdesktop</TrayButton>
</Tray>
<!-- Visual Styles -->
<WindowStyle>
<Font>JetbrainsMono-10:bold</Font>
<Width>5</Width>
<Height>26</Height>
<Corner>4</Corner>
<Foreground>#DDDDDD</Foreground>
<Background>#050B0A</Background>
<Outline>#000000</Outline>
<Opacity>0.5</Opacity>
<Active>
<Foreground>a7dfde</Foreground>
<Background>050B0A</Background>
<Outline>#050B0A</Outline>
<Opacity>1.0</Opacity>
</Active>
</WindowStyle>
<TrayStyle group="false" list="all">
<Font>JetBrainsMono-10</Font>
<Background>#050B0A</Background>
<Foreground>a7dfde</Foreground>
<Outline>#050B0A</Outline>
<Opacity>0.75</Opacity>
</TrayStyle>
<PagerStyle>
<Background>#050B0A</Background>
<Foreground>a7dfde</Foreground>
<Outline>#050B0A</Outline>
<Text>#FFFFFF</Text>
<Active>
<Background>#050B0A</Background>
<Foreground>a7dfde</Foreground>
</Active>
</PagerStyle>
<MenuStyle>
<Font>JetBrains-10:Bold</Font>
<Background>#050B0A</Background>
<Foreground>a7dfde</Foreground>
<Outline>#050B0A</Outline>
<Active>
<Background>#050B0A</Background>
<Foreground>a7dfde</Foreground>
</Active>
<Opacity>0.85</Opacity>
</MenuStyle>
<PopupStyle>
<Font>JetBrains-10</Font>
<Background>#050B0A</Background>
<Foreground>a7dfde</Foreground>
<Outline>#050B0A</Outline>
</PopupStyle>
<!-- Path where icons can be found.
IconPath can be listed multiple times to allow searching
for icons in multiple paths.
-->
<IconPath>/usr/share/icons/Simply-Cyan-Circles/scalable/emblems</IconPath>
<IconPath>/usr/share/icons/Simply-Cyan-Circles/scalable/apps</IconPath>
<IconPath>/usr/share/icons/Simply-Cyan-Circles/scalable/places</IconPath>
<IconPath>/usr/share/icons/gnome/256x256/actions</IconPath>
<IconPath>/usr/share/icons/gnome/256x256/apps</IconPath>
<IconPath>/usr/share/icons/gnome/256x256/categories</IconPath>
<IconPath>/usr/share/icons/gnome/256x256/devices</IconPath>
<IconPath>/usr/share/icons/gnome/256x256/emblems</IconPath>
<IconPath>/usr/share/icons/gnome/256x256/mimetypes</IconPath>
<IconPath>/usr/share/icons/gnome/256x256/places</IconPath>
<IconPath>/usr/share/icons/gnome/256x256/status</IconPath>
<IconPath>/usr/share/icons/gnome/32x32/actions</IconPath>
<IconPath>/usr/share/icons/gnome/32x32/animations</IconPath>
<IconPath>/usr/share/icons/gnome/32x32/apps</IconPath>
<IconPath>/usr/share/icons/gnome/32x32/categories</IconPath>
<IconPath>/usr/share/icons/gnome/32x32/devices</IconPath>
<IconPath>/usr/share/icons/gnome/32x32/emblems</IconPath>
<IconPath>/usr/share/icons/gnome/32x32/mimetypes</IconPath>
<IconPath>/usr/share/icons/gnome/32x32/places</IconPath>
<IconPath>/usr/share/icons/gnome/32x32/status</IconPath>
<IconPath>/usr/share/icons/gnome/scalable/actions</IconPath>
<IconPath>/usr/share/icons/gnome/scalable/apps</IconPath>
<IconPath>/usr/share/icons/gnome/scalable/categories</IconPath>
<IconPath>/usr/share/icons/gnome/scalable/devices</IconPath>
<IconPath>/usr/share/icons/gnome/scalable/emblems</IconPath>
<IconPath>/usr/share/icons/gnome/scalable/mimetypes</IconPath>
<IconPath>/usr/share/icons/gnome/scalable/places</IconPath>
<IconPath>/usr/share/icons/gnome/scalable/status</IconPath>
<IconPath>/usr/share/icons/hicolor/256x256/apps</IconPath>
<IconPath>/usr/share/icons/hicolor/256x256/mimetypes</IconPath>
<IconPath>/usr/share/icons/hicolor/32x32/actions</IconPath>
<IconPath>/usr/share/icons/hicolor/32x32/apps</IconPath>
<IconPath>/usr/share/icons/hicolor/32x32/categories</IconPath>
<IconPath>/usr/share/icons/hicolor/32x32/devices</IconPath>
<IconPath>/usr/share/icons/hicolor/32x32/emblems</IconPath>
<IconPath>/usr/share/icons/hicolor/32x32/mimetypes</IconPath>
<IconPath>/usr/share/icons/hicolor/32x32/status</IconPath>
<IconPath>/usr/share/icons/hicolor/512x512/apps</IconPath>
<IconPath>/usr/share/icons/hicolor/512x512/mimetypes</IconPath>
<IconPath>/usr/share/icons/hicolor/scalable/actions</IconPath>
<IconPath>/usr/share/icons/hicolor/scalable/apps</IconPath>
<IconPath>/usr/share/icons/hicolor/scalable/categories</IconPath>
<IconPath>/usr/share/icons/hicolor/scalable/devices</IconPath>
<IconPath>/usr/share/icons/hicolor/scalable/emblems</IconPath>
<IconPath>/usr/share/icons/hicolor/scalable/mimetypes</IconPath>
<IconPath>/usr/share/icons/hicolor/scalable/places</IconPath>
<IconPath>/usr/share/icons/hicolor/scalable/status</IconPath>
<IconPath>/usr/share/icons</IconPath>
<IconPath>/usr/share/pixmaps</IconPath>
<IconPath>
/usr/local/share/jwm
</IconPath>
<!-- Virtual Desktops -->
<!-- Desktop tags can be contained within Desktops for desktop names. -->
<Desktops width="4" height="1">
<!-- Default background. Note that a Background tag can be
contained within a Desktop tag to give a specific background
for that desktop.
-->
<Background type="solid">#111111</Background>
</Desktops>
<!-- Double click speed (in milliseconds) -->
<DoubleClickSpeed>400</DoubleClickSpeed>
<!-- Double click delta (in pixels) -->
<DoubleClickDelta>2</DoubleClickDelta>
<!-- The focus model (sloppy or click) -->
<FocusModel>click</FocusModel>
<!-- The snap mode (none, screen, or border) -<StartupCommand>/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1</StartupCommand> ->
<SnapMode distance="10">border</SnapMode>
<!-- The move mode (outline or opaque) -->
<MoveMode>opaque</MoveMode>
<!-- The resize mode (outline or opaque) -->
<ResizeMode>opaque</ResizeMode>
<!-- Key bindings -->
<Key key="Up">up</Key>
<Key key="Down">down</Key>
<Key key="Right">right</Key>
<Key key="Left">left</Key>
<Key key="h">left</Key>
<Key key="j">down</Key>
<Key key="k">up</Key>
<Key key="l">right</Key>
<Key key="Return">select</Key>
<Key key="Escape">escape</Key>
<Key mask="A" key="Tab">nextstacked</Key>
<Key mask="A" key="F4">close</Key>
<Key mask="A" key="#">desktop#</Key>
<Key mask="A" key="F1">root:1</Key>
<Key mask="A" key="F2">exec:~/.local/share/jwm-config/runmenu.sh</Key>
<Key mask="4" key="R">exec:~/.local/share/jwm-config/runmenu.sh</Key>
<Key mask="A" key="F3">root:1</Key>
<Key mask="A" key="space">window</Key>
<Key mask="A" key="F10">maximize</Key>
<Key mask="CA" key="Right">rdesktop</Key>
<Key mask="4" key="Tab">rdesktop</Key>
<Key mask="CA" key="Left">ldesktop</Key>
<Key mask="CA" key="Up">udesktop</Key>
<Key mask="CA" key="Down">ddesktop</Key>
<Key mask="CA" key="D">showdesktop</Key>
<Key mask="4" key="D">showdesktop</Key>
<Key mask="CA" key="T">exec:lxterminal</Key>
<Key mask="CA" key="E">exec:thunar</Key>
<Key mask="4" key="E">exec:thunar</Key>
<Key mask="" key="F12">exec:~/.local/share/jwm-config/runmenu.sh</Key>
<!-- Connect to external monitor / choose screens -->
<Key mask="4" key="P">exec:~/.local/share/jwm-config/screens.sh</Key>
<Key mask="" key="XF86Display">exec:~/.local/share/jwm-config/screens.sh</Key>
<Key mask="4" key="F4">exec:~/.local/share/jwm-config/power.sh</Key>
<Key mask="CAS" key="R">exec:jwm -restart</Key>
<Key mask="CA" key="L">exec:xlock -mode blank</Key>
<Key mask="4" key="L">exec:xlock -mode blank</Key>
</JWM>