added compositor to enable transparency.
This commit is contained in:
parent
faae2bb604
commit
96d0c67570
8 changed files with 73 additions and 8 deletions
|
@ -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;
|
||||
|
|
16
modules/home-manager/feh.nix
Normal file
16
modules/home-manager/feh.nix
Normal 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";
|
||||
}
|
|
@ -11,5 +11,8 @@
|
|||
name = "Fira Code";
|
||||
};
|
||||
theme = "Gruvbox Dark";
|
||||
settings={
|
||||
background_opacity="0.8";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
9
modules/home-manager/nextcloud.nix
Normal file
9
modules/home-manager/nextcloud.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
services.nextcloud-client.enable = true;
|
||||
services.gnome-keyring.enable = true;
|
||||
}
|
18
modules/home-manager/picom.nix
Normal file
18
modules/home-manager/picom.nix
Normal 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;
|
||||
}
|
||||
];
|
||||
}
|
|
@ -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] {
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue