diff options
| -rw-r--r-- | config/openbox/autostart | 16 | ||||
| -rwxr-xr-x | config/openbox/composite | 17 | ||||
| -rwxr-xr-x | config/openbox/ibus-wait | 1 | ||||
| -rwxr-xr-x | config/openbox/ibus-wait2 | 2 | ||||
| -rw-r--r-- | config/openbox/rc-templ.xml | 2 | ||||
| -rwxr-xr-x | config/openbox/screenres | 2 |
6 files changed, 37 insertions, 3 deletions
diff --git a/config/openbox/autostart b/config/openbox/autostart index d76af8a..c30d761 100644 --- a/config/openbox/autostart +++ b/config/openbox/autostart @@ -1,17 +1,29 @@ +COMPOSITE="$HOME/.config/openbox/composite" +if [ -f $COMPOSITE ]; then + bash $COMPOSITE +fi + +SCREENRES="$HOME/.config/openbox/screenres" +if [ -f $SCREENRES ]; then + bash $SCREENRES +fi + gnome-keyring-daemon --start & xfce4-panel & xfce4-power-manager & xcape -e 'Super_L=Control_L|Shift_L|Alt_L|Super_L|D' & /usr/lib64/xfce4/notifyd/xfce4-notifyd & spacefm --desktop & -ibus-daemon & -xscreensaver & +xscreensaver -no-splash & nm-applet & # fuck your stupid telemetry cd $HOME/.config/openbox +xfce4-terminal -x "$PWD/ibus-wait" +echo "starting ibus" +./ibus-wait & ./killniggers.sh & cd ~ diff --git a/config/openbox/composite b/config/openbox/composite new file mode 100755 index 0000000..2b7d3b6 --- /dev/null +++ b/config/openbox/composite @@ -0,0 +1,17 @@ +if [ ! -d "$HOME/Pictures/Wall" ]; then + exit 1 +fi + +while IFS= read -r file; do + # Add space between filenames if string is not empty + if [ -n "$files_string" ]; then + files_string+=" " + fi + files_string+="$file" +done < <(find "$HOME/Pictures/Wall" -type f) + +echo $files_string + +feh --bg-fill $files_string + +compton & diff --git a/config/openbox/ibus-wait b/config/openbox/ibus-wait new file mode 100755 index 0000000..ff919a9 --- /dev/null +++ b/config/openbox/ibus-wait @@ -0,0 +1 @@ +screen -d -m /home/aurelia/.config/openbox/ibus-wait2 diff --git a/config/openbox/ibus-wait2 b/config/openbox/ibus-wait2 new file mode 100755 index 0000000..3be1664 --- /dev/null +++ b/config/openbox/ibus-wait2 @@ -0,0 +1,2 @@ +sleep 3 +ibus-daemon diff --git a/config/openbox/rc-templ.xml b/config/openbox/rc-templ.xml index 580f057..1d34d75 100644 --- a/config/openbox/rc-templ.xml +++ b/config/openbox/rc-templ.xml @@ -30,7 +30,7 @@ <center>yes</center> <!-- whether to place windows in the center of the free area found or the top left corner --> - <monitor>Primary</monitor> + <monitor>Mouse</monitor> <!-- with Smart placement on a multi-monitor system, try to place new windows on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where the active window is, 'Primary' - only on the primary monitor --> diff --git a/config/openbox/screenres b/config/openbox/screenres new file mode 100755 index 0000000..78b4c7b --- /dev/null +++ b/config/openbox/screenres @@ -0,0 +1,2 @@ +xrandr --output DP-0 --mode 1920x1080 --rate 165 +xrandr --output HDMI-0 --mode 1280x1024 --rate 75 |
