Compare commits

..

No commits in common. "90d283620ee8a736e438830b78368dff9565d2a9" and "da9a378be795289b37accf153031ddc208e55095" have entirely different histories.

8 changed files with 49 additions and 96 deletions

View File

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

View File

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

View File

@ -52,9 +52,6 @@ set $ws_media "8"
set $ws_util "9"
set $ws_game "10"
set $ws_browser "21"
set $ws_console "22"
set $ws_emacs "23"
{{- if eq .chezmoi.hostname "arch" }}
set $DELL "primary"
@ -62,8 +59,8 @@ set $BenQ "HDMI-0"
workspace $ws0 output $BenQ
workspace $ws1 output $BenQ
workspace $ws2 output $BenQ
workspace $ws3 output $BenQ
workspace $ws2 output $DELL
workspace $ws3 output $DELL
workspace $ws4 output $DELL
workspace $ws5 output $DELL
workspace $ws6 output $DELL
@ -71,9 +68,6 @@ workspace $ws7 output $DELL
workspace $ws8 output $BenQ
workspace $ws9 output $BenQ
workspace $ws10 output $DELL
workspace $ws_browser output $DELL
workspace $ws_console output $DELL
workspace $ws_emacs output $DELL
{{- end }}
@ -201,9 +195,9 @@ bindsym $m+bracketright move right; resize set width 80 ppt
#############################################
## Alacritty
bindsym $m+comma exec --no-startup-id launch-console
bindsym $m+comma exec --no-startup-id launch-console; workspace $ws2
bindsym $m+$s+comma exec --no-startup-id launch-console tmp
bindsym $m+$s+period exec --no-startup-id launch-console emacs
bindsym $m+$s+period exec --no-startup-id launch-console emacs; workspace $ws3
@ -218,8 +212,8 @@ bindsym $m+$s+period exec --no-startup-id launch-console emacs
# 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 $m+apostrophe exec --no-startup-id goto-window carla.Carla2 carla
bindsym $m+$s+quotedbl exec --no-startup-id launch-pavucontrol
bindsym $m+apostrophe exec --no-startup-id launch-pavucontrol
bindsym $m+$s+quotedbl exec --no-startup-id qpwgraph
# 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+k exec --no-startup-id mpc --host 10.0.2.1 volume +2
@ -237,24 +231,28 @@ bindsym $m+$a+slash exec --no-startup-id nowplaying
#####################################
# Browser
bindsym $m+m exec --no-startup-id open-librewolf
bindsym $m+$s+m exec --no-startup-id open-librewolf-private
bindsym $m+n exec --no-startup-id toggl; workspace $ws_util
bindsym $m+m exec --no-startup-id open-brave; workspace $ws1
bindsym $m+$s+m exec --no-startup-id open-librewolf-private; workspace $ws1
bindsym $m+n exec --no-startup-id open-firefox-dev
# Emacs
bindsym $m+period exec --no-startup-id open-emacs
bindsym $m+slash exec --no-startup-id open-emacs-org-capture
# Calendar/Tasks/Mail
bindsym $m+period exec --no-startup-id open-emacs; workspace $ws3
bindsym $m+slash exec --no-startup-id open-emacs-org-capture; workspace $ws3
# File manager
bindsym $m+grave exec --no-startup-id bring-window pcmanfm pcmanfm
bindsym $m+grave exec --no-startup-id pcmanfm
# Dictionary
bindsym $m+$s+slash exec --no-startup-id goldendictxdg.sh
# 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+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+$s+semicolon exec --no-startup-id "rofimoji -f emojis html math miscellaneous musical supplemental_punctuation"
bindsym $m+$s+semicolon exec --no-startup-id "rofimoji"
# Color pikcer
bindsym $m+$c+$s+a exec --no-startup-id gpick
@ -341,42 +339,23 @@ for_window [title="Alacritty@tmux:emacs"] move position left, resize set width 2
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="LibreWolf"] 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="Surge XT"] floating enable, resize set 1200 750, move position 3260 px 100 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="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
### Tips: Run `xprop` (command line tool) to retrieve class, instance and title.
# Browser
assign [class="LibreWolf"] $ws_browser
assign [class="firefox-developer-edition"] $ws_browser
assign [class="Brave"] $ws_browser
assign [class="(c|C)hromium"] $ws_browser
assign [instance="track.toggl.com__timer"] $ws_util
# Terminal
assign [title="Alacritty@tmux:default"] $ws_console
assign [title="Alacritty@tmux:emacs"] $ws_emacs
assign [class="Emacs"] $ws_emacs
assign [title="Alacritty@tmux:default"] $ws2
assign [title="Alacritty@tmux:emacs"] $ws3
assign [class="Emacs"] $ws3
# VirtualBox setting
@ -392,8 +371,6 @@ assign [class="Homebank"] $ws5
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
@ -478,8 +455,6 @@ exec --no-startup-id flameshot > /dev/null 2>&1
# Audio
exec --no-startup-id start-mpd
exec --no-startup-id shairport-sync -o=pa
# JACK/Carla
exec --no-startup-id carla /home/inkch/Carla/play.carxp
# redshift (like f.lux)

View File

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

View File

@ -61,7 +61,7 @@ font-5 = "Symbols Nerd Font:pixelsize=12;2"
{{- if eq .chezmoi.hostname "arch" }}
modules-left = i3 clicker xwindow
modules-center = date
modules-right = pueue filesystem temp cpu memory eth-down eth-up ipv6 ollama caffeine cam tray
modules-right = pueue filesystem temp cpu memory eth-down eth-up ipv6 caffeine cam tray
{{- else if eq .chezmoi.hostname "buzz" }}
modules-left = i3 xwindow
modules-center = date
@ -141,20 +141,13 @@ format-background = ${colors.alert}
label-padding-left = 2
label-padding-right = 2
exec = /home/inkch/.config/polybar/scripts/clicker-stat.sh
[module/ollama]
type = custom/script
format = <label>
label = %output%
interval = 3
exec = /home/inkch/.config/polybar/scripts/ollama.sh
{{- end }}
{{ end }}
[module/caffeine]
type = custom/script
format = <label>
label = %output%
interval = 3
interval = 1
exec = /home/inkch/.config/polybar/scripts/caffeine-check-status.py
click-left = /home/inkch/.config/polybar/scripts/caffeine-toggle.py

View File

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

View File

@ -1,30 +1,22 @@
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBhOW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Krf6Pf7bTGFEIzguLQsTElh0zOGO/qz3gTvcY5L+Xx
7Cs53m98VClZTrV1Qca3Ridf3Xxe4EgZyX5BTvGfG6JwUnCcmk/bGQHMj45dCusH
7pffZWurqddTvsYH+COIipVqXSE7jMDotQWoJjQqxzah537VNUe7TR6DOmEMgc1q
xzVAO8ypCtBunVpMNHoeBsTzClD1op8NqpBeEyipAXCgmF3g6ByEeaqE2aTHlNRw
ikFsaoyaVh/Nsi+kTMtH/697oGD8cWU5WzYz5i26Xkl/Lp1cHUAV1FPVcbCuW12I
ypIqygr8km5UmjlmDIyCYHhjXZcqqsq53myWCPJA9BH3+VCzlYAD42iwp3EJECCw
Gk0XEwRMxyLuRHBm/zVDl4H6wW5kzaj+/SfvjKRCALOAV0An+yLw5DYDa/BuDa2V
oKYEN0rv4Uhe0zpjn6CdJLCtQFSYD/gsABf92Bmr7ZrNTBcVRlFCSMU2rkbwQqAE
j0PQqJQolmapECmktVkSPR2Ou29+J0WRpb4WMckDsPMUDic9/rylsFn4wgg2rC+z
Hu6mTJ4gNnfGwFg97zkbys62zfMp1QpouucxOMIVk5xckju8ojqyd4p/Ijwfm0XJ
ptsCBtn0fde8qFmcu/pcQdlaH7r9aIlvEJ8MWpo8HidD9eLq8RjmlSEJnLNzA6ql
C80EH8GEi+ylHtTx3fGGmZ65bGarSBbPo4IaFO6f9gjwwdgkE/JbqUWKq9Fum9zE
nWIantyiAQd4wyFgk2rpEpUxLb5aGmADrOtk5AMi65h6Bk8gTBsOtRjrFNrVikFA
mhq9AByM5FUIRTfDri3l3oBoD3PlF28TooIvb3EBcb4EXa4=
-----END AGE ENCRYPTED FILE-----

View File

@ -2,4 +2,4 @@
--prefer-free-formats
-o /mnt/hdd/vids/yt/%(uploader)s/%(title).250s.%(ext)s
--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"'
--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"'