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";
|
powerMenu = "${rofiPower}/bin/rofi-power";
|
||||||
|
|
||||||
wallpapers = {
|
wallpapers = {
|
||||||
hd = ./wallpapers/river-1920.png;
|
hd = ../sway/wallpapers/river-1920.png;
|
||||||
qhd = ./wallpapers/river-2560.png;
|
qhd = ../sway/wallpapers/river-2560.png;
|
||||||
uhd = ./wallpapers/river-3840.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";
|
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
|
dim_strength = 0.5
|
||||||
}
|
}
|
||||||
|
|
||||||
|
animations {
|
||||||
|
animation = workspaces,1,3,default
|
||||||
|
animation = windows,1,3,default
|
||||||
|
animation = windowsOut,1,3,default
|
||||||
|
}
|
||||||
|
|
||||||
input {
|
input {
|
||||||
kb_layout = us
|
kb_layout = us
|
||||||
kb_options = lv3:ralt_switch,eurosign:5
|
kb_options = lv3:ralt_switch,eurosign:5
|
||||||
|
@ -53,7 +59,7 @@ in
|
||||||
workspace_back_and_forth = true
|
workspace_back_and_forth = true
|
||||||
}
|
}
|
||||||
|
|
||||||
$mod = Mod4
|
$mod = SUPER
|
||||||
|
|
||||||
bind = $mod,Return,exec,${terminal}
|
bind = $mod,Return,exec,${terminal}
|
||||||
bind = $mod_SHIFT,Q,killactive
|
bind = $mod_SHIFT,Q,killactive
|
||||||
|
@ -72,8 +78,8 @@ in
|
||||||
|
|
||||||
bind = $mod_SHIFT,Space,togglefloating,active
|
bind = $mod_SHIFT,Space,togglefloating,active
|
||||||
|
|
||||||
bind = $mod,T,togglefullscreen,0
|
bind = $mod,T,fullscreen,0
|
||||||
bind = $mod_SHIFT,T,togglefullscreen,1
|
bind = $mod_SHIFT,T,fullscreen,1
|
||||||
|
|
||||||
bind = $mod,1,workspace,1
|
bind = $mod,1,workspace,1
|
||||||
bind = $mod,2,workspace,2
|
bind = $mod,2,workspace,2
|
||||||
|
@ -116,18 +122,21 @@ in
|
||||||
bind = $mod,D,exec,${pkgs.swaynotificationcenter}/bin/swaync-client -t -sw
|
bind = $mod,D,exec,${pkgs.swaynotificationcenter}/bin/swaync-client -t -sw
|
||||||
|
|
||||||
bind = $mod,W,togglegroup
|
bind = $mod,W,togglegroup
|
||||||
|
bind = $mod,N,changegroupactive,b
|
||||||
|
bind = $mod,O,changegroupactive,f
|
||||||
|
|
||||||
bindm = ALT,mouse:272,movewindow
|
bindm = ALT,mouse:272,movewindow
|
||||||
bindm = ALT,mouse:273,resizewindow
|
bindm = ALT,mouse:273,resizewindow
|
||||||
|
|
||||||
windowrulev2 = workspace 1,^(firefox)$
|
windowrulev2 = workspace 1,class:^(firefox)$
|
||||||
windowrulev2 = workspace 2,^(foot)$
|
windowrulev2 = workspace 2,class:^(foot)$
|
||||||
windowrulev2 = workspace 3,^(emacs)$
|
windowrulev2 = workspace 3,class:^(emacs)$
|
||||||
|
|
||||||
exec = ${pkgs.networkmanagerapplet}/bin/nm-applet --indicator
|
exec = ${pkgs.networkmanagerapplet}/bin/nm-applet --indicator
|
||||||
|
|
||||||
exec-once = ${pkgs.swaybg}/bin/swaybg -i ${wallpapers.qhd} -m fill
|
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");
|
(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;
|
height = 32;
|
||||||
|
|
||||||
modules-left = [
|
modules-left = [
|
||||||
"sway/workspaces"
|
# "sway/workspaces"
|
||||||
|
"wlr/workspaces"
|
||||||
"sway/mode"
|
"sway/mode"
|
||||||
"custom/now_playing"
|
"custom/now_playing"
|
||||||
];
|
];
|
||||||
modules-center = [
|
modules-center = [
|
||||||
"sway/window"
|
"sway/window"
|
||||||
|
"hyprland/window"
|
||||||
];
|
];
|
||||||
modules-right = [
|
modules-right = [
|
||||||
"network"
|
"network"
|
||||||
|
@ -119,10 +121,11 @@ in
|
||||||
max-length = 120;
|
max-length = 120;
|
||||||
};
|
};
|
||||||
|
|
||||||
"sway/workspaces" = {
|
"wlr/workspaces" = {
|
||||||
all-outputs = false;
|
all-outputs = false;
|
||||||
disable-scroll = true;
|
# disable-scroll = true;
|
||||||
format = "{icon} {name}";
|
format = "{icon} {name}";
|
||||||
|
sort-by-number = true;
|
||||||
format-icons = {
|
format-icons = {
|
||||||
"urgent" = "";
|
"urgent" = "";
|
||||||
"focused" = "";
|
"focused" = "";
|
||||||
|
|
|
@ -1,12 +1,15 @@
|
||||||
{ pkgs
|
{ pkgs
|
||||||
, config
|
, config
|
||||||
, lib
|
, lib
|
||||||
|
, inputs
|
||||||
, ...
|
, ...
|
||||||
}:
|
}:
|
||||||
with lib; let
|
with lib; let
|
||||||
cfg = config.eboskma.greetd;
|
cfg = config.eboskma.greetd;
|
||||||
|
|
||||||
style = builtins.replaceStrings [ "{WALLPAPER}" ] [ (builtins.toString ../../home-manager/modules/sway/wallpapers/river-2560.png) ] (builtins.readFile ./greetd.css);
|
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
|
in
|
||||||
{
|
{
|
||||||
options.eboskma.greetd = {
|
options.eboskma.greetd = {
|
||||||
|
|
|
@ -18,7 +18,7 @@ final: prev: rec {
|
||||||
|
|
||||||
bl3auto = prev.pkgs.callPackage ../pkgs/bl3auto { inherit (prev.pkgs) lib buildGoModule fetchFromGitHub; };
|
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 {
|
src = prev.fetchFromGitHub {
|
||||||
owner = "Alexays";
|
owner = "Alexays";
|
||||||
repo = "Waybar";
|
repo = "Waybar";
|
||||||
|
|
|
@ -68,6 +68,7 @@ in
|
||||||
signingKeyFormat = "ssh";
|
signingKeyFormat = "ssh";
|
||||||
};
|
};
|
||||||
gpg.enable = true;
|
gpg.enable = true;
|
||||||
|
hyprland.enable = true;
|
||||||
neovim.enable = true;
|
neovim.enable = true;
|
||||||
obs-studio.enable = true;
|
obs-studio.enable = true;
|
||||||
rclone = {
|
rclone = {
|
||||||
|
|
Loading…
Reference in a new issue