Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DATE=$(date +%d-%m-%Y)
- HOME=/home/alex
- FILE=/home/alex/todo-$DATE
- DIR=/home/alex/Documents/todo-archive
- if [ ! -f "$FILE" ]; then
- cp /home/alex/Templates/todo-template $FILE
- fi
- if [ ! -d "$DIR" ];
- then
- mkdir $DIR
- else
- for OLD in $HOME/todo*;
- do
- if [ "$((($(date +%s) - $(date +%s -r $OLD)) / 86400))" \> "0" ]; then
- mv $OLD $DIR
- fi
- done
- fi
- sleep 2;
- #xrandr --output eDP-1 --auto --output DP-1-1 --auto --left-of eDP-1 --output DP-1-3 --auto --left-of DP-1-1;
- i3-msg "workspace 10; exec --no-startup-id i3-sensible-terminal; exec --no-startup-id i3-sensible-terminal;
- sleep 3;
- i3-msg "workspace 1; exec --no-startup-id gedit /home/alex/todo-$DATE";
- sleep 3;
- sleep 15;
- i3-msg "workspace 3; exec --no-startup-id firefox -P";
- sleep 15;
- i3-msg "workspace 2; exec --no-startup-id firefox -P";
Advertisement
Add Comment
Please, Sign In to add comment