home-manager/gui: Add some rofi config
This commit is contained in:
parent
ccb6be84b5
commit
59a724180e
@ -70,6 +70,11 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
|
packages = with pkgs; [
|
||||||
|
wtype
|
||||||
|
wl-clipboard
|
||||||
|
];
|
||||||
|
|
||||||
pointerCursor = {
|
pointerCursor = {
|
||||||
package = pkgs.vanilla-dmz;
|
package = pkgs.vanilla-dmz;
|
||||||
name = "Vanilla-DMZ";
|
name = "Vanilla-DMZ";
|
||||||
@ -107,7 +112,10 @@ in
|
|||||||
"${mod}+x" = "exec ${cfg.menu}";
|
"${mod}+x" = "exec ${cfg.menu}";
|
||||||
"${mod}+q" = "kill";
|
"${mod}+q" = "kill";
|
||||||
"${mod}+Shift+q" = "exec swaynag -t warning -m 'bruh you really wanna kill sway?' -b 'ye' 'systemctl --user stop graphical-session.target && swaymsg exit'";
|
"${mod}+Shift+q" = "exec swaynag -t warning -m 'bruh you really wanna kill sway?' -b 'ye' 'systemctl --user stop graphical-session.target && swaymsg exit'";
|
||||||
"${mod}+shift+s" = "exec ${pkgs.flameshot}/bin/flameshot gui";
|
"${mod}+Shift+s" = "exec flameshot gui";
|
||||||
|
"${mod}+Shift+e" = "exec rofi -show emoji";
|
||||||
|
# Config for this doesn't seem to work :/
|
||||||
|
"${mod}+c" = ''exec rofi -show calc -calc-command "echo -n '{result}' | ${pkgs.wl-clipboard}/bin/wl-copy"'';
|
||||||
};
|
};
|
||||||
|
|
||||||
menu = "rofi -show run";
|
menu = "rofi -show run";
|
||||||
@ -145,13 +153,14 @@ in
|
|||||||
waybar = import ./waybar.nix { inherit lib pkgs config; };
|
waybar = import ./waybar.nix { inherit lib pkgs config; };
|
||||||
rofi = {
|
rofi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
font = "SauceCodePro Nerd Font Mono";
|
font = "SauceCodePro Nerd Font Mono 14";
|
||||||
plugins = with pkgs; [
|
plugins = with pkgs; [
|
||||||
rofi-calc
|
rofi-calc
|
||||||
rofi-emoji
|
rofi-emoji
|
||||||
];
|
];
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
modes = "window,run,ssh,filebrowser,calc,emoji";
|
modes = "window,run,ssh,filebrowser,calc,emoji";
|
||||||
|
emoji-mode = "copy";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user