added compositor to enable transparency.

This commit is contained in:
Gabe Venberg 2024-04-05 13:00:08 -05:00
parent faae2bb604
commit 96d0c67570
8 changed files with 73 additions and 8 deletions

View file

@ -11,7 +11,7 @@
font = "Fira Code";
follow = "keyboard";
origin = "top-right";
transparency = 5;
transparency = 20;
padding = 6;
horizontal_padding = 6;
};
@ -20,6 +20,7 @@
# Otherwise the "#" and following would be interpreted as a comment.
frame_color = "#3B7C87";
foreground = "#3B7C87";
highlight = "#3B7C87";
background = "#191311";
#background = "#2B313C"
timeout = 4;
@ -30,6 +31,7 @@
urgency_normal = {
frame_color = "#5B8234";
foreground = "#5B8234";
highlight = "#5B8234";
background = "#191311";
#background = "#2B313C"
timeout = 6;
@ -40,6 +42,7 @@
urgency_critical = {
frame_color = "#B7472A";
foreground = "#B7472A";
highlight = "#B7472A";
background = "#191311";
#background = "#2B313C"
timeout = 8;

View file

@ -0,0 +1,16 @@
{
config,
pkgs,
lib,
...
}: {
programs.feh.enable = true;
programs.nushell.extraConfig = ''
# display a slideshow of all pics in a directory, recursively
def slideshow [delay: int = 10] {
feh --full-screen --randomize --auto-zoom --recursive --slideshow-delay $delay
}
'';
programs.zsh.shellAliases. slideshow = "feh --full-screen --randomize --auto-zoom --recursive --slideshow-delay";
}

View file

@ -11,5 +11,8 @@
name = "Fira Code";
};
theme = "Gruvbox Dark";
settings={
background_opacity="0.8";
};
};
}

View file

@ -0,0 +1,9 @@
{
config,
pkgs,
lib,
...
}: {
services.nextcloud-client.enable = true;
services.gnome-keyring.enable = true;
}

View file

@ -0,0 +1,18 @@
{
config,
pkgs,
lib,
...
}: {
services.picom = {
enable = true;
# backend = "glx";
};
xsession.windowManager.i3.config.startup = [
{
command = "systemctl --user restart picom";
always = true;
notification = false;
}
];
}

View file

@ -39,10 +39,6 @@ alias doc2pdf = loffice --convert-to pdf --headless *.docx
#common options for sshfs
alias sshmnt = sshfs -o idmap=user,compression=no,reconnect,follow_symlinks,dir_cache=yes,ServerAliveInterval=15
# display a slideshow of all pics in a directory, recursively
def slideshow [delay: int = 10] {
feh --full-screen --randomize --auto-zoom --recursive --slideshow-delay $delay
}
#look up something on cheat.sh
def cheat [query: string] {

View file

@ -23,7 +23,6 @@
ll = "ls -lh";
la = "-lha";
please = "sudo $(fc -ln -1)";
slideshow = "feh --full-screen --randomize --auto-zoom --recursive --slideshow-delay";
pyactivate = "source ./.venv/bin/activate";
};
syntaxHighlighting = {