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