This commit is contained in:
Dominic DiTaranto 2025-12-22 16:20:03 -05:00
parent 1b5d609fb1
commit 69240f23ee
4 changed files with 25 additions and 2 deletions

View file

@ -54,7 +54,7 @@ floating_modifier $mod
tiling_drag modifier titlebar tiling_drag modifier titlebar
# start a terminal # start a terminal
bindsym $mod+Return exec ghostty bindsym $mod+Return exec kitty
# kill focused window # kill focused window
bindsym $mod+q kill bindsym $mod+q kill

View file

@ -7,7 +7,7 @@
[stock] [stock]
command=/home/dominic/.config/i3blocks/stock_ticker.py command=/home/dominic/.config/i3blocks/stock_ticker.py
interval=10 interval=30
label= label=
[cpu] [cpu]

View file

@ -5,6 +5,7 @@ HOW THIS WORKS:
- ticker config needs to contain lots, you can just fake the quantity and price... - ticker config needs to contain lots, you can just fake the quantity and price...
- create a cron job that runs this command: - create a cron job that runs this command:
ticker --config=./.ticker.yaml print --format=csv | awk -vFPAT='([^,]*)|("[^"]+")' -vOFS=, '{print $2 " " $3}' | tail -n +2 > /tmp/stock_ticker ticker --config=./.ticker.yaml print --format=csv | awk -vFPAT='([^,]*)|("[^"]+")' -vOFS=, '{print $2 " " $3}' | tail -n +2 > /tmp/stock_ticker
- the frequency of the cron schedule is how up to date your stock prices will be. I run it once a minute.
- make sure that file exists, then run this script.. - make sure that file exists, then run this script..
''' '''
import os import os

22
.config/kitty/kitty.conf Normal file
View file

@ -0,0 +1,22 @@
background_opacity 0.5
dynamic_background_opacity yes
font_family monospace
bold_font auto
italic_font auto
bold_italic_font auto
font_size 14.0
shell_integration no-cursor
cursor_shape block
cursor_trail 1
cursor_trail_decay 0.1 0.4
cursor_stop_blinking_after 0
scrollback_lines 2000
scrollbar scrolled
detect_urls yes
enable_audio_bell no