From 7eabc900314cd93042f78123fe12ad2771050333 Mon Sep 17 00:00:00 2001 From: Joe Date: Tue, 31 Jan 2023 11:46:19 +0100 Subject: Pop update --- .config/openbox/autostart | 40 +++++++++++++++++++++ .config/openbox/menu.xml | 33 +++++++++++++----- .config/openbox/rc.xml | 88 +++++++++++++++++++++++++++-------------------- 3 files changed, 115 insertions(+), 46 deletions(-) (limited to '.config/openbox') diff --git a/.config/openbox/autostart b/.config/openbox/autostart index 4bc1506..0be8a58 100755 --- a/.config/openbox/autostart +++ b/.config/openbox/autostart @@ -15,3 +15,43 @@ # If you want to use XFCE config tools... # #xfce-mcs-manager & +startif() { + pgrep "$(basename "$1")" >/dev/null || "$@" >/dev/null 2>&1 & +} + +delay_desktop() { + sleep 5 + startif conky -d -c "$HOME"/.config/conkyrc + startif tint2 + # startif cairo-clock -x 900 -y 20 --width 300 --height 300 --theme zen + # startif cairo-dock + startif plank + startif idesk +} + +export LANG='en_US.UTF-8' +pgrep musicpd >/dev/null || musicpd >/dev/null 2>&1 +"$HOME"/.local/bin/setwp "$HOME"/pics/wp.jpg +"$HOME"/.local/bin/kb +xset s off +xset -dpms +if xrandr | grep -F 'DisplayPort-0 connected' >/dev/null 2>&1; then + "$HOME"/.local/bin/scr +else + "$HOME"/.local/bin/dscr +fi +# xsetroot -name 'Loading bar...' +startif dunst +startif picom +# startif lowbat +# startif mpd-notification +startif xscreensaver +delay_desktop & +# startif dwmblocks +# startif sb-updatempd +# /compat/linux/usr/lib/protonmail/bridge/proton-bridge --noninteractive +# ekb +cd "$HOME" +xrdb "$HOME"/.config/x11/xresources +notify-send -u normal 'Welcome' " Welcome back, partner\!" +# dbus-launch openbox diff --git a/.config/openbox/menu.xml b/.config/openbox/menu.xml index b92c1c0..02e7c88 100755 --- a/.config/openbox/menu.xml +++ b/.config/openbox/menu.xml @@ -16,6 +16,11 @@ pcmanfm + + + qalculate-gtk + + @@ -80,21 +85,31 @@ - + obconf - + tint2conf - + lxappearance + + + xscreensaver-settings + + + + + arandr + + @@ -113,9 +128,9 @@ pcmanfm - + - iridium-browser --force-dark-mode + firefox @@ -128,7 +143,7 @@ - + @@ -138,7 +153,7 @@ - sh -c "notify-send -u normal reboot \" G'night, partner!\"; sleep 2; acpiconf -s 3" + sh -c "notify-send -u normal reboot \" G'night, partner!\"; sleep 2; acpiconf -s 3" @@ -148,12 +163,12 @@ - sh -c "emacsclient -e '\"(save-buffers-kill-emacs)\"'; notify-send -u normal reboot \" Rebootin' now!\"; sleep 2; shutdown -r now" + sh -c "emacsclient -e '\"(save-buffers-kill-emacs)\"'; notify-send -u normal reboot \" Rebootin' now!\"; sleep 2; systemctl reboot - sh -c "emacsclient -e '\"(save-buffers-kill-emacs)\"'; notify-send -u normal shutdown ' Farewell, partner!'; sleep 2; shutdown -p now" + sh -c "emacsclient -e '\"(save-buffers-kill-emacs)\"'; notify-send -u normal shutdown ' Farewell, partner!'; sleep 2; systemctl poweroff diff --git a/.config/openbox/rc.xml b/.config/openbox/rc.xml index 2609807..9450afe 100755 --- a/.config/openbox/rc.xml +++ b/.config/openbox/rc.xml @@ -42,7 +42,7 @@ 'Active' - where the active window is --> - Clearlooks-Joe + Clearlooks SNLIMC Normal @@ -66,7 +66,7 @@ - Cantarell Medium + NotoSans Nerd Font 11 Normal @@ -75,7 +75,7 @@ - Cantarell Medium + NotoSans Nerd Font 14 Normal @@ -84,7 +84,7 @@ - Cantarell Medium + NotoSans Nerd Font 14 Normal @@ -93,7 +93,7 @@ - Cantarell Medium + NotoSans Nerd Font 11 Normal @@ -102,7 +102,7 @@ - Cantarell Medium + NotoSans Nerd Font 11 Normal @@ -122,18 +122,13 @@ and back in --> 4 1 - - - + 500 - yes + no Nonpixel Center @@ -229,11 +224,6 @@ 9 - - - 10 - - 1 @@ -289,11 +279,30 @@ + + + - 10 + previous no + + + next + no + + + + + next + + + + + prev + + @@ -396,7 +405,7 @@ - iridium-browser --force-dark-mode + firefox @@ -422,7 +431,7 @@ - alacritty -e calcurse -C /home/jozan/.config/calcurse -D /home/jozan/.local/share/calcurse + alacritty -e calcurse -C ~/.config/calcurse -D ~/.local/share/calcurse @@ -472,77 +481,77 @@ - /home/jozan/.local/bin/mixer-set toggle + ~/.local/bin/mixer-set toggle - /home/jozan/.local/bin/mixer-set lower + ~/.local/bin/mixer-set lower - /home/jozan/.local/bin/mixer-set raise + ~/.local/bin/mixer-set raise - /home/jozan/.local/bin/mic + ~/.local/bin/mic - /home/jozan/.local/bin/dmkill + ~/.local/bin/dmkill - /home/jozan/.local/bin/dmscrot + ~/.local/bin/dmscrot - /home/jozan/.local/bin/dmsearch + ~/.local/bin/dmsearch - /home/jozan/.local/bin/dmlog + ~/.local/bin/dmlog - /home/jozan/.local/bin/dmpc + ~/.local/bin/dmpc - /home/jozan/.local/bin/dmlog + ~/.local/bin/dmlog - /home/jozan/.local/bin/dmpass + ~/.local/bin/dmpass - /home/jozan/.local/bin/dmpass --full + ~/.local/bin/dmpass --full - /home/jozan/.local/bin/dmotp + ~/.local/bin/dmotp - /home/jozan/.local/bin/ndate + ~/.local/bin/ndate - /home/jozan/.local/bin/shutup + ~/.local/bin/shutup @@ -558,6 +567,11 @@ root-menu + + + client-list-combined-menu + + -- cgit v1.2.3