Add partial window reposition

This commit is contained in:
Jafner 2021-11-12 09:19:11 -08:00
parent 7fef82fff6
commit 58b54e1316
2 changed files with 24 additions and 1 deletions

View File

@ -10,7 +10,17 @@ ssh-add ~/.ssh/id_rsa
5. Place the dotfiles where they need to be with `chmod +x install_dotfiles.sh && ./install_dotfiles.sh`
# Other Stuff
## Autostart
1. Set Spotify, PulseEffects, and Ferdi to start automatically.
2. `chmod +x window_reposition.sh`
3. Run the window_reposition script at startup.
## Tiling and corner-snapping
Using GNOME, disable all extensions. Install [Tiling Assistant](https://extensions.gnome.org/extension/3733/tiling-assistant/)
Set Windows and Screen Edges gaps to 12px.
Set Windows and Screen Edges gaps to 12px.
## Virtualization
Install `libvirt`.
`nano /etc/default/grub` and add `amd_iommu=on iommu=pt` to the `GRUB_CMDLINE_LINUX_DEFAULT` variable.
`sudo grub-mkconfig -o /boot/grub/grub.cfg` to update the bootloader.

View File

@ -0,0 +1,13 @@
#!/bin/bash
#[Ferdi]
WINDOW_ID=$(xdotool search --onlyvisible --name ferdi)
xdotool windowsize $WINDOW_ID 1262 1383
xdotool windowmove $WINDOW_ID 6406 45
#[PulseEffects]
WINDOW_ID=$(xdotool search --onlyvisible --name pulseeffects)
xdotool windowsize $WINDOW_ID 1320 760
xdotool windowmove $WINDOW_ID 5100 703
xdotool key XF86AudioPlay