This commit is contained in:
Miguel Palhas
2024-10-05 11:26:26 +01:00
parent 51c30283ce
commit 87615c56f6
6 changed files with 11 additions and 17 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
catppuccin.homeManagerModules.catppuccin
../common/programs/default.nix
../common/programs/desktop.nix
../common/programs/hyprland.nix
../common/programs/hyprland
../common/programs/eww
../common/programs/kitty.nix
../common/features/colorscheme.nix
-2
View File
@@ -23,6 +23,4 @@
pkgs.bun
];
imports = [ ./rofi.nix ];
}
@@ -1,10 +1,13 @@
{ config, pkgs, ... }: {
{ config, pkgs, ... }: let
rofiLaunchers = import ../../../pkgs/rofi-launchers/package.nix {};
in {
home.sessionVariables = {
HYPRCURSOR_THEME = "Phinger Cursors";
HYPRCURSOR_SIZE = 32;
ELECTRON_OZONE_PLATFORM_HINT = "auto";
XCURSOR_SIZE = 32;
};
home.packages = with pkgs; [rofi (callPackage ../../../pkgs/rofi-launchers/package.nix {})];
wayland.windowManager.hyprland = {
enable = true;
@@ -78,7 +81,7 @@
"$mod SHIFT, f, fullscreen, 1"
# rofi
"$mod, space, exec, ~/.config/rofi-launchers/type-2/launcher.sh"
"$mod, space, exec, launcher_t2"
# move focus with mod + arrows
"$mod, h, movefocus, l"
+3
View File
@@ -0,0 +1,3 @@
{pkgs,...}:{
home.packages = with pkgs; [rofi (callPackage ../../../../pkgs/rofi-launchers/package.nix {})];
}
-10
View File
@@ -1,10 +0,0 @@
{ pkgs, ... }: {
home.packages = with pkgs; [rofi (callPackage ../../../pkgs/rofi-launchers/package.nix {})];
xdg.configFile."rofi-launchers".source = pkgs.fetchFromGitHub {
owner = "adi1090x";
repo = "rofi";
rev = "dce10e9";
sha256 = "sha256-ZSosFsi/M5Gqb9gsUqS7hu89uOu9078Dus4Y+WCphZc=";
};
}
+2 -2
View File
@@ -6,8 +6,8 @@ stdenvNoCC.mkDerivation {
src = fetchFromGitHub {
owner = "adi1090x";
repo = "rofi";
rev = "master";
hash = "sha256-IPtn0bDIUmSwm24YowURgNrs907RrcfrRM9TdhE2c0I=";
rev = "dce10e9";
hash = "sha256-ZSosFsi/M5Gqb9gsUqS7hu89uOu9078Dus4Y+WCphZc=";
};
buildInputs = [ rofi ];