add power

This commit is contained in:
fengbh 2025-05-09 09:38:59 +08:00
parent 2c5824b33c
commit e02760fae3

View File

@ -26,12 +26,19 @@ export http_proxy='http://192.168.3.7:7890'
export https_proxy='http://192.168.3.7:7890' export https_proxy='http://192.168.3.7:7890'
alias mWork='sudo mount -t nfs 192.168.3.7:/volume2/work /home/fengbh/nasWork' alias mWork='sudo mount -t nfs 192.168.3.7:/volume2/work /home/fengbh/nasWork'
alias mNas='sudo mount -t nfs 192.168.3.7:/volume3/pt_data /home/fengbh/docker/disk/pt_data'
PATH=$PATH:/home/fengbh/local/sdcc-4.4.0-rc2/bin PATH=$PATH:/home/fengbh/local/sdcc-4.4.0-rc2/bin
PATH=$PATH:/home/fengbh/local/verible/bin PATH=$PATH:/home/fengbh/local/verible/bin
PATH=/home/fengbh/local/vim/bin:$PATH PATH=/home/fengbh/local/vim/bin:$PATH
PATH=/home/fengbh/work/verilator/bin:$PATH PATH=/home/fengbh/local/verilator/bin:$PATH
#######################################################################
# 电源相关 #
#######################################################################
alias ns='gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type '\''nothing'\'
alias ss='gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type '\''suspend'\'
alias gs='gsettings get org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type'
alias gst='gsettings get org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout'
#******************** 一些函数 ******************** #******************** 一些函数 ********************
set_vnc(){ set_vnc(){