feat: mobile-optimized kitty config, Xpra HTML5 tuning, higher DPI
- Kitty font 16pt, hide decorations, bottom tab bar, touch-friendly - Xpra DPI 144, min-quality 80 for crisp text - HTML5 client: floating menu enabled, swap keys for touch - Natural scrolling for mobile devices
This commit is contained in:
+37
-13
@@ -1,13 +1,15 @@
|
|||||||
# Sethian Terminal Theme
|
# Sethian Terminal Theme - optimized for web/mobile via Xpra
|
||||||
|
|
||||||
|
# Large font for mobile readability
|
||||||
font_family JetBrains Mono
|
font_family JetBrains Mono
|
||||||
font_size 11.0
|
font_size 16.0
|
||||||
bold_font auto
|
bold_font auto
|
||||||
italic_font auto
|
italic_font auto
|
||||||
|
|
||||||
# Sethian colors - dark with orange accents
|
# Sethian colors
|
||||||
foreground #e0e0e0
|
foreground #e0e0e0
|
||||||
background #0a0a0a
|
background #0a0a0a
|
||||||
background_opacity 0.95
|
background_opacity 1.0
|
||||||
|
|
||||||
cursor #D35400
|
cursor #D35400
|
||||||
cursor_shape beam
|
cursor_shape beam
|
||||||
@@ -15,12 +17,32 @@ cursor_shape beam
|
|||||||
selection_foreground #0a0a0a
|
selection_foreground #0a0a0a
|
||||||
selection_background #D35400
|
selection_background #D35400
|
||||||
|
|
||||||
# Tab bar
|
# Tab bar - bottom, minimal, touch-friendly
|
||||||
|
tab_bar_edge bottom
|
||||||
|
tab_bar_style powerline
|
||||||
|
tab_bar_min_tabs 1
|
||||||
active_tab_foreground #0a0a0a
|
active_tab_foreground #0a0a0a
|
||||||
active_tab_background #D35400
|
active_tab_background #D35400
|
||||||
inactive_tab_foreground #999999
|
inactive_tab_foreground #999999
|
||||||
inactive_tab_background #1a1a1a
|
inactive_tab_background #1a1a1a
|
||||||
tab_bar_style powerline
|
tab_title_max_length 20
|
||||||
|
|
||||||
|
# Window layout - no wasted space
|
||||||
|
window_padding_width 2
|
||||||
|
hide_window_decorations yes
|
||||||
|
placement_strategy top-left
|
||||||
|
|
||||||
|
# Scrollback
|
||||||
|
scrollback_lines 10000
|
||||||
|
|
||||||
|
# Bell
|
||||||
|
enable_audio_bell no
|
||||||
|
visual_bell_duration 0.1
|
||||||
|
visual_bell_color #D35400
|
||||||
|
|
||||||
|
# URL handling
|
||||||
|
url_color #D35400
|
||||||
|
url_style curly
|
||||||
|
|
||||||
# Normal colors
|
# Normal colors
|
||||||
color0 #1a1a1a
|
color0 #1a1a1a
|
||||||
@@ -42,11 +64,13 @@ color13 #ad7fa8
|
|||||||
color14 #34e2e2
|
color14 #34e2e2
|
||||||
color15 #eeeeec
|
color15 #eeeeec
|
||||||
|
|
||||||
# Window
|
# Keyboard shortcuts for tab management
|
||||||
window_padding_width 4
|
map ctrl+shift+t new_tab
|
||||||
confirm_os_window_close 0
|
map ctrl+shift+w close_tab
|
||||||
enable_audio_bell no
|
map ctrl+shift+right next_tab
|
||||||
|
map ctrl+shift+left previous_tab
|
||||||
|
|
||||||
# URL handling
|
# Performance
|
||||||
url_color #D35400
|
repaint_delay 16
|
||||||
url_style curly
|
input_delay 2
|
||||||
|
sync_to_monitor no
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
# kitty-web mobile-optimized Xpra HTML5 settings
|
||||||
|
|
||||||
|
# Block telemetry
|
||||||
|
blocked-hosts = xpra.org,www.xpra.org
|
||||||
|
|
||||||
|
# Quality - prefer sharpness for text
|
||||||
|
min-quality = 80
|
||||||
|
min-speed = 80
|
||||||
|
|
||||||
|
# Swap scroll direction for touch devices (natural scrolling)
|
||||||
|
swap_keys = true
|
||||||
|
|
||||||
|
# Floating menu enabled by default (has keyboard toggle, fullscreen, etc.)
|
||||||
|
floating_menu = true
|
||||||
|
|
||||||
|
# Encoding - prefer tight/PNG for crisp text rendering
|
||||||
|
encoding = auto
|
||||||
@@ -19,9 +19,13 @@ ExecStart=/usr/bin/xpra start \
|
|||||||
--no-printing \
|
--no-printing \
|
||||||
--sharing=yes \
|
--sharing=yes \
|
||||||
--readonly=no \
|
--readonly=no \
|
||||||
|
--dpi=144 \
|
||||||
|
--desktop-scaling=auto \
|
||||||
|
--encoding=auto \
|
||||||
|
--min-quality=80 \
|
||||||
--no-daemon
|
--no-daemon
|
||||||
|
|
||||||
ExecStop=/usr/bin/xpra stop :0
|
ExecStop=/usr/bin/xpra stop
|
||||||
|
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
|
|||||||
Reference in New Issue
Block a user