change color of icons
This commit is contained in:
parent
d0d10a9bfe
commit
2805942060
9 changed files with 110 additions and 200 deletions
125
user/home.nix
125
user/home.nix
|
@ -1,5 +1,5 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
let
|
||||
let
|
||||
key = {
|
||||
left = "n";
|
||||
down = "e";
|
||||
|
@ -44,7 +44,6 @@ let
|
|||
magenta= "#C397D8";
|
||||
cyan= "#70C0BA";
|
||||
white= "#EAEAEA";
|
||||
|
||||
#non standard
|
||||
orange= "#FF7500";
|
||||
brown= "#A07040";
|
||||
|
@ -52,19 +51,9 @@ let
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
# TODO: fix
|
||||
papirus_red = (pkgs.papirus-icon-theme.overrideAttrs (old: rec {
|
||||
preInstall = ''
|
||||
for f in {,e}Papirus*/*/folder-red*; do
|
||||
ln -vsf "$f" "$\{f/-red/}"
|
||||
done
|
||||
'';
|
||||
}));
|
||||
|
||||
papirus_red = (pkgs.unstable.papirus-icon-theme.override { color = "red"; });
|
||||
orchis_theme_compact = (pkgs.orchis-theme.override { tweaks = [ "compact" "solid" ]; });
|
||||
|
||||
accent = accents.red;
|
||||
color = themes.dark.color;
|
||||
in {
|
||||
|
@ -72,7 +61,6 @@ in {
|
|||
# paths it should manage.
|
||||
home.username = "lelgenio";
|
||||
home.homeDirectory = "/home/lelgenio";
|
||||
|
||||
# This value determines the Home Manager release that your
|
||||
# configuration is compatible with. This helps avoid breakage
|
||||
# when a new Home Manager release introduces backwards
|
||||
|
@ -82,17 +70,15 @@ in {
|
|||
# the Home Manager release notes for a list of state version
|
||||
# changes in each release.
|
||||
home.stateVersion = "22.05";
|
||||
|
||||
# Let Home Manager install and manage itself.
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
nixpkgs.config.packageOverrides = pkgs: {
|
||||
nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") {
|
||||
inherit pkgs;
|
||||
};
|
||||
};
|
||||
|
||||
# nixpkgs.config.packageOverrides = pkgs: {
|
||||
# nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") {
|
||||
# inherit pkgs;
|
||||
# };
|
||||
# };
|
||||
home.packages = with pkgs; [
|
||||
helix
|
||||
kanshi
|
||||
alacritty
|
||||
exa
|
||||
|
@ -102,30 +88,26 @@ in {
|
|||
ffmpeg
|
||||
imagemagick
|
||||
mpv
|
||||
|
||||
xfce.thunar
|
||||
|
||||
liberation_ttf
|
||||
hack-font
|
||||
font-awesome_5
|
||||
fira-code
|
||||
(nerdfonts.override { fonts = [ "FiraCode" "Hack" ]; })
|
||||
|
||||
orchis_theme_compact
|
||||
orchis_theme_compact
|
||||
papirus_red
|
||||
];
|
||||
|
||||
programs.fish.enable = true;
|
||||
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
package = pkgs.firefox;
|
||||
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||
darkreader
|
||||
ublock-origin
|
||||
tree-style-tab
|
||||
sponsorblock
|
||||
];
|
||||
# extensions = with config.nur.repos.rycee.firefox-addons; [
|
||||
# darkreader
|
||||
# ublock-origin
|
||||
# tree-style-tab
|
||||
# sponsorblock
|
||||
# duckduckgo-privacy-essentials
|
||||
# ];
|
||||
profiles = {
|
||||
main = {
|
||||
isDefault = true;
|
||||
|
@ -135,26 +117,23 @@ in {
|
|||
"browser.tabs.inTitlebar" = 0;
|
||||
};
|
||||
userChrome = ''
|
||||
#tabbrowser-tabs { visibility: collapse !important; }
|
||||
#tabbrowser-tabs { visibility: collapse !important; }
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs.command-not-found.enable = true;
|
||||
|
||||
# home.file = {
|
||||
# ".config/sway/config".source = ./sway;
|
||||
# };
|
||||
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
systemd.enable = true;
|
||||
systemd.target = "sway-session.target";
|
||||
settings = [{
|
||||
layer = "top";
|
||||
modules-left = [
|
||||
"sway/workspaces"
|
||||
modules-left = [
|
||||
"sway/workspaces"
|
||||
];
|
||||
modules-center = [
|
||||
"clock"
|
||||
|
@ -170,7 +149,6 @@ in {
|
|||
padding: 0;
|
||||
transition-duration:0;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
/* background-color: rgba(30,30,30,.9); */
|
||||
transition-duration: .5s;
|
||||
|
@ -184,22 +162,17 @@ in {
|
|||
border-bottom:
|
||||
2px solid ${ color.bg_dark };
|
||||
}
|
||||
|
||||
window#waybar.solo {
|
||||
background-color: ${ color.bg };
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
color: ${ color.bg_light };
|
||||
|
||||
min-width:50px;
|
||||
background-color: transparent;
|
||||
border: 3px solid transparent;
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
color: ${ color.txt };
|
||||
|
||||
/*{%@@ if bar_pos == "top" @@%}
|
||||
border-top:
|
||||
{%@@ else @@%}
|
||||
|
@ -209,17 +182,14 @@ in {
|
|||
3px solid ${ accent.color };
|
||||
/* border-bottom: 3px solid transparent; */
|
||||
}
|
||||
|
||||
/*Window Title*/
|
||||
#window {
|
||||
color: ${ color.txt };
|
||||
margin:0 4px;
|
||||
}
|
||||
|
||||
#mode {
|
||||
color: ${ accent.color };
|
||||
}
|
||||
|
||||
#mpd,
|
||||
#custom-mpd,
|
||||
#tray,
|
||||
|
@ -244,11 +214,9 @@ in {
|
|||
color: ${ color.txt };
|
||||
opacity:.7;
|
||||
}
|
||||
|
||||
#battery{
|
||||
margin-right:15px;
|
||||
}
|
||||
|
||||
#clock,
|
||||
#custom-weather
|
||||
{
|
||||
|
@ -261,31 +229,25 @@ in {
|
|||
margin-top:-1px;
|
||||
font-size:16px;
|
||||
}
|
||||
|
||||
#mpd,
|
||||
#window,
|
||||
#workspaces
|
||||
{
|
||||
font-weight:normal;
|
||||
}
|
||||
|
||||
|
||||
#custom-unpushed,
|
||||
#custom-recording {
|
||||
min-width:15px;
|
||||
color: #ee4040;
|
||||
}
|
||||
|
||||
#tray {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#language {
|
||||
font-size: ${ font.size.medium }px;
|
||||
color: ${ color.bg_light };
|
||||
}
|
||||
|
||||
#custom-sleep {
|
||||
color: ${ accent.color };
|
||||
font-size: ${ font.size.big }px;
|
||||
|
@ -293,8 +255,6 @@ in {
|
|||
}
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
wayland.windowManager.sway = {
|
||||
enable = true;
|
||||
config = {
|
||||
|
@ -305,8 +265,8 @@ in {
|
|||
smartBorders = "on";
|
||||
inner = 5;
|
||||
};
|
||||
colors =
|
||||
let
|
||||
colors =
|
||||
let
|
||||
acc = accent.color;
|
||||
fg_acc = accent.fg;
|
||||
fg_color = color.txt;
|
||||
|
@ -336,7 +296,7 @@ in {
|
|||
repeat_delay = "200";
|
||||
};
|
||||
keybindings =
|
||||
let
|
||||
let
|
||||
mod = "Mod4";
|
||||
floating.modifier = "Mod4";
|
||||
menu = "bemenu-run --bottom";
|
||||
|
@ -352,7 +312,6 @@ in {
|
|||
"${mod}+8" = "workspace number 8";
|
||||
"${mod}+9" = "workspace number 9";
|
||||
"${mod}+0" = "workspace number 10";
|
||||
|
||||
"${mod}+Shift+1" =
|
||||
"move container to workspace number 1";
|
||||
"${mod}+Shift+2" =
|
||||
|
@ -374,11 +333,11 @@ in {
|
|||
"${mod}+Shift+0" =
|
||||
"move container to workspace number 10";
|
||||
};
|
||||
prev_next_binds =
|
||||
let
|
||||
prev_next_binds =
|
||||
let
|
||||
join_dict_arr = builtins.foldl' (a: v: a//v) {};
|
||||
maybe_window = key:
|
||||
if (lib.strings.hasInfix "button" key)
|
||||
maybe_window = key:
|
||||
if (lib.strings.hasInfix "button" key)
|
||||
then "--whole-window"
|
||||
else "";
|
||||
prev_binds = map (key:
|
||||
|
@ -387,54 +346,45 @@ in {
|
|||
next_binds = map (key:
|
||||
{"${maybe_window key} ${mod}+${key}" = "workspace next_on_output";}
|
||||
) [ key.tabR "bracketright" "Next" "button8" "button5" ];
|
||||
in
|
||||
in
|
||||
join_dict_arr (prev_binds ++ next_binds);
|
||||
movement_binds = {
|
||||
"${mod}+${key.left}" = "focus left";
|
||||
"${mod}+${key.down}" = "focus down";
|
||||
"${mod}+${key.up}" = "focus up";
|
||||
"${mod}+${key.right}" = "focus right";
|
||||
|
||||
"${mod}+Left" = "focus left";
|
||||
"${mod}+Down" = "focus down";
|
||||
"${mod}+Up" = "focus up";
|
||||
"${mod}+Right" = "focus right";
|
||||
|
||||
"${mod}+Shift+${key.left}" = "move left";
|
||||
"${mod}+Shift+${key.down}" = "move down";
|
||||
"${mod}+Shift+${key.up}" = "move up";
|
||||
"${mod}+Shift+${key.right}" = "move right";
|
||||
|
||||
"${mod}+Shift+Left" = "move left";
|
||||
"${mod}+Shift+Down" = "move down";
|
||||
"${mod}+Shift+Up" = "move up";
|
||||
"${mod}+Shift+Right" = "move right";
|
||||
|
||||
"${mod}+Control+${key.left}" = "resize shrink width";
|
||||
"${mod}+Control+${key.down}" = "resize grow height";
|
||||
"${mod}+Control+${key.up}" = "resize shrink height";
|
||||
"${mod}+Control+${key.right}" = "resize grow width";
|
||||
|
||||
"${mod}+Control+Left" = "resize shrink width";
|
||||
"${mod}+Control+Down" = "resize grow height";
|
||||
"${mod}+Control+Up" = "resize shrink height";
|
||||
"${mod}+Control+Right" = "resize grow width";
|
||||
|
||||
"${mod}+mod1+${key.left}" = "focus output left";
|
||||
"${mod}+mod1+${key.down}" = "focus output down";
|
||||
"${mod}+mod1+${key.up}" = "focus output up";
|
||||
"${mod}+mod1+${key.right}" = "focus output right";
|
||||
|
||||
"${mod}+mod1+Left" = "focus output left";
|
||||
"${mod}+mod1+Down" = "focus output down";
|
||||
"${mod}+mod1+Up" = "focus output up";
|
||||
"${mod}+mod1+Right" = "focus output right";
|
||||
|
||||
"${mod}+mod1+Shift+${key.left}" = "move workspace output left";
|
||||
"${mod}+mod1+Shift+${key.down}" = "move workspace output down";
|
||||
"${mod}+mod1+Shift+${key.up}" = "move workspace output up";
|
||||
"${mod}+mod1+Shift+${key.right}" = "move workspace output right";
|
||||
|
||||
"${mod}+mod1+Shift+Left" = "move workspace output left";
|
||||
"${mod}+mod1+Shift+Down" = "move workspace output down";
|
||||
"${mod}+mod1+Shift+Up" = "move workspace output up";
|
||||
|
@ -452,31 +402,23 @@ in {
|
|||
XF86AudioPrev = "exec playerctl previous";
|
||||
};
|
||||
in {
|
||||
|
||||
"${mod}+Return" = "exec ${terminal}";
|
||||
"${mod}+x" = "kill";
|
||||
"${mod}+s" = "exec ${menu}";
|
||||
|
||||
|
||||
"${mod}+b" = "splith";
|
||||
"${mod}+v" = "splitv";
|
||||
"${mod}+f" = "fullscreen toggle";
|
||||
"${mod}+a" = "focus parent";
|
||||
|
||||
# "${mod}+s" = "layout stacking";
|
||||
"${mod}+w" = "layout tabbed";
|
||||
# "${mod}+e" = "layout toggle split";
|
||||
|
||||
"${mod}+Shift+space" = "floating toggle";
|
||||
"${mod}+space" = "focus mode_toggle";
|
||||
|
||||
"${mod}+Shift+minus" = "move scratchpad";
|
||||
"${mod}+minus" = "scratchpad show";
|
||||
|
||||
"${mod}+Shift+c" = "reload";
|
||||
# "${mod}+Shift+e" =
|
||||
# "exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'";
|
||||
|
||||
"${mod}+r" = "mode resize";
|
||||
}
|
||||
// workspace_binds
|
||||
|
@ -488,7 +430,6 @@ in {
|
|||
terminal = pkgs.alacritty.executable;
|
||||
};
|
||||
};
|
||||
|
||||
services.kanshi = {
|
||||
enable = true;
|
||||
profiles = {
|
||||
|
@ -503,8 +444,8 @@ in {
|
|||
}];
|
||||
exec = [
|
||||
"xrdb .Xresources"
|
||||
];
|
||||
};
|
||||
];
|
||||
};
|
||||
nomad = {
|
||||
outputs = [{
|
||||
criteria = "eDP-1";
|
||||
|
@ -513,16 +454,14 @@ in {
|
|||
}];
|
||||
exec = [
|
||||
"xrdb .Xresources"
|
||||
];
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.kdeconnect = {
|
||||
enable = true;
|
||||
indicator = true;
|
||||
};
|
||||
|
||||
gtk = {
|
||||
enable = true;
|
||||
theme = {
|
||||
|
@ -531,11 +470,11 @@ in {
|
|||
};
|
||||
iconTheme = {
|
||||
name = "Papirus-Dark";
|
||||
package = pkgs.papirus-icon-theme;
|
||||
package = papirus_red;
|
||||
};
|
||||
cursorTheme = {
|
||||
name = "capitaine-cursors";
|
||||
package = papirus_red;
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue