mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
fix: screenshare work
This commit is contained in:
parent
202b723e1f
commit
444a6ee59f
4 changed files with 22 additions and 20 deletions
|
|
@ -1784,15 +1784,15 @@ My work machine. Built for more security, this is the gold standard of my config
|
|||
resumeDevice = "/dev/disk/by-label/nixos";
|
||||
};
|
||||
|
||||
hardware = {
|
||||
amdgpu = {
|
||||
opencl.enable = true;
|
||||
amdvlk = {
|
||||
enable = true;
|
||||
support32Bit.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
hardware = {
|
||||
amdgpu = {
|
||||
opencl.enable = true;
|
||||
amdvlk = {
|
||||
enable = true;
|
||||
support32Bit.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs.fw-fanctrl.enable = true;
|
||||
|
||||
|
|
@ -3360,9 +3360,9 @@ This utility checks if there are updated packages in nixpkgs-unstable. It does s
|
|||
|
||||
if [[ "$1" == "start" ]]; then
|
||||
wl-mirror "$SHARESCREEN" & sleep 0.1
|
||||
swaymsg output eDP-2 mode 1280x800
|
||||
swaymsg '[app_id=at.yrlf.wl_mirror] move to workspace 12:S'
|
||||
swaymsg '[app_id=at.yrlf.wl_mirror] fullscreen'
|
||||
swaymsg output eDP-2 mode 1280x800
|
||||
else
|
||||
swaymsg output eDP-2 mode 2560x1600
|
||||
fi
|
||||
|
|
@ -9598,6 +9598,7 @@ The rest of the settings is at [[#h:bbf2ecb6-c8ff-4462-b5d5-d45b28604ddf][work]]
|
|||
dig
|
||||
docker
|
||||
postman
|
||||
rclone
|
||||
];
|
||||
|
||||
programs = {
|
||||
|
|
|
|||
|
|
@ -49,15 +49,15 @@
|
|||
resumeDevice = "/dev/disk/by-label/nixos";
|
||||
};
|
||||
|
||||
hardware = {
|
||||
amdgpu = {
|
||||
opencl.enable = true;
|
||||
amdvlk = {
|
||||
enable = true;
|
||||
support32Bit.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
hardware = {
|
||||
amdgpu = {
|
||||
opencl.enable = true;
|
||||
amdvlk = {
|
||||
enable = true;
|
||||
support32Bit.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs.fw-fanctrl.enable = true;
|
||||
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
dig
|
||||
docker
|
||||
postman
|
||||
rclone
|
||||
];
|
||||
|
||||
programs = {
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@ SHARESCREEN="$(nix eval --raw ~/.dotfiles#nixosConfigurations."$(hostname)".conf
|
|||
|
||||
if [[ "$1" == "start" ]]; then
|
||||
wl-mirror "$SHARESCREEN" & sleep 0.1
|
||||
swaymsg output eDP-2 mode 1280x800
|
||||
swaymsg '[app_id=at.yrlf.wl_mirror] move to workspace 12:S'
|
||||
swaymsg '[app_id=at.yrlf.wl_mirror] fullscreen'
|
||||
swaymsg output eDP-2 mode 1280x800
|
||||
else
|
||||
swaymsg output eDP-2 mode 2560x1600
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue