summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authornavewindre <boneyaard@gmail.com>2024-10-25 16:25:52 +0200
committernavewindre <boneyaard@gmail.com>2024-10-25 16:25:52 +0200
commitc936b90ea9f1075a487a5048e30b3c55d56b9b54 (patch)
tree6862616d5780e20adca548fef214e5ac36f6427a /config
parentf08ae75621b31466213559e041221a8ac1434ff5 (diff)
aa a
Diffstat (limited to 'config')
-rw-r--r--config/openbox/autostart16
-rwxr-xr-xconfig/openbox/composite17
-rwxr-xr-xconfig/openbox/ibus-wait1
-rwxr-xr-xconfig/openbox/ibus-wait22
-rw-r--r--config/openbox/rc-templ.xml2
-rwxr-xr-xconfig/openbox/screenres2
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