nearly complete curve

This commit is contained in:
Anish L 2021-10-13 22:52:50 +10:00
parent 5371aeaa2a
commit 6dc16e88f1
13 changed files with 241 additions and 71 deletions

View file

@ -34,6 +34,7 @@
networking.interfaces.enp0s31f6.useDHCP = true;
networking.interfaces.wlp3s0.useDHCP = true;
networking.wireless.enable = true;
networking.wireless.interfaces = ["wlp3s0"];
# Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8";

View file

@ -7,12 +7,9 @@
#profiles.users.profiles.desktop
] ++ suites.curve;
#home-manager.users.anish = { suites, ... }: {
# imports = [
# profiles.users.profiles.desktop
# profiles.users.profiles.firefox
# ];
#};
home-manager.users.anish = { suites, ... }: {
imports = suites.base;
};
#bud.enable = true;
}

View file

@ -6,9 +6,9 @@ success_symbol = "[](bold purple)"
vicmd_symbol = "[](bold purple)"
[battery]
full_symbol = ""
charging_symbol = ""
discharging_symbol = ""
full_symbol = " "
charging_symbol = " "
discharging_symbol = " "
[conda]
symbol = " "
@ -17,7 +17,7 @@ symbol = " "
style = "cyan"
read_only = " 🔒"
[docker]
[docker_context]
symbol = " "
[elixir]
@ -48,9 +48,6 @@ style = "bold bright-white"
[golang]
symbol = " "
[haskell]
symbol = " "
[hg_branch]
symbol = " "

View file

@ -103,7 +103,7 @@ in
set noexpandtab
set autoindent
set foldmethod=indent " fold based on indent
" set foldmethod=indent " fold based on indent
set number
set nocompatible
set relativenumber
@ -114,7 +114,7 @@ in
filetype plugin on
set termguicolors
let ayucolor="dark"
let ayucolor="mirage"
colorscheme ayu
" window

View file

@ -4,7 +4,7 @@
#home-manager.users = { inherit (hmUsers) anish; };
users.users.anish = {
password = "SuperDuper";
hashedPassword = "MVHHpy9gbe3ow";
description = "Personal user for Anish";
isNormalUser = true;
extraGroups = [ "wheel" "audio" ];

View file

@ -0,0 +1,44 @@
!
! Generated with :
! XRDB2Xreources.py
!
*.foreground: #e6e1cf
*.background: #0f1419
*.cursorColor: #f29718
!
! Black
*.color0: #000000
*.color8: #323232
!
! Red
*.color1: #ff3333
*.color9: #ff6565
!
! Green
*.color2: #b8cc52
*.color10: #eafe84
!
! Yellow
*.color3: #e7c547
*.color11: #fff779
!
! Blue
*.color4: #36a3d9
*.color12: #68d5ff
!
! Magenta
*.color5: #f07178
*.color13: #ffa3aa
!
! Cyan
*.color6: #95e6cb
*.color14: #c7fffd
!
! White
*.color7: #ffffff
*.color15: #ffffff
!
! Bold, Italic, Underline
*.colorBD: #e6e1cf
!*.colorIT:
!*.colorUL:

View file

@ -0,0 +1,23 @@
background #0A0E14
foreground #B3B1AD
cursor #E6B450
selection_background #273747
color0 #000000
color8 #4D5566
color1 #FF3333
color9 #D96C75
color2 #C2D94C
color10 #91B362
color3 #FF8F40
color11 #F29668
color4 #59C2FF
color12 #6994BF
color5 #D4BFFF
color13 #A37ACC
color6 #95E6CB
color14 #4CBF99
color7 #ffffff
color15 #F0F0F0
selection_foreground #B3B1AD

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 MiB

View file

@ -3,7 +3,21 @@
{
#imports = [ ./xdg.nix ];
home-manager.users.anish.xdg.enable = true; # This doesn't seem to do anything so we have below
environment.sessionVariables = rec {
XDG_CACHE_HOME = "\${HOME}/.cache";
XDG_CONFIG_HOME = "\${HOME}/.config";
XDG_BIN_HOME = "\${HOME}/.local/bin";
XDG_DATA_HOME = "\${HOME}/.local/share";
PATH = [
"\${XDG_BIN_HOME}"
];
};
environment.systemPackages = with pkgs; [
nheko # TODO move somewhere meaningful
xclip
xdotool
rofi
lightdm
dunst
@ -14,16 +28,60 @@
})
];
location.provider = "geoclue2";
services = {
picom.enable = true;
#redshift.enable = true;
redshift = {
enable = true;
temperature = {
day = 5500;
night = 3700;
};
};
xserver = {
enable = true;
desktopManager.wallpaper.mode = "fill";
displayManager = {
defaultSession = "none+bspwm";
sessionCommands = ''
${pkgs.xorg.xrdb}/bin/xrdb -merge <<EOF
*.foreground: #e6e1cf
*.background: #0f1419
*.cursorColor: #f29718
! Black
*.color0: #000000
*.color8: #323232
! Red
*.color1: #ff3333
*.color9: #ff6565
! Green
*.color2: #b8cc52
*.color10: #eafe84
! Yellow
*.color3: #e7c547
*.color11: #fff779
! Blue
*.color4: #36a3d9
*.color12: #68d5ff
! Magenta
*.color5: #f07178
*.color13: #ffa3aa
! Cyan
*.color6: #95e6cb
*.color14: #c7fffd
! White
*.color7: #ffffff
*.color15: #ffffff
! Bold, Italic, Underline
*.colorBD: #e6e1cf
!*.colorIT:
!*.colorUL:
EOF
'';
lightdm.enable = true;
lightdm.greeters.mini.enable = true;
lightdm.greeters.mini.user = "anish"; # TODO hardcoded
lightdm.background = "/etc/nixos/users/profiles/desktop/background.jpg";
lightdm.greeters.mini.extraConfig = ''
text-color = "#ff79c6"
password-background-color = "#1E2029"
@ -37,31 +95,57 @@
};
};
home-manager.users.anish = {
# Add gtk theme for Dracular and Paper
# Set wallpaper
fonts.fonts = with pkgs; [
fira-code
fira-code-symbols
hermit
#hack
siji
font-awesome-ttf
proggyfonts
(nerdfonts.override { fonts = [ "FiraCode" "DroidSansMono" ]; })
];
home-manager.users.anish = {
# Install themes
home.packages = with pkgs; [
dracula-theme
paper-icon-theme
];
# Font stuff
#fonts = {
# fonts = with pkgs; [
# fire-code
# hermit
# hack
# fire-code-symbols
# siji
# font-awesome-ttf
# ];
# fontconfig.defaultFonts = {
# sansSerif = ["Hermit"];
# monospace = ["Hermit"];
# };
#};
xresources.properties = {
"Xcursor.theme"= "Paper";
#"Xcursor.size"= 64;
"*.foreground"= "#e6e1cf";
"*.background"= "#0f1419";
"*.cursorColor"= "#f29718";
# Black
"*.color0"= "#000000";
"*.color8"= "#323232";
# Red
"*.color1"= "#ff3333";
"*.color9"= "#ff6565";
# Green
"*.color2"= "#b8cc52";
"*.color10"= "#eafe84";
# Yellow
"*.color3"= "#e7c547";
"*.color11"= "#fff779";
# Blue
"*.color4"= "#36a3d9";
"*.color12"= "#68d5ff";
# Magenta
"*.color5"= "#f07178";
"*.color13"= "#ffa3aa";
# Cyan
"*.color6"= "#95e6cb";
"*.color14"= "#c7fffd";
# White
"*.color7"= "#ffffff";
"*.color15"= "#ffffff";
# Bold, Italic, Underline
"*.colorBD"= "#e6e1cf";
};
# Move required config files around
home.file = {
@ -79,17 +163,37 @@
".config/dunst/dunstrc".source = ./dunstrc;
".config/kitty/kitty.conf".source = ./kitty.conf;
".config/kitty/ayu.conf".source = ./ayu-kitty.conf;
".background-image".source = ./background.jpg;
# gtk3 theme
".config/gtk-3.0/settings.ini".text = ''
[Settings]
gtk-theme-name=Dracula
gtk-icon-theme-name=Paper
gtk-cursor-theme-name=Paper
gtk-fallback-icon-theme=gnome
gtk-application-prefer-dark-theme=true
gtk-xft-hinting=1
gtk-xft-hintstyle=hintfull
gtk-xft-rgba=none
'';
# GTK2 global theme (widget and icon theme)
".config/gtk-2.0/gtkrc".text = ''
gtk-theme-name=Dracula
gtk-icon-theme-name=Paper
gtk-font-name="Sans 10"
'';
};
# Compositor
services.picom = {
enable = true;
fade = true;
fadeDelta = 1;
fadeSteps = [ 0.01 0.012 ];
fadeSteps = [ "0.01" "0.022" ];
shadow = true;
shadowOffsets = [ (-10) (-10) ];
shadowOpacity = 0.22;
shadowOpacity = "0.22";
# activeOpacity = "1.00";
# inactiveOpacity = "0.92";
extraOptions = ''

View file

@ -1 +1,5 @@
include ayu.conf
font_family Hermit
bold_font auto
italic_font auto
bold_italic_font auto

0
users/profiles/desktop/run.sh Normal file → Executable file
View file

View file

@ -54,16 +54,15 @@ super + Escape
super + {_,ctrl + }f
bspc node -t ~{floating,fullscreen}
super + {_,shift + }{h,j,k,l}
bspc node -{f,s} {west,south,north,east}
super + {_,ctrl +}{h,j,k,l}
$DOTFILES_BIN/bspwm/focus {_,-m }{west,south,north,east}
super + shift + {_,ctrl +}{h,j,k,l}
$DOTFILES_BIN/bspwm/swap {_,-m }{west,south,north,east}
super + ctrl + {h,j,k,l}
bspc node -p {west,south,north,east}
## Resize by preselection
super + alt + {1-9}
$DOTFILES/bin/bspwm/presel 0.{1-9}
$DOTFLES/bin/bspwm/presel 0.{1-9}
super + alt + {h,j,k,l}
bspc node -p {west,south,north,east}

View file

@ -110,6 +110,7 @@
StartWithLastProfile=1
Version=2
'';
"${cfgPath}/anish.default/chrome/userChrome.css".source = ./userChrome.css;
};
};
}