Fixed workspaces

This commit is contained in:
Alexandre 2025-12-21 23:23:07 +01:00
parent c97001c4ec
commit 9f18ec70fb
3 changed files with 28 additions and 2 deletions

View File

@ -90,6 +90,7 @@
tree
kitty
neovim
playerctl
# Theme SDDM
sddm-astronaut
];

View File

@ -32,6 +32,8 @@ commonHome // {
wofi
alacritty
firefox
# Hypr* ecosystem
hyprlauncher
# # It is sometimes useful to fine-tune packages, for example, by applying
# # overrides. You can do that directly here, just don't forget the

View File

@ -1,4 +1,4 @@
let
let
workspaceBinds = let
wsList = builtins.genList (i: i + 1) 10;
in builtins.concatLists (map (ws:
@ -25,6 +25,10 @@ in
"fileManager" = "dolphin";
"$browser" = "firefox";
exec-once = [
"hyprlauncher"
];
# Input
input = {
kb_layout = "fr";
@ -39,6 +43,20 @@ in
"DP-1, 1440x900@59.89, 0x0, 1"
];
# Assign workspaces to monitors
workspace = [
"1, monitor:HDMI-A-1, default:true"
"2, monitor:HDMI-A-1"
"3, monitor:HDMI-A-1"
"4, monitor:HDMI-A-1"
"5, monitor:HDMI-A-1"
"6, monitor:DP-1"
"7, monitor:DP-1"
"8, monitor:DP-1"
"9, monitor:DP-1"
"10, monitor:DP-1"
];
# Keybinds
bind = workspaceBinds ++ [
# Launch binds
@ -47,7 +65,7 @@ in
"$mod, M, exit"
"$mod, R, exec, $launcher2"
"$mod, F, exec, $browser"
"$mod, E, exec, fileManager"
"$mod, E, exec, $fileManager"
# Focus binds
"$mod, left, movefocus, l"
@ -57,6 +75,11 @@ in
];
bindl = [
", XF86AudioPause, exec, playerctl play-pause"
", XF86AudioPlay, exec, playerctl play-pause"
];
};
};