feat(dwm+main): tools update
This commit is contained in:
parent
172b107f10
commit
529e149d22
3 changed files with 21 additions and 5 deletions
|
@ -27,6 +27,10 @@ done &
|
||||||
nm-applet &
|
nm-applet &
|
||||||
mate-volume-control-status-icon &
|
mate-volume-control-status-icon &
|
||||||
flameshot &
|
flameshot &
|
||||||
feh -z -Z --bg-scale /home/didier/Pictures/background.png
|
feh -z -Z --bg-scale $HOME/Pictures/background.*
|
||||||
|
|
||||||
exec dwm >/dev/null
|
touch /tmp/restart-dwm
|
||||||
|
while [ -f /tmp/restart-dwm ]; do
|
||||||
|
exec dwm >/dev/null
|
||||||
|
rm -rf /tmp/restart-dwm
|
||||||
|
done
|
||||||
|
|
|
@ -27,9 +27,15 @@ git apply -3 /tmp/dwm-systray.diff
|
||||||
$SUDO make install
|
$SUDO make install
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# start script
|
# dwm boot/manage scripts
|
||||||
chmod +x ./files/dwm/dwm-start.sh
|
chmod +x ./files/dwm/*.sh
|
||||||
|
|
||||||
$SUDO cp ./files/dwm/dwm-start.sh /usr/local/bin/dwm-start
|
$SUDO cp ./files/dwm/dwm-start.sh /usr/local/bin/dwm-start
|
||||||
|
$SUDO cp ./files/dwm/dwm-sync.sh /usr/local/bin/dwm-sync
|
||||||
|
|
||||||
# DM entry
|
# DM entry
|
||||||
$SUDO cp ./files/dwm/dwm.desktop /usr/share/xsessions/dwm.desktop
|
$SUDO cp ./files/dwm/dwm.desktop /usr/share/xsessions/dwm.desktop
|
||||||
|
|
||||||
|
# background
|
||||||
|
rm -rf $HOME/Pictures/background.*
|
||||||
|
curl https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/i/9757d496-239b-46c5-baea-6873cbfe9b3d/ddkbeml-015b05e6-6f8f-471e-a3a4-1c4360127ea6.jpg -o $HOME/Pictures/background.jpg
|
||||||
|
|
6
sync.sh
6
sync.sh
|
@ -6,7 +6,13 @@ PM=${PM:-pacman}
|
||||||
PM_INSTALL=${PM_INSTALL:--S}
|
PM_INSTALL=${PM_INSTALL:--S}
|
||||||
PM_NOCONFIRM=${PM_NOCONFIRM:---noconfirm}
|
PM_NOCONFIRM=${PM_NOCONFIRM:---noconfirm}
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
|
if [ ! -z "$@" ]; then
|
||||||
|
. ./scripts/$@
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
for script in ./scripts/* ; do
|
for script in ./scripts/* ; do
|
||||||
echo "# exec $script"
|
echo "# exec $script"
|
||||||
. $script
|
. $script
|
||||||
|
|
Loading…
Reference in a new issue