[{"data":1,"prerenderedAt":188},["ShallowReactive",2],{"\u002Ftlt-2025.01.19-nerd-snipes":3},{"id":4,"title":5,"body":6,"createdAt":176,"description":12,"draft":177,"extension":178,"image":163,"mastodonThread":179,"meta":180,"navigation":181,"path":182,"seo":183,"stem":184,"tags":185,"updatedAt":176,"__hash__":187},"content\u002FTLT - 2025.01.19 - Nerd Snipes.md","Nerd Snipes",{"type":7,"value":8,"toc":171},"minimark",[9,13,16,19,24,44,90,98,102,119,133,148,154,157,164,167],[10,11,12],"p",{},"What distracted me today? Flameshot and Rofi.",[10,14,15],{},"--",[10,17,18],{},"It's a weekend, and on the weekends I am retired. And it has long been my declaration that someday when I retire I will spend all day every day messing with dumb config files. SO!",[20,21,23],"h2",{"id":22},"screenshot-to-keyboard","Screenshot to Keyboard",[10,25,26,27,34,35,39,40,43],{},"I have been using ",[28,29,33],"a",{"href":30,"rel":31},"https:\u002F\u002Fflameshot.org\u002F",[32],"nofollow","Flameshot"," for a while now, and it is great! But ... something something Wayland something something and in the end it doesn't copy the image to my clipboard. I have rotated through a few screenshot managers, so my ",[36,37,38],"code",{},"win+s"," keybinding actually runs ",[36,41,42],{},"~\u002Fbin\u002Fscreenshot",". Today, I modified it to contain:",[45,46,51],"pre",{"className":47,"code":48,"language":49,"meta":50,"style":50},"language-sh shiki shiki-themes github-light github-dark monokai","QT_QPA_PLATFORM=wayland flameshot gui --raw | wl-copy -f\n","sh","",[36,52,53],{"__ignoreMap":50},[54,55,58,62,66,70,74,77,81,84,87],"span",{"class":56,"line":57},"line",1,[54,59,61],{"class":60},"sMOD_","QT_QPA_PLATFORM",[54,63,65],{"class":64},"sC2Qs","=",[54,67,69],{"class":68},"sstjo","wayland",[54,71,73],{"class":72},"srTi1"," flameshot",[54,75,76],{"class":68}," gui",[54,78,80],{"class":79},"s7F3e"," --raw",[54,82,83],{"class":64}," |",[54,85,86],{"class":72}," wl-copy",[54,88,89],{"class":79}," -f\n",[10,91,92,93,97],{},"And now I can take a screenshot and paste it wherever I want. I also have Flameshot configured to save ",[94,95,96],"em",{},"all"," of my screenshots to a directory. Someday I can ask some vision-LLM questions about these files :)",[20,99,101],{"id":100},"faster-and-prettier-runner","Faster and Prettier Runner",[10,103,104,105,110,111,114,115,118],{},"I've been using ",[28,106,109],{"href":107,"rel":108},"https:\u002F\u002Fgithub.com\u002Fdavatorium\u002Frofi",[32],"Rofi"," as my run-dialog for a while. It is kinda slow to start though ... like a lag between when I press ",[36,112,113],{},"win+shift+p"," and actually get the dialog. Looking at it ... I had previous set up the wrapper script to run zsh in interactive mode. Why? Because for some reason ",[36,116,117],{},"$PATH"," wasn't getting set I think. But interactive-mode takes a sec to run. hmm.",[10,120,121,122,124,125,128,129,132],{},"I thrashed all about trying to fix the ",[36,123,117],{},". Rando ",[36,126,127],{},"systemctrl"," things, editing ",[36,130,131],{},"~\u002F.config\u002Fenvironment.d\u002F10-path.conf",", all sorts of things. No dice.",[10,134,135,136,141,142,144,145,147],{},"Then I spent some time switching over to ",[28,137,140],{"href":138,"rel":139},"https:\u002F\u002Fcodeberg.org\u002Fdnkl\u002Ffuzzel",[32],"fuzzel"," which seems fast and cool. But ... same problems sorta. It was wanting to run .desktop entries instead of ",[36,143,117],{}," entries, though you could get it to run ",[36,146,117],{}," commands ... but then it didn't add them into the memory list ... etc.",[10,149,150,151,153],{},"Finally I realized I could go back to Rofi and since I have this wrapper script just throw my ",[36,152,117],{}," export in there! UGLY!!! But it works.",[10,155,156],{},"Then I spent a while updating the theme for Rofi to take some inspiration from what I saw over in Fuzzel. Now it looks like this:",[10,158,159],{},[160,161],"img",{"alt":162,"src":163},"rofi theme","img\u002Frofi_theme.png",[10,165,166],{},"Pretty snazzy!!!",[168,169,170],"style",{},"html pre.shiki code .sMOD_, html code.shiki .sMOD_{--shiki-default:#24292E;--shiki-dark:#E1E4E8;--shiki-sepia:#F8F8F2}html pre.shiki code .sC2Qs, html code.shiki .sC2Qs{--shiki-default:#D73A49;--shiki-dark:#F97583;--shiki-sepia:#F92672}html pre.shiki code .sstjo, html code.shiki .sstjo{--shiki-default:#032F62;--shiki-dark:#9ECBFF;--shiki-sepia:#E6DB74}html pre.shiki code .srTi1, html code.shiki .srTi1{--shiki-default:#6F42C1;--shiki-dark:#B392F0;--shiki-sepia:#A6E22E}html pre.shiki code .s7F3e, html code.shiki .s7F3e{--shiki-default:#005CC5;--shiki-dark:#79B8FF;--shiki-sepia:#AE81FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .sepia .shiki span {color: var(--shiki-sepia);background: var(--shiki-sepia-bg);font-style: var(--shiki-sepia-font-style);font-weight: var(--shiki-sepia-font-weight);text-decoration: var(--shiki-sepia-text-decoration);}html.sepia .shiki span {color: var(--shiki-sepia);background: var(--shiki-sepia-bg);font-style: var(--shiki-sepia-font-style);font-weight: var(--shiki-sepia-font-weight);text-decoration: var(--shiki-sepia-text-decoration);}",{"title":50,"searchDepth":172,"depth":172,"links":173},2,[174,175],{"id":22,"depth":172,"text":23},{"id":100,"depth":172,"text":101},"2025-01-19",false,"md",null,{},true,"\u002Ftlt-2025.01.19-nerd-snipes",{"title":5,"description":12},"TLT - 2025.01.19 - Nerd Snipes",[186],"blog","0n8JDwISa1ppezs4RQA7OLrNTQMj3lsK5c783g_idJc",1778988315006]