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.enp0s31f6.useDHCP = true;
networking.interfaces.wlp3s0.useDHCP = true; networking.interfaces.wlp3s0.useDHCP = true;
networking.wireless.enable = true; networking.wireless.enable = true;
networking.wireless.interfaces = ["wlp3s0"];
# Select internationalisation properties. # Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8"; i18n.defaultLocale = "en_US.UTF-8";

View file

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

View file

@ -17,7 +17,7 @@ symbol = " "
style = "cyan" style = "cyan"
read_only = " 🔒" read_only = " 🔒"
[docker] [docker_context]
symbol = " " symbol = " "
[elixir] [elixir]
@ -48,9 +48,6 @@ style = "bold bright-white"
[golang] [golang]
symbol = " " symbol = " "
[haskell]
symbol = " "
[hg_branch] [hg_branch]
symbol = " " symbol = " "

View file

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

View file

@ -4,7 +4,7 @@
#home-manager.users = { inherit (hmUsers) anish; }; #home-manager.users = { inherit (hmUsers) anish; };
users.users.anish = { users.users.anish = {
password = "SuperDuper"; hashedPassword = "MVHHpy9gbe3ow";
description = "Personal user for Anish"; description = "Personal user for Anish";
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" "audio" ]; 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 ]; #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; [ environment.systemPackages = with pkgs; [
nheko # TODO move somewhere meaningful
xclip
xdotool
rofi rofi
lightdm lightdm
dunst dunst
@ -14,16 +28,60 @@
}) })
]; ];
location.provider = "geoclue2";
services = { services = {
picom.enable = true; redshift = {
#redshift.enable = true; enable = true;
temperature = {
day = 5500;
night = 3700;
};
};
xserver = { xserver = {
enable = true; enable = true;
desktopManager.wallpaper.mode = "fill";
displayManager = { displayManager = {
defaultSession = "none+bspwm"; 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.enable = true;
lightdm.greeters.mini.enable = true; lightdm.greeters.mini.enable = true;
lightdm.greeters.mini.user = "anish"; # TODO hardcoded lightdm.greeters.mini.user = "anish"; # TODO hardcoded
lightdm.background = "/etc/nixos/users/profiles/desktop/background.jpg";
lightdm.greeters.mini.extraConfig = '' lightdm.greeters.mini.extraConfig = ''
text-color = "#ff79c6" text-color = "#ff79c6"
password-background-color = "#1E2029" password-background-color = "#1E2029"
@ -37,31 +95,57 @@
}; };
}; };
home-manager.users.anish = { fonts.fonts = with pkgs; [
# Add gtk theme for Dracular and Paper fira-code
# Set wallpaper fira-code-symbols
hermit
#hack
siji
font-awesome-ttf
proggyfonts
(nerdfonts.override { fonts = [ "FiraCode" "DroidSansMono" ]; })
];
home-manager.users.anish = {
# Install themes # Install themes
home.packages = with pkgs; [ home.packages = with pkgs; [
dracula-theme dracula-theme
paper-icon-theme paper-icon-theme
]; ];
# Font stuff xresources.properties = {
#fonts = { "Xcursor.theme"= "Paper";
# fonts = with pkgs; [ #"Xcursor.size"= 64;
# fire-code "*.foreground"= "#e6e1cf";
# hermit "*.background"= "#0f1419";
# hack "*.cursorColor"= "#f29718";
# fire-code-symbols # Black
# siji "*.color0"= "#000000";
# font-awesome-ttf "*.color8"= "#323232";
# ]; # Red
# fontconfig.defaultFonts = { "*.color1"= "#ff3333";
# sansSerif = ["Hermit"]; "*.color9"= "#ff6565";
# monospace = ["Hermit"]; # 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 # Move required config files around
home.file = { home.file = {
@ -79,17 +163,37 @@
".config/dunst/dunstrc".source = ./dunstrc; ".config/dunst/dunstrc".source = ./dunstrc;
".config/kitty/kitty.conf".source = ./kitty.conf; ".config/kitty/kitty.conf".source = ./kitty.conf;
".config/kitty/ayu.conf".source = ./ayu-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 # Compositor
services.picom = { services.picom = {
enable = true;
fade = true; fade = true;
fadeDelta = 1; fadeDelta = 1;
fadeSteps = [ 0.01 0.012 ]; fadeSteps = [ "0.01" "0.022" ];
shadow = true; shadow = true;
shadowOffsets = [ (-10) (-10) ]; shadowOffsets = [ (-10) (-10) ];
shadowOpacity = 0.22; shadowOpacity = "0.22";
# activeOpacity = "1.00"; # activeOpacity = "1.00";
# inactiveOpacity = "0.92"; # inactiveOpacity = "0.92";
extraOptions = '' extraOptions = ''

View file

@ -1 +1,5 @@
include ayu.conf 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 super + {_,ctrl + }f
bspc node -t ~{floating,fullscreen} 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} super + ctrl + {h,j,k,l}
$DOTFILES_BIN/bspwm/focus {_,-m }{west,south,north,east} bspc node -p {west,south,north,east}
super + shift + {_,ctrl +}{h,j,k,l}
$DOTFILES_BIN/bspwm/swap {_,-m }{west,south,north,east}
## Resize by preselection ## Resize by preselection
super + alt + {1-9} super + alt + {1-9}
$DOTFILES/bin/bspwm/presel 0.{1-9} $DOTFLES/bin/bspwm/presel 0.{1-9}
super + alt + {h,j,k,l} super + alt + {h,j,k,l}
bspc node -p {west,south,north,east} bspc node -p {west,south,north,east}

View file

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