Add niri, senpai configs

This commit is contained in:
Ian Keane 2025-12-28 13:46:16 -05:00
parent e34b8c1159
commit 908924199e
3 changed files with 34 additions and 16 deletions

View file

@ -7,7 +7,7 @@ This file contains all configurations across all my machines. Well, most of them
* Terminal
** Shell Environment
#+begin_src sh :tangle ~/.profile
#+begin_src sh :tangle ~/.profile
alias k=kubectl
alias lg=lazygit
alias ld=lazydocker
@ -67,7 +67,7 @@ test -f ~/.config/fish/aliases.fish && source ~/.config/fish/aliases.fish
*** Mode Prompt
Disable default mode indicator since starship handles it
#+begin_src fish :tangle ~/.config/fish/functions/fish_mode_prompt.fish
#+begin_src fish :tangle ~/.config/fish/functions/fish_mode_prompt.fish
function fish_mode_prompt
end
#+end_src
@ -205,7 +205,7 @@ style = "bold dimmed green"
#+end_src
** Tmux
#+begin_src txt :tangle ~/.config/tmux/tmux.conf
#+begin_src txt :tangle ~/.config/tmux/tmux.conf
# Required for yazi
set -g allow-passthrough on
set -ga update-environment TERM
@ -265,15 +265,17 @@ set-option -g window-status-format '#{window_name}'
** TODO Tmuxinator
* Wezterm
#+begin_src lua :tangle ~/.config/wezterm/wezterm.lua
#+begin_src lua :tangle ~/.config/wezterm/wezterm.lua
local wezterm = require 'wezterm'
local config = {}
config.color_scheme = 'OceanicNext (base16)'
config.font = wezterm.font 'Deja Vu Sans Mono'
config.font = wezterm.font 'FiraCode Nerd Font Mono'
config.font_size = 20
config.enable_tab_bar = false
return config
#+end_src
* Text Editors
@ -301,7 +303,7 @@ formatter = { command = "stylua", args = [ "-" ] }
** Emacs Pinentry
#+begin_src txt :tangle ~/.gnupg/gpg-agent.conf
#+begin_src txt :tangle ~/.gnupg/gpg-agent.conf
allow-emacs-pinentry
#+end_src
@ -352,7 +354,7 @@ audio_output {
** Bluetooth
- TODO: evaluate if this can be done differently in nixos
#+begin_src lua :tangle /sudo::/etc/wireplumber/bluetooth.lua.d/51-bluez-config.lua
#+begin_src lua :tangle /sudo::/etc/wireplumber/bluetooth.lua.d/51-bluez-config.lua
bluez_monitor.properties = {
["bluez5.enable-sbc-xq"] = true,
["bluez5.enable-msbc"] = true,
@ -375,7 +377,7 @@ EndSection
*** Laptop Only
- Avoid unintentional touchpad activation
- TODO: Tangle to /etc/X11/xorg.conf.d/10-synaptics.conf for non-nix
#+begin_src
#+begin_src
Section "InputClass"
Identifier "touchpad catchall"
Driver "synaptics"
@ -523,7 +525,7 @@ EndSection
case_column_headers = True
history_file = default
# "CRITICAL", "ERROR", "WARNING", "INFO" "DEBUG", "NONE"
log_level = INFO
log_level = INFO
# table_order and alphabetic
asterisk_column_order = table_order
qualify_columns = if_more_than_one_table
@ -680,14 +682,14 @@ super + alt + {q,r}
bspc node @parent/second -z top 0 -20, \
bspc node @parent/first -z right +20 0; \
bspc node @parent/second -z left +20 0}
# move a floating window
super + {Left,Down,Up,Right}
bspc node -v {-20 0,0 20,0 -20,20 0}
super + w
gapcycle
super + shift + w
layoutcycle && sleep .1
#+end_src
@ -707,7 +709,7 @@ super + alt + {q,r}
- BSPWM / sxhkd / startup stuff / xinitrc
- Consider configuring flavours
- taskwarrior
- vit
- vit
- vimrc
- tmuxinator setup
- special popup for emacs, chat, gpt, etc
@ -726,7 +728,7 @@ super + alt + {q,r}
- autorandr
- dunstrc
- ncmpcpp
- scrobble
- scrobble
- mpdscribble
- internet radio
- polybar

View file

@ -6,10 +6,21 @@
// Ask clients to omit their client-side decorations
prefer-no-csd
workspace "ndrop"
spawn-at-startup "xwayland-satellite"
environment {
DISPLAY ":1"
// Steam and Wayland support - only affects niri session
SDL_VIDEODRIVER "wayland"
NIXOS_OZONE_WL "1"
}
gestures {
hot-corners {
off
}
}
input {
@ -91,7 +102,8 @@ binds {
Super+T hotkey-overlay-title="Open a Terminal: wezterm" { spawn "wezterm"; }
Super+D hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; }
Super+E { spawn "ndrop" "emacsclient -c"; }
// Super+E { spawn "ndrop" "--class" "Emacs" "emacsclient -c"; }
Super+E { spawn "ndrop" "-i" "--class" "task" "wezterm start --always-new-process -- vit"; }
XF86AudioRaiseVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1+"; }
XF86AudioLowerVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1-"; }
@ -218,7 +230,7 @@ binds {
Super+W { toggle-column-tabbed-display; }
Print { screenshot; }
Super+S { screenshot; }
Ctrl+Print { screenshot-screen; }
Super+Print { screenshot-window; }

4
senpai.scfg Normal file
View file

@ -0,0 +1,4 @@
address "soju.dumpnet.chat:6698"
nickname "bl0rt"
password-cmd pass irc/soju/admin
typings false