From c936b90ea9f1075a487a5048e30b3c55d56b9b54 Mon Sep 17 00:00:00 2001 From: navewindre Date: Fri, 25 Oct 2024 16:25:52 +0200 Subject: aa a --- config/openbox/autostart | 16 ++++++++++++++-- config/openbox/composite | 17 +++++++++++++++++ config/openbox/ibus-wait | 1 + config/openbox/ibus-wait2 | 2 ++ config/openbox/rc-templ.xml | 2 +- config/openbox/screenres | 2 ++ 6 files changed, 37 insertions(+), 3 deletions(-) create mode 100755 config/openbox/composite create mode 100755 config/openbox/ibus-wait create mode 100755 config/openbox/ibus-wait2 create mode 100755 config/openbox/screenres 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 @@
yes
- Primary + Mouse 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 -- cgit v1.2.3