Added files
This commit is contained in:
parent
d7a8014e36
commit
c23fc8b16b
|
@ -0,0 +1,16 @@
|
||||||
|
#!/bin/sh
|
||||||
|
bspc rule -r "*"
|
||||||
|
|
||||||
|
killall sxhkd
|
||||||
|
sxhkd &
|
||||||
|
nitrogen --restore
|
||||||
|
killall picom
|
||||||
|
picom &
|
||||||
|
killall dunst
|
||||||
|
dunst &
|
||||||
|
killall lemonbar
|
||||||
|
owobar | lemonbar -f "monospace" &
|
||||||
|
|
||||||
|
bspc monitor -d 1 2 3 4 5 6 7 8 9 10
|
||||||
|
bspc config border_width 0
|
||||||
|
bspc config window_gap 12
|
|
@ -0,0 +1,28 @@
|
||||||
|
super + shift + e
|
||||||
|
bspc quit 0
|
||||||
|
super + shift + q
|
||||||
|
bspc node -c
|
||||||
|
super + Return
|
||||||
|
kitty
|
||||||
|
super + r
|
||||||
|
rofi -show run
|
||||||
|
super + {h,j,k,l}
|
||||||
|
bspc node -f {west,south,north,east}
|
||||||
|
super + shift + {h,j,k,l}
|
||||||
|
bspc node -s {west,south,north,east}
|
||||||
|
super + {_,shift + }{1-9,0}
|
||||||
|
bspc {desktop -f,node -d} '{1-9,10}' --follow
|
||||||
|
@Print
|
||||||
|
elixire -f
|
||||||
|
@super + Print
|
||||||
|
elixire
|
||||||
|
super + s : {h,j,k,l}
|
||||||
|
STEP=20; SELECTION={1,2,3,4}; \
|
||||||
|
bspc node -z $(echo "left -$STEP 0,bottom 0 $STEP,top 0 -$STEP,right $STEP 0" | cut -d',' -f$SELECTION) || \
|
||||||
|
bspc node -z $(echo "right -$STEP 0,top 0 $STEP,bottom 0 -$STEP,left $STEP 0" | cut -d',' -f$SELECTION)
|
||||||
|
{XF86MonBrightnessUp,XF86MonBrightnessDown}
|
||||||
|
xbacklight {+,-}20
|
||||||
|
{XF86AudioRaiseVolume,XF86AudioLowerVolume}
|
||||||
|
pactl set-sink-volume @DEFAULT_SINK@ {+,-}10%
|
||||||
|
XF86AudioMute
|
||||||
|
pactl set-sink-mute @DEFAULT_SINK@ toggle
|
|
@ -0,0 +1,41 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
hostname() {
|
||||||
|
cat /etc/hostname
|
||||||
|
}
|
||||||
|
|
||||||
|
clock() {
|
||||||
|
date +%H:%M
|
||||||
|
}
|
||||||
|
|
||||||
|
clocktick() {
|
||||||
|
date +%H\ %M
|
||||||
|
}
|
||||||
|
|
||||||
|
battery() {
|
||||||
|
cat /sys/class/power_supply/BAT1/capacity
|
||||||
|
}
|
||||||
|
|
||||||
|
wifi() {
|
||||||
|
iwgetid -r
|
||||||
|
}
|
||||||
|
|
||||||
|
cpu() {
|
||||||
|
top -bn1 | grep "Cpu(s)" | \
|
||||||
|
sed "s/.*, *\([0-9.]*\)%* id.*/\1/" | \
|
||||||
|
awk '{print int(100 - $1)}'
|
||||||
|
}
|
||||||
|
|
||||||
|
mem() {
|
||||||
|
free -m | grep Mem | awk '{print int(($3/$2)*100)}'
|
||||||
|
}
|
||||||
|
|
||||||
|
while true; do
|
||||||
|
BAR_INPUT="%{B#20000000}%{l} $(hostname) %{c}CPU: $(cpu)% | MEM: $(mem)% | BAT: $(battery)% | NET: $(wifi) %{r}$(clock)"
|
||||||
|
echo $BAR_INPUT
|
||||||
|
sleep 1
|
||||||
|
BAR_INPUT="%{B#20000000}%{l} $(hostname) %{c}CPU: $(cpu)% | MEM: $(mem)% | BAT: $(battery)% | NET: $(wifi)
|
||||||
|
%{r}$(clocktick)"
|
||||||
|
echo $BAR_INPUT
|
||||||
|
sleep 1
|
||||||
|
done
|
|
@ -0,0 +1,40 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
hostname() {
|
||||||
|
cat /etc/hostname
|
||||||
|
}
|
||||||
|
|
||||||
|
clock() {
|
||||||
|
date +%H:%M
|
||||||
|
}
|
||||||
|
|
||||||
|
clocktick() {
|
||||||
|
date +%H\ %M
|
||||||
|
}
|
||||||
|
|
||||||
|
battery() {
|
||||||
|
cat /sys/class/power_supply/BAT1/capacity
|
||||||
|
}
|
||||||
|
|
||||||
|
wifi() {
|
||||||
|
iwgetid -r
|
||||||
|
}
|
||||||
|
|
||||||
|
cpu() {
|
||||||
|
top -bn1 | grep "Cpu(s)" | \
|
||||||
|
sed "s/.*, *\([0-9.]*\)%* id.*/\1/" | \
|
||||||
|
awk '{print int(100 - $1)}'
|
||||||
|
}
|
||||||
|
|
||||||
|
mem() {
|
||||||
|
free -m | grep Mem | awk '{print int(($3/$2)*100)}'
|
||||||
|
}
|
||||||
|
|
||||||
|
while true; do
|
||||||
|
BAR_INPUT="%{B#20000000}%{l} $(hostname) %{c}CPU: $(cpu)% | MEM: $(mem)% | BAT: $(battery)% %{r}$(clock)"
|
||||||
|
echo $BAR_INPUT
|
||||||
|
sleep 1
|
||||||
|
BAR_INPUT="%{B#20000000}%{l} $(hostname) %{c}CPU: $(cpu)% | MEM: $(mem)% | BAT: $(battery)% %{r}$(clocktick)"
|
||||||
|
echo $BAR_INPUT
|
||||||
|
sleep 1
|
||||||
|
done
|
Binary file not shown.
After Width: | Height: | Size: 1002 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.7 MiB |
Reference in New Issue