1
Fork 0

Got rofi theme to work again

This commit is contained in:
Matei Adriel 2022-08-10 17:27:03 +03:00
parent e8e43c9c06
commit 25b425be9c
4 changed files with 15 additions and 14 deletions

View file

@ -25,7 +25,6 @@ function M.setup()
-- Create chords -- Create chords
if arpeggio ~= nil then if arpeggio ~= nil then
arpeggio.chord("n", "vs", "<C-w>v") -- Create vertical split
arpeggio.chord("n", "vs", "<C-w>v") -- Create vertical split arpeggio.chord("n", "vs", "<C-w>v") -- Create vertical split
arpeggio.chord("n", "ji", ":w<cr>") -- Saving arpeggio.chord("n", "ji", ":w<cr>") -- Saving
arpeggio.chord("i", "jk", "<Esc>") -- Remap Esc to jk arpeggio.chord("i", "jk", "<Esc>") -- Remap Esc to jk

View file

@ -13,7 +13,7 @@ in
{ {
home-manager.users.adrielus = { home-manager.users.adrielus = {
home.packages = [ rofi ]; home.packages = [ rofi ];
home.file.".local/share/rofi/themes/${theme.name}.rasi".text = theme.rofi.theme or ""; home.file.".local/share/rofi/themes".source = theme.rofi.themes or "/home/adrielus/.temp-empty-rofi-themes-directory";
xdg.configFile."rofi/config.rasi".text = '' xdg.configFile."rofi/config.rasi".text = ''
@import "${./pre.rasi}" @import "${./pre.rasi}"

View file

@ -25,10 +25,12 @@ in
xresources = builtins.readFile "${foreign.xresources}/${variant}.Xresources"; xresources = builtins.readFile "${foreign.xresources}/${variant}.Xresources";
rofi = { rofi = {
theme = builtins.readFile "${foreign.rofi}/.local/share/rofi/themes/catppuccin.rasi"; themes = "${foreign.rofi}/.local/share/rofi/themes/";
config = '' config = ''
@import "${foreign.rofi}/.config/rofi/config.rasi" @import "${foreign.rofi}/.config/rofi/config.rasi"
@import "${./rofi.rasi}"''; @theme "catppuccin-${variant}"
@import "${./rofi.rasi}"
'';
}; };
chromium.extensions = [ chromium.extensions = [

View file

@ -8,8 +8,8 @@
sddm = fetchFromGitHub { sddm = fetchFromGitHub {
owner = "catppuccin"; owner = "catppuccin";
repo = "sddm"; repo = "sddm";
sha256 = "065g331issjw8jh0hjqfhc98sqhb4i77mwx7y9v5wdy32pmym9i1"; sha256 = "1rkmrr2fvczjz5wgcdfi7hyhp0s2lnn1jhan0qq896kvc1pmwqid";
rev = "cfe861c1ea9c92e4b4cd5acb3627021e1d2f5e6c"; rev = "e2a0dc15f63ba7429cef79cf08db8d3f2a3018c1";
}; };
grub = fetchFromGitHub { grub = fetchFromGitHub {
owner = "catppuccin"; owner = "catppuccin";
@ -20,26 +20,26 @@
gtk = fetchFromGitHub { gtk = fetchFromGitHub {
owner = "catppuccin"; owner = "catppuccin";
repo = "gtk"; repo = "gtk";
sha256 = "1l8xr651mh4lf26s5d7jfk7vv1jxh9qld0w5hgcnqsa13lncsd5h"; sha256 = "1q9iq0agdk5rm5cfnpr1b1bzy6fdx67pvkakx478j1dlyr1d78bl";
rev = "7bfea1f0d569010998302c8242bb857ed8a83058"; rev = "87a79fd2bf07accc694455df30a32a82b1b31f4f";
}; };
rofi = fetchFromGitHub { rofi = fetchFromGitHub {
owner = "catppuccin"; owner = "catppuccin";
repo = "rofi"; repo = "rofi";
sha256 = "076xkxxmwhffns35n3cnbn6lz9i4w6hvma1g4mdw0zmayvy5rmpj"; sha256 = "1bs7l5mpqryjl7dz6pi419n1p9c68362vnczj0lcpbxnfpw0af24";
rev = "2e14344b789d70d42853ffe2abe79b3b85b16e24"; rev = "39fc2a0b51d594e559cb03bf9d4e743cb96f7b01";
}; };
alacritty = fetchFromGitHub { alacritty = fetchFromGitHub {
owner = "catppuccin"; owner = "catppuccin";
repo = "alacritty"; repo = "alacritty";
sha256 = "0ka3a79i4iv2ahkc3hy41b4s220z8ydkrma52fvcqmphw1y3h7ml"; sha256 = "1l7fa4gncx08j48mjd1zwz7j1j4vm08rbs1vx53cdj3yp3s4j50m";
rev = "c2d27714b43984e47347c6d81216b7670a3fe07f"; rev = "0f0247693730de64d50a9d915c3306b234c6f11b";
}; };
wallpapers = fetchFromGitHub { wallpapers = fetchFromGitHub {
owner = "catppuccin"; owner = "catppuccin";
repo = "wallpapers"; repo = "wallpapers";
sha256 = "0p1xfr6hv4w0zw04jpbylwiy3n2w9zpxfq041ql8j3jh4inn0w1g"; sha256 = "0d68di2nn9as7y2rxq1v4b5d0s89y53m8v2ls8nfm1rrggny1iqx";
rev = "72f67e1e198cf07bdfd30f70c074a946e5dc64b4"; rev = "72b8b3e1749300fbaf6f8e736a65a4f41ac7d48d";
}; };
xresources = fetchFromGitHub { xresources = fetchFromGitHub {
owner = "catppuccin"; owner = "catppuccin";