Merge nzxt with origin/master
This commit is contained in:
@@ -30,7 +30,9 @@ set -x CLASSPATH $CLASSPATH /home/kevin/java/*.jar
|
||||
set -x LD_LIBRARY_PATH $LD_LIBRARY_PATH /usr/local/lib /usr/local/lib64
|
||||
set -x PKG_CONFIG_PATH $PKG_CONFIG_PATH /usr/lib/pkgconfig
|
||||
set -x HASTE_SERVER https://pste.gq
|
||||
{{ if eq .chezmoi.fullHostname "nzxt" }}
|
||||
set -x CALCURSE_CALDAV_PASSWORD (pass show technology/linux/baikal | head -n1)
|
||||
{{ end }}
|
||||
|
||||
{{ if eq .linux_os "termux" }}
|
||||
# set SPACEFISH_PROMPT_ORDER time user dir host git package node docker ruby golang php rust haskell julia aws conda pyenv kubecontext exec_time line_sep battery jobs exit_code vi_mode char
|
||||
@@ -49,7 +51,7 @@ xset r rate $XSET_DELAY $XSET_RATE
|
||||
{{ end }}
|
||||
|
||||
# set -U BROWSER "chromium"
|
||||
set -U BROWSER "firefox"
|
||||
set -xU BROWSER "firefox"
|
||||
|
||||
# ]]] universal var's #
|
||||
|
||||
|
||||
@@ -81,8 +81,8 @@ bindsym Print --release exec "scrot -s ~/tmp/screenshot-$(date +%F_%T).png -e 'x
|
||||
bindsym Control+Print --release exec "scrot -u ~/tmp/screenshot-$(date +%F_%T).png -e 'xclip -selection c -t image/png < $f'"
|
||||
{{ else }}
|
||||
bindsym Mod4+x exec xmodmap ~/.Xmodmap-laptop && xset r rate $XSET_DELAY $XSET_RATE
|
||||
bindsym $mod+p --release exec "scrot -s ~/tmp/screenshot-$(date +%F_%T).png -e 'xclip -selection c -t image/png < $f'"
|
||||
bindsym Control+$mod+p --release exec "scrot -u ~/tmp/screenshot-$(date +%F_%T).png -e 'xclip -selection c -t image/png < $f'"
|
||||
bindsym Control+$mod+p --release exec "scrot -s /tmp/screenshot-$(date +%F_%T).png -e 'xclip -selection c -t image/png < $f'"
|
||||
bindsym Control+Shift+p --release exec "scrot -u /tmp/screenshot-$(date +%F_%T).png -e 'xclip -selection c -t image/png < $f'"
|
||||
{{ end }}
|
||||
|
||||
# ]]] app shortcuts #
|
||||
@@ -115,8 +115,8 @@ bindsym Shift+F0 exec xbacklight -set 100
|
||||
bindsym Control+$mod+plus exec xbacklight -inc 2
|
||||
bindsym Control+$mod+minus exec xbacklight -dec 2
|
||||
|
||||
bindsym $mod+w exec sudo systemctl start netctl-auto@wlp3s0.service
|
||||
bindsym $mod+q exec sudo systemctl stop netctl-auto@wlp3s0.service
|
||||
bindsym Control+$mod+w exec sudo systemctl start netctl-auto@wlp3s0.service
|
||||
bindsym Control+$mod+q exec sudo systemctl stop netctl-auto@wlp3s0.service
|
||||
{{ end }}
|
||||
|
||||
# ]]] backlight #
|
||||
@@ -269,13 +269,16 @@ bindsym Control+$mod+a floating enable; resize set 400px 150px; move absolute po
|
||||
set $make_st_script "/home/kevin/st/make-st.sh"
|
||||
# test
|
||||
|
||||
{{ if eq .chezmoi.fullHostname "x1-carbon" }}
|
||||
bindsym Control+Shift+q exec wal -i $($scripts_path/shuffler "$HOME/Pictures/Backgrounds/bright/editing") && $make_st_script
|
||||
bindsym Control+Shift+w exec wal -i $($scripts_path/shuffler "$HOME/Pictures/Backgrounds/dim/non-editing") && $make_st_script
|
||||
bindsym Control+$mod+z exec feh --bg-fill ~/Pictures/Backgrounds/dim/black.jpg
|
||||
{{ else }}
|
||||
bindsym Control+$mod+q exec wal -i $($scripts_path/shuffler "$HOME/Pictures/Backgrounds/bright/editing") && $make_st_script
|
||||
bindsym Control+$mod+w exec wal -i $($scripts_path/shuffler "$HOME/Pictures/Backgrounds/dim/non-editing") && $make_st_script
|
||||
{{ end }}
|
||||
bindsym $mod+r exec wal -i $($scripts_path/shuffler "$HOME/Pictures/Backgrounds/dim/editing") && $make_st_script
|
||||
bindsym Control+$mod+y exec wal -i $($scripts_path/shuffler "$HOME/Pictures/Backgrounds/bright/non-editing") && $make_st_script
|
||||
{{ if eq .chezmoi.fullHostname "x1-carbon" }}
|
||||
bindsym Control+$mod+z exec feh --bg-fill ~/Pictures/Backgrounds/dim/black.jpg
|
||||
{{ end }}
|
||||
|
||||
# ]]] backgrounds #
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ INTERFACE="${BLOCK_INSTANCE:-wlan0}"
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
QUALITY=$(sudo grep $INTERFACE /proc/net/wireless | awk '{ print int($3 * 100 / 70) }')
|
||||
QUALITY=$(grep $INTERFACE /proc/net/wireless | awk '{ print int($3 * 100 / 70) }')
|
||||
# echo $QUALITY
|
||||
W_inter=$(ip link | grep "[1-9]: wlp" | cut -d " " -f2 | tr -d ':')
|
||||
W_name=$(nmcli d | grep "$W_inter" | awk '{print $4}')
|
||||
|
||||
Reference in New Issue
Block a user