mirror of
https://github.com/blahai/nyx.git
synced 2025-01-18 19:10:21 +00:00
a bunch of hm stuff I cba to split into diff commits
This commit is contained in:
parent
cd751d53c0
commit
ce0cc5229c
13 changed files with 100 additions and 393 deletions
13
flake.nix
13
flake.nix
|
@ -1,14 +1,16 @@
|
||||||
{
|
{
|
||||||
description = "A very basic flake";
|
description = "Elissa's funny little flake";
|
||||||
|
|
||||||
nixConfig = {
|
nixConfig = {
|
||||||
extra-substituters = [
|
extra-substituters = [
|
||||||
"https://nix-community.cachix.org"
|
"https://nix-community.cachix.org"
|
||||||
"https://hyprland.cachix.org/"
|
"https://hyprland.cachix.org/"
|
||||||
|
"https://anyrun.cachix.org"
|
||||||
];
|
];
|
||||||
extra-trusted-public-keys = [
|
extra-trusted-public-keys = [
|
||||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||||
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
||||||
|
"anyrun.cachix.org-1:pqBobmOjI7nKlsUMV25u9QHa9btJK65/C8vnO3p346s="
|
||||||
];
|
];
|
||||||
|
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
|
@ -36,17 +38,12 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
more-waita = {
|
|
||||||
url = "github:somepaulo/MoreWaita";
|
|
||||||
flake = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager";
|
url = "github:nix-community/home-manager";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
hyprland.url = "github:hyprwm/Hyprland";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, chaotic, home-manager, ... }@inputs:
|
outputs = { self, nixpkgs, chaotic, home-manager, ... }@inputs:
|
||||||
|
@ -67,7 +64,7 @@
|
||||||
specialArgs = { inherit inputs; };
|
specialArgs = { inherit inputs; };
|
||||||
modules = [
|
modules = [
|
||||||
./hosts/helios/configuration.nix
|
./hosts/helios/configuration.nix
|
||||||
inputs.home-manager.nixosModules.default
|
# inputs.home-manager.nixosModules.default
|
||||||
chaotic.nixosModules.default
|
chaotic.nixosModules.default
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,22 +1,9 @@
|
||||||
{ inputs, config, pkgs, ... }:
|
{ inputs, config, pkgs, lib, ... }:
|
||||||
let
|
|
||||||
moreWaita = pkgs.stdenv.mkDerivation {
|
|
||||||
name = "MoreWaita";
|
|
||||||
src = inputs.more-waita;
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p $out/share/icons
|
|
||||||
mv * $out/share/icons
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../modules/home-manager/hypr/default.nix
|
../../modules/home-manager/default.nix
|
||||||
../../modules/home-manager/spotify/default.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Home Manager needs a bit of information about you and the paths it should
|
|
||||||
# manage.
|
|
||||||
home.username = "pingu";
|
home.username = "pingu";
|
||||||
home.homeDirectory = "/home/pingu";
|
home.homeDirectory = "/home/pingu";
|
||||||
|
|
||||||
|
@ -27,94 +14,14 @@ in
|
||||||
size = 24;
|
size = 24;
|
||||||
};
|
};
|
||||||
|
|
||||||
# This value determines the Home Manager release that your configuration is
|
home.stateVersion = "24.05";
|
||||||
# compatible with. This helps avoid breakage when a new Home Manager release
|
|
||||||
# introduces backwards incompatible changes.
|
|
||||||
#
|
|
||||||
# You should not change this value, even if you update Home Manager. If you do
|
|
||||||
# want to update the value, then make sure to first check the Home Manager
|
|
||||||
# release notes.
|
|
||||||
home.stateVersion = "24.05"; # Please read the comment before changing.
|
|
||||||
|
|
||||||
# The home.packages option allows you to install Nix packages into your
|
|
||||||
# environment.
|
|
||||||
home.packages = [
|
home.packages = [
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
home.file = {
|
|
||||||
".local/share/fonts" = {
|
|
||||||
recursive = true;
|
|
||||||
source = "${pkgs.nerdfonts}/share/fonts/truetype/NerdFonts";
|
|
||||||
};
|
|
||||||
".fonts" = {
|
|
||||||
recursive = true;
|
|
||||||
source = "${pkgs.nerdfonts}/share/fonts/truetype/NerdFonts";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
gtk = {
|
|
||||||
enable = true;
|
|
||||||
font.name = "Rubik";
|
|
||||||
theme.name = "adw-gtk3-dark";
|
|
||||||
};
|
|
||||||
|
|
||||||
qt = {
|
|
||||||
enable = true;
|
|
||||||
platformTheme.name = "kde";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
|
||||||
# plain files is through 'home.file'.
|
|
||||||
home.file = {
|
|
||||||
# # Building this configuration will create a copy of 'dotfiles/screenrc' in
|
|
||||||
# # the Nix store. Activating the configuration will then make '~/.screenrc' a
|
|
||||||
# # symlink to the Nix store copy.
|
|
||||||
# ".screenrc".source = dotfiles/screenrc;
|
|
||||||
|
|
||||||
# # You can also set the file content immediately.
|
|
||||||
# ".gradle/gradle.properties".text = ''
|
|
||||||
# org.gradle.console=verbose
|
|
||||||
# org.gradle.daemon.idletimeout=3600000
|
|
||||||
# '';
|
|
||||||
};
|
|
||||||
|
|
||||||
# Home Manager can also manage your environment variables through
|
|
||||||
# 'home.sessionVariables'. These will be explicitly sourced when using a
|
|
||||||
# shell provided by Home Manager. If you don't want to manage your shell
|
|
||||||
# through Home Manager then you have to manually source 'hm-session-vars.sh'
|
|
||||||
# located at either
|
|
||||||
#
|
|
||||||
# ~/.nix-profile/etc/profile.d/hm-session-vars.sh
|
|
||||||
#
|
|
||||||
# or
|
|
||||||
#
|
|
||||||
# ~/.local/state/nix/profiles/profile/etc/profile.d/hm-session-vars.sh
|
|
||||||
#
|
|
||||||
# or
|
|
||||||
#
|
|
||||||
# /etc/profiles/per-user/pingu/etc/profile.d/hm-session-vars.sh
|
|
||||||
#
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
EDITOR = "nvim";
|
EDITOR = "nvim";
|
||||||
XMODIFIERS = "@im=ibus";
|
|
||||||
GTK_IM_MODULE = "ibus";
|
|
||||||
QT_IM_MODULE = "ibus";
|
|
||||||
WLR_NO_HARDWARE_CURSORS = "1";
|
|
||||||
GSK_RENDERER = "cairo";
|
|
||||||
|
|
||||||
MOZ_ENABLE_WAYLAND = "1";
|
|
||||||
XDG_CURRENT_DESKTOP = "Hyprland";
|
|
||||||
XDG_SESSION_TYPE = "wayland";
|
|
||||||
XDG_SESSION_DESKTOP = "Hyprland";
|
|
||||||
|
|
||||||
_JAVA_AWT_WM_NONREPARENTING = "1";
|
|
||||||
XCURSOR_THEME = "Bibata-Modern-Classic";
|
|
||||||
# HYPRCURSOR_THEME = "HyprBibataModernClassicSVG";
|
|
||||||
XCURSOR_SIZE = "24";
|
|
||||||
__GL_THREADED_OPTIMIZATIONS = "0";
|
|
||||||
QT_QPA_PLATFORM = "wayland";
|
|
||||||
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Let Home Manager install and manage itself.
|
# Let Home Manager install and manage itself.
|
||||||
|
|
|
@ -5,26 +5,17 @@
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
bun
|
bun
|
||||||
dart-sass
|
dart-sass
|
||||||
|
swww
|
||||||
fd
|
fd
|
||||||
brightnessctl
|
brightnessctl
|
||||||
swww
|
|
||||||
inputs.matugen.packages.${system}.default
|
|
||||||
slurp
|
slurp
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
wayshot
|
|
||||||
swappy
|
swappy
|
||||||
hyprpicker
|
hyprpicker
|
||||||
pavucontrol
|
pwvucontrol
|
||||||
networkmanager
|
which
|
||||||
gtk3
|
|
||||||
];
|
];
|
||||||
|
|
||||||
#home.activation = {
|
|
||||||
# linkAgs = lib.hm.dag.entryAfter ["writeBoundary"] ''
|
|
||||||
# ln -sf ~/.config/nixos/modules/home-manager/ags/ags ~/.config/ags
|
|
||||||
# '';
|
|
||||||
#};
|
|
||||||
|
|
||||||
programs.ags = {
|
programs.ags = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,23 @@
|
||||||
{ pkgs, lib, config } :
|
{ pkgs, lib, config, ... } :
|
||||||
{
|
{
|
||||||
programs.alacritty = {
|
programs.alacritty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
window.opacity = 0.9;
|
window = {
|
||||||
padding = { x = 5; y = 5; };
|
opacity = 0.9;
|
||||||
|
dynamic_padding = true;
|
||||||
|
padding = {
|
||||||
|
x = 5;
|
||||||
|
y = 5;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
font = {
|
||||||
|
normal = {
|
||||||
|
family = "SpaceMono Nerd Font";
|
||||||
|
style = "Regular";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,85 +1,82 @@
|
||||||
{ pkgs, lib, config, ... }:
|
{ pkgs, lib, config, ... }: {
|
||||||
{
|
|
||||||
programs.fastfetch = {
|
programs.fastfetch = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
logo = {
|
logo = {
|
||||||
type = "sixel";
|
type = "sixel";
|
||||||
source = "~/Pictures/nix-Wallpaper.png";
|
source = "~/Pictures/gay.png";
|
||||||
width = 32;
|
width = 32;
|
||||||
};
|
};
|
||||||
|
|
||||||
display = {
|
display = { separator = " "; };
|
||||||
separator = " ";
|
|
||||||
};
|
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
{
|
{
|
||||||
type = "custom";
|
type = "custom";
|
||||||
format = "┌─────────── \u001b[1mHardware Information\u001b[0m ───────────┐";
|
format = "┌─────────── Hardware Information ───────────┐";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "cpu";
|
type = "cpu";
|
||||||
key = " ";
|
key = " ";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "gpu";
|
type = "gpu";
|
||||||
key = " ";
|
key = " ";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "memory";
|
type = "memory";
|
||||||
key = " ";
|
key = " ";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "swap";
|
type = "swap";
|
||||||
key = " ";
|
key = " ";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "custom";
|
type = "custom";
|
||||||
format = "├─────────── \u001b[1mSoftware Information\u001b[0m ───────────┤";
|
format = "├─────────── Software Information ───────────┤";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "title";
|
type = "title";
|
||||||
key = " ";
|
key = " ";
|
||||||
format = "{1}@{2}";
|
format = "{1}@{2}";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "os";
|
type = "os";
|
||||||
key = " ";
|
key = " ";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "kernel";
|
type = "kernel";
|
||||||
key = " ";
|
key = " ";
|
||||||
format = "{1} {2}";
|
format = "{1} {2}";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "wm";
|
type = "wm";
|
||||||
key = "";
|
key = " ";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "shell";
|
type = "shell";
|
||||||
key = " ";
|
key = " ";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "terminal";
|
type = "terminal";
|
||||||
key = " ";
|
key = " ";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "uptime";
|
type = "uptime";
|
||||||
key = " ";
|
key = " ";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "media",;
|
type = "media";
|
||||||
key = " ";
|
key = " ";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "custom";
|
type = "custom";
|
||||||
format = "└────────────────────────────────────────────┘";
|
format = "└────────────────────────────────────────────┘";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "colors";
|
type = "colors";
|
||||||
paddingLeft = 2;
|
paddingLeft = 2;
|
||||||
symbol = "circle";
|
symbol = "circle";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
{ config, lib, pkgs, ... }: {
|
{ config, lib, pkgs, ... }: {
|
||||||
imports = [
|
|
||||||
../starship/default.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
programs.fish = {
|
programs.fish = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
|
|
@ -2,48 +2,20 @@
|
||||||
programs.foot = {
|
programs.foot = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
term = "xterm-256color";
|
main = {
|
||||||
title = "foot";
|
include = "${pkgs.foot.themes}/share/foot/themes/catppuccin-mocha";
|
||||||
font = "SpaceMono Nerd Font:size=11";
|
term = "xterm-256color";
|
||||||
letter-spacing = 0;
|
title = "foot";
|
||||||
pad = "25x25";
|
font = "SpaceMono Nerd Font:size=11";
|
||||||
|
letter-spacing = 0;
|
||||||
|
pad = "25x25";
|
||||||
|
};
|
||||||
cursor = {
|
cursor = {
|
||||||
color = "11111b f5e0dc";
|
color = "11111b f5e0dc";
|
||||||
style = "beam";
|
style = "beam";
|
||||||
beam-thickness = 1.5;
|
beam-thickness = 1.5;
|
||||||
};
|
};
|
||||||
colors = {
|
colors = { alpha = 0.9; };
|
||||||
foreground = "cdd6f4";
|
|
||||||
background = "1e1e2e";
|
|
||||||
alpha = 0.9;
|
|
||||||
|
|
||||||
regular0 = "45475a";
|
|
||||||
regular1 = "f38ba8";
|
|
||||||
regular2 = "a6e3a1";
|
|
||||||
regular3 = "f9e2af";
|
|
||||||
regular4 = "89b4fa";
|
|
||||||
regular5 = "f5c2e7";
|
|
||||||
regular6 = "94e2d5";
|
|
||||||
regular7 = "bac2de";
|
|
||||||
|
|
||||||
bright0 = "585b70";
|
|
||||||
bright1 = "f38ba8";
|
|
||||||
bright2 = "a6e3a1";
|
|
||||||
bright3 = "f9e2af";
|
|
||||||
bright4 = "89b4fa";
|
|
||||||
bright5 = "f5c2e7";
|
|
||||||
bright6 = "94e2d5";
|
|
||||||
bright7 = "a6adc8";
|
|
||||||
|
|
||||||
selection-foreground = "cdd6f4";
|
|
||||||
selection-background = "414356";
|
|
||||||
|
|
||||||
search-box-no-match = "11111b f38ba8";
|
|
||||||
search-box-match = "cdd6f4 313244";
|
|
||||||
|
|
||||||
jump-labels = "11111b fab387";
|
|
||||||
urls = "89b4fa";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
"Pictures" = " ";
|
"Pictures" = " ";
|
||||||
"Videos" = " ";
|
"Videos" = " ";
|
||||||
"iso" = " ";
|
"iso" = " ";
|
||||||
".config" = "";
|
".config" = " ";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
./hyprland/keybinds.nix
|
./hyprland/keybinds.nix
|
||||||
./hyprland/execs.nix
|
./hyprland/execs.nix
|
||||||
./hyprlock.nix
|
./hyprlock.nix
|
||||||
../ags/default.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
@ -16,7 +15,6 @@
|
||||||
brightnessctl
|
brightnessctl
|
||||||
xwayland
|
xwayland
|
||||||
swww
|
swww
|
||||||
mpvpaper
|
|
||||||
grim
|
grim
|
||||||
slurp
|
slurp
|
||||||
libnotify
|
libnotify
|
||||||
|
@ -54,10 +52,10 @@
|
||||||
|
|
||||||
general = {
|
general = {
|
||||||
# Gaps and border
|
# Gaps and border
|
||||||
gaps_in = 4;
|
gaps_in = 8;
|
||||||
gaps_out = 5;
|
gaps_out = 8;
|
||||||
gaps_workspaces = 50;
|
gaps_workspaces = 0;
|
||||||
border_size = 3;
|
border_size = 2;
|
||||||
|
|
||||||
# Fallback colours
|
# Fallback colours
|
||||||
"col.active_border" = "rgba(0DB7D4FF)";
|
"col.active_border" = "rgba(0DB7D4FF)";
|
||||||
|
@ -83,10 +81,10 @@
|
||||||
xray = true;
|
xray = true;
|
||||||
special = true;
|
special = true;
|
||||||
new_optimizations = true;
|
new_optimizations = true;
|
||||||
size = 14;
|
size = 2;
|
||||||
passes = 4;
|
passes = 2;
|
||||||
brightness = 1;
|
brightness = 1;
|
||||||
noise = 0.05;
|
noise = 1.17e-2;
|
||||||
contrast = 1;
|
contrast = 1;
|
||||||
popups = true;
|
popups = true;
|
||||||
popups_ignorealpha = 0.6;
|
popups_ignorealpha = 0.6;
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
general {
|
|
||||||
col.active_border = rgba(DFE2EF39)
|
|
||||||
col.inactive_border = rgba(8C909F30)
|
|
||||||
}
|
|
||||||
|
|
||||||
misc {
|
|
||||||
background_color = rgba(0F131CFF)
|
|
||||||
}
|
|
||||||
|
|
||||||
windowrulev2 = bordercolor rgba(ADC6FFAA) rgba(ADC6FF77),pinned:1
|
|
|
@ -2,12 +2,7 @@
|
||||||
wayland.windowManager.hyprland.settings = {
|
wayland.windowManager.hyprland.settings = {
|
||||||
exec-once = [
|
exec-once = [
|
||||||
"${pkgs.swww}/bin/swww-daemon --format xrgb"
|
"${pkgs.swww}/bin/swww-daemon --format xrgb"
|
||||||
"${pkgs.mpvpaper}/bin/mpvpaper DP-1 -f -o 'loop panscan=1.0' ~/Pictures/wallpapers/videos/current"
|
"ags"
|
||||||
"${pkgs.ags}/bin/ags &"
|
|
||||||
"${pkgs.floorp}/bin/floorp"
|
|
||||||
"${pkgs.vesktop}/bin/vesktop"
|
|
||||||
"${pkgs.hyprland}/bin/hyprctl setcursor Bibata-Modern-Classic 24"
|
|
||||||
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
{ pkgs, config, inputs, ... }: {
|
{ pkgs, config, inputs, ... }: {
|
||||||
wayland.windowManager.hyprland.settings = {
|
wayland.windowManager.hyprland.settings = {
|
||||||
|
|
||||||
bindm = [
|
bindm = [ "Super, mouse:272, movewindow" "Super, mouse:273, resizewindow" ];
|
||||||
"Super, mouse:272, movewindow"
|
|
||||||
"Super, mouse:273, resizewindow"
|
|
||||||
];
|
|
||||||
|
|
||||||
bind = [
|
bind = [
|
||||||
"Super, mouse_up, workspace, +1"
|
"Super, mouse_up, workspace, +1"
|
||||||
|
@ -12,37 +9,31 @@
|
||||||
|
|
||||||
"Super+Shift, S, togglespecialworkspace"
|
"Super+Shift, S, togglespecialworkspace"
|
||||||
|
|
||||||
|
"Super, R, exec, ${pkgs.anyrun}/bin/anyrun"
|
||||||
"Super, W, exec, ${pkgs.floorp}/bin/floorp"
|
"Super, W, exec, ${pkgs.floorp}/bin/floorp"
|
||||||
"Super, Q, exec, ${pkgs.foot}/bin/foot"
|
"Super, Q, exec, ${pkgs.foot}/bin/foot"
|
||||||
"Super, C, killactive"
|
"Super, C, killactive"
|
||||||
"Super, V, togglefloating"
|
"Super, V, togglefloating"
|
||||||
"Super, E, exec, ${pkgs.nautilus}/bin/nautilus -w"
|
"Super, E, exec, ${pkgs.nautilus}/bin/nautilus -w"
|
||||||
"SUPERALT, V, exec, pkill fuzzel || cliphist list | fuzzel --no-fuzzy --icon-theme=candy-icons --background-color=1A1513dd --text-color=F8D4D2ff --match-color=FFB3B1ff --border-width=2 --border-radius=15 --border-color=EB8A89ff --selection-color=585b70ff --selection-text-color=F8D4D2ff --selection-match-color=FFB3B1ff --font='Lexend' --prompt='>> ' --dmenu | cliphist decode | wl-copy"
|
"SUPERALT, V, exec, pkill fuzzel || cliphist list | fuzzel --icon-theme=candy-icons --background-color=1A1513dd --text-color=F8D4D2ff --match-color=FFB3B1ff --border-width=2 --border-radius=15 --border-color=EB8A89ff --selection-color=585b70ff --selection-text-color=F8D4D2ff --selection-match-color=FFB3B1ff --font='Lexend' --prompt='>> ' --dmenu | cliphist decode | wl-copy"
|
||||||
|
|
||||||
"Super, L, exec, ${pkgs.hyprlock}/bin/hyprlock"
|
"Super, L, exec, ${pkgs.hyprlock}/bin/hyprlock"
|
||||||
|
|
||||||
# AGS
|
|
||||||
"Super, Tab, exec, ags -t 'toggleAppsWindow()'"
|
|
||||||
"Super, A, exec, ags -t "
|
|
||||||
"Super, D, exec, ags -t sidebar"
|
|
||||||
"Control+Super, R, exec, pkill ags ; ags &"
|
|
||||||
"Control+Super, T, exec, ~/.config/ags/scripts/color_generation/switchwall.sh"
|
|
||||||
"Super, X, exec, for ((i=0; i<$(hyprctl monitors -j | jq length); i++)); do ags -t 'session''$i'; done"
|
|
||||||
|
|
||||||
# recording and ss stuff
|
# recording and ss stuff
|
||||||
"Super, S, exec, pkill slurp || grimblast --freeze copysave area -"
|
"Super, S, exec, pkill slurp || grimblast --freeze copy area"
|
||||||
|
|
||||||
|
# ags stuff
|
||||||
] ++ map (n: "Alt, ${toString n}, exec, movetoworkspacesilent ${toString (
|
"Super + Control, R, exec, pkill ags; ags"
|
||||||
if n == 0
|
"Super, Tab, exec, ags -t launcher"
|
||||||
then 10
|
"Super, X, exec, ags -t powermenu"
|
||||||
else n
|
|
||||||
)}") [1 2 3 4 5 6 7 8 9 0]
|
] ++ map (n:
|
||||||
++ map (n: "Super, ${toString n}, exec, workspace, ${toString (
|
"Alt, ${toString n}, movetoworkspacesilent, ${
|
||||||
if n == 0
|
toString (if n == 0 then 10 else n)
|
||||||
then 10
|
}") [ 1 2 3 4 5 6 7 8 9 0 ] ++ map (n:
|
||||||
else n
|
"Super, ${toString n}, workspace, ${
|
||||||
)}") [1 2 3 4 5 6 7 8 9 0];
|
toString (if n == 0 then 10 else n)
|
||||||
|
}") [ 1 2 3 4 5 6 7 8 9 0 ];
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,139 +0,0 @@
|
||||||
{ config, lib, pkgs, ... }: {
|
|
||||||
programs.fish = {
|
|
||||||
enable = true;
|
|
||||||
|
|
||||||
interactiveShellInit = ''
|
|
||||||
function fish_greeting
|
|
||||||
echo The time is (set_color purple; date +%T; set_color purple)
|
|
||||||
if test -z $SSH_CLIENT;
|
|
||||||
fastfetch
|
|
||||||
else
|
|
||||||
neofetch
|
|
||||||
end
|
|
||||||
end
|
|
||||||
'';
|
|
||||||
|
|
||||||
shellAliases = {
|
|
||||||
"ls" = "eza -l -a --group-directories-first --icons";
|
|
||||||
"grep" = "rg -p";
|
|
||||||
"rg" = "rg -p";
|
|
||||||
|
|
||||||
"cp" = "cp -rv";
|
|
||||||
|
|
||||||
":q" = "exit";
|
|
||||||
":qa" = "pkill fish";
|
|
||||||
".." = "z ..";
|
|
||||||
".2" = "z ../..";
|
|
||||||
".3" = "z ../../..";
|
|
||||||
".4" = "z ../../../..";
|
|
||||||
".5" = "z ../../../../..";
|
|
||||||
".r" = "z /";
|
|
||||||
".h" = "z ~";
|
|
||||||
".c" = "z ~/.config/";
|
|
||||||
".a" = "z ~/.config/ags/";
|
|
||||||
".d" = "z ~/Documents/";
|
|
||||||
".C" = "z ~/Documents/code/";
|
|
||||||
".D" = "z ~/Downloads/";
|
|
||||||
".p" = "z ~/Pictures/";
|
|
||||||
|
|
||||||
# git
|
|
||||||
"gc" = "git clone";
|
|
||||||
"gp" = "git push";
|
|
||||||
"ga" = "git add";
|
|
||||||
"gcm" = "git commit -m";
|
|
||||||
|
|
||||||
"fetch" = "clear ; fastfetch --logo ~/Downloads/gay.png --logo-width 32";
|
|
||||||
"hvim" = "z ~/.config/hypr/ ; nvim ; z";
|
|
||||||
"fvim" = "nvim ~/.config/fish/config.fish";
|
|
||||||
"se" = "sudoedit";
|
|
||||||
"vim" = "nvim";
|
|
||||||
"nvide" = "env -u WAYLAND_DISPLAY neovide --multigrid";
|
|
||||||
"transcat" = "queercat -b -f 1 -v 0.45 -h 0.45";
|
|
||||||
"clock" = "tty-clock -s -C 5 -D -c -b";
|
|
||||||
};
|
|
||||||
|
|
||||||
functions = {
|
|
||||||
# Credit for these 3
|
|
||||||
# https://www.reddit.com/r/linux/comments/1fq0za8/comment/lp1ybdn
|
|
||||||
disks = ''
|
|
||||||
function disks
|
|
||||||
lsblk -o NAME,MOUNTPOINT,FSTYPE,FSUSE%,SIZE
|
|
||||||
end
|
|
||||||
'';
|
|
||||||
|
|
||||||
gr = ''
|
|
||||||
function gr
|
|
||||||
set GROOT (git rev-parse --show-toplevel 2>/dev/null); and cd $GROOT; or return $argv
|
|
||||||
end
|
|
||||||
'';
|
|
||||||
|
|
||||||
mkcd = ''
|
|
||||||
function mkcd
|
|
||||||
mkdir -p -- $argv[1] && cd $argv; or return $status
|
|
||||||
end
|
|
||||||
'';
|
|
||||||
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs = {
|
|
||||||
starship = {
|
|
||||||
enable = true;
|
|
||||||
enableFishIntegration = true;
|
|
||||||
settings = {
|
|
||||||
add_newline = false;
|
|
||||||
format = "[](bg:none fg:#f38ba8)$username[](bg:#fab387 fg:#f38ba8)$hostname[](bg:#f9e2af fg:#fab387)$directory[](bg:#a6e3a1 fg:#f9e2af)$git_branch[](bg:#74c7ec fg:#a6e3a1)$cmd_duration[](bg:none fg:#74c7ec)$line_break$character";
|
|
||||||
|
|
||||||
character = {
|
|
||||||
success_symbol = "[ ](#a6e3a1 bold)";
|
|
||||||
error_symbol = "[ ](#f38ba8)";
|
|
||||||
vicmd_symbol = "[ ❯](#f9e2af)";
|
|
||||||
};
|
|
||||||
|
|
||||||
username = {
|
|
||||||
format = "[ $user ](bg:#f38ba8 fg:#1e1e2e bold)";
|
|
||||||
show_always = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
hostname = {
|
|
||||||
format = "[ $hostname ]( bg:#fab387 fg:#1e1e2e bold)";
|
|
||||||
ssh_only = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
directory = {
|
|
||||||
truncation_length = 5;
|
|
||||||
format = "[ $path](bg:#f9e2af fg:#1e1e2e bold)";
|
|
||||||
substitutions = {
|
|
||||||
"Documents" = " ";
|
|
||||||
"Downloads" = " ";
|
|
||||||
"Music" = " ";
|
|
||||||
"Pictures" = " ";
|
|
||||||
"Videos" = " ";
|
|
||||||
"iso" = " ";
|
|
||||||
".config" = "";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
git_branch = {
|
|
||||||
format = "[ $branch](bg:#a6e3a1 fg:#1e1e2e bold)";
|
|
||||||
};
|
|
||||||
|
|
||||||
cmd_duration = {
|
|
||||||
min_time = 4;
|
|
||||||
show_milliseconds = false;
|
|
||||||
format = "[ $duration](bg:#74c7ec fg:#1e1e2e bold)";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
zoxide = {
|
|
||||||
enable = true;
|
|
||||||
enableFishIntegration = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
atuin = {
|
|
||||||
enable = true;
|
|
||||||
enableFishIntegration = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Reference in a new issue