Compare commits

...

2 Commits

Author SHA1 Message Date
59892a5981
🐟 Fish plugin and alias
- Alias for ssh with kitty
- Fish config file in home with starship
- Added fishbang plugin to fish
- nix-prefetch-github to get rev and hash
2024-12-31 14:01:42 +01:00
66dd36235b
🖌 Styling
- Changed font on waybar to JetBrains Mono, and fontsize to a slighly smaller one
- Removed and refactored style files slightly
- Replaced icon for music in waybar
- Padding for kitty
2024-12-31 13:19:03 +01:00
7 changed files with 47 additions and 24 deletions

View File

@ -72,6 +72,7 @@
freetube
nextcloud-client
discord
nix-prefetch-github # Cmd to get rev and hash from GitHub
];
nix.settings.experimental-features = [
@ -103,15 +104,10 @@
# Enable the OpenSSH daemon.
# services.openssh.enable = true;
security = {
# Adds Swaylock to /etc/pam.d
pam.services.swaylock = { };
};
services = {
displayManager.sddm = {
enable = true;
autoNumlock = true; # Enable numlock at login
autoNumlock = true; # Enable numlock at login # TODO doesn't work
wayland.enable = true;
};

View File

@ -9,6 +9,7 @@ in
{
imports = [
inputs.nixvim.homeManagerModules.nixvim
./fish.nix
./nixvim
./rofi
./wlogout
@ -37,11 +38,6 @@ in
home-manager.enable = true;
kitty.enable = true;
starship = {
enable = true;
settings = (with builtins; fromTOML (readFile ./starship.toml)) // { };
};
};
services = {

26
home/fish.nix Normal file
View File

@ -0,0 +1,26 @@
{ pkgs, ... }:
{
programs = {
fish = {
enable = true;
plugins = [
{
# !! to get the previous command
name = "fishbang";
src = pkgs.fetchFromGitHub {
owner = "BrewingWeasel";
repo = "fishbang";
rev = "50389667eb9ac79edcff9b987c83e1de8ac93921";
hash = "sha256-IneNWyfo29C7FDA5b6pTZRX3HpP6y/dRM6GXuLq2+zc=";
};
}
];
};
starship = {
enable = true;
settings = (with builtins; fromTOML (readFile ./starship.toml)) // { };
};
};
}

View File

@ -10,4 +10,9 @@
];
home.file.".config/hypr/hyprland.conf".source = ./hyprland.conf;
programs.kitty = {
settings = {
window_padding_width = 10;
};
};
}

View File

@ -25,10 +25,7 @@
"hyprland/workspaces": {
"disable-scroll": false,
"sort-by-name": true,
"format": " {id} ",
"format-icons": {
"default": ""
}
"format": " {id} "
},
"hyprland/window": {},
"tray": {
@ -36,7 +33,7 @@
"spacing": 10
},
"custom/music": {
"format": " {}",
"format": "󰓃 {}",
"escape": true,
"interval": 5,
"tooltip": false,

View File

@ -1,8 +1,8 @@
@import "mocha.css";
* {
font-family: FantasqueSansMono Nerd Font;
font-size: 17px;
font-family: JetBrainsMono Nerd Font;
font-size: 15px;
min-height: 0;
}
@ -14,9 +14,8 @@
#workspaces {
border-radius: 1rem;
margin: 5px;
background-color: @surface0;
margin-left: 1rem;
margin: 5px 5px 5px 1rem;
}
#workspaces button {
@ -83,19 +82,19 @@
}
#custom-lock {
border-radius: 1rem 0px 0px 1rem;
border-radius: 1rem 0 0 1rem;
color: @lavender;
}
#custom-power {
margin-right: 1rem;
border-radius: 0px 1rem 1rem 0px;
border-radius: 0 1rem 1rem 0;
color: @red;
}
#custom-notification {
margin-right: 1rem;
border-radius: 0px 1rem 1rem 0px;
border-radius: 0 1rem 1rem 0;
color: @sapphire;
}

View File

@ -17,8 +17,12 @@
enable = true;
# Start starship when creating a new shell
interactiveShellInit = ''
starship init fish | source
starship init fish | source
'';
shellAliases = {
# Transfer shell config to target device
ssh = "kitty +kitten ssh";
};
};
};
}