fixes
This commit is contained in:
@@ -6,8 +6,8 @@
|
|||||||
settings = [
|
settings = [
|
||||||
{ profile.name = "default";
|
{ profile.name = "default";
|
||||||
profile.exec = [
|
profile.exec = [
|
||||||
/home/djai/.config/hypr/scripts/waybar.sh
|
"/home/djai/.config/hypr/scripts/waybar.sh"
|
||||||
/home/djai/.config/hypr/scripts/bg.sh
|
"/home/djai/.config/hypr/scripts/bg.fish"
|
||||||
];
|
];
|
||||||
profile.outputs = [
|
profile.outputs = [
|
||||||
{
|
{
|
||||||
@@ -19,8 +19,8 @@
|
|||||||
}
|
}
|
||||||
{ profile.name = "grun";
|
{ profile.name = "grun";
|
||||||
profile.exec = [
|
profile.exec = [
|
||||||
/home/djai/.config/hypr/scripts/waybar.sh
|
"/home/djai/.config/hypr/scripts/waybar.sh"
|
||||||
/home/djai/.config/hypr/scripts/bg.sh
|
"/home/djai/.config/hypr/scripts/bg.fish"
|
||||||
];
|
];
|
||||||
profile.outputs = [
|
profile.outputs = [
|
||||||
{
|
{
|
||||||
@@ -37,8 +37,8 @@
|
|||||||
}
|
}
|
||||||
{ profile.name = "illo";
|
{ profile.name = "illo";
|
||||||
profile.exec = [
|
profile.exec = [
|
||||||
/home/djai/.config/hypr/scripts/waybar.sh
|
"/home/djai/.config/hypr/scripts/waybar.sh"
|
||||||
/home/djai/.config/hypr/scripts/bg.sh
|
"/home/djai/.config/hypr/scripts/bg.fish"
|
||||||
];
|
];
|
||||||
profile.outputs = [
|
profile.outputs = [
|
||||||
{
|
{
|
||||||
@@ -55,8 +55,8 @@
|
|||||||
}
|
}
|
||||||
{ profile.name = "remi";
|
{ profile.name = "remi";
|
||||||
profile.exec = [
|
profile.exec = [
|
||||||
/home/djai/.config/hypr/scripts/waybar.sh
|
"/home/djai/.config/hypr/scripts/waybar.sh"
|
||||||
/home/djai/.config/hypr/scripts/bg.sh
|
"/home/djai/.config/hypr/scripts/bg.fish"
|
||||||
];
|
];
|
||||||
profile.outputs = [
|
profile.outputs = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -87,6 +87,7 @@
|
|||||||
ffmpeg
|
ffmpeg
|
||||||
gimp
|
gimp
|
||||||
kdePackages.kdenlive
|
kdePackages.kdenlive
|
||||||
|
gifski
|
||||||
krita
|
krita
|
||||||
puddletag
|
puddletag
|
||||||
|
|
||||||
|
|||||||
@@ -29,20 +29,17 @@
|
|||||||
{ match.class = "^file-png$"; float = true;}
|
{ match.class = "^file-png$"; float = true;}
|
||||||
{ match.class = "^yad$"; float = true;}
|
{ match.class = "^yad$"; float = true;}
|
||||||
|
|
||||||
# flameshot
|
# steam window fixes
|
||||||
{ match.class = "^flameshot$"; float = true;}
|
{ match.class = "^(steam)$"; suppress_event = "activatefocus";}
|
||||||
{ match.class = "^flameshot$"; move = "exact 1920 1080";}
|
|
||||||
{ match.class = "^flameshot$"; size = "1920 1080";}
|
{ match.title = "^flameshot$"; float = true; move = "exact 1920 1080"; size = "1920 1080";}
|
||||||
|
|
||||||
# move bitwarden login window to center
|
# move bitwarden login window to center
|
||||||
{ match.title = ".*Bitwarden.*"; float = true;}
|
{ match.title = ".*Bitwarden.*"; float = true; size = "monitor_w*0.25 monitor_h*0.15"; center = true; }
|
||||||
{ match.title = ".*Bitwarden.*"; size = "monitor_w*0.25 monitor_h*0.15";}
|
|
||||||
{ match.title = ".*Bitwarden.*"; center = true;}
|
|
||||||
|
|
||||||
# gimp floating windows
|
# gimp floating windows
|
||||||
{ match.class = "^gimp$"; match.title = ".*Colour Exchange.*"; move = "100 (monitor_h/2)-(window_h/2)";}
|
{ match.class = "^gimp$"; match.title = ".*Colour Exchange.*"; move = "100 (monitor_h/2)-(window_h/2)";}
|
||||||
{ match.class = "^script-fu$"; float = true;}
|
{ match.class = "^script-fu$"; float = true; move = "100 (monitor_h/2)-(window_h/2)";}
|
||||||
{ match.class = "^script-fu$"; move = "100 (monitor_h/2)-(window_h/2)";}
|
|
||||||
|
|
||||||
# default workspaces
|
# default workspaces
|
||||||
{ match.class = "Librewolf"; workspace = "1 silent";}
|
{ match.class = "Librewolf"; workspace = "1 silent";}
|
||||||
@@ -70,12 +67,9 @@
|
|||||||
|
|
||||||
# muted tag
|
# muted tag
|
||||||
{ match.tag = "muted"; border_color = { colors = [
|
{ match.tag = "muted"; border_color = { colors = [
|
||||||
(lib.generators.mkLuaInline "colors.subtext0") # FIXME: stupid hack to use catppuccin-nix colors
|
(lib.generators.mkLuaInline "colors.subtext0") # stupid hack to use catppuccin-nix colors
|
||||||
(lib.generators.mkLuaInline "colors.subtext1")
|
(lib.generators.mkLuaInline "colors.subtext1")
|
||||||
]; angle = 45;};}
|
]; angle = 45;};}
|
||||||
|
|
||||||
# steam window fixes
|
|
||||||
{ match.class = "^(steam)$"; suppress_event = "activatefocus";}
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,24 +15,28 @@ in
|
|||||||
{
|
{
|
||||||
home-manager.users."djai".wayland.windowManager.hyprland.settings = {
|
home-manager.users."djai".wayland.windowManager.hyprland.settings = {
|
||||||
bind = [
|
bind = [
|
||||||
(bind "${mainMod} + SHIFT + W" (submap "H") "") # hidden workspaces
|
(bind "${mainMod} + SHIFT + W" (submap "H") "")
|
||||||
] ++ builtins.concatLists (builtins.genList (i:
|
] ++ builtins.concatLists (builtins.genList (i:
|
||||||
let ws = builtins.toJSON (mod i 11);
|
let
|
||||||
|
ws = i+1;
|
||||||
|
k = toString (mod ws 10);
|
||||||
in [
|
in [
|
||||||
(bind "${mainMod} + ${toString i}" (focusWorkspace ws) "Switch to workspace ${toString i}")
|
(bind "${mainMod} +${k}" (focusWorkspace ws) "Switch to workspace ${toString ws}")
|
||||||
(bind "${mainMod} + SHIFT + ${toString i} " (moveWorkspace ws false) "Move window to workspace ${toString i}")
|
(bind "${mainMod} + SHIFT + ${k} " (moveWorkspace ws false) "Move window to workspace ${toString ws}")
|
||||||
]
|
]
|
||||||
) 9);
|
) 10);
|
||||||
|
|
||||||
define_submap = [
|
define_submap = [
|
||||||
(makeSubmap "H" ([
|
(makeSubmap "H" ([
|
||||||
["ESCAPE" (submap "reset")]
|
["ESCAPE" (submap "reset")]
|
||||||
] ++ builtins.concatLists (builtins.genList (i:
|
] ++ builtins.concatLists (builtins.genList (i:
|
||||||
let ws = i+10;
|
let
|
||||||
|
ws = i+11;
|
||||||
|
k = (mod (i+1) 10);
|
||||||
in [
|
in [
|
||||||
[(toString i) (muldsp [(focusWorkspace ws) (submap "reset")]) ""]
|
[(toString k) (muldsp [(focusWorkspace ws) (submap "reset")])]
|
||||||
["SHIFT + ${toString i}" (moveWorkspace ws false)]
|
["SHIFT + ${toString k}" (moveWorkspace ws false)]
|
||||||
]) 9)))];
|
]) 10)))];
|
||||||
|
|
||||||
window_rule = [
|
window_rule = [
|
||||||
{ match.class = ".*hideme.*"; workspace = "11 silent";}
|
{ match.class = ".*hideme.*"; workspace = "11 silent";}
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ in
|
|||||||
python3
|
python3
|
||||||
rustc
|
rustc
|
||||||
uv
|
uv
|
||||||
|
stdenv.cc.cc.lib
|
||||||
|
|
||||||
# containers / secrets
|
# containers / secrets
|
||||||
age
|
age
|
||||||
|
|||||||
Reference in New Issue
Block a user