Add rofi
This commit is contained in:
parent
57e1357569
commit
74b0ab107f
1 changed files with 10 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
unstableTarball = fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz;
|
unstableTarball = fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz;
|
||||||
|
mod = "Mod4";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
nixpkgs.config = {
|
nixpkgs.config = {
|
||||||
|
@ -33,7 +34,14 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
windowManager.i3 = {
|
windowManager.i3 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
config.modifier = "Mod4";
|
config = {
|
||||||
|
modifier = mod;
|
||||||
|
keybindings = {
|
||||||
|
"${mod}+Return" = "exec i3-sensible-terminal";
|
||||||
|
"${mod}+Shift+q" = "kill";
|
||||||
|
"${mod}+d" = "exec ${pkgs.rofi}/bin/rofi -show combi -combi-modi window#run#ssh -modi combi";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
imports = [
|
imports = [
|
||||||
|
@ -46,6 +54,7 @@ in
|
||||||
programs = {
|
programs = {
|
||||||
home-manager.enable = true;
|
home-manager.enable = true;
|
||||||
|
|
||||||
|
rofi.enable = true;
|
||||||
fzf.enable = true;
|
fzf.enable = true;
|
||||||
firefox.enable = true;
|
firefox.enable = true;
|
||||||
chromium.enable = true;
|
chromium.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue