Add partial window reposition
This commit is contained in:
parent
7fef82fff6
commit
58b54e1316
@ -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.
|
13
dotfiles_github/window_reposition.sh
Normal file
13
dotfiles_github/window_reposition.sh
Normal 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
|
Loading…
x
Reference in New Issue
Block a user