summaryrefslogtreecommitdiff
path: root/.config/openbox/rc.xml
diff options
context:
space:
mode:
Diffstat (limited to '.config/openbox/rc.xml')
-rw-r--r--.config/openbox/rc.xml102
1 files changed, 61 insertions, 41 deletions
diff --git a/.config/openbox/rc.xml b/.config/openbox/rc.xml
index cd7abd4..c5f6df3 100644
--- a/.config/openbox/rc.xml
+++ b/.config/openbox/rc.xml
@@ -120,13 +120,13 @@
use obconf if you want to change these without having to log out
and back in -->
- <number>1</number>
+ <number>4</number>
<firstdesk>1</firstdesk>
<names>
- <!-- set names up here if you want to, like this:
- <name>desktop 1</name>
- <name>desktop 2</name>
- -->
+ <name>1</name>
+ <name>2</name>
+ <name>3</name>
+ <name>4</name>
</names>
<popupTime>875</popupTime>
<!-- The number of milliseconds to show the popup for when switching
@@ -179,16 +179,21 @@
<keyboard>
<chainQuitKey>C-g</chainQuitKey>
<!-- Keybindings for desktop switching -->
- <keybind key="C-A-space">
- <action name="ShowMenu"><menu>root-menu</menu></action>
- </keybind>
- <keybind key="C-A-Left">
+ <keybind key="A-F6">
+ <action name="MaximizeFull"/>
+ </keybind>
+ <keybind key="C-A-space">
+ <action name="ShowMenu">
+ <menu>root-menu</menu>
+ </action>
+ </keybind>
+ <keybind key="A-J">
<action name="GoToDesktop">
<to>left</to>
<wrap>no</wrap>
</action>
</keybind>
- <keybind key="C-A-Right">
+ <keybind key="A-K">
<action name="GoToDesktop">
<to>right</to>
<wrap>no</wrap>
@@ -230,22 +235,22 @@
<wrap>no</wrap>
</action>
</keybind>
- <keybind key="W-F1">
+ <keybind key="A-1">
<action name="GoToDesktop">
<to>1</to>
</action>
</keybind>
- <keybind key="W-F2">
+ <keybind key="A-2">
<action name="GoToDesktop">
<to>2</to>
</action>
</keybind>
- <keybind key="W-F3">
+ <keybind key="A-3">
<action name="GoToDesktop">
<to>3</to>
</action>
</keybind>
- <keybind key="W-F4">
+ <keybind key="A-4">
<action name="GoToDesktop">
<to>4</to>
</action>
@@ -264,54 +269,56 @@
</keybind>
<keybind key="A-space">
<action name="Execute">
- <command>dmenu_run</command>
+ <command>dmenu_run</command>
</action>
</keybind>
- <keybind key="A-space">
+ <keybind key="A-C">
<action name="Execute">
- <command>dmenu_run</command>
+ <command>clipmenu</command>
</action>
</keybind>
- <keybind key="A-H">
+ <keybind key="A-S">
<action name="Execute">
- <command>clipmenu</command>
+ <command>urxvt -e sh -c "fzsnip"</command>
</action>
</keybind>
<keybind key="XF86AudioRaiseVolume">
<action name="Execute">
<command>pactl set-sink-volume 0 +10%</command>
</action>
- </keybind>
+ </keybind>
<keybind key="XF86AudioLowerVolume">
- <action name="Execute">
+ <action name="Execute">
<command>pactl set-sink-volume 0 -10%</command>
</action>
</keybind>
+ <keybind key="Print">
+ <action name="Execute">
+ <command>scrot ~/pictures/screenshots/%Y-%m-%d-%H-%M-%S.png</command>
+ </action>
+ </keybind>
+ <keybind key="A-Print">
+ <action name="Execute">
+ <command>scrot -s ~/pictures/screenshots/%Y-%m-%d-%H-%M-%S.png</command>
+ </action>
+ </keybind>
<keybind key="XF86AudioMute">
<action name="Execute">
- <command>pactl set-sink-mute 0 toggle</command>
+ <command>pactl set-sink-mute 0 toggle</command>
</action>
</keybind>
- <!-- Keybindings for window switching -->
- <keybind key="A-Tab">
- <action name="NextWindow">
- <finalactions>
- <action name="Focus"/>
- <action name="Raise"/>
- <action name="Unshade"/>
- </finalactions>
+ <keybind key="XF86MonBrightnessDown">
+ <action name="Execute">
+ <command>brightnessctl set 100-</command>
</action>
</keybind>
- <keybind key="A-S-Tab">
- <action name="PreviousWindow">
- <finalactions>
- <action name="Focus"/>
- <action name="Raise"/>
- <action name="Unshade"/>
- </finalactions>
+ <keybind key="XF86MonBrightnessUp">
+ <action name="Execute">
+ <command>brightnessctl set 100+</command>
</action>
</keybind>
- <keybind key="A-J">
+ <!-- Keybindings for window switching -->
+ <keybind key="A-Tab">
<action name="NextWindow">
<finalactions>
<action name="Focus"/>
@@ -320,7 +327,7 @@
</finalactions>
</action>
</keybind>
- <keybind key="A-K">
+ <keybind key="A-S-Tab">
<action name="PreviousWindow">
<finalactions>
<action name="Focus"/>
@@ -384,6 +391,9 @@
<screenEdgeWarpMouse>false</screenEdgeWarpMouse>
<!-- Set this to TRUE to move the mouse pointer across the desktop when
switching due to hitting the edge of the screen -->
+ <mousebind button="A-Left" action="Drag">
+ <action name="Move"/>
+ </mousebind>
<context name="Frame">
<mousebind button="A-Left" action="Press">
<action name="Focus"/>
@@ -778,8 +788,6 @@
<x>center</x>
# a number like 50, or 'center' to center on screen. use a negative number
# to start from the right (or bottom for <y>), ie -50 is 50 pixels from
- # the right edge (or bottom). use 'default' to specify using value
- # provided by the application, or chosen by openbox, instead.
<y>200</y>
<monitor>1</monitor>
# specifies the monitor in a xinerama setup.
@@ -826,5 +834,17 @@
# end of the example
-->
+ <application class="URxvt">
+ <decor>no</decor>
+ <desktop>1</desktop>
+ </application>
+ <application class="Darktable">
+ <decor>no</decor>
+ <desktop>3</desktop>
+ <fullscreen>yes</fullscreen>
+ </application>
+ <application class="kdenlive">
+ <decor>no</decor>
+ </application>
</applications>
</openbox_config>