Restore display settings to fix rotation
Change some binds, add reference workspace for zotero
This commit is contained in:
parent
1680557067
commit
ae6508c15b
|
@ -18,6 +18,7 @@ let
|
||||||
gsettings set $gnome_schema cursor-theme '${cursor-theme}'
|
gsettings set $gnome_schema cursor-theme '${cursor-theme}'
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
anyrunPackage = anyrun.packages.${pkgs.system}.anyrun;
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
hyprland.homeManagerModules.default
|
hyprland.homeManagerModules.default
|
||||||
|
@ -50,6 +51,7 @@ in {
|
||||||
};
|
};
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
source = ./macchiato.conf
|
source = ./macchiato.conf
|
||||||
|
source = ./display.conf
|
||||||
monitor=,preferred,auto,auto
|
monitor=,preferred,auto,auto
|
||||||
|
|
||||||
env = XDG_CURRENT_DESKTOP=Hyprland
|
env = XDG_CURRENT_DESKTOP=Hyprland
|
||||||
|
@ -122,21 +124,15 @@ in {
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||||
bind = SUPER, Return, exec, ${pkgs.alacritty}/bin/alacritty
|
bind = SUPER, Return, exec, ${pkgs.alacritty}/bin/alacritty
|
||||||
bind = SUPER, F1, exec, ${pkgs.swaylock-effects}/bin/swaylock
|
bind = SUPER, F1, exec, ${pkgs.swaylock-effects}/bin/swaylock
|
||||||
bind = SUPER, X, exec, emacsclient -c -a 'emacs'
|
bind = SUPER, X, exec, ${pkgs.emacs}/bin/emacsclient -c -a 'emacs'
|
||||||
bind = SUPER, T, exec, ${pkgs.xfce.thunar}/bin/thunar
|
bind = SUPER, T, exec, ${pkgs.xfce.thunar}/bin/thunar
|
||||||
|
bind = SUPER, Space, exec, ${anyrunPackage}/bin/anyrun
|
||||||
# anyrun/rofi binds
|
bind = SUPER, M, fullscreen, 0
|
||||||
bind = SUPER, Space, exec, ${
|
bind = SUPER SHIFT, Q, killactive,
|
||||||
anyrun.packages.${pkgs.system}.anyrun
|
bind = SUPER SHIFT, Space, togglefloating
|
||||||
}/bin/anyrun
|
|
||||||
bind = SUPER SHIFT, Return, exec, pkill rofi || ${pkgs.rofi-wayland}/bin/rofi -show ssh
|
bind = SUPER SHIFT, Return, exec, pkill rofi || ${pkgs.rofi-wayland}/bin/rofi -show ssh
|
||||||
bind = SUPER SHIFT, P, exec, pkill rofi || ${pkgs.rofi-wayland}/bin/rofi -show power-menu
|
bind = SUPER SHIFT, P, exec, pkill rofi || ${pkgs.rofi-wayland}/bin/rofi -show power-menu
|
||||||
|
|
||||||
bind = SUPER, B, togglefloating
|
|
||||||
bind = SUPER SHIFT, Q, killactive,
|
|
||||||
bind = SUPER, M, fullscreen, 1
|
|
||||||
bind = SUPER SHIFT, M, fullscreen, 0
|
|
||||||
|
|
||||||
# Misc useful binds
|
# Misc useful binds
|
||||||
bind=,Print,exec,${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp)"
|
bind=,Print,exec,${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp)"
|
||||||
# Sound
|
# Sound
|
||||||
|
@ -200,18 +196,18 @@ in {
|
||||||
windowrule = workspace name:chat,(fractal)
|
windowrule = workspace name:chat,(fractal)
|
||||||
windowrule = workspace name:chat,(discord)
|
windowrule = workspace name:chat,(discord)
|
||||||
windowrule = workspace name:chat,(teams-for-linux)
|
windowrule = workspace name:chat,(teams-for-linux)
|
||||||
|
windowrulev2 = workspace name:chat,title:(Zoom|zoom)
|
||||||
# call
|
|
||||||
bind = SUPER, Z, moveworkspacetomonitor, name:call current
|
|
||||||
bind = SUPER, Z, workspace, name:call
|
|
||||||
bind = SUPER SHIFT, Z, movetoworkspace, name:call
|
|
||||||
windowrulev2 = workspace name:call,title:(Zoom|zoom)
|
|
||||||
windowrulev2 = float,title:(Zoom|zoom)
|
windowrulev2 = float,title:(Zoom|zoom)
|
||||||
windowrulev2 = center,title:(Zoom|zoom)
|
windowrulev2 = center,title:(Zoom|zoom)
|
||||||
windowrulev2 = maxsize 800 600,title:(Zoom|zoom)
|
windowrulev2 = maxsize 800 600,title:(Zoom|zoom)
|
||||||
windowrulev2 = nofullscreenrequest,title:(Zoom|zoom)
|
windowrulev2 = nofullscreenrequest,title:(Zoom|zoom)
|
||||||
windowrulev2 = nomaximizerequest,title:(Zoom|zoom)
|
windowrulev2 = nomaximizerequest,title:(Zoom|zoom)
|
||||||
|
|
||||||
|
# reference
|
||||||
|
bind = SUPER, Z, moveworkspacetomonitor, name:reference current
|
||||||
|
bind = SUPER, Z, workspace, name:reference
|
||||||
|
bind = SUPER SHIFT, Z, movetoworkspace, name:reference
|
||||||
|
|
||||||
# music
|
# music
|
||||||
bind = SUPER, S, moveworkspacetomonitor, name:music current
|
bind = SUPER, S, moveworkspacetomonitor, name:music current
|
||||||
bind = SUPER, S, workspace, name:music
|
bind = SUPER, S, workspace, name:music
|
||||||
|
|
|
@ -156,23 +156,17 @@ in {
|
||||||
outputs = [
|
outputs = [
|
||||||
{
|
{
|
||||||
criteria = "eDP-1";
|
criteria = "eDP-1";
|
||||||
mode = "1920x1080";
|
|
||||||
position = "0,305";
|
position = "0,305";
|
||||||
scale = 1.0;
|
|
||||||
status = "enable";
|
status = "enable";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
criteria = "Iiyama North America PLB2403WS 0574281251316";
|
criteria = "Iiyama North America PLB2403WS 0574281251316";
|
||||||
mode = "1920x1200";
|
|
||||||
position = "1920,185";
|
position = "1920,185";
|
||||||
scale = 1.0;
|
|
||||||
status = "enable";
|
status = "enable";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
criteria = "Dell Inc. DELL U2417H 5K9YD872FY1L";
|
criteria = "Dell Inc. DELL U2417H 5K9YD872FY1L";
|
||||||
mode = "1920x1080";
|
|
||||||
position = "3840,0";
|
position = "3840,0";
|
||||||
scale = 1.0;
|
|
||||||
status = "enable";
|
status = "enable";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
@ -198,4 +192,10 @@ in {
|
||||||
exec = "${pkgs.swww}/bin/swww img ${wallpapers.outputs.default}";
|
exec = "${pkgs.swww}/bin/swww img ${wallpapers.outputs.default}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
xdg.configFile."hypr/display.conf".text = ''
|
||||||
|
monitor=eDP-1,preferred,auto,1
|
||||||
|
monitor=desc:Iiyama North America PLB2403WS 0574281251316,preferred,auto,1
|
||||||
|
monitor=desc:Dell Inc. DELL U2417H 5K9YD872FY1L,preferred,auto,1,transform,1
|
||||||
|
monitor=desc:Acer Technologies ED270R TJMEE0043W01,highrr,auto,1
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue