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:
parent
0b8ca9ea5a
commit
fe2a105c4e
|
@ -49,7 +49,6 @@
|
||||||
custom-theme-hash = builtins.hashFile "sha256" "${custom-theme}/${custom-theme-name}-theme.el";
|
custom-theme-hash = builtins.hashFile "sha256" "${custom-theme}/${custom-theme-name}-theme.el";
|
||||||
in
|
in
|
||||||
''
|
''
|
||||||
(add-to-list 'default-frame-alist '(alpha-background . 85))
|
|
||||||
(add-to-list 'custom-theme-load-path "${custom-theme}")
|
(add-to-list 'custom-theme-load-path "${custom-theme}")
|
||||||
(add-to-list 'custom-safe-themes "${custom-theme-hash}")
|
(add-to-list 'custom-safe-themes "${custom-theme-hash}")
|
||||||
(load-theme '${custom-theme-name})
|
(load-theme '${custom-theme-name})
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
pkgs,
|
|
||||||
fonts,
|
fonts,
|
||||||
accentColourName,
|
accentColourName,
|
||||||
...
|
...
|
||||||
|
@ -17,9 +16,7 @@
|
||||||
fields = "filename,name,generic,categories";
|
fields = "filename,name,generic,categories";
|
||||||
fuzzy = true;
|
fuzzy = true;
|
||||||
filter-desktop = true;
|
filter-desktop = true;
|
||||||
terminal =
|
terminal = "${config.programs.alacritty.package}/bin/alacritty -e";
|
||||||
with config.programs;
|
|
||||||
"${if alacritty.enable then alacritty.package else pkgs.alacritty}/bin/alacritty -e";
|
|
||||||
lines = 24;
|
lines = 24;
|
||||||
width = 80;
|
width = 80;
|
||||||
tabs = 4;
|
tabs = 4;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
HOSTS=("$@")
|
HOSTS=("$@")
|
||||||
# Config files
|
# 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"
|
SOURCE="$HOME/$TARGET"
|
||||||
echo "--- $SOURCE ---"
|
echo "--- $SOURCE ---"
|
||||||
TMP_TARGET=/tmp/rsync-local-config
|
TMP_TARGET=/tmp/rsync-local-config
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
./readline.nix
|
./readline.nix
|
||||||
./ssh.nix
|
./ssh.nix
|
||||||
./starship.nix
|
./starship.nix
|
||||||
|
./zellij.nix
|
||||||
];
|
];
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
rclone
|
rclone
|
||||||
|
|
|
@ -30,13 +30,7 @@
|
||||||
swaymsg exec "${protonmail-bridge}/bin/protonmail-bridge -n"
|
swaymsg exec "${protonmail-bridge}/bin/protonmail-bridge -n"
|
||||||
'')
|
'')
|
||||||
];
|
];
|
||||||
programs = {
|
programs.waybar.systemd.target = "sway-session.target";
|
||||||
waybar.systemd.target = "sway-session.target";
|
|
||||||
alacritty.settings.window = {
|
|
||||||
decorations = "none";
|
|
||||||
opacity = 0.85;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
services = {
|
services = {
|
||||||
kanshi.systemdTarget = "sway-session.target";
|
kanshi.systemdTarget = "sway-session.target";
|
||||||
gpg-agent.pinentryPackage = pkgs.pinentry-gnome3;
|
gpg-agent.pinentryPackage = pkgs.pinentry-gnome3;
|
||||||
|
|
|
@ -278,7 +278,7 @@
|
||||||
style =
|
style =
|
||||||
let
|
let
|
||||||
sc = config.scheme.withHashtag;
|
sc = config.scheme.withHashtag;
|
||||||
alpha = "0.85";
|
alpha = "0.8";
|
||||||
in
|
in
|
||||||
''
|
''
|
||||||
* {
|
* {
|
||||||
|
@ -295,7 +295,7 @@
|
||||||
|
|
||||||
window > box {
|
window > box {
|
||||||
color: ${sc.base05};
|
color: ${sc.base05};
|
||||||
background: alpha(${sc.base00}, ${alpha});
|
background: ${sc.base00};
|
||||||
margin: 5px 5px 0px;
|
margin: 5px 5px 0px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
border-top: 1px solid ${sc.base04};
|
border-top: 1px solid ${sc.base04};
|
||||||
|
@ -303,7 +303,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
tooltip {
|
tooltip {
|
||||||
background: ${sc.base00};
|
background: alpha(${sc.base00}, ${alpha});
|
||||||
border: 1px solid ${sc.${accentColourName}};
|
border: 1px solid ${sc.${accentColourName}};
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
|
Loading…
Reference in a new issue