feat: add fzf and remove bluetooth window rules

This commit is contained in:
matt1432 2023-06-27 23:19:28 +02:00
parent 102e3de7e7
commit b3e357dfe2
4 changed files with 76 additions and 53 deletions

View file

@ -2,6 +2,8 @@ what is currently not working:
- gdm thinks i tried to login when pressing on the user - gdm thinks i tried to login when pressing on the user
what i want to do: what i want to do:
- split up configs well
- learn flakes - learn flakes
- give more stuff over to home-manager
# Docs
Since I use my laptop with one user, I symlinked the configs to my home directory following the tutorial [here](https://nixos.wiki/wiki/NixOS_configuration_editors)

View file

@ -32,7 +32,6 @@ exec-once = squeekboard
exec-once = $menu exec-once = $menu
exec-once = hyprpaper exec-once = hyprpaper
exec-once = $HYPR_PATH/lose-focus.sh
# after boot, there are 2 bars for some reason, so I kill them and rerun the command # after boot, there are 2 bars for some reason, so I kill them and rerun the command
exec-once = bash -c "killall -r -0 waybar && killall -r waybar; waybar" exec-once = bash -c "killall -r -0 waybar && killall -r waybar; waybar"
@ -60,7 +59,7 @@ input {
follow_mouse = 1 follow_mouse = 1
touchpad { touchpad {
natural_scroll = no natural_scroll = yes
} }
sensitivity = 0 # -1.0 - 1.0, 0 means no modification. sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
@ -155,10 +154,6 @@ windowrule = float,title:^(Open File)$
windowrule = pin,^(nm-tray)$ windowrule = pin,^(nm-tray)$
#windowrule = move cursor 0 -35,^(nm-tray)$ #windowrule = move cursor 0 -35,^(nm-tray)$
windowrule = float,^(.blueman-manager-wrapped)$
windowrule = move cursor 0 0,^(.blueman-manager-wrapped)$
windowrule = size 400 581,^(.blueman-manager-wrapped)$
# See https://wiki.hyprland.org/Configuring/Keywords/ for more # See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER $mainMod = SUPER

View file

@ -5,48 +5,68 @@ let
in in
{ {
programs.eww = { programs = {
enable = true; fzf = {
configDir = "${configDir}/eww"; # see hyprland.nix for scripts path enable = true;
package = enableBashIntegration = true;
(builtins.getFlake "github:matt1432/eww-exclusiver").packages.x86_64-linux.default;
};
programs.alacritty = {
enable = true;
settings = {
env = {
POKE = "true";
};
window = {
padding = {
x = 0;
y = 10;
};
opacity = 0.8;
};
colors = { colors = {
primary = { fg = "ffffff";
background = "0x0c0c0c"; bg = "4b5263";
foreground = "0xfcfcfc"; hl = "d858fe";
"fg+" = "#ffffff";
"bg+" = "#4b5263";
"hl+" = "#d858fe";
info = "#98c379";
prompt = "#61afef";
pointer = "#be5046";
marker = "#e5c07b";
spinner = "#61afef";
header = "#61afef";
};
};
dim_foreground = "0xeff0f1"; eww = {
bright_foreground = "0xffffff"; enable = true;
dim_background = "0x31363b"; configDir = "${configDir}/eww"; # see hyprland.nix for scripts path
bright_background = "0x000000"; package = (builtins.getFlake "github:matt1432/eww-exclusiver").packages.x86_64-linux.default;
};
alacritty = {
enable = true;
settings = {
env = {
POKE = "true";
}; };
normal = {
black = "0x232627"; window = {
red = "0xed1515"; padding = {
green = "0x11d116"; x = 0;
yellow = "0xf67400"; y = 10;
blue = "0x1d99f3"; };
magenta = "0x9b59b6";
cyan = "0x1abc9c"; opacity = 0.8;
white = "0xfcfcfc"; };
colors = {
primary = {
background = "0x0c0c0c";
foreground = "0xfcfcfc";
dim_foreground = "0xeff0f1";
bright_foreground = "0xffffff";
dim_background = "0x31363b";
bright_background = "0x000000";
};
normal = {
black = "0x232627";
red = "0xed1515";
green = "0x11d116";
yellow = "0xf67400";
blue = "0x1d99f3";
magenta = "0x9b59b6";
cyan = "0x1abc9c";
white = "0xfcfcfc";
};
}; };
}; };
}; };

View file

@ -1,11 +1,17 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
programs.waybar = { programs = {
enable = true; btop = {
package = pkgs.waybar.overrideAttrs (oldAttrs: { enable = true;
mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ]; };
});
waybar = {
enable = true;
package = pkgs.waybar.overrideAttrs (oldAttrs: {
mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ];
});
};
}; };
home.packages = with pkgs; home.packages = with pkgs;