diff --git a/home/hyprland/.default.nix.swp b/home/hyprland/.default.nix.swp deleted file mode 100644 index 1f1503e..0000000 Binary files a/home/hyprland/.default.nix.swp and /dev/null differ diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index 5d9d1c7..f1cc488 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -1,7 +1,6 @@ { config, lib, pkgs, ... }: { home.packages = with pkgs; [ - rofi-wayland pavucontrol swww wl-clipboard @@ -10,11 +9,6 @@ slurp hyprpicker swappy - emote - gocr - netpbm - imagemagick - tesseract4 ]; wayland.windowManager.hyprland = { @@ -36,10 +30,6 @@ "XCURSOR_SIZE = 24 " "HYPRCURSOR_THEME = Bibata-Modern-Ice" "HYPRCURSOR_SIZE = 24" - # "XDG_CURRENT_DESKTOP,Hyprland" - # "XDG_SESSION_TYPE,wayland" - # "XDG_SESSION_DESKTOP,Hyprland" - # "QT_QPA_PLATFORM,wayland" ]; exec-once = [ @@ -57,7 +47,6 @@ # launch Apps "$mod, TAB, exec, alacritty" "$mod, E, exec, nemo" - "$mod, B, exec, emote" "$mod, S, exec, brave" "$mod, X, exec, keepassxc" "$mod, F, exec, freetube" @@ -86,7 +75,6 @@ # Scripts "$mod, J, exec, sh ~/nix/home/hyprland/pause.sh" "$mod, Z, exec, sh ~/nix/home/hyprland/screen.sh" - "$mod, T, exec, sh ~/nix/home/hyprland/text.sh" # Move focus with mainMod + arrow keys "$mod, Return, fullscreen" @@ -147,6 +135,11 @@ kb_variant = ",qwerty"; kb_options = "grp:alt_shift_toggle"; }; + + windowrule = [ + "float, ^(rofi)$" + "float, ^(prisemlauncher)$" + ]; }; }; } diff --git a/home/hyprland/text.sh b/home/hyprland/text.sh deleted file mode 100755 index a0ff645..0000000 --- a/home/hyprland/text.sh +++ /dev/null @@ -1,2 +0,0 @@ -grim -g "$(slurp)" - | convert - pnm:- | tesseract stdin stdout | wl-copy - diff --git a/home/rofi/.default.nix.swp b/home/rofi/.default.nix.swp index feb1699..6288f69 100644 Binary files a/home/rofi/.default.nix.swp and b/home/rofi/.default.nix.swp differ diff --git a/home/rofi/default.nix b/home/rofi/default.nix index 3da548e..6f288af 100644 --- a/home/rofi/default.nix +++ b/home/rofi/default.nix @@ -3,7 +3,6 @@ programs.rofi = { enable = true; - #packge = "pkgs.rofi-wayland"; theme = "~/nix/home/rofi/gruvbox-material.rasi"; extraConfig = { modi = "drun"; diff --git a/modules/packages/default.nix b/modules/packages/default.nix index d4fa0b7..e05ac5e 100644 --- a/modules/packages/default.nix +++ b/modules/packages/default.nix @@ -59,7 +59,6 @@ gnome.gnome-calculator gnome.gnome-disk-utility #random utils - # rofi-wayland screen pciutils cliphist