Bring up SSD2092 display/touch, USB NCM, HiDPI XLibre/DWM, and USB charging
This commit is contained in:
1 parent
034c1f61b1
commit
9db15e30ce
150 files changed
+2356
-446
No files matched your search
@@ -42,15 +42,15 @@ DANGER="$(get_xres "theme.danger" "#f07178")"
|
||||
DANGER_BG="$(get_xres "theme.dangerBg" "#4c1d24")"
|
||||
FONT_FACE="$(get_xres "theme.fontFace" "Fira Code")"
|
||||
|
||||
BASE_SIZE="$(get_xres "theme.baseFontSize" "22")"
|
||||
BASE_SIZE="$(get_xres "theme.baseFontSize" "32")"
|
||||
case "$BASE_SIZE" in
|
||||
''|*[!0-9]*) BASE_SIZE=22 ;;
|
||||
''|*[!0-9]*) BASE_SIZE=32 ;;
|
||||
esac
|
||||
PT_SIZE="$(awk -v b="$BASE_SIZE" 'BEGIN {
|
||||
pt = b * 0.55
|
||||
if (pt < 9.0) pt = 9.0
|
||||
if (pt > 16.0) pt = 16.0
|
||||
printf "%.1f", pt
|
||||
PX_SIZE="$(awk -v b="$BASE_SIZE" 'BEGIN {
|
||||
px = int(b + 2)
|
||||
if (px < 30) px = 30
|
||||
if (px > 44) px = 44
|
||||
printf "%dpx", px
|
||||
}')"
|
||||
|
||||
OUT_CONF="${GEMINUX_DUNSTRC:-$HOME_DIR/.config/dunst/dunstrc}"
|
||||
@@ -61,21 +61,21 @@ cat > "$OUT_CONF.tmp" <<EOF
|
||||
[global]
|
||||
monitor = 0
|
||||
follow = mouse
|
||||
width = 560
|
||||
height = (0, 220)
|
||||
width = 720
|
||||
height = (0, 360)
|
||||
origin = top-right
|
||||
offset = (16, 48)
|
||||
offset = (20, 88)
|
||||
notification_limit = 5
|
||||
progress_bar = true
|
||||
padding = 12
|
||||
horizontal_padding = 16
|
||||
text_icon_padding = 12
|
||||
frame_width = 2
|
||||
padding = 18
|
||||
horizontal_padding = 22
|
||||
text_icon_padding = 16
|
||||
frame_width = 3
|
||||
frame_color = "$ACCENT"
|
||||
separator_color = "$BORDER"
|
||||
corner_radius = 6
|
||||
corner_radius = 8
|
||||
idle_threshold = 120
|
||||
font = $FONT_FACE $PT_SIZE
|
||||
font = $FONT_FACE $PX_SIZE
|
||||
markup = full
|
||||
format = "<b>%s</b>\n%b"
|
||||
alignment = left
|
||||
@@ -83,7 +83,7 @@ cat > "$OUT_CONF.tmp" <<EOF
|
||||
show_age_threshold = 60
|
||||
word_wrap = yes
|
||||
icon_position = left
|
||||
max_icon_size = 48
|
||||
max_icon_size = 64
|
||||
dmenu = /usr/bin/dmenu -p dunst:
|
||||
mouse_left_click = do_action, close_current
|
||||
mouse_middle_click = close_current
|
||||
|
||||
Reference in new issue
Block a user