duunno
This commit is contained in:
5
.xprofile
Normal file
5
.xprofile
Normal file
@@ -0,0 +1,5 @@
|
||||
#/home/ccppi
|
||||
export XDG_CONFIG_HOME="$HOME/.config"
|
||||
xss-lock slock &
|
||||
flameshot &
|
||||
sxhkd &
|
||||
6
dwm/Makefile
Normal file
6
dwm/Makefile
Normal file
@@ -0,0 +1,6 @@
|
||||
build:
|
||||
tar cf ./dwm-utils.tar \
|
||||
./dwm-time.service \
|
||||
./dwm-time.sh \
|
||||
./dwm.desktop \
|
||||
./startdwm.sh
|
||||
@@ -4,7 +4,7 @@ Description=Show time in dwm dmenu bar
|
||||
[Service]
|
||||
|
||||
#WorkingDirectory=<directory_of_script e.g. /root>
|
||||
ExecStart=/home/ccppi/.scripts/dwm-time.sh
|
||||
ExecStart=/home/ccppi/.scripts/dwm-time
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
while true; do
|
||||
xsetroot -name "$(date)"
|
||||
sleep 2
|
||||
|
||||
19
tmux-session-rollback.sh
Normal file
19
tmux-session-rollback.sh
Normal file
@@ -0,0 +1,19 @@
|
||||
SAVE_PATH="${HOME}/.tmux/resurrect"
|
||||
|
||||
res_files=($(ls -t ${SAVE_PATH} |awk '$0 ~ /tmux_resurrect/{print $0}'))
|
||||
i=0
|
||||
for f in ${res_files[@]}
|
||||
do
|
||||
((i+=1))
|
||||
if [ $i -gt 20 ]
|
||||
then
|
||||
break
|
||||
fi
|
||||
echo -e "[${i}] - ${f}"
|
||||
declare files["${i}"]=${f}
|
||||
done
|
||||
read -p "enter number to roleback" saveFile
|
||||
|
||||
rm $SAVE_PATH/last
|
||||
echo selected: ${files[${saveFile}]}
|
||||
ln -s ${files[${saveFile}]} $SAVE_PATH/last
|
||||
Reference in New Issue
Block a user