feat: move to rofi, use tokyonight theme, add missing keybinds, update scripts

This commit is contained in:
2025-09-16 19:11:11 -07:00
parent b47a0724ae
commit 9b60314354
12 changed files with 295 additions and 423 deletions

View File

@@ -12,7 +12,7 @@
./kanata.nix
./pipewire.nix
./keys.nix
./wofi.nix
./rofi.nix
./desktop.nix
./zed-editor.nix
./virtualization.nix

View File

@@ -19,16 +19,13 @@
vesktop
firefox
brightnessctl
flameshot
jellyfin-media-player
anki-bin
mpv
ahk_x11
prismlauncher
feh
dconf
papirus-icon-theme
pa_applet
libnotify
adwaita-icon-theme
gnome-themes-extra
@@ -50,7 +47,6 @@
htop
lm_sensors
fanctl
libnotify
];
boot.kernelModules = [
"iptables"
@@ -72,7 +68,7 @@
enable = true;
wayland = true;
};
wofi.enable = true;
rofi.enable = true;
services.upower.enable = true;
zed.enable = true;
virt.enable = true;
@@ -188,7 +184,7 @@
settings = {
"$mod" = "SUPER";
"$terminal" = "ghostty";
"$menu" = "wofi";
"$menu" = "rofi -show drun";
bind = [
"$mod, Return, exec, $terminal"
"$mod SHIFT, Q, killactive"
@@ -202,6 +198,7 @@
"$mod, j, movefocus, d"
"$mod, Space, togglesplit"
"$mod SHIFT, v, exec, bash -c ~/dotfiles/scripts/copy.sh"
"$mod SHIFT, s, exec, bash -c ~/dotfiles/scripts/screenshot.sh"
"$mod, 0, workspace, 10"
"$mod SHIFT, 0, movetoworkspacesilent, 10"

20
nix/modules/rofi.nix Normal file
View File

@@ -0,0 +1,20 @@
{
pkgs,
lib,
config,
...
}:
{
options.rofi = {
enable = lib.mkEnableOption "enable rofi";
};
config = lib.mkIf config.rofi.enable {
environment.systemPackages = with pkgs; [ rofi ];
home-manager.users.luca = {
xdg.configFile = {
rofi.source = ../../custom/rofi;
};
};
};
}

View File

@@ -1,20 +0,0 @@
{
pkgs,
lib,
config,
...
}:
{
options.wofi = {
enable = lib.mkEnableOption "enable wofi";
};
config = lib.mkIf config.wofi.enable {
environment.systemPackages = with pkgs; [ wofi ];
home-manager.users.luca = {
xdg.configFile = {
wofi.source = ../../custom/wofi;
};
};
};
}