Better rofi

This commit is contained in:
Filippo Berto 2022-11-13 18:14:12 +01:00
parent eba6ccf7e0
commit 9f1c7b60e7
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED
6 changed files with 17 additions and 15 deletions

View file

@ -17,6 +17,7 @@
blue: #6eaafb; blue: #6eaafb;
mangenta: #d886f3; mangenta: #d886f3;
cyan: #6cdcf7; cyan: #6cdcf7;
purple: #C678DF;
emphasis: #50536b; emphasis: #50536b;
text: #dfdfdf; text: #dfdfdf;
text-alt: #b2b2b2; text-alt: #b2b2b2;

View file

@ -2,7 +2,7 @@
let palette = pkgs.lib.rice.palette.toRGBHex pkgs.rice.colorPalette; let palette = pkgs.lib.rice.palette.toRGBHex pkgs.rice.colorPalette;
in in
{ {
home.packages = with pkgs; [ dunst rice.font.normal.package rofi ]; home.packages = with pkgs; [ dunst rice.font.normal.package ];
services.dunst = { services.dunst = {
enable = true; enable = true;
iconTheme = { iconTheme = {

View file

@ -1,11 +1,21 @@
{ pkgs, ... }: { { pkgs, ... }: {
home.packages = with pkgs.unstable; [
rofimoji
rofi-bluetooth
rofi-power-menu
rofi-vpn
];
programs.rofi = { programs.rofi = {
enable = true; enable = true;
location = "center"; location = "center";
font = "${pkgs.rice.font.monospace.name} ${ font = "${pkgs.rice.font.monospace.name} ${toString pkgs.rice.font.monospace.size}";
toString pkgs.rice.font.monospace.size package = pkgs.unstable.rofi;
}"; plugins = with pkgs.unstable;[
extraConfig = { modi = "drun,run,ssh,window"; }; rofi-calc
];
extraConfig = { modi = "drun,run,ssh,window,calc"; };
terminal = "kitty"; terminal = "kitty";
theme = "onedark"; theme = "onedark";
}; };

View file

@ -1,8 +0,0 @@
{ pkgs, ... }: {
home.packages = [ pkgs.rofimoji ];
xdg.configFile."rofimoji.rc".text = ''
action=copy
skin-tone=light
'';
}

View file

@ -159,7 +159,6 @@
../hm_modules/polybar.nix ../hm_modules/polybar.nix
# ../hm_modules/pro_audio.nix # ../hm_modules/pro_audio.nix
# ../hm_modules/pycharm.nix # ../hm_modules/pycharm.nix
../hm_modules/rofimoji.nix
../hm_modules/rofi.nix ../hm_modules/rofi.nix
# ../hm_modules/screen_locker.nix # ../hm_modules/screen_locker.nix
../hm_modules/security.nix ../hm_modules/security.nix

View file

@ -14,6 +14,7 @@
btop btop
catgirl # IRC catgirl # IRC
discord discord
dmenu
docker-compose docker-compose
docker-machine docker-machine
droidcam droidcam
@ -125,7 +126,6 @@
../hm_modules/picom.nix ../hm_modules/picom.nix
../hm_modules/polybar.nix ../hm_modules/polybar.nix
../hm_modules/pro_audio.nix ../hm_modules/pro_audio.nix
../hm_modules/rofimoji.nix
../hm_modules/rofi.nix ../hm_modules/rofi.nix
# ../hm_modules/screen_locker.nix # ../hm_modules/screen_locker.nix
# ../hm_modules/security.nix # ../hm_modules/security.nix