Adjust opacity of desktop elements, add zellij

Change opacity of desktop components to that floating / pop-up windows
are translucent, and base windows are opaque.

Add zellij back (with config), but not starting by default. Add zellij
config directory to rsync-local-config script.
This commit is contained in:
Evie Litherland-Smith 2024-09-18 11:18:08 +01:00
parent 0b8ca9ea5a
commit fe2a105c4e
6 changed files with 7 additions and 16 deletions

View file

@ -49,7 +49,6 @@
custom-theme-hash = builtins.hashFile "sha256" "${custom-theme}/${custom-theme-name}-theme.el";
in
''
(add-to-list 'default-frame-alist '(alpha-background . 85))
(add-to-list 'custom-theme-load-path "${custom-theme}")
(add-to-list 'custom-safe-themes "${custom-theme-hash}")
(load-theme '${custom-theme-name})

View file

@ -1,6 +1,5 @@
{
config,
pkgs,
fonts,
accentColourName,
...
@ -17,9 +16,7 @@
fields = "filename,name,generic,categories";
fuzzy = true;
filter-desktop = true;
terminal =
with config.programs;
"${if alacritty.enable then alacritty.package else pkgs.alacritty}/bin/alacritty -e";
terminal = "${config.programs.alacritty.package}/bin/alacritty -e";
lines = 24;
width = 80;
tabs = 4;

View file

@ -1,6 +1,6 @@
HOSTS=("$@")
# Config files
for TARGET in ".inputrc" ".config/bat/" ".config/starship.toml"; do
for TARGET in ".inputrc" ".config/bat/" ".config/zellij" ".config/starship.toml"; do
SOURCE="$HOME/$TARGET"
echo "--- $SOURCE ---"
TMP_TARGET=/tmp/rsync-local-config

View file

@ -11,6 +11,7 @@
./readline.nix
./ssh.nix
./starship.nix
./zellij.nix
];
home.packages = with pkgs; [
rclone

View file

@ -30,13 +30,7 @@
swaymsg exec "${protonmail-bridge}/bin/protonmail-bridge -n"
'')
];
programs = {
waybar.systemd.target = "sway-session.target";
alacritty.settings.window = {
decorations = "none";
opacity = 0.85;
};
};
programs.waybar.systemd.target = "sway-session.target";
services = {
kanshi.systemdTarget = "sway-session.target";
gpg-agent.pinentryPackage = pkgs.pinentry-gnome3;

View file

@ -278,7 +278,7 @@
style =
let
sc = config.scheme.withHashtag;
alpha = "0.85";
alpha = "0.8";
in
''
* {
@ -295,7 +295,7 @@
window > box {
color: ${sc.base05};
background: alpha(${sc.base00}, ${alpha});
background: ${sc.base00};
margin: 5px 5px 0px;
padding: 0px;
border-top: 1px solid ${sc.base04};
@ -303,7 +303,7 @@
}
tooltip {
background: ${sc.base00};
background: alpha(${sc.base00}, ${alpha});
border: 1px solid ${sc.${accentColourName}};
border-radius: 5px;
box-shadow: none;