From 16abe37a529c761d1abfe22c750b1974788b4798 Mon Sep 17 00:00:00 2001 From: buckn Date: Tue, 30 May 2023 15:57:01 +0000 Subject: [PATCH] initial configs --- dot | 4 + openbox/autostart | 21 ++ openbox/environment | 10 + openbox/menu.xml | 35 ++ openbox/rc.xml | 804 +++++++++++++++++++++++++++++++++++++++++ xbindkeys/.xbindkeysrc | 76 ++++ 6 files changed, 950 insertions(+) create mode 100755 dot create mode 100755 openbox/autostart create mode 100755 openbox/environment create mode 100644 openbox/menu.xml create mode 100644 openbox/rc.xml create mode 100644 xbindkeys/.xbindkeysrc diff --git a/dot b/dot new file mode 100755 index 0000000..1998493 --- /dev/null +++ b/dot @@ -0,0 +1,4 @@ +#!/bin/sh + +rsync -vu ./xbindkeys/.xbindkeysrc ~/.xbindkeysrc +rsync -rvu ./openbox ~/.config/openbox diff --git a/openbox/autostart b/openbox/autostart new file mode 100755 index 0000000..c41492a --- /dev/null +++ b/openbox/autostart @@ -0,0 +1,21 @@ +# +# These things are run when an Openbox X Session is started. +# You may place a similar script in $HOME/.config/openbox/autostart +# to run user-specific things. +# + +# If you want to use GNOME config tools... +# +#if test -x /usr/lib/x86_64-linux-gnu/gnome-settings-daemon >/dev/null; then +# /usr/lib/x86_64-linux-gnu/gnome-settings-daemon & +#elif which gnome-settings-daemon >/dev/null 2>&1; then +# gnome-settings-daemon & +#fi + +# If you want to use XFCE config tools... +# +#xfce-mcs-manager & +xbindkeys +alacritty +dmenu +demnu_run diff --git a/openbox/environment b/openbox/environment new file mode 100755 index 0000000..3311bd6 --- /dev/null +++ b/openbox/environment @@ -0,0 +1,10 @@ +# +# Set system-wide environment variables here for Openbox +# User-specific variables should be placed in $HOME/.config/openbox/environment +# + +# To set your language for displaying messages and time/date formats, use the following: +#LANG=en_CA.UTF8 + +# To set your keyboard layout, you need to modify your X config: +# http://www.google.com/search?q=how+to+set+keyboard+layout+xorg diff --git a/openbox/menu.xml b/openbox/menu.xml new file mode 100644 index 0000000..57b34e0 --- /dev/null +++ b/openbox/menu.xml @@ -0,0 +1,35 @@ + + + + + + + x-terminal-emulator + + + x-www-browser + + + + + + + + obconf + + + + + + + + + + + + + + diff --git a/openbox/rc.xml b/openbox/rc.xml new file mode 100644 index 0000000..35d8767 --- /dev/null +++ b/openbox/rc.xml @@ -0,0 +1,804 @@ + + + + + 10 + 20 + + + yes + + no + + yes + + no + + 200 + + no + + + + Smart + +
yes
+ + Primary + + 1 + +
+ + Clearlooks + + + no + no + + Hack + 8 + + Bold + + Normal + + + + Hack + 8 + + Bold + + Normal + + + + Hack + 9 + + Normal + + Normal + + + + Hack + 9 + + Normal + + Normal + + + + Hack + 9 + + Bold + + Normal + + + + Hack + 9 + + Bold + + Normal + + + + + + 4 + 1 + + code + music + browser + game + + 875 + + + + yes + Nonpixel + + Center + + + + 10 + + 10 + + + + + + 0 + 0 + 0 + 0 + + + TopLeft + + 0 + 0 + no + Above + + Vertical + + no + 300 + + 300 + + Middle + + + + C-g + + + + + + + left + no + + + + + right + no + + + + + up + no + + + + + down + no + + + + + left + no + + + + + right + no + + + + + up + no + + + + + down + no + + + + + 1 + + + + + 2 + + + + + 3 + + + + + 4 + + + + + + + + + + + + + + + + + client-menu + + + + + + scrot -s + + + + + + + + + + + + + + + + + + + + + + + + yes + yes + + + + + + + + + + + right + + + + + left + + + + + up + + + + + down + + + + + + + true + Konqueror + + kfmclient openProfile filemanagement + + + + + + scrot + + + + + 1 + + 500 + + 400 + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + previous + + + + + next + + + + + previous + + + + + next + + + + + previous + + + + + next + + + + + + + + + + + + + no + + + + + + + + + + + yes + + + + + + + + + + + + + + + + + + + + + + + client-menu + + + + + + + top + + + + + + + left + + + + + + + right + + + + + + + bottom + + + + + + + client-menu + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + client-menu + + + + + + + client-menu + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + vertical + + + + + horizontal + + + + + + + + + + + + + + + + + previous + + + + + next + + + + + previous + + + + + next + + + + + previous + + + + + next + + + + + + + + + + + + + + + + client-list-combined-menu + + + + + root-menu + + + + + + + previous + + + + + next + + + + + previous + + + + + next + + + + + + no + + + + + + /var/lib/openbox/debian-menu.xml + menu.xml + 200 + + no + + 100 + + 400 + + yes + + yes + + + + + +
diff --git a/xbindkeys/.xbindkeysrc b/xbindkeys/.xbindkeysrc new file mode 100644 index 0000000..848a284 --- /dev/null +++ b/xbindkeys/.xbindkeysrc @@ -0,0 +1,76 @@ +# For the benefit of emacs users: -*- shell-script -*- +########################### +# xbindkeys configuration # +########################### +# +# Version: 1.8.7 +# +# If you edit this file, do not forget to uncomment any lines +# that you change. +# The pound(#) symbol may be used anywhere for comments. +# +# To specify a key, you can use 'xbindkeys --key' or +# 'xbindkeys --multikey' and put one of the two lines in this file. +# +# The format of a command line is: +# "command to start" +# associated key +# +# +# A list of keys is in /usr/include/X11/keysym.h and in +# /usr/include/X11/keysymdef.h +# The XK_ is not needed. +# +# List of modifier: +# Release, Control, Shift, Mod1 (Alt), Mod2 (NumLock), +# Mod3 (CapsLock), Mod4, Mod5 (Scroll). +# + +# The release modifier is not a standard X modifier, but you can +# use it if you want to catch release events instead of press events + +# By defaults, xbindkeys does not pay attention with the modifiers +# NumLock, CapsLock and ScrollLock. +# Uncomment the lines above if you want to pay attention to them. + +#keystate_numlock = enable +#keystate_capslock = enable +#keystate_scrolllock= enable + +# Examples of commands: + +"xbindkeys_show" + control+shift + q + +"alacritty" + Control + Shift + t + +"dmenu_run" + Control + Shift + space + +# set directly keycode (here control + f with my keyboard) +#"xterm" +# c:41 + m:0x4 + +# specify a mouse button +#"xterm" +# control + b:2 + +#"xterm -geom 50x20+20+20" +# Shift+Mod2+alt + s +# +## set directly keycode (here control+alt+mod2 + f with my keyboard) +#"xterm" +# alt + c:0x29 + m:4 + mod2 +# +## Control+Shift+a release event starts rxvt +#"rxvt" +# release+control+shift + a +# +## Control + mouse button 2 release event starts rxvt +#"rxvt" +# Control + b:2 + Release + +################################## +# End of xbindkeys configuration # +##################################