From 3032be512073b0891aa686138a9240bda09fb024 Mon Sep 17 00:00:00 2001 From: Jafner <40403594+Jafner@users.noreply.github.com> Date: Fri, 12 Nov 2021 11:00:23 -0800 Subject: [PATCH] Update window_reposition install --- dotfiles_github/.scripts/window_reposition.sh | 2 ++ dotfiles_github/README.md | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/dotfiles_github/.scripts/window_reposition.sh b/dotfiles_github/.scripts/window_reposition.sh index 013268af..c6a203bc 100644 --- a/dotfiles_github/.scripts/window_reposition.sh +++ b/dotfiles_github/.scripts/window_reposition.sh @@ -1,5 +1,7 @@ #!/bin/bash +sleep 6 + #[Ferdi] WINDOW_ID=$(xdotool search --onlyvisible --name ferdi) xdotool windowsize $WINDOW_ID 1262 1383 diff --git a/dotfiles_github/README.md b/dotfiles_github/README.md index 7a289b23..c9936958 100644 --- a/dotfiles_github/README.md +++ b/dotfiles_github/README.md @@ -13,6 +13,7 @@ ssh-add ~/.ssh/id_rsa ## Autostart 1. Set Spotify, PulseEffects, and Ferdi to start automatically. 2. `chmod +x window_reposition.sh` +3. `sudo cp .scripts/window_reposition.sh /usr/bin/window_reposition` 3. Run the window_reposition script at startup. @@ -40,3 +41,6 @@ sudo sed -i 's/#user = "root"/user = "joey"/' /etc/libvirt/qemu.conf && \ sudo sed -i 's/#group = "root"/group = "joey"/' /etc/libvirt/qemu.conf && \ sudo systemctl restart libvirtd ``` + +Reboot. +