mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 13:51:54 -05:00
dustin: use teams for linux
This commit is contained in:
parent
cf29303030
commit
b41dbea8ab
|
@ -9,10 +9,10 @@
|
||||||
virtKeyboard = lib.getExe' pkgs.squeekboard "squeekboard";
|
virtKeyboard = lib.getExe' pkgs.squeekboard "squeekboard";
|
||||||
in {
|
in {
|
||||||
clamshell = pkgs.writeShellScript "hyprland-clamshell" ''
|
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:")
|
EDP_STATUS=$(${hyprctl} monitors all | grep -A 15 "Monitor eDP-1" | grep "disabled:")
|
||||||
|
|
||||||
if [ "$1" == "on" ]; then
|
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"
|
${hyprctl} keyword monitor "eDP-1, disable"
|
||||||
fi
|
fi
|
||||||
elif [ "$1" == "off" ]; then
|
elif [ "$1" == "off" ]; then
|
||||||
|
|
|
@ -15,7 +15,7 @@ self: {
|
||||||
fractal
|
fractal
|
||||||
libreoffice-fresh
|
libreoffice-fresh
|
||||||
plexamp
|
plexamp
|
||||||
teams
|
teams-for-linux
|
||||||
webcord
|
webcord
|
||||||
xfce.xfce4-taskmanager
|
xfce.xfce4-taskmanager
|
||||||
zoom-us
|
zoom-us
|
||||||
|
|
Loading…
Reference in a new issue