Bare openbox config
This commit is contained in:
parent
576722233a
commit
18a7fb90e9
52
jaci/dotfiles/labwc/.paper-config/menu.xml
Normal file
52
jaci/dotfiles/labwc/.paper-config/menu.xml
Normal file
|
@ -0,0 +1,52 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<openbox_menu
|
||||
xmlns="http://openbox.org/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://openbox.org/
|
||||
file:///usr/share/openbox/menu.xsd">
|
||||
<menu id="root-menu" label="Openbox 3">
|
||||
<item label="Terminal emulator">
|
||||
<action name="Execute">
|
||||
<execute>x-terminal-emulator</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Web browser">
|
||||
<action name="Execute">
|
||||
<execute>x-www-browser</execute>
|
||||
</action>
|
||||
</item>
|
||||
<separator />
|
||||
<menu execute="openbox-menu lxde-applications.menu" id="apps" label="Applications"/>
|
||||
<menu id="client-list-menu" />
|
||||
<separator />
|
||||
<item label="Configurations">
|
||||
<action name="Execute">
|
||||
<execute>obconf</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Reconfigure">
|
||||
<action name="Reconfigure" />
|
||||
</item>
|
||||
<separator />
|
||||
<menu id="exit" label="Exit" >
|
||||
<item label="Logout">
|
||||
<action name="Exit" />
|
||||
</item>
|
||||
<item label="Suspend">
|
||||
<action name="Execute">
|
||||
<execute>systemctl suspend</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Reboot">
|
||||
<action name="Execute">
|
||||
<execute>systemctl reboot</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Shutdown">
|
||||
<action name="Execute">
|
||||
<execute>systemctl poweroff</execute>
|
||||
</action>
|
||||
</item>
|
||||
</menu>
|
||||
</menu>
|
||||
</openbox_menu>
|
|
@ -1,52 +1,73 @@
|
|||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<openbox_menu
|
||||
xmlns="http://openbox.org/"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://openbox.org/
|
||||
file:///usr/share/openbox/menu.xsd">
|
||||
<menu id="root-menu" label="Openbox 3">
|
||||
<item label="Terminal emulator">
|
||||
<action name="Execute">
|
||||
<execute>x-terminal-emulator</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Web browser">
|
||||
<action name="Execute">
|
||||
<execute>x-www-browser</execute>
|
||||
</action>
|
||||
</item>
|
||||
<separator />
|
||||
<menu execute="openbox-menu lxde-applications.menu" id="apps" label="Applications"/>
|
||||
<menu id="client-list-menu" />
|
||||
<separator />
|
||||
<item label="Configurations">
|
||||
<action name="Execute">
|
||||
<execute>obconf</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Reconfigure">
|
||||
<action name="Reconfigure" />
|
||||
</item>
|
||||
<separator />
|
||||
<menu id="exit" label="Exit" >
|
||||
<item label="Logout">
|
||||
<action name="Exit" />
|
||||
</item>
|
||||
<item label="Suspend">
|
||||
<action name="Execute">
|
||||
<execute>systemctl suspend</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Reboot">
|
||||
<action name="Execute">
|
||||
<execute>systemctl reboot</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Shutdown">
|
||||
<action name="Execute">
|
||||
<execute>systemctl poweroff</execute>
|
||||
</action>
|
||||
</item>
|
||||
</menu>
|
||||
</menu>
|
||||
|
||||
<openbox_menu>
|
||||
<!-- Note: for localization support of menu items "client-menu" has to be removed here -->
|
||||
<menu id="client-menu">
|
||||
<item label="Minimize">
|
||||
<action name="Iconify" />
|
||||
</item>
|
||||
<item label="Maximize">
|
||||
<action name="ToggleMaximize" />
|
||||
</item>
|
||||
<item label="Fullscreen">
|
||||
<action name="ToggleFullscreen" />
|
||||
</item>
|
||||
<item label="Roll up/down">
|
||||
<action name="ToggleShade" />
|
||||
</item>
|
||||
<item label="Decorations">
|
||||
<action name="ToggleDecorations" />
|
||||
</item>
|
||||
<item label="Always on Top">
|
||||
<action name="ToggleAlwaysOnTop" />
|
||||
</item>
|
||||
<!--
|
||||
Any menu with the id "workspaces" will be hidden
|
||||
if there is only a single workspace available.
|
||||
-->
|
||||
<menu id="workspaces" label="Workspace">
|
||||
<item label="Move left">
|
||||
<action name="SendToDesktop" to="left" />
|
||||
</item>
|
||||
<item label="Move right">
|
||||
<action name="SendToDesktop" to="right" />
|
||||
</item>
|
||||
<separator />
|
||||
<item label="Always on Visible Workspace">
|
||||
<action name="ToggleOmnipresent" />
|
||||
</item>
|
||||
</menu>
|
||||
<item label="Close">
|
||||
<action name="Close" />
|
||||
</item>
|
||||
</menu>
|
||||
|
||||
<menu id="root-menu">
|
||||
<item label="Web browser">
|
||||
<action name="Execute" command="firefox" />
|
||||
</item>
|
||||
<item label="Terminal">
|
||||
<action name="Execute" command="foot" />
|
||||
</item>
|
||||
<item label="Reconfigure">
|
||||
<action name="Reconfigure" />
|
||||
</item>
|
||||
<item label="Exit">
|
||||
<action name="Exit" />
|
||||
</item>
|
||||
<item label="Poweroff">
|
||||
<action name="Execute" command="systemctl -i poweroff" />
|
||||
</item>
|
||||
</menu>
|
||||
|
||||
<menu id="some-custom-menu">
|
||||
<item label="Reconfigure">
|
||||
<action name="Reconfigure" />
|
||||
</item>
|
||||
<item label="Exit">
|
||||
<action name="Exit" />
|
||||
</item>
|
||||
</menu>
|
||||
|
||||
</openbox_menu>
|
||||
|
|
Binary file not shown.
|
@ -24,7 +24,7 @@
|
|||
###
|
||||
config = lib.mkIf config.labwc.enable {
|
||||
|
||||
programs.sway.enable = true;
|
||||
# programs.sway.enable = true;
|
||||
|
||||
nixpkgs.config.allowUnfree = config.labwc.useNonFree;
|
||||
# For R2ModMan
|
||||
|
@ -61,6 +61,7 @@
|
|||
git
|
||||
glib # gsettings
|
||||
grim
|
||||
ghostscript
|
||||
labwc
|
||||
libnotify
|
||||
mako
|
||||
|
@ -85,9 +86,9 @@
|
|||
# ])
|
||||
];
|
||||
|
||||
environment.loginShellInit = ''
|
||||
[[ "$(tty)" == /dev/tty1 ]] && labwc
|
||||
'';
|
||||
# environment.loginShellInit = ''
|
||||
# [[ "$(tty)" == /dev/tty1 ]] && labwc
|
||||
# '';
|
||||
# Thunar config
|
||||
programs.thunar = {
|
||||
enable = true;
|
||||
|
@ -108,8 +109,15 @@
|
|||
###
|
||||
## Services
|
||||
###
|
||||
|
||||
# Printing
|
||||
services.printing.enable = true;
|
||||
services.printing.drivers = [ pkgs.brlaser ];
|
||||
|
||||
services.gvfs.enable = true; # thunar functionalities
|
||||
|
||||
services.openssh.enable = true;
|
||||
|
||||
services.dbus.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user