Hyprland fixes
This commit is contained in:
parent
de75fd3e82
commit
51c1659b98
5 changed files with 30 additions and 14 deletions
|
@ -10,9 +10,9 @@ let
|
|||
powerMenu = "${rofiPower}/bin/rofi-power";
|
||||
|
||||
wallpapers = {
|
||||
hd = ./wallpapers/river-1920.png;
|
||||
qhd = ./wallpapers/river-2560.png;
|
||||
uhd = ./wallpapers/river-3840.png;
|
||||
hd = ../sway/wallpapers/river-1920.png;
|
||||
qhd = ../sway/wallpapers/river-2560.png;
|
||||
uhd = ../sway/wallpapers/river-3840.png;
|
||||
};
|
||||
swaylockcmd = "${pkgs.swaylock-effects}/bin/swaylock --ignore-empty-password --daemonize --show-failed-attempts --indicator-caps-lock --clock --image ${wallpapers.qhd} --fade-in 0.5 --scaling fill";
|
||||
|
||||
|
@ -38,6 +38,12 @@ in
|
|||
dim_strength = 0.5
|
||||
}
|
||||
|
||||
animations {
|
||||
animation = workspaces,1,3,default
|
||||
animation = windows,1,3,default
|
||||
animation = windowsOut,1,3,default
|
||||
}
|
||||
|
||||
input {
|
||||
kb_layout = us
|
||||
kb_options = lv3:ralt_switch,eurosign:5
|
||||
|
@ -53,7 +59,7 @@ in
|
|||
workspace_back_and_forth = true
|
||||
}
|
||||
|
||||
$mod = Mod4
|
||||
$mod = SUPER
|
||||
|
||||
bind = $mod,Return,exec,${terminal}
|
||||
bind = $mod_SHIFT,Q,killactive
|
||||
|
@ -72,8 +78,8 @@ in
|
|||
|
||||
bind = $mod_SHIFT,Space,togglefloating,active
|
||||
|
||||
bind = $mod,T,togglefullscreen,0
|
||||
bind = $mod_SHIFT,T,togglefullscreen,1
|
||||
bind = $mod,T,fullscreen,0
|
||||
bind = $mod_SHIFT,T,fullscreen,1
|
||||
|
||||
bind = $mod,1,workspace,1
|
||||
bind = $mod,2,workspace,2
|
||||
|
@ -116,18 +122,21 @@ in
|
|||
bind = $mod,D,exec,${pkgs.swaynotificationcenter}/bin/swaync-client -t -sw
|
||||
|
||||
bind = $mod,W,togglegroup
|
||||
bind = $mod,N,changegroupactive,b
|
||||
bind = $mod,O,changegroupactive,f
|
||||
|
||||
bindm = ALT,mouse:272,movewindow
|
||||
bindm = ALT,mouse:273,resizewindow
|
||||
|
||||
windowrulev2 = workspace 1,^(firefox)$
|
||||
windowrulev2 = workspace 2,^(foot)$
|
||||
windowrulev2 = workspace 3,^(emacs)$
|
||||
windowrulev2 = workspace 1,class:^(firefox)$
|
||||
windowrulev2 = workspace 2,class:^(foot)$
|
||||
windowrulev2 = workspace 3,class:^(emacs)$
|
||||
|
||||
exec = ${pkgs.networkmanagerapplet}/bin/nm-applet --indicator
|
||||
|
||||
exec-once = ${pkgs.swaybg}/bin/swaybg -i ${wallpapers.qhd} -m fill
|
||||
exec-once = ${cfg.package}/bin/hyprctl setcursor Nordzy-cursors 24
|
||||
exec-once = ${config.wayland.windowManager.hyprland.package}/bin/hyprctl setcursor Nordzy-cursors 24
|
||||
exec-once = ${pkgs.systemd}/bin/systemctl --user start swaync
|
||||
'' +
|
||||
(lib.optionalString config.eboskma.programs.emacs.enable "bind = $mod,C,exec,${config.eboskma.programs.emacs.package}/bin/emacsclient -c");
|
||||
};
|
||||
|
|
|
@ -29,12 +29,14 @@ in
|
|||
height = 32;
|
||||
|
||||
modules-left = [
|
||||
"sway/workspaces"
|
||||
# "sway/workspaces"
|
||||
"wlr/workspaces"
|
||||
"sway/mode"
|
||||
"custom/now_playing"
|
||||
];
|
||||
modules-center = [
|
||||
"sway/window"
|
||||
"hyprland/window"
|
||||
];
|
||||
modules-right = [
|
||||
"network"
|
||||
|
@ -119,10 +121,11 @@ in
|
|||
max-length = 120;
|
||||
};
|
||||
|
||||
"sway/workspaces" = {
|
||||
"wlr/workspaces" = {
|
||||
all-outputs = false;
|
||||
disable-scroll = true;
|
||||
# disable-scroll = true;
|
||||
format = "{icon} {name}";
|
||||
sort-by-number = true;
|
||||
format-icons = {
|
||||
"urgent" = "";
|
||||
"focused" = "";
|
||||
|
|
|
@ -1,12 +1,15 @@
|
|||
{ pkgs
|
||||
, config
|
||||
, lib
|
||||
, inputs
|
||||
, ...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.eboskma.greetd;
|
||||
|
||||
style = builtins.replaceStrings [ "{WALLPAPER}" ] [ (builtins.toString ../../home-manager/modules/sway/wallpapers/river-2560.png) ] (builtins.readFile ./greetd.css);
|
||||
|
||||
hyprland = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
||||
in
|
||||
{
|
||||
options.eboskma.greetd = {
|
||||
|
|
|
@ -18,7 +18,7 @@ final: prev: rec {
|
|||
|
||||
bl3auto = prev.pkgs.callPackage ../pkgs/bl3auto { inherit (prev.pkgs) lib buildGoModule fetchFromGitHub; };
|
||||
|
||||
waybar = prev.pkgs.waybar.overrideAttrs (prevAttrs: {
|
||||
waybar = prev.waybar.overrideAttrs (prevAttrs: {
|
||||
src = prev.fetchFromGitHub {
|
||||
owner = "Alexays";
|
||||
repo = "Waybar";
|
||||
|
|
|
@ -68,6 +68,7 @@ in
|
|||
signingKeyFormat = "ssh";
|
||||
};
|
||||
gpg.enable = true;
|
||||
hyprland.enable = true;
|
||||
neovim.enable = true;
|
||||
obs-studio.enable = true;
|
||||
rclone = {
|
||||
|
|
Loading…
Reference in a new issue