11/25
This commit is contained in:
parent
1dd4472634
commit
009831503e
72
config
72
config
@ -14,9 +14,10 @@ separator_block_width=30
|
||||
[mediaplayer2]
|
||||
command=$SCRIPT_DIR/mediaplayer2
|
||||
label=[♪]
|
||||
CONCISE=false
|
||||
CONCISE=true
|
||||
interval=1
|
||||
color=#ECEFF4
|
||||
#color=#ECEFF4
|
||||
color=#ebdbb2
|
||||
|
||||
#[mediaplayer]
|
||||
#command=$SCRIPT_DIR/mediaplayer
|
||||
@ -24,10 +25,11 @@ color=#ECEFF4
|
||||
#interval=1
|
||||
#color=#ebdbb2
|
||||
|
||||
[check-security-key]
|
||||
command=$SCRIPT_DIR/check_security_key
|
||||
interval=1
|
||||
color=#ECEFF4
|
||||
#[check-security-key]
|
||||
#command=$SCRIPT_DIR/check_security_key
|
||||
#interval=1
|
||||
#color=#ECEFF4
|
||||
#color=#ebdbb2
|
||||
|
||||
#[rofi-wttr]
|
||||
#command=$SCRIPT_DIR/rofi-wttr
|
||||
@ -59,7 +61,8 @@ STEP=5%
|
||||
MIXER=pulse
|
||||
#SCONTROL=[determined automatically]
|
||||
NATURAL_MAPPING=0
|
||||
color=#ECEFF4
|
||||
#color=#ECEFF4
|
||||
color=#ebdbb2
|
||||
|
||||
[dunst]
|
||||
command=$SCRIPT_DIR/dunst
|
||||
@ -74,7 +77,8 @@ command=$SCRIPT_DIR/disk
|
||||
DIR=/
|
||||
LABEL=[🖴]
|
||||
interval=30
|
||||
color=#ECEFF4
|
||||
#color=#ECEFF4
|
||||
color=#ebdbb2
|
||||
|
||||
[batterybar]
|
||||
command=$SCRIPT_DIR/batterybar
|
||||
@ -83,35 +87,47 @@ interval=5
|
||||
markup=pango
|
||||
min_width=bat: ■■■■■
|
||||
# Discharging colors low to high
|
||||
C1=#BF616A
|
||||
C2=#BF616A
|
||||
C3=#D08770
|
||||
C4=#D08770
|
||||
C5=#EBCB8B
|
||||
C6=#EBCB8B
|
||||
C7=#A3BE8C
|
||||
C8=#A3BE8C
|
||||
CHARGING_COLOR=#88C0D0
|
||||
FULL_COLOR=#ECEFF4
|
||||
AC_COLOR=#88C0D0
|
||||
color=#ECEFF4
|
||||
C1=#cc241d
|
||||
C2=#cc241d
|
||||
C3=#d79921
|
||||
C4=#d79921
|
||||
C5=#98971a
|
||||
C6=#98971a
|
||||
C7=#458588
|
||||
C8=#458588
|
||||
CHARGING_COLOR=#b16286
|
||||
FULL_COLOR=#ebdbb2
|
||||
AC_COLOR=#b16286
|
||||
#color=#ECEFF4
|
||||
color=#ebdbb2
|
||||
|
||||
[time]
|
||||
label=[🕰]
|
||||
command=date '+%m/%d/%Y %H:%M'
|
||||
interval=15
|
||||
color=#ECEFF4
|
||||
#color=#ECEFF4
|
||||
color=#ebdbb2
|
||||
|
||||
#[laptop_mode]
|
||||
#full_text= ↺ Laptop Mode
|
||||
#command=$SCRIPT_DIR/laptopmode
|
||||
[laptop_mode]
|
||||
full_text= ↺ 🖥
|
||||
command=$SCRIPT_DIR/laptopmode
|
||||
color=#ebdbb2
|
||||
|
||||
[tablet_mode]
|
||||
full_text= ↺ 🖵
|
||||
command=$SCRIPT_DIR/tabletmode
|
||||
color=#ebdbb2
|
||||
|
||||
#[run]
|
||||
#full_text= >_
|
||||
#command=rofi -show drun
|
||||
#background=#458588
|
||||
#color=#282828
|
||||
|
||||
#[tablet_mode]
|
||||
#full_text= ↺ Tablet Mode
|
||||
#command=$SCRIPT_DIR/tabletmode
|
||||
#background=#98971a
|
||||
#[kill]
|
||||
#full_text= X
|
||||
#command=i3-msg kill > /dev/null
|
||||
#background=#cc241d
|
||||
#color=#282828
|
||||
|
||||
#[shutdown_menu]
|
||||
|
@ -6,7 +6,7 @@ msg_disconnected="𐄂 Security key not connected\n"
|
||||
lsusb | grep Lexar > /dev/null
|
||||
|
||||
if [ "$?" == 0 ]; then
|
||||
printf "[ ✓ ] Security key connected.\n"
|
||||
printf "[ ✓ ] Unlocked.\n"
|
||||
else
|
||||
printf "[ 𐄂 ] Security key disconnected.\n"
|
||||
printf "[ 𐄂 ] Locked.\n"
|
||||
fi
|
||||
|
@ -2,4 +2,5 @@
|
||||
|
||||
xinput enable 12
|
||||
xinput reattach 13 3
|
||||
TABLET_MODE_ENABLED=1
|
||||
dunstify "Laptop Mode" "Laptop mode is now enabled"
|
||||
export TABLET_MODE_ENABLED="Laptop Mode"
|
||||
|
@ -11,9 +11,9 @@ playerctl metadata title > /dev/null
|
||||
if [ "$?" != 0 ]; then
|
||||
printf "No players found"
|
||||
elif [ ${CONCISE} == "false" ]; then
|
||||
printf "%.${MAXCHAR}s\n" "${TRACK} - by ${ARTIST} - on ${ALBUM}"
|
||||
printf "%.${MAXCHAR}s\n" "${TRACK} - by ${ARTIST} - from ${ALBUM}"
|
||||
elif [ ${CONCISE} == "true" ]; then
|
||||
printf "%.${MAXCHAR}s\n" "${ARTIST} - ${TRACK}"
|
||||
printf "%.${MAXCHAR}s\n" "${TRACK} - ${ARTIST}"
|
||||
else
|
||||
printf "error: 'CONCISE' must be defined in i3blocks config\n"
|
||||
fi
|
||||
|
@ -2,4 +2,5 @@
|
||||
|
||||
xinput disable 12
|
||||
xinput float 13
|
||||
TABLET_MODE_ENABLED=0
|
||||
dunstify "Tablet Mode" "Tablet mode is now enabled"
|
||||
export TABLET_MODE_ENABLED="Tablet Mode"
|
||||
|
Loading…
Reference in New Issue
Block a user