mirror of
https://github.com/elenapan/dotfiles.git
synced 2026-02-04 03:53:31 +08:00
massive config and scripts update
This commit is contained in:
parent
c283a6c3c9
commit
46c2bf7d26
856 changed files with 134316 additions and 1695 deletions
10
Scripts/flux_toggle.sh
Executable file
10
Scripts/flux_toggle.sh
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
TEMP=3000
|
||||
REDSHIFT="$(ps cax | grep redshift)"
|
||||
if [ ${#REDSHIFT} -eq "0" ]; then
|
||||
#echo "redshift is not running."
|
||||
# run redshift
|
||||
redshift -l 0:0 -t $TEMP:$TEMP -r &
|
||||
else
|
||||
killall redshift
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue