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 l='ls -CF'
|
||||
alias p3='python3'
|
||||
|
||||
alias apk='sudo apk'
|
||||
# Add an "alert" alias for long running commands. Use like so:
|
||||
# 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$//'\'')"'
|
||||
|
@ -194,3 +194,5 @@ if ! shopt -oq posix; then
|
|||
fi
|
||||
|
||||
source ~/.git-prompt.sh
|
||||
|
||||
PATH="$PATH:~/.local/bin"
|
||||
|
|
|
@ -34,21 +34,20 @@ rounded-corners-exclude = [
|
|||
"window_type = 'desktop'"
|
||||
];
|
||||
|
||||
|
||||
#################################
|
||||
# Background-Blurring #
|
||||
#################################
|
||||
|
||||
blur-method = "dual_kawase";
|
||||
blur-size = 12;
|
||||
blur-strength = 8;
|
||||
blur-method = "dual_kawase"
|
||||
blur-size = 12
|
||||
blur-strength = 8
|
||||
blur-kern = "3x3box";
|
||||
|
||||
blur-background-exclude = [
|
||||
"window_type = 'dock'",
|
||||
"window_type = 'desktop'",
|
||||
"class_g = 'firefoxdeveloperedition' && window_type = 'popup_menu'",
|
||||
"class_g = 'firefoxdeveloperedition' && window_type = 'utility'",
|
||||
"class_g = 'firefoxdeveloperedition' && window_type = 'popup_menu'",
|
||||
"class_g = 'firefoxdeveloperedition' && window_type = 'utility'",
|
||||
"_GTK_FRAME_EXTENTS@:c"
|
||||
];
|
||||
|
||||
|
@ -59,16 +58,15 @@ blur-background-exclude = [
|
|||
backend = "glx";
|
||||
|
||||
vsync = true;
|
||||
|
||||
mark-wmwin-focused = true;
|
||||
mark-ovredir-focused = false
|
||||
#mark-ovredir-focused = true;
|
||||
detect-rounded-corners = true;
|
||||
detect-client-opacity = true;
|
||||
detect-transient = true;
|
||||
use-damage = true;
|
||||
|
||||
log-level = "warn";
|
||||
|
||||
|
||||
wintypes:
|
||||
{
|
||||
tooltip = { fade = true; shadow = true; opacity = 0.9; focus = true; full-shadow = false; };
|
||||
|
|
|
@ -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
|
||||
|
||||
[ -f ~/.xprofile ] && . ~/.xprofile
|
||||
[ -f ~/.xprofile ] && sh ~/.xprofile
|
||||
|
|
Loading…
Reference in New Issue