From fe8327560ca95571cf6f2ce4762377a112cd815d Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Fri, 5 May 2023 14:08:59 +0800 Subject: Update --- X11/openbox/rc.xml | 5 ----- bin/wakeup.sh | 18 +----------------- 2 files changed, 1 insertion(+), 22 deletions(-) diff --git a/X11/openbox/rc.xml b/X11/openbox/rc.xml index afde191..cc0b085 100644 --- a/X11/openbox/rc.xml +++ b/X11/openbox/rc.xml @@ -581,11 +581,6 @@ networkmanager_dmenu - - - sh -c 'nmcli device wifi rescan; networkmanager_dmenu' - - diff --git a/bin/wakeup.sh b/bin/wakeup.sh index d286088..4ceee6a 100755 --- a/bin/wakeup.sh +++ b/bin/wakeup.sh @@ -1,19 +1,3 @@ #! /bin/bash -# Add custom scripts into PATH -export SETTING_DIR=~/helper -export BIN_DIR=$HOME/bin -export PATH=$BIN_DIR:$PATH - -mkdir -p $BIN_DIR -find $BIN_DIR -xtype l -exec rm {} + 2>/dev/null -find $SETTING_DIR/bin -type f -executable -exec realpath {} + | \ -xargs -I{} ln -sf {} $BIN_DIR - -# sync with important git repos -setsid ~/bin/sync.sh &>>/tmp/sync - -# Copy context file from vps -rsync -au vps:~/.context ~/.context - -date >>/tmp/wakeup +date --iso-8601=minutes >~/.wakeup -- cgit v1.2.3-70-g09d2