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

View file

@ -6,10 +6,21 @@
// Ask clients to omit their client-side decorations // Ask clients to omit their client-side decorations
prefer-no-csd prefer-no-csd
workspace "ndrop"
spawn-at-startup "xwayland-satellite" spawn-at-startup "xwayland-satellite"
environment { environment {
DISPLAY ":1" DISPLAY ":1"
// Steam and Wayland support - only affects niri session
SDL_VIDEODRIVER "wayland"
NIXOS_OZONE_WL "1"
}
gestures {
hot-corners {
off
}
} }
input { input {
@ -91,7 +102,8 @@ binds {
Super+T hotkey-overlay-title="Open a Terminal: wezterm" { spawn "wezterm"; } Super+T hotkey-overlay-title="Open a Terminal: wezterm" { spawn "wezterm"; }
Super+D hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; } 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+"; } 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-"; } 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; } Super+W { toggle-column-tabbed-display; }
Print { screenshot; } Super+S { screenshot; }
Ctrl+Print { screenshot-screen; } Ctrl+Print { screenshot-screen; }
Super+Print { screenshot-window; } 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