Commit Graph

16 Commits

Author SHA1 Message Date
dabruh f7292d6958 Make xmonconf configuration file driven 2024-05-27 09:08:09 +02:00
dabruh 90b7fc35d2 Refactor xmonconf script by modularizing functions
- Moved i3-related functions to ~/.local/share/dabruh/libs/bash/i3.sh
- Moved USB-related functions to ~/.local/share/dabruh/libs/bash/usb.sh
- Moved xrandr-related functions to ~/.local/share/dabruh/libs/bash/x.sh
- Added checks in each library file to ensure required functions are sourced
- Updated xmonconf script to source these new library files
2024-05-24 12:03:07 +02:00
dabruh a71430f12e Add additional monitor name configurations 2024-04-26 10:07:02 +02:00
dabruh 7128f6c74e Add attribute for enabled/disabled monitors 2024-04-19 09:31:59 +02:00
dabruh b433ef57d3 Add back missing xrandr command 2024-04-19 08:46:35 +02:00
dabruh fc71836102 Remove unused func 2024-04-19 08:45:23 +02:00
dabruh 0cab2a6640 Cache xrandr output 2024-04-19 08:45:15 +02:00
dabruh 1888ec9c96 Fix unnecessary if statement logic 2024-04-19 08:40:40 +02:00
dabruh da28a0e96e Add logic to disable disconnected monitors 2024-04-19 08:39:51 +02:00
dabruh 1237dff14a Add display config for work laptop at home 2024-04-19 08:35:27 +02:00
dabruh c7145e8b4a Add home setup 2024-04-18 19:46:27 +02:00
dabruh 4cac467d32 Streamline monitors_exist with usb_devices_exist 2024-04-17 18:34:48 +02:00
dabruh f5676e638d Add verbosity 2024-04-17 18:26:01 +02:00
dabruh a9ccc78482 Support identical config on different output names 2024-04-17 16:05:25 +02:00
dabruh bab7f76557 Restart i3 after changing monitor config 2024-04-17 16:03:36 +02:00
dabruh 0e1d39e826 Create Xserver display configuration script 2024-04-16 16:03:13 +02:00