Add rofi
This commit is contained in:
parent
582479c3a6
commit
374eba2319
@ -10,6 +10,10 @@ with import ../support.nix { inherit lib config; }; {
|
||||
cmd = "${pkgs.rxvt_unicode}/bin/urxvt";
|
||||
desktop = "urxvt";
|
||||
};
|
||||
dmenu = {
|
||||
cmd = "${pkgs.rofi}/bin/rofi -show window";
|
||||
desktop = "rofi";
|
||||
};
|
||||
editor = {
|
||||
cmd = "${pkgs.vscodium}/bin/codium";
|
||||
desktop = "codium";
|
||||
|
7
modules/applications/rofi.nix
Normal file
7
modules/applications/rofi.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ pkgs, config, lib, ... }: {
|
||||
home-manager.users.alukard.programs.rofi = {
|
||||
enable = true;
|
||||
font = "Roboto Mono 14";
|
||||
terminal = "\${rxvt_unicode}/bin/urxvt";
|
||||
};
|
||||
}
|
@ -1,6 +1,7 @@
|
||||
{ ... }: {
|
||||
imports = [
|
||||
./applications/packages.nix
|
||||
./applications/rofi.nix
|
||||
# ./applications/kate.nix
|
||||
# ./applications/emacs
|
||||
# ./applications/xst.nix
|
||||
|
@ -107,6 +107,7 @@ in {
|
||||
$((X+WIDTH/2)) $((Y+HEIGHT/2))'"'';
|
||||
in ({
|
||||
"${modifier}+q" = "kill";
|
||||
"${modifier}+w" = "exec ${apps.dmenu.cmd}";
|
||||
"${modifier}+Return" = "exec ${apps.term.cmd}";
|
||||
"${modifier}+e" = "exec ${apps.editor.cmd} -c -n";
|
||||
"${modifier}+l" = "layout toggle";
|
||||
@ -169,8 +170,8 @@ in {
|
||||
value = "move container to workspace ${toString x}";
|
||||
}) 10));
|
||||
keycodebindings = {
|
||||
"122" = "exec ${pkgs.pamixer}/bin/pamixer -d 1";
|
||||
"123" = "exec ${pkgs.pamixer}/bin/pamixer -i 1";
|
||||
"122" = "exec ${pkgs.pamixer}/bin/pamixer -d 5";
|
||||
"123" = "exec ${pkgs.pamixer}/bin/pamixer -i 5";
|
||||
"121" = "exec ${pkgs.pamixer}/bin/pamixer -t";
|
||||
};
|
||||
workspaceLayout = "tabbed";
|
||||
|
Loading…
x
Reference in New Issue
Block a user