Compare commits

..

8 Commits

Author SHA1 Message Date
fc328ec4c2 kitty: bump font to 12 2026-03-06 18:13:23 +01:00
6a0fbd737d helix: add context.scm plugin 2026-02-26 17:51:09 +01:00
41c5fab6f0 kitty: open tab with shift+t 2026-02-26 17:34:26 +01:00
7c0f105244 helix: show git blame inline 2026-02-26 17:34:14 +01:00
30e0ec34dc kitty: correct copy-paste clipboard 2026-02-13 10:40:23 +01:00
1dfbd7e895 hx: enhance usability 2026-02-13 10:37:56 +01:00
ebc6167253 ft: correct ssh-agent reset on lock 2026-02-13 10:37:56 +01:00
6f4f71bcb6 README: update software 2026-02-07 00:45:12 +01:00
9 changed files with 40 additions and 14 deletions

View File

@@ -25,6 +25,9 @@ Use ./stow.sh --unstow <folder_name> to remove configuration
- main, auto, vbr, 10.000 - 30.000, 0s
- native res, no canvas scaling
- kdenlive proxy: x264-vaapi-scale
- allow microphone in steam: `sudo snap connect steam:audio-record :audio-record`
- gamemode configuration:
- renice=10
## Software
@@ -41,7 +44,8 @@ sudo apt install \
sudo apt install \
pympress \
gnome-tweaks \
gimp darktable obs-studio kdenlive
gimp darktable obs-studio kdenlive \
gamemode
```
```
@@ -50,6 +54,7 @@ flatpak install \
com.github.tchx84.Flatseal \
com.mastermindzh.tidal-hifi \
dev.vencord.Vesktop \
md.obsidian.Obsidian \
org.prismlauncher.PrismLauncher
```
@@ -57,17 +62,10 @@ flatpak install \
sudo snap install \
zotero-snap \
proton-mail \
obsidian \
codium \
steam
```
### Custom config
```
sudo snap connect steam:audio-record :audio-record
```
### Manual
- [Helix](https://github.com/helix-editor/helix/releases)
@@ -80,6 +78,7 @@ sudo snap connect steam:audio-record :audio-record
$ mkdir -p ~/.config/nix/
$ echo "experimental-features = nix-command flakes" > ~/.config/nix/nix.conf
```
- [woverlay](https://codeberg.org/rtx/woverlay)
## Extensions
@@ -91,6 +90,7 @@ sudo snap connect steam:audio-record :audio-record
- user-theme@gnome-shell-extensions.gcampax.github.com (legacy apps adw-gtk3, icons papirus)
- quick-settings-audio-panel
- quicksettings-audio-devices-hider (hide unused devices)
- gamemodeshellextensions@trsnaqe.com
### Pre-installed
- disable desktop icons

View File

@@ -2,7 +2,7 @@ PATH=$HOME/.dots/scripts:$HOME/.cargo/bin:$HOME/.ghcup/bin:$HOME/.local/bin:$HOM
EDITOR=hx
VISUAL=hx
_JAVA_AWT_WM_NONREPARENTING=1
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
# support jp input in gnome
GTK_IM_MODULE=ibus

View File

@@ -25,3 +25,5 @@
lineNumber = true
[init]
defaultBranch = main
[core]
editor = hx

View File

@@ -6,6 +6,7 @@ cursor-shape.insert = "bar"
insert-final-newline = false
# rulers = [80, 100]
true-color = true
text-width = 100
[editor.whitespace.render]
tab = "all"
@@ -26,8 +27,9 @@ display-inlay-hints = true
"+" = ["extend_line_down", "extend_to_line_bounds"]
[keys.normal.g]
"b" = ":echo git show %sh{git blame -L %{cursor_line},+1 %{buffer_name} | awk '{print $1}'}"
"b" = ":sh git show %sh{git blame -L %{cursor_line},+1 %{buffer_name} | awk '{print $1}'}"
[keys.normal.z]
s = ":set soft-wrap.enable true"
S = ":set soft-wrap.enable false"
r = ":reflow"

View File

@@ -0,0 +1 @@
; helix.scm

View File

@@ -0,0 +1,6 @@
; init.scm
; https://codeberg.org/gwid/context.hx
(require "context/context.scm")
(context-enable 'right)

View File

@@ -1,6 +1,8 @@
term xterm-256color
confirm_os_window_close 0
shell_integration no-cursor # https://sw.kovidgoyal.net/kitty/shell-integration
# https://sw.kovidgoyal.net/kitty/shell-integration
shell_integration no-cursor
clipboard_control write-clipboard write-primary no-append
### Appearance
@@ -10,7 +12,7 @@ font_family BlexMono Nerd Font Mono Text
italic_font BlexMono Nerd Font Mono
bold_font BlexMono Nerd Font Mono
font_size 11
font_size 12
disable_ligatures cursor
font_features +calt +liga
@@ -41,7 +43,7 @@ tab_title_template "{fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.tab}{title
### Keyboard
map ctrl+t launch --cwd=current --type=tab
map ctrl+shift+t launch --cwd=current --type=tab
map alt+shift+1 goto_tab 1
map alt+shift+2 goto_tab 2

View File

@@ -1 +1,4 @@
dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock && ssh-add -D
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
ssh-add -D
dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock

10
ssh-agent.service Normal file
View File

@@ -0,0 +1,10 @@
[Unit]
Description=SSH key agent
[Service]
Type=simple
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK
[Install]
WantedBy=default.target