add rofi theme

This commit is contained in:
zoe 2022-10-30 14:30:28 +01:00
parent 2a771eb75c
commit b46d9e535f
4 changed files with 34 additions and 12 deletions

View File

@ -1,14 +1,16 @@
{ config, pkgs, ... }:
let
nvimCustom = import nvim/settings.nix;
fishCustom = import fish/settings.nix;
kittyCustom = import kitty/settings.nix;
nvimCustom = import ./nvim/settings.nix;
fishCustom = import ./fish/settings.nix;
kittyCustom = import ./kitty/settings.nix;
rofiCustom = import ./rofi/settings.nix;
in
{
home-manager.users.zoe = { pkgs, ... }: {
programs.kitty = kittyCustom pkgs;
programs.neovim = nvimCustom pkgs;
programs.fish = fishCustom pkgs;
programs.rofi = rofiCustom pkgs;
programs.git = {
enable = true;
userName = "zoe";
@ -17,7 +19,6 @@ in
programs.mpv.config = {
ytdl-format = "bestvideo[height<=?720]+bestaudio";
ytdl-path = "yt-dlp";
};
};
}

View File

@ -2,9 +2,15 @@
{
enable = true;
settings = {
# cursor
cursor = "none";
# dont pop up a prompt when trying to close
confirm_os_window_close = 0;
# mouse
focus_follows_mouse = true;
# copy to clipboard
strip_trailing_spaces = "smart";
copy_on_select = true;
@ -13,14 +19,14 @@
sync_to_monitor = true;
# tabs
## look
tab_bar_edge = "top";
tab_bar_style = "separator";
tab_separator = " | ";
active_tab_title_template = " {bell_symbol}{activity_symbol}{fmt.fg.tab}{title}";
};
font = {
name = "CaskaydiaCove Nerd Font Mono";
size = 14;
size = 12;
};
theme = "Gruvbox Material Light Hard";
}

14
rofi/settings.nix Normal file
View File

@ -0,0 +1,14 @@
{ pkgs, ... }:
{
enable = true;
plugins = with pkgs; [
rofi-calc
rofi-emoji
rofi-power-menu
];
theme = "gruvbox-light-hard";
font = "CaskaydiaCove Nerd Font 12";
extraConfig = {
modi = "drun,emoji,ssh,calc,window";
};
}

13
sync.sh
View File

@ -9,18 +9,19 @@ nixpkgs-fmt ./nvim/*.nix
nixpkgs-fmt ./penrose/*.nix
nixpkgs-fmt ./fish/*.nix
nixpkgs-fmt ./kitty/*.nix
nixpkgs-fmt ./rofi/*.nix
# make a backup just in case
cp -r /etc/nixos/ ./backup
# cp -r /etc/nixos/ ./backup
# copy over all the files to /etc/nixos/
sudo cp -r ./configuration.nix ./fish ./kitty ./nvim/ ./packages.nix ./home.nix ./user.nix /etc/nixos/
sudo cp -r ./configuration.nix ./rofi ./fish ./kitty ./nvim/ ./packages.nix ./home.nix ./user.nix /etc/nixos/
# build penrose and copy it to nixos folder
cd ./penrose
nix-shell --run "cargo build --release" --pure
sudo cp ./target/release/penrose-custom /etc/nixos
cd ../
# cd ./penrose
# nix-shell --run "cargo build --release" --pure
# sudo cp ./target/release/penrose-custom /etc/nixos
# cd ../
# update and build my new config
sudo nixos-rebuild switch --upgrade