114 lines
4.7 KiB
YAML
114 lines
4.7 KiB
YAML
uuid:
|
|
- value: 0dcdf3e3-9f83-426e-9dfa-ab7a28c63951
|
|
langcode:
|
|
- value: en
|
|
type:
|
|
- target_id: daily_email
|
|
target_type: node_type
|
|
target_uuid: 8bde1f2f-eef9-4f2d-ae9c-96921f8193d7
|
|
revision_timestamp:
|
|
- value: '2025-05-11T08:59:58+00:00'
|
|
revision_uid:
|
|
- target_type: user
|
|
target_uuid: b8966985-d4b2-42a7-a319-2e94ccfbb849
|
|
revision_log: { }
|
|
status:
|
|
- value: true
|
|
uid:
|
|
- target_type: user
|
|
target_uuid: b8966985-d4b2-42a7-a319-2e94ccfbb849
|
|
title:
|
|
- value: 'With patches, I can change anything I want'
|
|
created:
|
|
- value: '2025-04-21T00:00:00+00:00'
|
|
changed:
|
|
- value: '2025-05-11T08:59:58+00:00'
|
|
promote:
|
|
- value: false
|
|
sticky:
|
|
- value: false
|
|
default_langcode:
|
|
- value: true
|
|
revision_translation_affected:
|
|
- value: true
|
|
path:
|
|
- alias: /daily/2025/04/21/patch
|
|
langcode: en
|
|
body:
|
|
- value: |
|
|
<p>I've been a Drupal and Linux user for a long time, as well as using command-line tools and utilities like Neovim and tmux.</p>
|
|
|
|
<p>Since September 2022, I've used NixOS as my daily operating system on my computers.</p>
|
|
|
|
<p>Based on similar programs, in particular by ThePrimeagen, I wrote and use a program to automatically open tmux sessions and run initial commands for any project in my Code directory.</p>
|
|
|
|
<p>In October, he released <a href="https://github.com/ThePrimeagen/tmux-sessionizer">tmux-sessionizer as its own package</a>.</p>
|
|
|
|
<p>There is a <code>tmux-sessionizer</code> already in nixpkgs, but <a href="https://code.oliverdavies.uk/opdavies/nix-config/src/commit/28d75ce6b85e0852aa3f8454bab4f2206ad7e50a/pkgs/tmux-sessionizer/default.nix">I wrote my own derivation</a> to use Prime's.</p>
|
|
|
|
<p>There was also this problem in the code:</p>
|
|
|
|
<pre><code class="bash"># If someone wants to make this extensible, i'll accept
|
|
# PR
|
|
selected=$(find ~/ ~/personal ~/personal/dev/env/.config -mindepth 1 -maxdepth 1 -type d | fzf)
|
|
</code></pre>
|
|
|
|
<p>These directories don't match what I use on my computers.</p>
|
|
|
|
<p>People have submitted pull requests, but these haven't yet been merged.</p>
|
|
|
|
<p>Either I change my directory structure or I can't use it.</p>
|
|
|
|
<p>But, in my derivation, I can apply my own patch files to make any changes I want - such as changing the directories to ones I'd want to use - making it usable for me.</p>
|
|
|
|
<p>I can also apply other people's patches, the same as I'm doing with dwm.</p>
|
|
|
|
<p>Someone has created a pull request to make the directories dynamic based on a configuration file.</p>
|
|
|
|
<p>I can apply these changes as a patch to my configuration and remove my custom one.</p>
|
|
|
|
<p>I can make any other changes I want or need to.</p>
|
|
|
|
<p>The possibilities are endless.</p>
|
|
|
|
|
|
format: full_html
|
|
processed: |
|
|
<p>I've been a Drupal and Linux user for a long time, as well as using command-line tools and utilities like Neovim and tmux.</p>
|
|
|
|
<p>Since September 2022, I've used NixOS as my daily operating system on my computers.</p>
|
|
|
|
<p>Based on similar programs, in particular by ThePrimeagen, I wrote and use a program to automatically open tmux sessions and run initial commands for any project in my Code directory.</p>
|
|
|
|
<p>In October, he released <a href="https://github.com/ThePrimeagen/tmux-sessionizer">tmux-sessionizer as its own package</a>.</p>
|
|
|
|
<p>There is a <code>tmux-sessionizer</code> already in nixpkgs, but <a href="https://code.oliverdavies.uk/opdavies/nix-config/src/commit/28d75ce6b85e0852aa3f8454bab4f2206ad7e50a/pkgs/tmux-sessionizer/default.nix">I wrote my own derivation</a> to use Prime's.</p>
|
|
|
|
<p>There was also this problem in the code:</p>
|
|
|
|
<pre><code class="bash"># If someone wants to make this extensible, i'll accept
|
|
# PR
|
|
selected=$(find ~/ ~/personal ~/personal/dev/env/.config -mindepth 1 -maxdepth 1 -type d | fzf)
|
|
</code></pre>
|
|
|
|
<p>These directories don't match what I use on my computers.</p>
|
|
|
|
<p>People have submitted pull requests, but these haven't yet been merged.</p>
|
|
|
|
<p>Either I change my directory structure or I can't use it.</p>
|
|
|
|
<p>But, in my derivation, I can apply my own patch files to make any changes I want - such as changing the directories to ones I'd want to use - making it usable for me.</p>
|
|
|
|
<p>I can also apply other people's patches, the same as I'm doing with dwm.</p>
|
|
|
|
<p>Someone has created a pull request to make the directories dynamic based on a configuration file.</p>
|
|
|
|
<p>I can apply these changes as a patch to my configuration and remove my custom one.</p>
|
|
|
|
<p>I can make any other changes I want or need to.</p>
|
|
|
|
<p>The possibilities are endless.</p>
|
|
|
|
|
|
summary: null
|
|
field_daily_email_cta: { }
|