summaryrefslogtreecommitdiffstats
path: root/.config/openbox
diff options
context:
space:
mode:
authorJoe <rrbo@proton.me>2023-01-09 19:21:46 +0100
committerJoe <rrbo@proton.me>2023-01-09 19:21:46 +0100
commit4d549e39e9dd65b74c1b9f60a34b8ea691032144 (patch)
tree41f91dd74289ae0909fdff598c1efc11d2ce58a4 /.config/openbox
parentupdate (diff)
downloaddotfiles-bsd-4d549e39e9dd65b74c1b9f60a34b8ea691032144.tar.gz
dotfiles-bsd-4d549e39e9dd65b74c1b9f60a34b8ea691032144.tar.bz2
dotfiles-bsd-4d549e39e9dd65b74c1b9f60a34b8ea691032144.tar.xz
dotfiles-bsd-4d549e39e9dd65b74c1b9f60a34b8ea691032144.tar.zst
dotfiles-bsd-4d549e39e9dd65b74c1b9f60a34b8ea691032144.zip
wip
Diffstat (limited to '.config/openbox')
-rwxr-xr-x.config/openbox/menu.xml28
-rwxr-xr-x.config/openbox/rc.xml67
2 files changed, 70 insertions, 25 deletions
diff --git a/.config/openbox/menu.xml b/.config/openbox/menu.xml
index 595a4a6..aa4d1bd 100755
--- a/.config/openbox/menu.xml
+++ b/.config/openbox/menu.xml
@@ -175,11 +175,39 @@
<item label="Reload">
<action name="Reconfigure" />
</item>
+ <item label="Lock screen">
+ <action name="Execute">
+ <command>xscreensaver-command -lock</command>
+ </action>
+ </item>
+ <item label="Sleep">
+ <action name="Execute">
+ <command>notify-send -u normal reboot " G'night, partner!"</command>
+ <command>sleep 2</command>
+ <command>acpiconf -s 3</command>
+ </action>
+ </item>
<item label="Log Out">
<action name="Exit">
<prompt>yes</prompt>
</action>
</item>
+ <item label="Reboot">
+ <action name="Execute">
+ <command>emacsclient -e '"(save-buffers-kill-emacs)"'</command>
+ <command>notify-send -u normal reboot " Rebootin' now!"</command>
+ <command>sleep 2</command>
+ <command>shutdown -r now</command>
+ </action>
+ </item>
+ <item label="Shutdown">
+ <action name="Execute">
+ <command>emacsclient -e '"(save-buffers-kill-emacs)"'</command>
+ <command>notify-send -u normal shutdown ' Farewell, partner!'</command>
+ <command>sleep 2</command>
+ <command>shutdown -p now</command>
+ </action>
+ </item>
</menu>
</openbox_menu>
diff --git a/.config/openbox/rc.xml b/.config/openbox/rc.xml
index 205ee5c..82a024d 100755
--- a/.config/openbox/rc.xml
+++ b/.config/openbox/rc.xml
@@ -369,37 +369,19 @@
</action>
</keybind>
<!-- Keybindings for running applications -->
- <keybind key="W-C-S-p">
- <action name="Execute">
- <command>/home/jozan/.local/bin/dmpass --full</command>
- </action>
- </keybind>
- <keybind key="W-C-p">
- <action name="Execute">
- <command>/home/jozan/.local/bin/dmpass</command>
- </action>
- </keybind>
<keybind key="W-p">
<action name="Execute">
- <startupnotify>
- <enabled>true</enabled>
- <name>dmenu</name>
- </startupnotify>
<command>dmenu_run</command>
</action>
</keybind>
<keybind key="W-Return">
<action name="Execute">
- <startupnotify>
- <enabled>true</enabled>
- <name>alacritty</name>
- </startupnotify>
<command>alacritty</command>
</action>
</keybind>
- <keybind key="W-BackSpace">
+ <keybind key="W-S-Return">
<action name="Execute">
- <command>/home/jozan/.local/bin/dmpc</command>
+ <command>cool-retro-term</command>
</action>
</keybind>
<keybind key="W-F1">
@@ -410,21 +392,56 @@
</startupnotify>
</action>
</keybind>
+ <keybind key="W-F2">
+ <action name="Execute">
+ <command>emacsclient -c</command>
+ </action>
+ </keybind>
<keybind key="W-F3">
<action name="Execute">
- <startupnotify>
- <enabled>true</enabled>
- <name>iridium</name>
- </startupnotify>
<command>iridium-browser --force-dark-mode</command>
</action>
</keybind>
- <!-- Other -->
+ <keybind key="W-S-F3">
+ <action name="Execute">
+ <command>torify iridium-browser --force-dark-mode</command>
+ </action>
+ </keybind>
+ <keybind key="W-F4">
+ <action name="Execute">
+ <command>alacritty -e w3m https://start.duckduckgo.com/</command>
+ </action>
+ </keybind>
+ <keybind key="W-F5">
+ <action name="Execute">
+ <command>alacritty -e ncmpc</command>
+ </action>
+ </keybind>
+ <keybind key="W-F6">
+ <action name="Execute">
+ <command>alacritty -e newsboat</command>
+ </action>
+ </keybind>
<keybind key="W-C-F12">
<action name="Execute">
<command>/home/jozan/.local/bin/dmlog</command>
</action>
</keybind>
+ <keybind key="W-C-S-p">
+ <action name="Execute">
+ <command>/home/jozan/.local/bin/dmpass --full</command>
+ </action>
+ </keybind>
+ <keybind key="W-C-p">
+ <action name="Execute">
+ <command>/home/jozan/.local/bin/dmpass</command>
+ </action>
+ </keybind>
+ <keybind key="W-BackSpace">
+ <action name="Execute">
+ <command>/home/jozan/.local/bin/dmpc</command>
+ </action>
+ </keybind>
<keybind key="W-C-BackSpace">
<action name="Execute">
<command>/home/jozan/.local/bin/dmlog</command>