update
This commit is contained in:
parent
c3bb83fe14
commit
2db42127d0
4
.bashrc
4
.bashrc
|
@ -168,7 +168,7 @@ alias ll='ls -alF'
|
||||||
alias la='ls -A'
|
alias la='ls -A'
|
||||||
alias l='ls -CF'
|
alias l='ls -CF'
|
||||||
alias p3='python3'
|
alias p3='python3'
|
||||||
|
alias apk='sudo apk'
|
||||||
# Add an "alert" alias for long running commands. Use like so:
|
# Add an "alert" alias for long running commands. Use like so:
|
||||||
# sleep 10; alert
|
# sleep 10; alert
|
||||||
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
|
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
|
||||||
|
@ -194,3 +194,5 @@ if ! shopt -oq posix; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
source ~/.git-prompt.sh
|
source ~/.git-prompt.sh
|
||||||
|
|
||||||
|
PATH="$PATH:~/.local/bin"
|
||||||
|
|
|
@ -34,14 +34,13 @@ rounded-corners-exclude = [
|
||||||
"window_type = 'desktop'"
|
"window_type = 'desktop'"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
# Background-Blurring #
|
# Background-Blurring #
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
blur-method = "dual_kawase";
|
blur-method = "dual_kawase"
|
||||||
blur-size = 12;
|
blur-size = 12
|
||||||
blur-strength = 8;
|
blur-strength = 8
|
||||||
blur-kern = "3x3box";
|
blur-kern = "3x3box";
|
||||||
|
|
||||||
blur-background-exclude = [
|
blur-background-exclude = [
|
||||||
|
@ -59,14 +58,13 @@ blur-background-exclude = [
|
||||||
backend = "glx";
|
backend = "glx";
|
||||||
|
|
||||||
vsync = true;
|
vsync = true;
|
||||||
|
|
||||||
mark-wmwin-focused = true;
|
mark-wmwin-focused = true;
|
||||||
mark-ovredir-focused = false
|
mark-ovredir-focused = false
|
||||||
#mark-ovredir-focused = true;
|
|
||||||
detect-rounded-corners = true;
|
detect-rounded-corners = true;
|
||||||
detect-client-opacity = true;
|
detect-client-opacity = true;
|
||||||
detect-transient = true;
|
detect-transient = true;
|
||||||
use-damage = true;
|
use-damage = true;
|
||||||
|
|
||||||
log-level = "warn";
|
log-level = "warn";
|
||||||
|
|
||||||
wintypes:
|
wintypes:
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
DELIM=" | "
|
||||||
|
|
||||||
|
status() {
|
||||||
|
for FILE in $(ls ~/.local/scripts)
|
||||||
|
do
|
||||||
|
echo $DELIM
|
||||||
|
sh ~/.local/scripts/$FILE
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
time=$(date +"%s")
|
||||||
|
|
||||||
|
while true
|
||||||
|
do
|
||||||
|
if [ $(($time - $(date +"%s"))) -lt 0 ]
|
||||||
|
then
|
||||||
|
[ $(($time - $(date +"%s"))) -ge 0 ] && echo $(($time - $(date +"%s")))
|
||||||
|
xprop -root -set WM_NAME "$(status | tr '\n' ' ')"
|
||||||
|
time=$(date +"%s")
|
||||||
|
fi
|
||||||
|
done
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
mem="$(free -h | awk '/Mem:/ {print $3 "/" $2}')"
|
||||||
|
|
||||||
|
echo " $mem"
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
usage=$(cat <(grep 'cpu ' /proc/stat) <(sleep 0.3 && grep 'cpu ' /proc/stat) | awk -v RS="" '{print ($13-$2+$15-$4)*100/($13-$2+$15-$4+$16-$5)}' | cut -d'.' -f1)"%"
|
||||||
|
|
||||||
|
echo " $usage"
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
power=$(nmcli -f IN-USE,SIGNAL,SSID device wifi | grep "*" | cut -d' ' -f8)
|
||||||
|
name=$(nmcli -f IN-USE,SIGNAL,SSID device wifi | grep "*" | cut -d' ' -f14)
|
||||||
|
|
||||||
|
echo " $name $power"
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
used=$(df -h / | sed -n '1!p' | cut -d' ' -f22)
|
||||||
|
total=$(df -h / | sed -n '1!p' | cut -d' ' -f16)
|
||||||
|
|
||||||
|
echo " $used/$total"
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
lang=$(xkblayout-state print %s)
|
||||||
|
|
||||||
|
echo " $lang"
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
date=$(date +"%d.%m.%y")
|
||||||
|
time=$(date +"%H:%M:%S")
|
||||||
|
|
||||||
|
echo " $date $time"
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
[ -f ~/.xprofile ] && . ~/.xprofile
|
[ -f ~/.xprofile ] && sh ~/.xprofile
|
||||||
|
|
|
@ -1,8 +1,11 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||||
|
|
||||||
xscreensaver &
|
xscreensaver &
|
||||||
dwmbar &
|
|
||||||
setxkbmap "us,ru" "" "grp:win_space_toggle" &
|
setxkbmap "us,ru" "" "grp:win_space_toggle" &
|
||||||
|
|
||||||
|
sh ~/wallpapers/cyber1.sh &
|
||||||
|
|
||||||
picom --experimental-backend &
|
picom --experimental-backend &
|
||||||
exec dwm
|
exec dwm
|
||||||
|
|
Loading…
Reference in New Issue