change folder did a thing added zsh theme

This commit is contained in:
Sakooooo 2023-07-03 19:53:20 +04:00
parent f776125af3
commit aa556bb829
Signed by: sako
GPG key ID: 3FD715D87D7725E0
20 changed files with 49 additions and 10 deletions

View file

@ -77,14 +77,14 @@ font:
# The bold font face # The bold font face
bold: bold:
family: "JetBrainsMono NF" family: "JetBrainsMono NF"
style: Bold style: Bold
# family: "Fira Code" # family: "Fira Code"
# family: "Source Code Pro" # family: "Source Code Pro"
# The italic font face # The italic font face
italic: italic:
family: "JetbrainsMono NF" family: "JetbrainsMono NF"
style: Italic style: Italic
# style: "Light Oblique" # style: "Light Oblique"
# family: "Fira Code" # family: "Fira Code"
@ -432,7 +432,7 @@ debug:
# Entries in shell.args are passed unmodified as arguments to the shell. # Entries in shell.args are passed unmodified as arguments to the shell.
shell: shell:
program: program:
bash zsh
# args: # args:
#- --command=tmux #- --command=tmux
# vim: nospell # vim: nospell

27
config/bspwm/bspwmrc Executable file
View file

@ -0,0 +1,27 @@
#!/nix/store/7q1b1bsmxi91zci6g8714rcljl620y7f-bash-5.2-p15/bin/sh
pgrep -x sxhkd > /dev/null || sxhkd &
bspc monitor -d 1 2 3 4 5 6
bspc config border_width 2
bspc config window_gap 12
bspc config split_ratio 0.52
bspc config borderless_monocle true
bspc config gapless_monocle true
bspc rule -a Gimp desktop='^8' state=floating follow=on
bspc rule -a Chromium desktop='^2'
bspc rule -a mplayer2 state=floating
bspc rule -a Kupfer.py focus=on
bspc rule -a Screenkey manage=off
feh --bg-scale /home/sako/background.png &
/home/sako/.config/polybar/startpolybar &
nm-applet &
blueman-applet &
keepassxc &

View file

@ -138,6 +138,7 @@
# TODO(sako):: put this in different files # TODO(sako):: put this in different files
# Define a user account. Don't forget to set a password with passwd. # Define a user account. Don't forget to set a password with passwd.
users.users.sako= { users.users.sako= {
shell = pkgs.zsh;
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" ]; # Enable sudo for the user. extraGroups = [ "wheel" "networkmanager" ]; # Enable sudo for the user.
packages = with pkgs; [ packages = with pkgs; [
@ -182,16 +183,27 @@
}; };
xdg.configFile = { xdg.configFile = {
nvim = { nvim = {
source = config/neovim; source = config/nvim;
recursive = true; recursive = true;
}; };
alacritty = { alacritty = {
source = config/alacritty; source = config/alacritty;
}; };
polybar = {
}; source = config/polybar;
recursive = true;
};
bspwm = {
source = config/bspwm;
};
}; };
};
programs.zsh = {
enable = true;
# TODO(sako):: make my own zsh config
promptInit = "source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
};
fonts.fonts = with pkgs;[ fonts.fonts = with pkgs;[
jetbrains-mono jetbrains-mono