Fix unusual windows not floating by default and other stuff

This commit is contained in:
Daniel Flanagan 2023-10-06 23:56:28 -05:00
parent 8c98bdc15f
commit 4fe7ad524d
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
6 changed files with 16 additions and 23 deletions

View file

@ -49,7 +49,6 @@
colors = colors; colors = colors;
font = font; font = font;
# TODO: nix-color integration?
# Your custom packages # Your custom packages
# Acessible through 'nix build', 'nix shell', etc # Acessible through 'nix build', 'nix shell', etc
packages = forAllSystems (system: import ./pkgs nixpkgs-unstable.legacyPackages.${system}); packages = forAllSystems (system: import ./pkgs nixpkgs-unstable.legacyPackages.${system});

View file

@ -9,12 +9,14 @@
# TODO: fonts? right now they are only handled at the nixos-level (desktop-usage module) # TODO: fonts? right now they are only handled at the nixos-level (desktop-usage module)
# TODO: wallpaper? # TODO: wallpaper?
imports = [ imports = with outputs.homeManagerModules; [
# nix-colors.homeManagerModules.default # nix-colors.homeManagerModules.default
outputs.homeManagerModules.fish fish
outputs.homeManagerModules.helix helix
outputs.homeManagerModules.git git
outputs.homeManagerModules.iex iex
zellij
broot
]; ];
# TODO: specify an email? # TODO: specify an email?

View file

@ -1,6 +0,0 @@
#!/usr/bin/env bash
yay -Syu --nodiffmenu --nocleanmenu --noeditmenu
# TODO: update kernel with a flag?
# yes | pacman -Syu && kexec -l --initrd=/boot/initramfs-linux.img /boot/vmlinuz-linux && kexec -e

View file

@ -1,4 +0,0 @@
#!/usr/bin/env fish
N work/divvy/(date +%Y-%m-%d) && \
pushd $NOTES_PATH && git add -A && \
git commit -m "Edit work journal entry for "(date +%Y-%m-%d) && nsync

View file

@ -55,6 +55,10 @@
exec --no-startup-id { exec --no-startup-id {
swaymsg "workspace 1" swaymsg "workspace 1"
} }
set $tilers "(wezterm.*|kitty.*|firefox.*|slack.*|Slack.*|thunar.*|Alacritty.*|alacritty.*|Discord.*|discord.*)"
for_window [title=".*"] floating enable
for_window [app_id=$tilers] floating disable
''; '';
config = { config = {
defaultWorkspace = "1"; defaultWorkspace = "1";

View file

@ -121,16 +121,14 @@ nix-shell --packages git \
## Short Term ## Short Term
- Modularize the home manager stuff into modules - a.lyte.dev for web analytics
- Remove all work-specific config and stick that in its own flake that uses my main flake as input - grafana and stuff for monitoring
- alerts?
- Fonts installed by home manager instead of nixos module - Fonts installed by home manager instead of nixos module
- Zellij config - Zellij config?
- Broot theme - Broot config?
## Long Term ## Long Term
- nix-darwin for work profile(s) - nix-darwin for work profile(s)
- https://medium.com/@zmre/nix-darwin-quick-tip-activate-your-preferences-f69942a93236 - https://medium.com/@zmre/nix-darwin-quick-tip-activate-your-preferences-f69942a93236
- I don't understand Nix well enough to know why stuff is being compiled even when I have a binary cache
- Maybe it detects different CPUs and will recompile certain packages for per-CPU optimizations?
- How does this factor in with "pureness"?