This commit is contained in:
joygnu 2024-06-24 18:17:41 +02:00
parent 0f35131b1a
commit 85034f54ba
6 changed files with 5 additions and 16 deletions

Binary file not shown.

View file

@ -1,7 +1,6 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
rofi-wayland
pavucontrol pavucontrol
swww swww
wl-clipboard wl-clipboard
@ -10,11 +9,6 @@
slurp slurp
hyprpicker hyprpicker
swappy swappy
emote
gocr
netpbm
imagemagick
tesseract4
]; ];
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
@ -36,10 +30,6 @@
"XCURSOR_SIZE = 24 " "XCURSOR_SIZE = 24 "
"HYPRCURSOR_THEME = Bibata-Modern-Ice" "HYPRCURSOR_THEME = Bibata-Modern-Ice"
"HYPRCURSOR_SIZE = 24" "HYPRCURSOR_SIZE = 24"
# "XDG_CURRENT_DESKTOP,Hyprland"
# "XDG_SESSION_TYPE,wayland"
# "XDG_SESSION_DESKTOP,Hyprland"
# "QT_QPA_PLATFORM,wayland"
]; ];
exec-once = [ exec-once = [
@ -57,7 +47,6 @@
# launch Apps # launch Apps
"$mod, TAB, exec, alacritty" "$mod, TAB, exec, alacritty"
"$mod, E, exec, nemo" "$mod, E, exec, nemo"
"$mod, B, exec, emote"
"$mod, S, exec, brave" "$mod, S, exec, brave"
"$mod, X, exec, keepassxc" "$mod, X, exec, keepassxc"
"$mod, F, exec, freetube" "$mod, F, exec, freetube"
@ -86,7 +75,6 @@
# Scripts # Scripts
"$mod, J, exec, sh ~/nix/home/hyprland/pause.sh" "$mod, J, exec, sh ~/nix/home/hyprland/pause.sh"
"$mod, Z, exec, sh ~/nix/home/hyprland/screen.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 # Move focus with mainMod + arrow keys
"$mod, Return, fullscreen" "$mod, Return, fullscreen"
@ -147,6 +135,11 @@
kb_variant = ",qwerty"; kb_variant = ",qwerty";
kb_options = "grp:alt_shift_toggle"; kb_options = "grp:alt_shift_toggle";
}; };
windowrule = [
"float, ^(rofi)$"
"float, ^(prisemlauncher)$"
];
}; };
}; };
} }

View file

@ -1,2 +0,0 @@
grim -g "$(slurp)" - | convert - pnm:- | tesseract stdin stdout | wl-copy

Binary file not shown.

View file

@ -3,7 +3,6 @@
programs.rofi = { programs.rofi = {
enable = true; enable = true;
#packge = "pkgs.rofi-wayland";
theme = "~/nix/home/rofi/gruvbox-material.rasi"; theme = "~/nix/home/rofi/gruvbox-material.rasi";
extraConfig = { extraConfig = {
modi = "drun"; modi = "drun";

View file

@ -59,7 +59,6 @@
gnome.gnome-calculator gnome.gnome-calculator
gnome.gnome-disk-utility gnome.gnome-disk-utility
#random utils #random utils
# rofi-wayland
screen screen
pciutils pciutils
cliphist cliphist