aboutsummaryrefslogtreecommitdiff
path: root/pkgs/theme/myswaylock.sh
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2024-03-14 09:35:13 +0100
committerKarel Kočí <cynerd@email.cz>2024-03-14 09:35:13 +0100
commitb2ec9599373c7e0f5428694c5712c8fc0be06264 (patch)
tree331d4c70ad7664fb9fdbe9ce1050de02e231e6a2 /pkgs/theme/myswaylock.sh
parent927fab5c6ec204ce2d7ddac3901519c023331c89 (diff)
downloadnixos-personal-b2ec9599373c7e0f5428694c5712c8fc0be06264.tar.gz
nixos-personal-b2ec9599373c7e0f5428694c5712c8fc0be06264.tar.bz2
nixos-personal-b2ec9599373c7e0f5428694c5712c8fc0be06264.zip
Load of updates and module simplification
Diffstat (limited to 'pkgs/theme/myswaylock.sh')
-rwxr-xr-xpkgs/theme/myswaylock.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/pkgs/theme/myswaylock.sh b/pkgs/theme/myswaylock.sh
index c204a57..18d6a6f 100755
--- a/pkgs/theme/myswaylock.sh
+++ b/pkgs/theme/myswaylock.sh
@@ -1,8 +1,4 @@
#!/usr/bin/env bash
-
-# Switch to the US keyboard (to make sure that we have the correct one)
-swaymsg input type:keyboard xkb_layout us
-
resolution="$(swaymsg -t get_outputs \
| jq -r '.[0].rect | [.width,.height] | join("x")')"
case "$resolution" in