Compare commits

...

88 Commits

Author SHA1 Message Date
21f925a994 i3: switch browser to zen 2025-06-11 13:57:16 +09:00
3bd6f8b0f3 mpv: add comment for future reference 2025-05-20 11:36:07 +09:00
ffb6bed383 zathura: add keymaps 2025-05-17 19:22:19 +09:00
3c846b18b2 yt-dlp: change output dir (buzz) 2025-05-17 19:20:29 +09:00
91a62ee415 yt-dlp: config -> config.tmpl (for using different path) 2025-05-17 19:17:45 +09:00
d41c5e0620 i3: update class name for LibreWolf (browser) 2025-05-17 19:00:53 +09:00
e95fe03911 q7: update a script for handling Q7 SD card 2025-05-17 17:02:35 +09:00
cc571f716a i3: set 5 as a workspace for reading 2025-05-17 17:01:49 +09:00
842753530e i3: fix class name 2025-05-17 17:01:31 +09:00
58ae02ab96 zathura: map j and k to navigate 2025-04-04 17:07:53 +09:00
62ff857185 yt-dlp: change output filename (include video id) 2025-04-04 17:06:47 +09:00
5d282822b2 fish: add __dep_check for dailyrec.fish 2025-02-28 23:40:39 +09:00
4ac305b141 mozc: remove (forget) user_dictionary.db 2025-02-28 23:39:24 +09:00
463638297f fish: add function for daily recording (recfiles) 2025-02-21 22:09:11 +09:00
9d779a50d5 i3: auto start emacs daemon only on arch 2025-02-13 11:16:00 +09:00
3fd4da2c7b i3: gnome-text-editor floating 2025-02-12 20:50:25 +09:00
2670a5c92e i3: tidy 'exec' (auto start on boot) 2025-02-06 15:23:00 +09:00
d42375ac06 Merge branch 'main' of gitea:inkch/dotfiles 2025-01-26 21:21:21 +09:00
cbf9ea5195 fish: add pyenv init 2025-01-26 21:20:37 +09:00
a803516c40 kmonad: add a new bind: <space> R → Ctrl return
for org-mode
2025-01-24 01:46:24 +09:00
455c3b9706 kmonad: assign ret to lower F 2025-01-24 01:45:59 +09:00
71ea0433c4 kmonad: disable ralt as return 2025-01-24 01:45:25 +09:00
4f604c7737 fish: fix if-else condition for nnn environment variable 2025-01-21 15:34:39 +09:00
370ebcb022 fish: atuin disable up arrow key 2025-01-20 19:58:26 +09:00
621a82c419 fish: change nnn bookmarks (env variable) (again) 2025-01-20 19:44:28 +09:00
10b4fe617f Merge branch 'main' of gitea:inkch/dotfiles 2025-01-20 19:40:54 +09:00
7f67a66f83 fish: change nnn bookmarks (env variable) 2025-01-20 19:40:39 +09:00
0c486d0510 fish: fix condition of abbr cat -> bat 2025-01-16 20:41:41 +09:00
a6ab2c9f08 Merge branch 'main' of gitea:inkch/dotfiles 2025-01-14 19:50:27 +09:00
a45d8331db rclone: add config 2025-01-14 19:50:07 +09:00
5e94720ffb tmux: make keybindings for not only arch 2025-01-14 19:34:58 +09:00
19cb5c37e8 tmux: add tmuxsh bootstraps 2025-01-14 19:31:48 +09:00
0cb140bfdd tmux: comment out tpm (plugin) related stuff 2025-01-14 19:14:22 +09:00
d0ac25ce86 i3: using light instead of xbacklight 2025-01-14 19:14:22 +09:00
72c9da1463 fish: add env for zoxide 2025-01-14 19:14:22 +09:00
c74f5ffd1f polybar: add network modules for buzz 2025-01-14 19:14:22 +09:00
6672a9d253 polybar: change monitor name for buzz 2025-01-14 19:14:22 +09:00
56fe3e02f5 chezmoi: add encryption directive 2025-01-14 19:14:22 +09:00
6f0bdd72b3 tealdeer(tldr): enable auto update 2025-01-14 19:04:53 +09:00
13099c4d49 fish: update fish_user_keybindings 2025-01-14 15:33:38 +09:00
c389cb9585 atuin: fix: add , in list 2025-01-14 15:31:08 +09:00
93f4d7733e nvim: add new plugin linediff 2025-01-14 15:29:53 +09:00
80977aba22 atuin: add config and theme 2025-01-14 15:29:18 +09:00
365f01da54 tmux: add keybindings for new tmuxsh profiles 2025-01-14 15:28:10 +09:00
f0cedaa4a2 fish: add abbr for hledger 2025-01-14 15:27:56 +09:00
baa6a284b6 fish: add env for gpodder 2025-01-14 15:27:41 +09:00
f37136c653 fish: fix typo 2025-01-14 15:27:09 +09:00
319a2750b7 fish: add env for hledger 2025-01-14 15:26:56 +09:00
c5a650956b fish: fix typo 2025-01-14 15:26:46 +09:00
1e79cbba99 fish: use atuin 2025-01-14 15:26:13 +09:00
29735c36f2 i3: remove moving workspace from keybind 2025-01-14 15:16:51 +09:00
d2cbbc760a i3: order assign (used first match) 2025-01-14 15:15:55 +09:00
73812068ae tealdeer (tldr): add config 2025-01-14 14:57:26 +09:00
90d283620e i3: assign new app (toggle in chromium) 2025-01-14 14:42:02 +09:00
f41c8fea5c i3: use bring-window (my own script) for pcmanfm
new way to bring app windows
2025-01-14 14:40:55 +09:00
027763171a i3: run carla on startup 2025-01-14 14:40:35 +09:00
543a855331 i3: layout tabbed for browsers 2025-01-14 14:40:15 +09:00
4db56fee78 i3: assign and window settings for music creation apps 2025-01-14 14:39:38 +09:00
3ce59de41b i3: more icons/characters in rofimoji 2025-01-14 14:37:42 +09:00
64c237babd i3: delete unused lines related rofi 2025-01-14 14:37:21 +09:00
9da96641a9 i3: change binding apps for controlling audio 2025-01-14 14:35:07 +09:00
7ed6e51c73 i3: remove moving workspace from keybindings
Hard coding with workspace number/name is not ideal solution.
If you want to see apps immediately when you press the key,
that should be handled in the script. Not here.
2025-01-14 14:32:08 +09:00
2fd2eeb7f3 i3: assign apps to newly created workspace (browser,console, and emacs) 2025-01-14 14:26:04 +09:00
d2e4e67de8 i3: add three new workspace for browser, console, and emacs 2025-01-14 14:17:22 +09:00
8fee57b18e i3: workspace 2 and 3 are now displayed on BenQ 2025-01-14 14:15:54 +09:00
84aae5f2ba polybar: increase interval 1 to 3 for the module/caffeine 2025-01-14 14:14:14 +09:00
0b5d7dd6b6 polybar: add new module ollama and its script 2025-01-14 14:13:57 +09:00
5299fa8d48 mozc: update user_dictionary.db 2025-01-14 14:11:53 +09:00
77c4036a6c yt-dlp: increase min-split-size to 4M (aria2c) 2025-01-14 14:06:17 +09:00
0a18fef87a nvim: remove trailing blank line 2025-01-14 14:02:24 +09:00
56cbe48f3f yt-dlp: reduce max-concurrent numbers to 8 (aria2c) 2025-01-14 14:00:37 +09:00
834f8131ff alacritty: add [general] for live_config_reload 2025-01-14 13:51:28 +09:00
41c657d5b4 X11: Comment out a line calling nvidia-settings
Due to a KMS error, now I'm tinkering nvidia related stuff.
2025-01-14 13:45:33 +09:00
da9a378be7 nvim: ignore treesitter.lua other than desktop or laptop 2024-06-25 14:06:03 +09:00
798a04527e nvim: delete plugins/init.lua 2024-06-25 14:04:30 +09:00
49ef034db8 Merge branch 'main' of gitea:inkch/dotfiles 2024-06-25 13:55:38 +09:00
4c24eb8d30 nvim: add plugins/init.lua 2024-06-25 13:54:41 +09:00
ddd90709d2 git: change difftool (delta -> difft) 2024-06-25 13:53:53 +09:00
aee39f036a i3: misc 2024-06-25 13:53:37 +09:00
0f9a9d9d8d fish: miscellaneous 2024-06-25 13:53:02 +09:00
5f9c74cda9 conky: disable clock widgets 2024-06-25 13:50:47 +09:00
83976749be nvim: turn on spell check 2024-03-24 19:51:22 +09:00
97a3b51027 fish: add abbreviation ("cdo" -> cd ~/org) 2024-03-15 15:36:20 +09:00
fa61c8ff8c polybar: define the module "battery" and use it (only for buzz) 2024-03-15 15:37:34 +09:00
514c71a5f9 polybar: adjust foreground color of cpu and memory usage (only for buzz) 2024-03-15 15:36:38 +09:00
b4d8d52270 i3: assign keys for adjusting display brightness 2024-03-15 15:35:19 +09:00
022845035e i3: run kmonad on startup (only for buzz) 2024-03-15 15:34:48 +09:00
caa31d3c4e i3: use Super for meta in both arch and buzz 2024-03-15 15:32:26 +09:00
33 changed files with 579 additions and 275 deletions

View File

@ -1,3 +1,4 @@
encryption = "age"
[edit] [edit]
command = "nvim" command = "nvim"

View File

@ -24,6 +24,7 @@ README.md
.config/i3 .config/i3
.config/mozc .config/mozc
.config/mpv .config/mpv
.config/nvim/lua/plugins/treesitter.lua
.config/polybar .config/polybar
.config/redshift .config/redshift
.config/rofi .config/rofi

View File

@ -78,5 +78,6 @@ export TMUX_TMPDIR="$XDG_RUNTIME_DIR"
{{ if eq .chezmoi.hostname "arch" -}} {{ if eq .chezmoi.hostname "arch" -}}
# nvidia-settings # nvidia-settings
nvidia-settings --config="$XDG_CONFIG_HOME/nvidia/settings" --load-config-only # 2024-10-14: Comment out below one line due to KMS error.
#nvidia-settings --config="$XDG_CONFIG_HOME/nvidia/settings" --load-config-only
{{- end }} {{- end }}

View File

@ -1,3 +1,4 @@
[general]
live_config_reload = true live_config_reload = true
[colors.bright] [colors.bright]

View File

@ -0,0 +1,53 @@
# Official Documents:
# https://docs.atuin.sh/configuration/config/#search_mode_shell_up_key_binding
# https://docs.atuin.sh/configuration/key-binding/
sync_address = "https://atuin.inkch.xyz"
sync_frequency = "15m"
filter_mode = "global"
filter_mode_shell_up_key_binding = "host"
enter_accept = true
inline_height = 20
invert = true
max_preview_height = 9
preview.strategy = "fixed"
show_tabs = false
show_help = false
prefers_reduced_motion = true
history_filter = [
"^\\.+$",
"^\\.+/$",
"^a(mv|cp) -g ",
"^aunpack ",
"^batexa -lag --git$",
"^cd ",
"^cd$",
"^fg$",
"^fiztory$",
"^history$",
"^mcomix",
"^mkcd ",
"^mkdir ",
"^ls$",
"^ls -al(g)?$",
"^ls -la(g)?$",
"^unrar ",
"^unzip ",
"^z(i)?$", # zoxide
"^z(i)? ", # zoxide
"^ "
]
common_prefix = [
"grc",
"doas",
"sudo"
]
[theme]
name = "my-theme"

View File

@ -0,0 +1,7 @@
[theme]
name = "my-theme"
parent = ""
[colors]
Annotation = "#DDDDDD"
Base = "#999999"

View File

@ -1,9 +1,10 @@
conky.config = { conky.config = {
-- common -- common
background = true, background = true,
-- ximerama_head = 1, -- won't work neither 0 and 1
alignment = 'middle_middle', alignment = 'middle_middle',
double_buffer = true, double_buffer = true,
gap_x = 0, gap_x = 2000, -- This makes qlocktwo in center (I don't know why)
gap_y = 0, gap_y = 0,
draw_shades = false, draw_shades = false,
update_interval = 15.0, update_interval = 15.0,

View File

@ -3,7 +3,7 @@ conky.config = {
background = true, background = true,
alignment = 'middle_middle', alignment = 'middle_middle',
double_buffer = true, double_buffer = true,
gap_x = 2240, gap_x = 4350,
gap_y = 50, gap_y = 50,
draw_shades = false, draw_shades = false,
update_interval = 1.0, update_interval = 1.0,

View File

@ -5,7 +5,6 @@
[core] [core]
excludesfile = ~/.config/git/ignore excludesfile = ~/.config/git/ignore
editor = nvim editor = nvim
pager = delta
autocrlf = false autocrlf = false
quotepath = false quotepath = false
@ -20,19 +19,10 @@
branch = auto branch = auto
ui = auto ui = auto
[delta]
line-numbers = true
diff-so-fancy = true
dark = true
navigate = true
syntax-theme = base16
[interactive]
diffFilter = delta -n --color-only --diff-so-fancy
[diff] [diff]
renames = true renames = true
colorMoved = default colorMoved = default
external = difft
[merge] [merge]
tool = nvimdiff tool = nvimdiff
@ -63,5 +53,9 @@
br = branch br = branch
bra = branch -a bra = branch -a
d = diff d = diff
l = log --graph --decorate --oneline --date=iso l = log -p --ext-diff
delete-merged-branch = !git branch -l --merged main | rg -v \"(HEAD|main|\\*)\" | xargs -I % git branch -d % ls = log --graph --decorate --oneline --date=iso
delete-merged-branch = "!git branch -l --merged main | rg -v \"(HEAD|main|\\*)\" | xargs -I % git branch -d %"
; vim: noet ft=gitconfig
; -*- indent-tabs-mode: t; tab-width: 4 -*-

View File

@ -7,13 +7,8 @@
font pango:Source Han Code JP M 7 font pango:Source Han Code JP M 7
# Special Keys # Special Keys
{{- if eq .chezmoi.hostname "arch" }}
set $m Mod4 set $m Mod4
set $a Mod1 set $a Mod1
{{- else if eq .chezmoi.hostname "buzz" }}
set $m Mod1
set $a Mod4
{{- end }}
set $c Control set $c Control
set $s Shift set $s Shift
@ -51,10 +46,16 @@ set $ws8 "8"
set $ws9 "9" set $ws9 "9"
set $ws10 "10" set $ws10 "10"
set $ws_read "5"
set $ws_music "6"
set $ws_studio "7"
set $ws_media "8" set $ws_media "8"
set $ws_util "9" set $ws_util "9"
set $ws_game "10" set $ws_game "10"
set $ws_browser "21"
set $ws_console "22"
set $ws_emacs "23"
{{- if eq .chezmoi.hostname "arch" }} {{- if eq .chezmoi.hostname "arch" }}
set $DELL "primary" set $DELL "primary"
@ -62,8 +63,8 @@ set $BenQ "HDMI-0"
workspace $ws0 output $BenQ workspace $ws0 output $BenQ
workspace $ws1 output $BenQ workspace $ws1 output $BenQ
workspace $ws2 output $DELL workspace $ws2 output $BenQ
workspace $ws3 output $DELL workspace $ws3 output $BenQ
workspace $ws4 output $DELL workspace $ws4 output $DELL
workspace $ws5 output $DELL workspace $ws5 output $DELL
workspace $ws6 output $DELL workspace $ws6 output $DELL
@ -71,6 +72,9 @@ workspace $ws7 output $DELL
workspace $ws8 output $BenQ workspace $ws8 output $BenQ
workspace $ws9 output $BenQ workspace $ws9 output $BenQ
workspace $ws10 output $DELL workspace $ws10 output $DELL
workspace $ws_browser output $DELL
workspace $ws_console output $DELL
workspace $ws_emacs output $DELL
{{- end }} {{- end }}
@ -184,6 +188,13 @@ bindsym XF86Launch8 resize grow width 10 px
bindsym XF86TouchpadToggle resize shrink height 10 px bindsym XF86TouchpadToggle resize shrink height 10 px
bindsym XF86TouchpadOn resize grow height 10 px bindsym XF86TouchpadOn resize grow height 10 px
{{ if eq .chezmoi.hostname "buzz" }}
#bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight +2
#bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -2
bindsym XF86MonBrightnessUp exec --no-startup-id doas light -A 0.1
bindsym XF86MonBrightnessDown exec --no-startup-id doas light -U 0.1
{{ end }}
bindsym $m+bracketleft move left; resize set width 20 ppt bindsym $m+bracketleft move left; resize set width 20 ppt
bindsym $m+bracketright move right; resize set width 80 ppt bindsym $m+bracketright move right; resize set width 80 ppt
@ -193,9 +204,9 @@ bindsym $m+bracketright move right; resize set width 80 ppt
############################################# #############################################
## Alacritty ## Alacritty
bindsym $m+comma exec --no-startup-id launch-console; workspace $ws2 bindsym $m+comma exec --no-startup-id launch-console
bindsym $m+$s+comma exec --no-startup-id launch-console tmp bindsym $m+$s+comma exec --no-startup-id launch-console tmp
bindsym $m+$s+period exec --no-startup-id launch-console emacs; workspace $ws3 bindsym $m+$s+period exec --no-startup-id launch-console emacs
@ -210,8 +221,8 @@ bindsym $m+$s+period exec --no-startup-id launch-console emacs; workspace $ws3
# bindsym $a+Down exec --no-startup-id pamixer -d 1 # decrease volume 1% # bindsym $a+Down exec --no-startup-id pamixer -d 1 # decrease volume 1%
# bindsym $a+j exec --no-startup-id pamixer -d 1 # decrease volume 1% # bindsym $a+j exec --no-startup-id pamixer -d 1 # decrease volume 1%
bindsym $m+apostrophe exec --no-startup-id launch-pavucontrol bindsym $m+apostrophe exec --no-startup-id goto-window carla.Carla2 carla
bindsym $m+$s+quotedbl exec --no-startup-id qpwgraph bindsym $m+$s+quotedbl exec --no-startup-id launch-pavucontrol
# bindsym $m+$a+n exec --no-startup-id start-music-console # bindsym $m+$a+n exec --no-startup-id start-music-console
bindsym $m+$a+j exec --no-startup-id mpc --host 10.0.2.1 volume -2 bindsym $m+$a+j exec --no-startup-id mpc --host 10.0.2.1 volume -2
bindsym $m+$a+k exec --no-startup-id mpc --host 10.0.2.1 volume +2 bindsym $m+$a+k exec --no-startup-id mpc --host 10.0.2.1 volume +2
@ -229,28 +240,24 @@ bindsym $m+$a+slash exec --no-startup-id nowplaying
##################################### #####################################
# Browser # Browser
bindsym $m+m exec --no-startup-id open-brave; workspace $ws1 bindsym $m+m exec --no-startup-id open-zen
bindsym $m+$s+m exec --no-startup-id open-librewolf-private; workspace $ws1 bindsym $m+$s+m exec --no-startup-id open-zen-private
bindsym $m+n exec --no-startup-id open-firefox-dev bindsym $m+n exec --no-startup-id toggl
# Calendar/Tasks/Mail # Emacs
bindsym $m+period exec --no-startup-id open-emacs; workspace $ws3 bindsym $m+period exec --no-startup-id open-emacs
bindsym $m+slash exec --no-startup-id open-emacs-org-capture; workspace $ws3 bindsym $m+slash exec --no-startup-id open-emacs-org-capture
# File manager # File manager
bindsym $m+grave exec --no-startup-id pcmanfm bindsym $m+grave exec --no-startup-id bring-window pcmanfm pcmanfm
# Dictionary # Dictionary
bindsym $m+$s+slash exec --no-startup-id goldendictxdg.sh bindsym $m+$s+slash exec --no-startup-id goldendictxdg.sh
# Rofi # Rofi
# bindsym $m+space exec "rofi -show run -modi 'run,calc' -calc-command 'echo {result} | xsel -ib'"
bindsym $m+Return exec --no-startup-id rofi -show combi bindsym $m+Return exec --no-startup-id rofi -show combi
# bindsym $m+Tab exec --no-startup-id "rofi -matching fuzzy -show window"
# bindsym $c+semicolon exec --no-startup-id clipcat-menu --finder custom
# bindsym $m+semicolon exec --no-startup-id rofi-copyq
bindsym $m+semicolon exec --no-startup-id "copyq show" bindsym $m+semicolon exec --no-startup-id "copyq show"
bindsym $m+$s+semicolon exec --no-startup-id "rofimoji" bindsym $m+$s+semicolon exec --no-startup-id "rofimoji -f emojis html math miscellaneous musical supplemental_punctuation"
# Color pikcer # Color pikcer
bindsym $m+$c+$s+a exec --no-startup-id gpick bindsym $m+$c+$s+a exec --no-startup-id gpick
@ -269,6 +276,8 @@ bindsym --release $m+$s+$c+$a+z exec --no-startup-id slock
# ^^^^^^^^^ Won't work without this. # ^^^^^^^^^ Won't work without this.
# See: https://www.reddit.com/r/i3wm/comments/cae4o8/debian_10_slock_keybind_wont_lock_screen/ # See: https://www.reddit.com/r/i3wm/comments/cae4o8/debian_10_slock_keybind_wont_lock_screen/
bindsym --release $m+$s+$c+$a+f exec --no-startup-id fcitx5-restart
## Notification: dunst ## Notification: dunst
bindsym $m+$c+w exec dunstctl close-all bindsym $m+$c+w exec dunstctl close-all
@ -294,9 +303,9 @@ bindsym $m+$c+r exec /usr/lib/mozc/mozc_tool --mode=word_register_dialog
# 1440 : 810 # 1440 : 810
for_window [class="my-gtk-app"] floating enable, move position center for_window [class="my-gtk-app"] floating enable, move position center
for_window [class="Imager" instance="rpi-imager"] float enable, move position center
for_window [class="discord|Signal|thunderbird"] title_window_icon padding 4px for_window [class="discord|Signal|thunderbird"] title_window_icon padding 4px
for_window [class="Brave-browser|LibreWolf|firefoxdeveloperedition"] title_window_icon padding 4px for_window [class="Brave-browser|Navigator|librewolf|LibreWolf|firefoxdeveloperedition"] title_window_icon padding 4px
for_window [class="^.*"] title_format "%class | %title" # : %title" for_window [class="^.*"] title_format "%class | %title" # : %title"
for_window [class="^.*"] border pixel 1 for_window [class="^.*"] border pixel 1
for_window [class="Yad"] floating enable, resize set 640 900, move position center for_window [class="Yad"] floating enable, resize set 640 900, move position center
@ -304,7 +313,7 @@ for_window [class=".*mpv"] floating enable, resize set 1440 810
for_window [class="(p|P)cmanfm"] floating enable, resize set 800 560, move position center for_window [class="(p|P)cmanfm"] floating enable, resize set 800 560, move position center
for_window [class="feh"] floating enable #, resize set 800 600 for_window [class="feh"] floating enable #, resize set 800 600
for_window [class="Sxiv"] floating enable #, resize set 800 600 for_window [class="Sxiv"] floating enable #, resize set 800 600
for_window [class="Pavucontrol"] floating enable, resize set 720 560 for_window [class="pavucontrol"] floating enable, resize set 720 560
for_window [class="QjackCtl"] floating enable, resize set 420 100, move position right for_window [class="QjackCtl"] floating enable, resize set 420 100, move position right
for_window [class="QjackCtl" title="Graph.*"] floating enable, resize set 1280 1280, move position center for_window [class="QjackCtl" title="Graph.*"] floating enable, resize set 1280 1280, move position center
for_window [class="qpwgraph"] floating enable, resize set 1440 960, move position center for_window [class="qpwgraph"] floating enable, resize set 1440 960, move position center
@ -317,6 +326,7 @@ for_window [class="flameshot"] floating enable
for_window [window_role="GtkFileChooserDialog"] floating enable, resize set 800 600 for_window [window_role="GtkFileChooserDialog"] floating enable, resize set 800 600
for_window [window_role="ECompEditorEvent-.*"] floating enable, resize set 800 600 for_window [window_role="ECompEditorEvent-.*"] floating enable, resize set 800 600
for_window [class="copyq"] floating enable, move position center for_window [class="copyq"] floating enable, move position center
for_window [class="gnome-text-editor"] floating enable, move position center
for_window [title="FreeTube Mini-Player:.*"] floating enable, resize set 800 450 for_window [title="FreeTube Mini-Player:.*"] floating enable, resize set 800 450
for_window [title="FreeTube"] layout tabbed for_window [title="FreeTube"] layout tabbed
@ -328,20 +338,56 @@ for_window [class="Brave-browser" instance="www.evernote.com__client_web"] layou
for_window [class="Homebank"] floating enable, resize set 1200 900, move position center for_window [class="Homebank"] floating enable, resize set 1200 900, move position center
for_window [class="Homebank" title="Budget*"] floating enable, resize set 840 750, move position center for_window [class="Homebank" title="Budget*"] floating enable, resize set 840 750, move position center
for_window [class="calibre.*"] layout tabbed, resize set 1000 800
for_window [title="Edit metadata.*" class="calibre.*"] floating enable, resize set 1000 800 for_window [title="Edit metadata.*" class="calibre.*"] floating enable, resize set 1000 800
for_window [title="Alacritty@tmux:tmp"] floating enable, resize set 800 800, move position center for_window [title="Alacritty@tmux:tmp"] floating enable, resize set 800 800, move position center
for_window [title="Alacritty@tmux:emacs"] move position left, resize set width 20 ppt for_window [title="Alacritty@tmux:emacs"] move position left, resize set width 20 ppt
for_window [class="org.remmina.Remmina"] floating enable, resize set 1000 750, move position center for_window [class="org.remmina.Remmina"] floating enable, resize set 1200 900, move position center
# Browser
for_window [class="Brave"] layout tabbed
for_window [class="Firefox"] layout tabbed
for_window [class="Navigator|librewolf|LibreWolf"] layout tabbed
for_window [class="Navigator|zen"] layout tabbed
for_window [class="Chromium"] layout tabbed
# floating music applications
for_window [class="Hydrogen"] floating enable, resize set 1200 750, move position 1940 px 30 px
for_window [class="Hydrogen" title="Mixer"] floating enable, resize set 1200 750, move position 1940 px 790 px
for_window [class="Surge XT"] floating enable, resize set 1200 750, move position 3280 px 30 px
for_window [class="Qsynth"] floating enable, move position 2480 px 1200 px
for_window [class="Drumstick Metronome"] floating enable, resize set 100 100, move position 4000 px 1010 px
for_window [class="FLTK"] floating enable, resize set 1200 560, move position 3160 px 840 px # giada
for_window [class="FLTK" title="Warning"] floating enable, move position center
for_window [class="FLTK" title="Configuration"] floating enable, move position center
for_window [class="TkFDialog" title="Select Audio files"] floating enable, move position center 1000 px 800 px
for_window [class="Tk" title="Ultimate Vocal Remover"] floating enable, move position center
for_window [class="(g|G)metronome"] floating enable, move position center
for_window [class="(Navigator|librewolf)" title=".*Extension:.*"] floating enable, resize set 720 840, move position center
for_window [class="(m|M)uted"] floating enable, resize set 1200 900, move position center
for_window [class="(a|A)udacity"] floating enable, resize set 1200 600, move position 3280 px 840 px
## assign application to specific workspace ## assign application to specific workspace
### Tips: Run `xprop` (command line tool) to retrieve class, instance and title. ### Tips: Run `xprop` (command line tool) to retrieve class, instance and title.
# Terminal # Browser
assign [title="Alacritty@tmux:default"] $ws2 assign [class="(Navigator|librewolf)"] $ws_browser
assign [title="Alacritty@tmux:emacs"] $ws3 assign [class="(Navigator|zen)"] $ws_browser
assign [class="Emacs"] $ws3 assign [class="firefox-developer-edition"] $ws_browser
assign [class="Brave"] $ws_browser
assign [instance="track.toggl.com__timer"] $ws_util
assign [class="(c|C)hromium"] $ws_browser
# Terminal
assign [title="Alacritty@tmux:default"] $ws_console
assign [title="Alacritty@tmux:emacs"] $ws_emacs
assign [class="Emacs"] $ws_emacs
# Book and documents reading
assign [class="calibre"] $ws_read
assign [class="Zathura"] $ws_read
# VirtualBox setting # VirtualBox setting
assign [class="VirtualBox Machine"] $ws4 assign [class="VirtualBox Machine"] $ws4
@ -352,10 +398,21 @@ assign [class="Virt-manager"] $ws4
assign [class="Homebank"] $ws5 assign [class="Homebank"] $ws5
# Photo Editing
assign [class="Rawtherapee"] $ws7
# Music Applications # Music Applications
assign [class="Hydrogen"] $ws_music # Drum machine
assign [class="Surge XT"] $ws_music # Synthesizer
assign [class="FLTK"] $ws_music # Giada (loop machine)
assign [class="muted"] $ws_music # music util tool
assign [class="(a|A)udacity"] $ws_music
# Photo/Music/Video Editing
assign [class="Rawtherapee"] $ws_studio # RAW image editor
assign [class="Ardour"] $ws_studio # DAW
assign [class="Carla"] $ws_studio # JACK patch bay
assign [class="Guitarix"] $ws_studio # Guitar/Bass amp stack
assign [class="kdenlive"] $ws_studio # video editor
# Media Applications
assign [class="(g|G)podder"] $ws_media assign [class="(g|G)podder"] $ws_media
assign [class=".*Celluloid"] $ws_media assign [class=".*Celluloid"] $ws_media
assign [class="Blanket"] $ws_media assign [class="Blanket"] $ws_media
@ -365,6 +422,7 @@ assign [class="vlc"] $ws_media
assign [title="FreeTube Mini-Player:.*"] $ws_media assign [title="FreeTube Mini-Player:.*"] $ws_media
assign [title="FreeTube"] $ws_media assign [title="FreeTube"] $ws_media
# Chat & Todo Applications # Chat & Todo Applications
assign [class="discord"] $ws_util assign [class="discord"] $ws_util
assign [class="(s|S)lack"] $ws_util assign [class="(s|S)lack"] $ws_util
@ -383,63 +441,31 @@ assign [class="steam_app_1172470" instance="steam_app_1172470" title="Apex Legen
# Auto Exec # Auto Exec
####################################################### #######################################################
# Power saving (xidlehook) exec --no-startup-id "$XDG_CONFIG_HOME/polybar/toggle.sh" # status bar
exec --no-startup-id powersave-on exec --no-startup-id unclutter --timeout 1 --ignore-scrolling & # hide mouse cursor
exec --no-startup-id dunst # Notification
exec --no-startup-id udiskie & # Watch plug
exec --no-startup-id fcitx5 -d # Japanese Input
exec --no-startup-id copyq # clipboard
exec --no-startup-id flameshot # screenshot # TODO needed?
exec --no-startup-id redshift # like f.lux
exec --no-startup-id powersave-on # auto screen lock (deps: xidlehook, slock)
# xss-lock (hook systend-suspend) {{ if eq .chezmoi.hostname "arch" }}
exec --no-startup-id xss-lock -- slock exec --no-startup-id xss-lock -- slock # xss-lock (hook systemd-suspend)
exec --no-startup-id "transmission-daemon" # torrent
# Auto-hide mouse cursor exec --no-startup-id start-mpd # music server
exec --no-startup-id unclutter --timeout 1 --ignore-scrolling & exec --no-startup-id shairport-sync -o=pa # for AirPlay
exec --no-startup-id carla /home/inkch/Carla/play.carxp # JACK
# Key repeat rate exec_always --no-startup-id picom -b > /dev/null 2>&1 # compositor
# exec_always --no-startup-id xset r rate 200 60 exec_always --no-startup-id nitrogen --restore # wallpaper
exec_always --no-startup-id $HOME/.config/conky/start.sh # widgets
# compositor
exec_always --no-startup-id picom -b > /dev/null 2>&1
# Notification
exec --no-startup-id dunst
# Watch plug
exec --no-startup-id udiskie &
# Japanese Input
exec --no-startup-id fcitx5 -d
# Clipboard Manager
# exec_always --no-startup-id clipcatd -r
exec_always --no-startup-id copyq
# Wallpaper
exec --no-startup-id nitrogen --restore
exec_always --no-startup-id $HOME/.config/conky/start.sh
# # Launch terminal
# exec --no-startup-id launch-console
exec --no-startup-id emacs --daemon exec --no-startup-id emacs --daemon
{{ end }}
# Note {{ if eq .chezmoi.hostname "buzz" }}
# exec --no-startup-id note.sh exec --no-startup-id "kmonad $XDG_CONFIG_HOME/kmonad/thinkpad.kbd"
# exec --no-startup-id setsid sync-vimwiki.sh > /dev/null & {{ end }}
# Util
exec --no-startup-id goldendictxdg.sh
exec --no-startup-id flameshot > /dev/null 2>&1
# Audio
exec --no-startup-id start-mpd
exec --no-startup-id shairport-sync -o=pa
# redshift (like f.lux)
exec --no-startup-id redshift
# Polybar
exec --no-startup-id "$XDG_CONFIG_HOME/polybar/toggle.sh"
# Transmission
exec --no-startup-id "transmission-daemon"
####################################################### #######################################################

View File

@ -42,7 +42,7 @@
s13 S-KeyF13 s13 S-KeyF13
c13 C-KeyF13 c13 C-KeyF13
low (tap-hold-next-release 150 spc (layer-toggle lower)) low (tap-hold-next-release 150 spc (layer-toggle lower))
upp (tap-hold-next-release 150 ret (layer-toggle upper)) upp (layer-toggle upper)
uti (layer-toggle util) uti (layer-toggle util)
esc #(esc C-KeyF13) esc #(esc C-KeyF13)
ssf (sticky-key 750 lsft) ssf (sticky-key 750 lsft)
@ -50,6 +50,7 @@
sct (sticky-key 750 lctl) sct (sticky-key 750 lctl)
sme (sticky-key 750 lmet) sme (sticky-key 750 lmet)
ar A-ret ar A-ret
cr C-ret
ctl (tap-hold-next-release 500 S-KeyF13 lctl) ctl (tap-hold-next-release 500 S-KeyF13 lctl)
met (tap-hold-next-release 500 C-KeyF13 lmet) met (tap-hold-next-release 500 C-KeyF13 lmet)
) )
@ -64,8 +65,8 @@
(deflayer lower (deflayer lower
grv 1 2 3 4 5 6 7 8 9 0 - = bspc grv 1 2 3 4 5 6 7 8 9 0 - = bspc
tab @esc tab end r C-t @cle pgdn pgup @cri @esc [ ] \ tab @esc tab end @cr C-t @cle pgdn pgup @cri @esc [ ] \
lctl home @ssf del tab @sme left down up rght : " ret lctl home @ssf del ret @sme left down up rght : " ret
lsft C-z C-x @sct @sal @s13 bspc @ar < > ? rsft lsft C-z C-x @sct @sal @s13 bspc @ar < > ? rsft
lctl lalt @met @low @uti _ bspc lctl lalt @met @low @uti _ bspc
) )

View File

@ -53,6 +53,7 @@ Alt+h frame-back-step
WHEEL_UP seek 10 WHEEL_UP seek 10
WHEEL_DOWN seek -10 WHEEL_DOWN seek -10
# BACKSPACE Reset playback speed
[ add speed -0.1 # scale playback speed [ add speed -0.1 # scale playback speed
] add speed 0.1 ] add speed 0.1
{ add speed -0.01 # scale playback speed { add speed -0.01 # scale playback speed

View File

@ -36,6 +36,7 @@ vim.opt.list = true
vim.opt.listchars = "tab:>>,trail:_,eol:$,multispace:··,extends:>,precedes:<,nbsp:%" vim.opt.listchars = "tab:>>,trail:_,eol:$,multispace:··,extends:>,precedes:<,nbsp:%"
vim.opt.encoding = "utf-8" vim.opt.encoding = "utf-8"
vim.opt.fenc = "utf-8" vim.opt.fenc = "utf-8"
vim.opt.spell = true
if vim.fn.executable('rg') then if vim.fn.executable('rg') then
vim.opt.grepprg = 'rg --vimgrep --smart-case --hidden' vim.opt.grepprg = 'rg --vimgrep --smart-case --hidden'

View File

@ -0,0 +1 @@
return { 'andrewradev/linediff.vim' }

View File

@ -1,2 +1 @@
return { 'tpope/vim-surround' } return { 'tpope/vim-surround' }

View File

@ -26,7 +26,7 @@ bottom = false
{{- if eq .chezmoi.hostname "arch" }} {{- if eq .chezmoi.hostname "arch" }}
monitor = DP-2 monitor = DP-2
{{- else if eq .chezmoi.hostname "buzz" }} {{- else if eq .chezmoi.hostname "buzz" }}
monitor = eDP1 monitor = eDP-1
{{- end }} {{- end }}
width = 100% width = 100%
height = 16 height = 16
@ -61,11 +61,11 @@ font-5 = "Symbols Nerd Font:pixelsize=12;2"
{{- if eq .chezmoi.hostname "arch" }} {{- if eq .chezmoi.hostname "arch" }}
modules-left = i3 clicker xwindow modules-left = i3 clicker xwindow
modules-center = date modules-center = date
modules-right = pueue filesystem temp cpu memory eth-down eth-up ipv6 caffeine cam tray modules-right = pueue filesystem temp cpu memory eth-down eth-up ipv6 ollama caffeine cam tray
{{- else if eq .chezmoi.hostname "buzz" }} {{- else if eq .chezmoi.hostname "buzz" }}
modules-left = i3 xwindow modules-left = i3 xwindow
modules-center = date modules-center = date
modules-right = filesystem temp cpu memory tray modules-right = wired-network wireless-network filesystem temp cpu memory battery tray
{{- end }} {{- end }}
@ -81,6 +81,82 @@ type = internal/tray
tray-padding = 4 tray-padding = 4
tray-size = 75% tray-size = 75%
{{ if eq .chezmoi.hostname "buzz" }}
[module/battery]
type = internal/battery
; This is useful in case the battery never reports 100% charge
; Default: 100
full-at = 98
; format-low once this charge percentage is reached
; Default: 10
; New in version 3.6.0
low-at = 15
; Use the following command to list batteries and adapters:
; $ ls -1 /sys/class/power_supply/
battery = BAT0
adapter = AC
; If an inotify event haven't been reported in this many
; seconds, manually poll for new values.
;
; Needed as a fallback for systems that don't report events
; on sysfs/procfs.
;
; Disable polling by setting the interval to 0.
;
; Default: 5
poll-interval = 5
[module/wired-network]
; All labels support the following tokens:
; %ifname% [wireless+wired]
; %local_ip% [wireless+wired]
; %local_ip6% [wireless+wired]
; %essid% [wireless]
; %signal% [wireless]
; %upspeed% [wireless+wired]
; %downspeed% [wireless+wired]
; %netspeed% [wireless+wired] (%upspeed% + %downspeed%) (New in version 3.6.0)
; %linkspeed% [wired]
; %mac% [wireless+wired] (New in version 3.6.0)
label-connected = %local_ip%
label-connected-foreground = #ccc
label-disconnected = x
label-disconnected-foreground = #666666
format-connected = <label-connected>
format-disconnected = <label-disconnected>
type = internal/network
interface = enp3s0
[module/wireless-network]
; All labels support the following tokens:
; %ifname% [wireless+wired]
; %local_ip% [wireless+wired]
; %local_ip6% [wireless+wired]
; %essid% [wireless]
; %signal% [wireless]
; %upspeed% [wireless+wired]
; %downspeed% [wireless+wired]
; %netspeed% [wireless+wired] (%upspeed% + %downspeed%) (New in version 3.6.0)
; %linkspeed% [wired]
; %mac% [wireless+wired] (New in version 3.6.0)
label-connected = %local_ip%
label-connected-foreground = #ccc
label-disconnected = x
label-disconnected-foreground = #666666
format-connected = <label-connected>
format-disconnected = <label-disconnected>
type = internal/network
interface = wlan0
{{ end }}
[module/pueue] [module/pueue]
type = custom/script type = custom/script
interval = 5 interval = 5
@ -111,13 +187,20 @@ format-background = ${colors.alert}
label-padding-left = 2 label-padding-left = 2
label-padding-right = 2 label-padding-right = 2
exec = /home/inkch/.config/polybar/scripts/clicker-stat.sh exec = /home/inkch/.config/polybar/scripts/clicker-stat.sh
{{ end }}
[module/ollama]
type = custom/script
format = <label>
label = %output%
interval = 3
exec = /home/inkch/.config/polybar/scripts/ollama.sh
{{- end }}
[module/caffeine] [module/caffeine]
type = custom/script type = custom/script
format = <label> format = <label>
label = %output% label = %output%
interval = 1 interval = 3
exec = /home/inkch/.config/polybar/scripts/caffeine-check-status.py exec = /home/inkch/.config/polybar/scripts/caffeine-check-status.py
click-left = /home/inkch/.config/polybar/scripts/caffeine-toggle.py click-left = /home/inkch/.config/polybar/scripts/caffeine-toggle.py
@ -202,6 +285,9 @@ label-visible-padding = 1
type = internal/cpu type = internal/cpu
interval = 1 interval = 1
format-underline = ${colors.primary} format-underline = ${colors.primary}
{{ if eq .chezmoi.hostname "buzz" }}
format-foreground = ${colors.foreground-alt}
{{ end }}
label = %percentage:2%% label = %percentage:2%%
[module/memory] [module/memory]
@ -209,6 +295,9 @@ type = internal/memory
interval = 1 interval = 1
format-underline = #32bbc2 format-underline = #32bbc2
label = %percentage_used:2%% label = %percentage_used:2%%
{{ if eq .chezmoi.hostname "buzz" }}
format-foreground = ${colors.foreground-alt}
{{ end }}
[module/eth-up] [module/eth-up]
type = internal/network type = internal/network

View File

@ -0,0 +1,6 @@
#!/usr/bin/dash
if systemctl is-active ollama >/dev/null; then
echo 'ol'
else
echo ''
fi

View File

@ -138,6 +138,7 @@ abbr cdk "fuzzy-find -t d --exec $XDG_DOCUMENTS_DIR/vimwiki 2"
abbr cdh 'fuzzy-find -t d --exec ~/hack' abbr cdh 'fuzzy-find -t d --exec ~/hack'
abbr cdj "cd $XDG_DOCUMENTS_DIR/fons/journal" abbr cdj "cd $XDG_DOCUMENTS_DIR/fons/journal"
abbr cdn "cd $XDG_DOCUMENTS_DIR/fons/notes" abbr cdn "cd $XDG_DOCUMENTS_DIR/fons/notes"
abbr cdo "cd $HOME/org"
abbr cdr "cd $XDG_DOCUMENTS_DIR/fons/review" abbr cdr "cd $XDG_DOCUMENTS_DIR/fons/review"
abbr cds "cd $XDG_DATA_HOME/myscripts" abbr cds "cd $XDG_DATA_HOME/myscripts"
abbr cdsys "cd $XDG_CONFIG_HOME/systemd/user" abbr cdsys "cd $XDG_CONFIG_HOME/systemd/user"
@ -180,16 +181,19 @@ abbr trl "transmission-remote -l"
abbr trc "transmission-remote-cli" abbr trc "transmission-remote-cli"
# Git # Git
abbr g 'git'
abbr gs 'git status' abbr gs 'git status'
abbr gfe 'git fetch' abbr gfe 'git fetch'
abbr gfa 'git fetch --all' abbr gfa 'git fetch --all'
abbr gco 'git checkout' abbr gco 'git checkout'
abbr gcob 'git checkout -b' abbr gcob 'git checkout -b'
abbr gcm 'git commit -m'
abbr gcma 'git commit -am' abbr gcma 'git commit -am'
abbr gbr 'git branch' abbr gbr 'git branch'
abbr gbra 'git branch -a' abbr gbra 'git branch -a'
abbr gd 'git diff' abbr gd 'git diff'
abbr gl 'git log --graph --decorate --oneline --date=iso' abbr gl 'git log -p --ext-diff'
abbr glg 'git log --graph --decorate --oneline --date=iso'
abbr gemp 'git commit --allow-empty -m' abbr gemp 'git commit --allow-empty -m'
abbr gps "git remote | fzf -1 | xargs -I'{}' git push {}" abbr gps "git remote | fzf -1 | xargs -I'{}' git push {}"
abbr gpl "git remote | fzf -1 | xargs -I'{}' git pull {}" abbr gpl "git remote | fzf -1 | xargs -I'{}' git pull {}"
@ -198,7 +202,7 @@ abbr gpl "git remote | fzf -1 | xargs -I'{}' git pull {}"
abbr rm 'rm -i' abbr rm 'rm -i'
abbr rmi 'rm -I' abbr rmi 'rm -I'
abbr rmr 'rm -rI' abbr rmr 'rm -rI'
abbr rmd 'rmdir (fd -t d -t e)' abbr rmd 'rmdir --ignore-fail-on-non-empty --parents (fd -t d -t e)'
# abbr for `wishlist` (fish function) # abbr for `wishlist` (fish function)
abbr wish 'wishlist' abbr wish 'wishlist'
@ -229,7 +233,7 @@ if type -q exa;
end end
if type -q watchexec; if type -q watchexec;
abbr wax 'watchexec' abbr wex 'watchexec'
end end
## Use enhanced 'find' ## Use enhanced 'find'
@ -248,9 +252,12 @@ if type -q docker;
abbr docrmi "docker images | fzf | awk '{ print $1 }' | xargs -I'{}' docker rmi {}" abbr docrmi "docker images | fzf | awk '{ print $1 }' | xargs -I'{}' docker rmi {}"
end end
if type -q bat;
abbr cat 'bat'
end
if type -q grc; if type -q grc;
abbr blkid 'grc blkid' abbr blkid 'grc blkid'
abbr cat 'bat'
abbr cpgrep 'colorpgrep' abbr cpgrep 'colorpgrep'
abbr cvs 'grc cvs' abbr cvs 'grc cvs'
abbr df 'grc df -h' abbr df 'grc df -h'
@ -407,3 +414,7 @@ end
if type -q chezmoi if type -q chezmoi
abbr cz chezmoi abbr cz chezmoi
end end
if type -q hledger
abbr hl hledger
end

View File

@ -12,6 +12,11 @@ if status --is-interactive
set -q fish_private_mode && set -x FISH_IS_IN_PRIVATE 1 set -q fish_private_mode && set -x FISH_IS_IN_PRIVATE 1
command -v zoxide > /dev/null && zoxide init fish | source command -v zoxide > /dev/null && zoxide init fish | source
command -v starship > /dev/null && starship init fish | source command -v starship > /dev/null && starship init fish | source
command -v pyenv > /dev/null && pyenv init - fish | source
if not set -q FISH_IS_IN_PRIVATE
command -v atuin > /dev/null && atuin init fish --disable-up-arrow | source
end
if type -q tmux; and test -z "$TMUX" if type -q tmux; and test -z "$TMUX"
tmux attach -t default || tmux new-session -s default tmux attach -t default || tmux new-session -s default

View File

@ -40,8 +40,14 @@ set -x LESS '-RI'
set -x LESSHISTFILE '-' set -x LESSHISTFILE '-'
# nnn (filemanager) settings # nnn (filemanager) settings
set -x NNN_CONTEXT_COLORS '4231' if type -q nnn
set -x NNN_BMS 'j:/mnt/hdd2;l:/mnt/hdd2/vids/films;m:/mnt/;h:/mnt/hdd/;d:~/dl;t:~/dl/torrent;.:~/.config' set -x NNN_CONTEXT_COLORS '4231'
{{- if eq .chezmoi.hostname "arch" }}
set -x NNN_BMS 'm:/mnt/;h:/mnt/hdd/;t:/mnt/hdd/torrent;v:/mnt/hdd/vids;B:/mnt/hdd/bass;b:/mnt/hdd/books;M:/mnt/hdd/books/manga;d:~/dl;.:~/.config'
{{- else if eq .chezmoi.hostname "buzz" }}
set -x NNN_BMS 'u:/usbkey;m:/mnt/;d:~/dl;t:~/dl/torrent;.:~/.config'
{{- end }}
end
# python # python
set -x PYTHONSTARTUP $XDG_CONFIG_HOME/pythonrc set -x PYTHONSTARTUP $XDG_CONFIG_HOME/pythonrc
@ -151,10 +157,18 @@ if type -q vidir;
set -x VIDIR_EDITOR_ARGS '-c :set nolist | :set ft=vidir-ls' set -x VIDIR_EDITOR_ARGS '-c :set nolist | :set ft=vidir-ls'
end end
if type -q stack: # Haskell if type -q stack; # Haskell
set -x STACK_ROOT "$XDG_DATA_HOME"/stack set -x STACK_ROOT "$XDG_DATA_HOME"/stack
end end
if type -q hledger;
set -x LEDGER_FILE "$HOME/vc/accounting/hledger/main.journal"
end
if type -q zoxide
set -x _ZO_FZF_OPTS "-1"
end
{{- if (and (eq .chezmoi.os "linux") (eq .hosttype "desktop" "laptop")) }} {{- if (and (eq .chezmoi.os "linux") (eq .hosttype "desktop" "laptop")) }}
if test -d "$XDG_DATA_HOME/flatpak/exports/bin" if test -d "$XDG_DATA_HOME/flatpak/exports/bin"
set -ax PATH "$XDG_DATA_HOME/flatpak/exports/bin" set -ax PATH "$XDG_DATA_HOME/flatpak/exports/bin"
@ -170,8 +184,22 @@ if type -q calibre;
set -x CALIBRE_USE_DARK_PALETTE 1 set -x CALIBRE_USE_DARK_PALETTE 1
end end
if type -q ksshaskpass: if type -q ksshaskpass
set -x SSH_ASKPASS (which ksshaskpass) set -x SSH_ASKPASS (which ksshaskpass)
set -x SUDO_ASKPASS (which ksshaskpass) set -x SUDO_ASKPASS (which ksshaskpass)
end end
if type -q gpodder
set -x GPODDER_HOME "$XDG_CONFIG_HOME/gpodder"
end
{{- end }}
{{- if (eq .chezmoi.hostname "arch") }}
if type -q ollama
set -x OLLAMA_HOST "10.0.2.1:11434"
end
if type -q gpodder
set -x GPODDER_DOWNLOAD_DIR "/mnt/hdd/gpodder"
end
{{- end }} {{- end }}

View File

@ -0,0 +1,31 @@
#!/usr/bin/fish
function dailyrec
__dep_check recsel recins recset
set recfile "$HOME/org/daily.rec"
read -P 'Date (yyyy-mm-dd) (default: today)> ' date
if test -z "$date"
set date (date +%Y-%m-%d)
else
set date (date -d "$date" +%Y-%m-%d)
end
if not date -d "$date" > /dev/null 2>&1
echo "Invalid date: $date (should be yyyy-mm-dd)"
exit 1
end
echo Date: $date
if test (recsel -e "Date = '$date'" --count "$recfile") -eq 0
recins --verbose -t Daily -f "Date" -v "$date" "$recfile"
end
for field in Morning Mood Eating Walking Bass Reading
read -P "$field > " value
if test -z "$value"; continue; end
recset --verbose -e "Date = '$date'" -f "$field" -S "$value" "$recfile"
end
end

View File

@ -1,13 +1,13 @@
-----BEGIN AGE ENCRYPTED FILE----- -----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSB6a2RIU1laeFZ4dGk0Zjhs YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSB1K0V1akJxek56enAvdXVi
Q3lyYVErc3k5OHFUaVl2c0FOMXBFNUtZMGdNCnNXeXRjamQ2SVFQU2tBdTBEd1dV VVVEV0NTeFRwbllZTzhlS3J2V21ZMjJoRkR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JSEU9Y/VIVov4nCZBh8VQV/iZ+XbILvIyjJYA==
-----END AGE ENCRYPTED FILE----- -----END AGE ENCRYPTED FILE-----

View File

@ -1,36 +1,36 @@
-----BEGIN AGE ENCRYPTED FILE----- -----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBDaTNQbktYa25sZEhFMEYy YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBPMGhscnowTEFVTm9jZEVH
TWh2TGdTQnQzRncyWXplb0pPWjY0V3RDaGlFCjJwd1FmenJ3TmZIZERvcExORHla N0xCWEdvd2lUTERIeHNVWEI3aEFkNFJma0dVCm5uMUR4SVg3Z08zYzF5aXREelZn
MjlDQ0YzRlJKME9yWVJhS1dISWgxSkEKLS0tIDFybnZOcTVmcE1COTRqc2xBNkFZ YXV0OTdvbElFT2UwSGFwTm5OWDVVQnMKLS0tIDFGb1lYblpRc1JVQUNjYVdydG9q
c05tcHB4Q3FOREJ5NWNpd1FOMEozMVEKJiBlYprN4Lv9ezBLHPwb3uReGTLu5iH/ dnpta0NrOXlOdXhMbkFkd1ZKTlpmWVEKfsbTX4z91153J2XxT24f/Uw/fHsqDWNP
0+dzxQppM/Vt00Aq+YjgkgqeGibkLGSsccvAPDZk5LfipifFUI9JncJXT+d9Bcgk 4l/Ni0d8AIqzphrJLGIfj0Z8tsbOO0Ta+PqNMLjdpPMVFXyAhnQWqNVbxXlKhAFI
PE0KoPH07i6XMR4Y+gkLsOWz0kVTR+Fw3j9L37wZvEeZen0Za5xb4htfuoTO6Y8Q a2Ln7sMVLcdNTAwDGt0eHfyhzi3seV0YKXYw/a0WS6lYp8ZF6HbIcQyWLEvXGWso
rkHGEIGV79fo9u3/OsgZp+gfdk/c+46j6Cd+fIntTpcLHPApc835g/0BKiULFltr RpfnIzKPanEpTVGtP01NdFpn60cxpAgza5ke7ePgVma8OWICdQ4dP7X4BUiR4B9V
29IwFtLb3uiGwcH0i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BhZcPCHd+iqnOc56LbWAzY8h1AIq2f7Le1ZRxLsq
Pxxc4Lf/9pvodXnOpXipVztO5Fgvr+jdzuGH/6uZwI/YMdquqeu5/9b6uQpekzcx CMJLbf8T31m6gsrELUvwr9PFPMiVmTa+rz8LPUkJsuoaeazU1Vf+jRZ3+OW1i8Bw
zVz4QMmsz4Q1PD58KpG9/JbBPj3tdI30GvO9aYzTGI0QShM2yll3uvpAt4wTub2X K7z4TUpqz32o6HOzO26SBC90uVLPIajhTZqOtG1hyPpj3TXkj33zZF4XE9DDo6SD
21jE6dt1LDzuezYuCMw1RpbEVFRxV2EbbWgXHO6AUulj1RH0pcSZ/8TLmTE5A9ri MVwU/MYV3xitZdSWTn5pm56cHrRCDKkOCMikDkCoCDb/ntNuBr/h2Mcq+O+BSJ2n
Cxn7USX150zSxqAspwa/agw+S1528WYrIbU1BJYZPPs/+zoKUirFXpl1kOr/SPFb /lxmNho84TPYJWsghb+tP3/3FtSFwIZqic12aIJaR8yWn4Pvahu7Prv40WfeerOd
HFAT4uGGq5LOrxXP8VDc7p6duofy6H36UVr5bOBysm6LxMLWi3CnHkNuAppCvx88 24nurPPboSgzRp26af2HiZvXve3/fUGZk1y6lBKltwO0fA85GICoJRRE8ktMMZtO
Roa/e1tpy0do78ETko9TMadC6cZlAVMkikVJJMdxKs725IfG0e+kJYgO2haX2koV J+9HSEDhQo+c/8WL/FHqfy3z3OGCpVa8ubwsEcBZ/EiiaUaeUWZLyTpDqt5E1Dz3
JBUB3o8jMQ4= WdldjAe2eIo=
-----END AGE ENCRYPTED FILE----- -----END AGE ENCRYPTED FILE-----

View File

@ -1,22 +0,0 @@
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBZZDhwYzVWQ1cxVGlSVXg5
WDdlMTRwOGFzZ0o0cW42K2U5N1lVVFJBalFJCnUzamlJUGxxYXcwNXh0cndPeEJY
dTFOZ1ErZElXRjlpeStOb3NGZ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VikFA
mhq9AByM5FUIRTfDri3l3oBoD3PlF28TooIvb3EBcb4EXa4=
-----END AGE ENCRYPTED FILE-----

View File

@ -0,0 +1,12 @@
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBjeGcwVElWTVFtU2VoVlBV
YUg5R2U2L0g2NFRjWDhabGptZERFZDRFSzM0CjA5b2lWejBZd1N4azZCS3pGaHJy
eStEWDBMcW1ONk1hcjZ4eTg5UDIxd1UKLS0tIFcvSk5GMndkTlRndEJENk5UZkZ6
VXdZc0dSbSs5YUcwc0FTbDJlSm42SHMKEx+DpwASAeu6tZYUAtCfi19zS12Scy+x
B8m/cRGS2onKbmZoRcOhnRoPRLasPZ3ELot4q+uYazxZSwJJX0ZbvvJ+4FKkLtWs
jDoDIyrbSGfJBnHs7aCnAk1SR19JFYU96SBScvOLelXcdDHUDNE9DW8aEiayRPhi
MaLT791iSkeQZM2DgWGHsqHAd3CX3SXKJsl7eaQ1hbDdKoSJuNKR4DhYjz2Uaqzr
+IEp6GeBYKmOXwBcCPk4o7nWx7rJg7WTciVv23Ex9o6QZj8Wds3TsFTGHMxM87US
3d0MQwIKNYoWaWjd+quAieOs+DOaHEPKBrvdFWvLdwrzVcs/ZIKjXXO3LiFfUorj
79Lu6/CWZJq5d+UgAikV7r4fFMKR38wMMpauhW96+LtQUlIUDKIHljLml3eP
-----END AGE ENCRYPTED FILE-----

View File

@ -0,0 +1,38 @@
[style.description]
underline = false
bold = false
italic = false
[style.command_name]
foreground = "cyan"
underline = false
bold = false
italic = false
[style.example_text]
foreground = "green"
underline = false
bold = false
italic = false
[style.example_code]
foreground = "cyan"
underline = false
bold = false
italic = false
[style.example_variable]
foreground = "cyan"
underline = true
bold = false
italic = false
[display]
compact = false
use_pager = false
[updates]
auto_update = true
auto_update_interval_hours = 240
[directories]

View File

@ -0,0 +1,4 @@
#!/bin/sh
# Create new window
tmux neww -n dev
tmux send-keys -t 0 'cdd' C-m

View File

@ -0,0 +1,4 @@
#!/bin/sh
# Create new window
tmux neww -n remote
# tmux send-keys -t 0 'cowsay remote' C-m

View File

@ -36,8 +36,10 @@ bind C-j split-window -v -c '#{pane_current_path}'
# Session control # Session control
bind C-c new-session bind C-c new-session
{{- if eq .chezmoi.hostname "arch" }}
bind C-t run "tmuxsh >/dev/null" bind C-t run "tmuxsh >/dev/null"
bind C-y run "tmuxsh remote >/dev/null"
bind C-u run "tmuxsh dev >/dev/null"
{{- if eq .chezmoi.hostname "arch" }}
bind 0 run "tmuxsh wiki >/dev/null" bind 0 run "tmuxsh wiki >/dev/null"
bind 1 run "tmuxsh blog >/dev/null" bind 1 run "tmuxsh blog >/dev/null"
bind 3 run "tmuxsh tessoku >/dev/null" bind 3 run "tmuxsh tessoku >/dev/null"
@ -134,27 +136,27 @@ bind -T off M-q \
####################### ########################
# Plugins ## Plugins
####################### ########################
#
## List of plugins ### List of plugins
set-environment -g TMUX_PLUGIN_MANAGER_PATH "$XDG_CACHE_HOME/tmux/plugins" #set-environment -g TMUX_PLUGIN_MANAGER_PATH "$XDG_CACHE_HOME/tmux/plugins"
#
# Tmux Plugin Manager ## Tmux Plugin Manager
set -g @plugin 'tmux-plugins/tpm' #set -g @plugin 'tmux-plugins/tpm'
#
set -g @plugin 'wfxr/tmux-fzf-url' #set -g @plugin 'wfxr/tmux-fzf-url'
#
set -g @plugin 'fcsonline/tmux-thumbs' #set -g @plugin 'fcsonline/tmux-thumbs'
set -g @thumbs-contrast 4 #set -g @thumbs-contrast 4
set -g @thumbs-bg-color 'black' #set -g @thumbs-bg-color 'black'
set -g @thumbs-fg-color 'yellow' #set -g @thumbs-fg-color 'yellow'
set -g @thumbs-hint-fg-color 'red' #set -g @thumbs-hint-fg-color 'red'
set -g @thumbs-hint-bg-color 'black' #set -g @thumbs-hint-bg-color 'black'
set -g @thumbs-position 'right' #set -g @thumbs-position 'right'
set -g @thumbs-command 'echo -n {} | xsel -ib' #set -g @thumbs-command 'echo -n {} | xsel -ib'
#
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) ## Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run -b "$XDG_CACHE_HOME/tmux/plugins/tpm/tpm" #run -b "$XDG_CACHE_HOME/tmux/plugins/tpm/tpm"
{{- end }} {{- end }}

View File

@ -1,5 +0,0 @@
-f b
--prefer-free-formats
-o /mnt/hdd/vids/yt/%(uploader)s/%(title).250s.%(ext)s
--downloader 'aria2c'
--downloader-args 'aria2c:--console-log-level=warn -j 16 -x 16 -s 16 -k 1M -U "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36"'

View File

@ -0,0 +1,9 @@
-f b
--prefer-free-formats
{{ if eq .chezmoi.hostname "arch" }}
-o "/mnt/hdd/vids/yt/%(uploader)s/%(upload_date)s - %(title).200s [%(id)s].%(ext)s"
{{ else if eq .chezmoi.hostname "buzz" }}
-o "~/vc/vids/yt/%(uploader)s/%(upload_date)s - %(title).200s [%(id)s].%(ext)s"
{{ end }}
--downloader 'aria2c'
--downloader-args 'aria2c:--console-log-level=warn -j 8 -x 8 -s 8 -k 4M -U "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36"'

View File

@ -1 +1,5 @@
set selection-clipboard clipboard set selection-clipboard clipboard
map j navigate next
map k navigate previous
map <S-j> scroll down
map <S-k> scroll up