dustin: use teams for linux

This commit is contained in:
Aly Raffauf 2024-08-04 19:31:25 -04:00
parent cf29303030
commit b41dbea8ab
2 changed files with 3 additions and 3 deletions

View file

@ -9,10 +9,10 @@
virtKeyboard = lib.getExe' pkgs.squeekboard "squeekboard";
in {
clamshell = pkgs.writeShellScript "hyprland-clamshell" ''
NUM_MONITORS=$(${hyprctl} monitors all | grep Monitor | wc --lines)
EDP_STATUS=$(${hyprctl} monitors all | grep -A 15 "Monitor eDP-1" | grep "disabled:")
if [ "$1" == "on" ]; then
if [ $NUM_MONITORS -gt 1 ]; then
if [[ "$(${hyprctl} monitors all)" =~ \s(DP|HDMI)-[0-9]+ ]]; then
${hyprctl} keyword monitor "eDP-1, disable"
fi
elif [ "$1" == "off" ]; then

View file

@ -15,7 +15,7 @@ self: {
fractal
libreoffice-fresh
plexamp
teams
teams-for-linux
webcord
xfce.xfce4-taskmanager
zoom-us