rofi
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
catppuccin.homeManagerModules.catppuccin
|
catppuccin.homeManagerModules.catppuccin
|
||||||
../common/programs/default.nix
|
../common/programs/default.nix
|
||||||
../common/programs/desktop.nix
|
../common/programs/desktop.nix
|
||||||
../common/programs/hyprland.nix
|
../common/programs/hyprland
|
||||||
../common/programs/eww
|
../common/programs/eww
|
||||||
../common/programs/kitty.nix
|
../common/programs/kitty.nix
|
||||||
../common/features/colorscheme.nix
|
../common/features/colorscheme.nix
|
||||||
|
|||||||
@@ -23,6 +23,4 @@
|
|||||||
pkgs.bun
|
pkgs.bun
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
imports = [ ./rofi.nix ];
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,10 +1,13 @@
|
|||||||
{ config, pkgs, ... }: {
|
{ config, pkgs, ... }: let
|
||||||
|
rofiLaunchers = import ../../../pkgs/rofi-launchers/package.nix {};
|
||||||
|
in {
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
HYPRCURSOR_THEME = "Phinger Cursors";
|
HYPRCURSOR_THEME = "Phinger Cursors";
|
||||||
HYPRCURSOR_SIZE = 32;
|
HYPRCURSOR_SIZE = 32;
|
||||||
ELECTRON_OZONE_PLATFORM_HINT = "auto";
|
ELECTRON_OZONE_PLATFORM_HINT = "auto";
|
||||||
XCURSOR_SIZE = 32;
|
XCURSOR_SIZE = 32;
|
||||||
};
|
};
|
||||||
|
home.packages = with pkgs; [rofi (callPackage ../../../pkgs/rofi-launchers/package.nix {})];
|
||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -78,7 +81,7 @@
|
|||||||
"$mod SHIFT, f, fullscreen, 1"
|
"$mod SHIFT, f, fullscreen, 1"
|
||||||
|
|
||||||
# rofi
|
# rofi
|
||||||
"$mod, space, exec, ~/.config/rofi-launchers/type-2/launcher.sh"
|
"$mod, space, exec, launcher_t2"
|
||||||
|
|
||||||
# move focus with mod + arrows
|
# move focus with mod + arrows
|
||||||
"$mod, h, movefocus, l"
|
"$mod, h, movefocus, l"
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
{pkgs,...}:{
|
||||||
|
home.packages = with pkgs; [rofi (callPackage ../../../../pkgs/rofi-launchers/package.nix {})];
|
||||||
|
}
|
||||||
@@ -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=";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -6,8 +6,8 @@ stdenvNoCC.mkDerivation {
|
|||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "adi1090x";
|
owner = "adi1090x";
|
||||||
repo = "rofi";
|
repo = "rofi";
|
||||||
rev = "master";
|
rev = "dce10e9";
|
||||||
hash = "sha256-IPtn0bDIUmSwm24YowURgNrs907RrcfrRM9TdhE2c0I=";
|
hash = "sha256-ZSosFsi/M5Gqb9gsUqS7hu89uOu9078Dus4Y+WCphZc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ rofi ];
|
buildInputs = [ rofi ];
|
||||||
|
|||||||
Reference in New Issue
Block a user