diff --git a/desktops/hyprland/foot.nix b/desktops/hyprland/foot.nix index 622f516..e90b986 100644 --- a/desktops/hyprland/foot.nix +++ b/desktops/hyprland/foot.nix @@ -14,7 +14,7 @@ beam-thickness = 1.5; }; colors = { - alpha=1; + alpha=0.8; background = "191c1e"; foreground = "e1e2e5"; regular0 = "191c1e"; diff --git a/desktops/hyprland/hyprland.nix b/desktops/hyprland/hyprland.nix index 8e2fe4c..3cf5f34 100644 --- a/desktops/hyprland/hyprland.nix +++ b/desktops/hyprland/hyprland.nix @@ -11,10 +11,12 @@ "__GLX_VENDOR_LIBRARY_NAME,nvidia" "WLR_NO_HARDWARE_CURSORS,1" "NIXOS_OZONE_WL,1" + # Fixes black screen on Jellyfin + # https://github.com/jellyfin/jellyfin-media-player/issues/165#issuecomment-1569842393 + "QT_QPA_PLATFORM,xcb" ]; exec-once = [ - "dunst" - "waybar" + "ags" "swww init" "swww img ~/Pictures/Wallpapers/wallpaper.jpg --transition-type center" ]; @@ -29,17 +31,20 @@ layout = "dwindle"; }; dwindle.preserve_split = true; + dwindle.pseudotile = true; input = { accel_profile = "flat"; }; bind = import ./keybinds.nix; bindm = import ./mousebinds.nix; bindr = [ - "SUPER,SUPER_L,exec,pkill wofi || wofi --show=drun" + "SUPER,SUPER_L,exec,pkill fuzzel || fuzzel" + "SUPER,space,exec,(pkill fuzzel && hyprctl workspace previous) || (hyprctl workspace empty && fuzzel)" ]; monitor = import ./monitors.nix; windowrule = [ - "pseudo,^(Alacritty)$" + "pseudo,^(discord)$" + "monitor DP-3,^(discord)$" ]; layerrule = import ./layerrules.nix; decoration = import ./decoration.nix; @@ -53,9 +58,10 @@ configDir = ./ags; }; programs.fuzzel = import ./fuzzel.nix; - programs.alacritty.enable = true; + # programs.alacritty.enable = true; + programs.fish.enable = true; programs.foot = import ./foot.nix; - programs.waybar = import ./waybar.nix; + # programs.waybar = import ./waybar.nix; programs.wofi = import ./wofi.nix; programs.swaylock = import ./swaylock.nix; @@ -63,7 +69,7 @@ xwaylandvideobridge hyprpicker wl-clipboard - wttrbar + # wttrbar swww # ags glib diff --git a/desktops/hyprland/keybinds.nix b/desktops/hyprland/keybinds.nix index 3e72e7d..0ff0618 100644 --- a/desktops/hyprland/keybinds.nix +++ b/desktops/hyprland/keybinds.nix @@ -1,5 +1,20 @@ [ "SUPER,Q,killactive" - "SUPER,T,exec,alacritty" + "SUPER,T,exec,foot" "SUPER_SHIFT,C,exec,hyprpicker" + "SUPER,P,pseudo," + + "SUPER_SHIFT,up,movewindow,u" + "SUPER_SHIFT,down,movewindow,d" + "SUPER_SHIFT,left,movewindow,l" + "SUPER_SHIFT,right,movewindow,r" + + "SUPER,up,movefocus,u" + "SUPER,down,movefocus,d" + "SUPER,left,movefocus,l" + "SUPER,right,movefocus,r" + + "SUPER,Tab,workspace,m+1" + "SUPER,mouse_up,workspace,m+1" + "SUPER,mouse_down,workspace,m-1" ]