From 1f50e952d8c74bdfca38bcc887708d8d78e95b73 Mon Sep 17 00:00:00 2001 From: joy Date: Mon, 24 Jun 2024 20:39:16 +0200 Subject: [PATCH] rofi --- home/default.nix | 7 ++++--- home/hyprland/default.nix | 9 +++------ home/rofi/.default.nix.swp | Bin 12288 -> 0 bytes home/rofi/default.nix | 5 +++-- hosts/pc/default.nix | 2 +- modules/packages/default.nix | 7 +------ 6 files changed, 12 insertions(+), 18 deletions(-) delete mode 100644 home/rofi/.default.nix.swp diff --git a/home/default.nix b/home/default.nix index 3a32338..4cbb334 100644 --- a/home/default.nix +++ b/home/default.nix @@ -1,9 +1,8 @@ { config, pkgs, inputs, ... }: { - colorScheme = inputs.nix-colors.colorSchemes.gruvbox-dark-medium; imports = [ - ./rofi + ./rofi ./waybar ./alacritty ./hyprland @@ -20,5 +19,7 @@ home.sessionVariables = { EDITOR = "vim"; }; - + + colorScheme = inputs.nix-colors.colorSchemes.gruvbox-dark-medium; + } diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index f1cc488..af6c20e 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -4,6 +4,7 @@ pavucontrol swww wl-clipboard + cliphist lxqt.lxqt-policykit grim slurp @@ -60,10 +61,10 @@ "$mod, Q, killactive" "$mod, W, togglefloating" "$mod, R, togglesplit" - "$mod+shift, Y, exec, systemctl suspend" - "$mod+shift, M, exit, hyprland" "$mod, L, exec, amixer -q sset Master 5%+" "$mod, K, exec, amixer -q sset Master 5%-" + "$mod+shift, Y, exec, systemctl suspend" + "$mod+shift, M, exit, hyprland" # mocp "$mod, P, exec, mocp -f" @@ -136,10 +137,6 @@ kb_options = "grp:alt_shift_toggle"; }; - windowrule = [ - "float, ^(rofi)$" - "float, ^(prisemlauncher)$" - ]; }; }; } diff --git a/home/rofi/.default.nix.swp b/home/rofi/.default.nix.swp deleted file mode 100644 index 6288f695ef92082d9276c3a1c74a67d31de07bd9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12288 zcmeI2zi-n(6vr(6J5H~V^VJtoS+b;5CI}U1c(3;AOb{y2oM1xa9Ro2yu+U1@GJ8R zT%7NnBm4X-ZA5?w5CI}U1c(3;AOb{y2oM1xKm>@uDI~x{#vZRS_8H~=|6e@+|2W6k zchoo34D}K967>kRjq0J!p!Ux)wugFydV!LtyQmG+FRb|$^#!$uay@1!T10>d5CI}U z1c(3;AOb{y2oM1x@LvS#x@Pq)2F+T204QWAhTM3m4h7r>YsO;X0tjW1D_(k;uoG=Y z81KT*4{zTA+&?(!{^KY(3|}C~gMGM{(i1cjdhaFBQ+irAcHCo diff --git a/home/rofi/default.nix b/home/rofi/default.nix index 6f288af..249a5d6 100644 --- a/home/rofi/default.nix +++ b/home/rofi/default.nix @@ -3,6 +3,7 @@ programs.rofi = { enable = true; + package = pkgs.rofi-wayland; theme = "~/nix/home/rofi/gruvbox-material.rasi"; extraConfig = { modi = "drun"; @@ -10,12 +11,12 @@ show-icons = true; terminal = "alacritty"; drun-display-format = "{icon} {name}"; - location = 0; + location = 1; disable-history = false; hide-scrollbar = true; display-drun = "  Apps "; display-network = " 󰤨 Network"; - sidebar-mode = true; + sidebar-mode = false; }; }; } diff --git a/hosts/pc/default.nix b/hosts/pc/default.nix index b07d2e1..adb4e0a 100644 --- a/hosts/pc/default.nix +++ b/hosts/pc/default.nix @@ -5,7 +5,7 @@ services.xserver.videoDrivers = ["amdgpu"]; boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - boot.loader.timeout = 0; + boot.loader.timeout = 5; imports = [ ../../modules diff --git a/modules/packages/default.nix b/modules/packages/default.nix index e05ac5e..eba19a9 100644 --- a/modules/packages/default.nix +++ b/modules/packages/default.nix @@ -59,23 +59,18 @@ gnome.gnome-calculator gnome.gnome-disk-utility #random utils + rofi-wayland screen - pciutils - cliphist - wl-clipboard git zip rar unzip unrar scrcpy - lm_sensors appimage-run ytmdl yt-dlp boxbuddy distrobox - wget - unixtools.ifconfig ]; }