Fixed minor bugs
This commit is contained in:
@@ -6,12 +6,17 @@ let
|
|||||||
theme = "-theme $HOME/.config/rofi/custom.rasi";
|
theme = "-theme $HOME/.config/rofi/custom.rasi";
|
||||||
menu = "rofi -show drun ${theme}";
|
menu = "rofi -show drun ${theme}";
|
||||||
filebrowser = "rofi -show filebrowser ${theme}";
|
filebrowser = "rofi -show filebrowser ${theme}";
|
||||||
power =
|
power = "rofi -show p -modi p:rofi-power-menu -theme $HOME/.config/rofi/power.rasi";
|
||||||
"rofi -show p -modi p:rofi-power-menu -theme $HOME/.config/rofi/power.rasi";
|
|
||||||
apps = "rofi -show window ${theme}";
|
apps = "rofi -show window ${theme}";
|
||||||
in {
|
in
|
||||||
|
{
|
||||||
|
|
||||||
imports = [ ./hypridle.nix ./hyprlock.nix ./mako.nix ./portal.nix ];
|
imports = [
|
||||||
|
./hypridle.nix
|
||||||
|
./hyprlock.nix
|
||||||
|
./mako.nix
|
||||||
|
./portal.nix
|
||||||
|
];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
catppuccin-cursors.mochaDark
|
catppuccin-cursors.mochaDark
|
||||||
@@ -23,12 +28,10 @@ in {
|
|||||||
playerctl
|
playerctl
|
||||||
];
|
];
|
||||||
|
|
||||||
systemd.user.targets.hyprland-session.Unit.Wants =
|
systemd.user.targets.hyprland-session.Unit.Wants = [ "xdg-desktop-autostart.target" ];
|
||||||
[ "xdg-desktop-autostart.target" ];
|
|
||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
package =
|
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
|
||||||
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
|
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
xwayland.enable = true;
|
xwayland.enable = true;
|
||||||
@@ -39,12 +42,10 @@ in {
|
|||||||
enableXdgAutostart = false;
|
enableXdgAutostart = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
plugins =
|
plugins = with inputs.hyprland-plugins.packages.${pkgs.stdenv.hostPlatform.system}; [
|
||||||
with inputs.hyprland-plugins.packages.${pkgs.stdenv.hostPlatform.system};
|
#hyprbars
|
||||||
[
|
# hyprexpo
|
||||||
#hyprbars
|
];
|
||||||
# hyprexpo
|
|
||||||
];
|
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
env = [
|
env = [
|
||||||
@@ -65,8 +66,10 @@ in {
|
|||||||
"XCURSOR_SIZE,24"
|
"XCURSOR_SIZE,24"
|
||||||
];
|
];
|
||||||
|
|
||||||
monitor =
|
monitor = [
|
||||||
[ "DP-1, 1920x1080@60, 1920x0, 1" "HDMI-A-2, 1920x1080@60, 0x0, 1" ];
|
"DP-1, 1920x1080@60, 1920x0, 1"
|
||||||
|
"HDMI-A-2, 1920x1080@60, 0x0, 1"
|
||||||
|
];
|
||||||
|
|
||||||
input = {
|
input = {
|
||||||
kb_layout = "de";
|
kb_layout = "de";
|
||||||
@@ -162,7 +165,7 @@ in {
|
|||||||
disable_splash_rendering = true;
|
disable_splash_rendering = true;
|
||||||
mouse_move_enables_dpms = true;
|
mouse_move_enables_dpms = true;
|
||||||
key_press_enables_dpms = true;
|
key_press_enables_dpms = true;
|
||||||
vfr = true;
|
# vfr = true;
|
||||||
vrr = 0;
|
vrr = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -189,7 +192,11 @@ in {
|
|||||||
# "noblur, class:^(org\\.gnome\\.|io\\.github\\.|org\\.gtk\\.)"
|
# "noblur, class:^(org\\.gnome\\.|io\\.github\\.|org\\.gtk\\.)"
|
||||||
# ];
|
# ];
|
||||||
|
|
||||||
exec-once = [ "awww-daemon & disown" "waybar &" ];
|
exec-once = [
|
||||||
|
"awww-daemon --no-cache & disown"
|
||||||
|
"awww img ~/Pictures/Wallpapers/Ghost_in_the_Shell.png"
|
||||||
|
"waybar &"
|
||||||
|
];
|
||||||
|
|
||||||
# Keybindings
|
# Keybindings
|
||||||
bind = [
|
bind = [
|
||||||
@@ -261,8 +268,7 @@ in {
|
|||||||
"${super}, mouse_up, workspace, e-1"
|
"${super}, mouse_up, workspace, e-1"
|
||||||
|
|
||||||
# Screenshot
|
# Screenshot
|
||||||
''
|
''${super}, Z, exec, grim -g "$(slurp)" $HOME/Pictures/Screenshots/$(date +'%s_grim.png')''
|
||||||
${super}, Z, exec, grim -g "$(slurp)" $HOME/Pictures/Screenshots/$(date +'%s_grim.png')''
|
|
||||||
"${super}, U, exec, grim $HOME/Pictures/Screenshots/$(date +'%s_grim.png')"
|
"${super}, U, exec, grim $HOME/Pictures/Screenshots/$(date +'%s_grim.png')"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -189,7 +189,7 @@
|
|||||||
f = "nvim $(fzf)";
|
f = "nvim $(fzf)";
|
||||||
tree = "eza --icons=always -T";
|
tree = "eza --icons=always -T";
|
||||||
i = "kitty +kitten icat";
|
i = "kitty +kitten icat";
|
||||||
cat = "bat --color=always --style=numbers";
|
bat = "bat --color=always --style=numbers";
|
||||||
grep = "rg";
|
grep = "rg";
|
||||||
cp = "rsync -ah --progress";
|
cp = "rsync -ah --progress";
|
||||||
nix-switch =
|
nix-switch =
|
||||||
|
|||||||
Reference in New Issue
Block a user