added autostart to workspace 2 for comms

tried to make a custom workspace named comms but it didnt work and cba
bc this is what i wanted anyway
This commit is contained in:
Gabriella Bere 2025-05-01 00:35:23 +01:00
parent 913d96b5f7
commit 5e389902a1
2 changed files with 19 additions and 12 deletions

1
.gitignore vendored
View file

@ -0,0 +1 @@
heetch.png

View file

@ -1,12 +1,7 @@
{
config,
pkgs,
...
}: {
{...}: {
# Enable Hyprland compositor
wayland.windowManager.hyprland = {
enable = true;
package = pkgs.hyprland;
xwayland.enable = true;
systemd.variables = ["--all"];
settings = {
@ -16,6 +11,9 @@
"desc:Lenovo Group Limited LEN G24-10 U5B4KL78, 1920x1080@119.98, -960x-1080, auto" # left external monitor
"desc:Lenovo Group Limited LEN G24-10 U5B4ZAM2, 1920x1080@119.98, 960x-1080, auto" # right external monitor
];
workspace = [
"name:comms, monitor:desc:Lenovo Group Limited LEN G24-10 U5B4KL78"
];
# Define SUPER key as mod key
"$mod" = "SUPER";
@ -33,16 +31,23 @@
workspace_swipe = true;
};
# bindl = [
# ",switch:off:Lid Switch,exec,hyprctl keyword monitor eDP-2, 2560x1600@165, 0x0, auto"
# ",switch:on:Lid Switch,exec,hyprctl keyword monitor eDP-2, disable"
# ];
# Allow using SUPER+LEFT to move windows and SUPER+RIGHT to resize windows
# Allow using SUPER + left click to move windows and SUPER + right click to resize windows
bindm = [
"$mod, mouse:272, movewindow"
"$mod, mouse:273, resizewindow"
];
exec-once = [
"[workspace 2 silent] telegram-desktop"
"[workspace 2 silent] signal-desktop"
"[workspace 2 silent] firefox https://web.whatsapp.com https://instagram.com"
"[workspace 2 silent] vesktop --enable-features=UseOzonePlatform --ozone-platform=wayland"
];
windowrule = [
"move 100%,100%, title:*WhatsApp*"
"move -100%,100%, title:*Telegram*"
"move 100%,-100%, title:*Vesktop*"
"move -100%,-100%, title:*Signal*"
];
# Declare all keybinds
bind = [
@ -56,6 +61,7 @@
# Screenshot tool
", Print, exec, grimblast copy area"
"SHIFT, Print, exec, grimblast save area"
# Screen locking tool
"$mod, l, exec, hyprlock"