3 Commity 885cc9280d ... a0853b4c52

Autor SHA1 Wiadomość Data
  Oleg Pykhalov a0853b4c52 apps: cluster1: guix: maintenance-guix-system-reconfigure-kube3: Update to 09a5a695. 1 tydzień temu
  Oleg Pykhalov 5b68b702dc apps: cluster1: guix: maintenance-git-dotfiles-kube3: Update to 09a5a695. 1 tydzień temu
  Oleg Pykhalov 09a5a6954f run: pc0: Sort chat windows. 1 tydzień temu

+ 1 - 1
apps/cluster1/maintenance-git-dotfiles-kube3/job.yaml

@@ -6,7 +6,7 @@ spec:
   template:
     metadata:
       annotations:
-        guix-default-channel-commit: 02427820
+        guix-default-channel-commit: 09a5a695
     spec:
       nodeSelector:
         kubernetes.io/hostname: kube3

+ 1 - 1
apps/cluster1/maintenance-guix-system-reconfigure-kube3/job.yaml

@@ -6,7 +6,7 @@ spec:
   template:
     metadata:
       annotations:
-        guix-default-channel-commit: 02427820
+        guix-default-channel-commit: 09a5a695
     spec:
       nodeSelector:
         kubernetes.io/hostname: kube3

+ 42 - 0
dotfiles/run/pc0/14-sway-run-all.sh

@@ -24,6 +24,48 @@ sleep 5
 /home/oleg/bin/nerdctl-nixos-exec /bin/sh -lc 'export XDG_RUNTIME_DIR=/mnt/guix/run/user/1000; export DISPLAY=:0; exec chatterino' &
 sleep 2
 
+echo "INFO: Sort windows." 1>&2
+
+sway_focus_left()
+{
+    /home/oleg/bin/nerdctl-guix-exec /bin/sh -lc 'export SWAYSOCK="$(echo /run/user/1000/sway-ipc*sock)"; /home/oleg/.guix-home/profile/bin/swaymsg focus left'
+}
+
+sway_move_right()
+{
+    /home/oleg/bin/nerdctl-guix-exec /bin/sh -lc 'export SWAYSOCK="$(echo /run/user/1000/sway-ipc*sock)"; /home/oleg/.guix-home/profile/bin/swaymsg move right'
+}
+
+sway_move_left()
+{
+    /home/oleg/bin/nerdctl-guix-exec /bin/sh -lc 'export SWAYSOCK="$(echo /run/user/1000/sway-ipc*sock)"; /home/oleg/.guix-home/profile/bin/swaymsg move sway_move_left'
+}
+
+echo "INFO: Select Firefox Twitch window." 1>&2
+sway_focus_sway_move_left
+sway_focus_sway_move_left
+sway_focus_sway_move_left
+sway_focus_sway_move_left
+sway_focus_sway_move_left
+sway_focus_sway_move_left
+
+echo "INFO: Move Firefox Twitch window." 1>&2
+sway_move_right
+sway_move_right
+sway_move_right
+sway_move_right
+sway_move_right
+
+echo "INFO: Select Firefox NUUM window." 1>&2
+sway_focus_sway_move_left
+sway_focus_sway_move_left
+
+echo "INFO: Move Firefox NUUM window." 1>&2
+sway_move_left
+sway_move_left
+sway_move_left
+sway_move_left
+
 /home/oleg/bin/nerdctl-guix-exec /bin/sh -lc 'export SWAYSOCK="$(echo /run/user/1000/sway-ipc*sock)"; /home/oleg/.guix-home/profile/bin/swaymsg focus up'
 sleep 2