mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
feat(niri): Some basic window-rules
This commit is contained in:
parent
4053e59e2e
commit
cb272240a4
6 changed files with 61 additions and 22 deletions
|
|
@ -52,5 +52,7 @@
|
|||
package-version-server
|
||||
gemini-cli
|
||||
codex
|
||||
imagemagick
|
||||
miniserve
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
# Terminal Emulator
|
||||
ghostty # default
|
||||
|
|
@ -63,6 +59,7 @@
|
|||
zotero
|
||||
anki-bin
|
||||
feishin
|
||||
rose-pine-cursor
|
||||
|
||||
# Email
|
||||
protonmail-bridge
|
||||
|
|
|
|||
|
|
@ -97,6 +97,32 @@ in {
|
|||
app-id = "^anki$";
|
||||
title = "^Add$";
|
||||
}
|
||||
# Dolphin compressing files
|
||||
{
|
||||
app-id = "^org.kde.dolphin$";
|
||||
title = "^Compressing.*$";
|
||||
}
|
||||
{
|
||||
app-id = "^thunar$";
|
||||
title = "^File Operation Progress$";
|
||||
}
|
||||
### IM Medias
|
||||
{
|
||||
app-id = "^QQ$";
|
||||
title = "^图片查看器$";
|
||||
}
|
||||
{
|
||||
app-id = "^org.telegram.desktop$";
|
||||
title = "^Media viewer$";
|
||||
}
|
||||
{
|
||||
app-id = "^wechat$";
|
||||
title = "^图片和视频$";
|
||||
}
|
||||
{
|
||||
app-id = "^org.pulseaudio.pavucontrol$";
|
||||
title = "^Volume Control$";
|
||||
}
|
||||
];
|
||||
open-floating = true;
|
||||
}
|
||||
|
|
|
|||
6
nixcfgs/users/js0ny/programs/shell/direnv.nix
Normal file
6
nixcfgs/users/js0ny/programs/shell/direnv.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{...}: {
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -1,9 +1,5 @@
|
|||
# ~/.config/nixcfgs/users/js0ny/default.nix
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
{...}: {
|
||||
imports = [
|
||||
# General config
|
||||
./default.nix
|
||||
|
|
@ -22,6 +18,7 @@
|
|||
./programs/shell/bash.nix
|
||||
./programs/shell/zsh.nix
|
||||
./programs/shell/fish.nix
|
||||
./programs/shell/direnv.nix
|
||||
|
||||
# Personal Program
|
||||
./programs/chromium.nix
|
||||
|
|
@ -46,24 +43,13 @@
|
|||
|
||||
# General Program config
|
||||
../../modules/home/programs/eza.nix
|
||||
../../modules/home/programs/winboat.nix
|
||||
# ../../modules/home/programs/winboat.nix
|
||||
../../modules/home/programs/lsd.nix
|
||||
../../modules/home/programs/starship.nix
|
||||
../../modules/home/programs/zoxide.nix
|
||||
|
||||
# Development setup
|
||||
../../modules/home/dev/c.nix
|
||||
../../modules/home/dev/go.nix
|
||||
../../modules/home/dev/java.nix
|
||||
../../modules/home/dev/lua.nix
|
||||
../../modules/home/dev/nix.nix
|
||||
../../modules/home/dev/python.nix
|
||||
../../modules/home/dev/typst.nix
|
||||
../../modules/home/dev/verilog.nix
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
rose-pine-cursor
|
||||
];
|
||||
|
||||
home.stateVersion = "25.05";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue