- sudo apt-get install xclip
- Configure spectacle to use Rectangular Selection, default save to /some/path/Screenshot_%Y%M%D_%H%m%S
- Configure PrintScreen for rectangular selection via custom shortcuts
- Try it - once you select the area and hit enter it should show the pop-up notification about saved file.
- On this notification select the settings button
- In the notification settings enable "Run command" and set it as
/usr/bin/xclip -selection clipboard -target image/png -i $(ls -1tr ~/Pictures/Screenshot_*.png | tail -n 1)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2019/10/07 11:30:15 [INFO] Terraform version: 0.12.9 | |
2019/10/07 11:30:15 [INFO] Go runtime version: go1.12.9 | |
2019/10/07 11:30:15 [INFO] CLI args: []string{"/usr/local/bin/terraform", "plan"} | |
2019/10/07 11:30:15 [DEBUG] Attempting to open CLI config file: /home/galindro/.terraformrc | |
2019/10/07 11:30:15 Loading CLI configuration from /home/galindro/.terraformrc | |
2019/10/07 11:30:15 [INFO] CLI command args: []string{"plan"} | |
2019/10/07 11:30:15 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config | |
2019/10/07 11:30:15 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory | |
2019/10/07 11:30:15 [DEBUG] New state was assigned lineage "6ec849cf-47d0-2179-e48b-eb34f6f39e77" | |
2019/10/07 11:30:15 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2019/09/10 13:47:09 [INFO] Terraform version: 0.12.8 | |
2019/09/10 13:47:09 [INFO] Go runtime version: go1.12.9 | |
2019/09/10 13:47:09 [INFO] CLI args: []string{"/usr/local/bin/terraform", "apply", "-auto-approve"} | |
2019/09/10 13:47:09 [DEBUG] Attempting to open CLI config file: /home/galindro/.terraformrc | |
2019/09/10 13:47:09 Loading CLI configuration from /home/galindro/.terraformrc | |
2019/09/10 13:47:09 [INFO] CLI command args: []string{"apply", "-auto-approve"} | |
2019/09/10 13:47:09 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config | |
2019/09/10 13:47:09 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory | |
2019/09/10 13:47:09 [DEBUG] New state was assigned lineage "37346379-ebf7-6ae1-7616-15ac5cf683eb" | |
2019/09/10 13:47:09 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ terraform-0.12.5 plan | |
2019/07/24 13:30:32 [INFO] Terraform version: 0.12.5 | |
2019/07/24 13:30:32 [INFO] Go runtime version: go1.12.4 | |
2019/07/24 13:30:32 [INFO] CLI args: []string{"/usr/local/bin/terraform-0.12.5", "plan"} | |
2019/07/24 13:30:32 [DEBUG] Attempting to open CLI config file: /home/galindro/.terraformrc | |
2019/07/24 13:30:32 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2019/07/24 13:30:32 [INFO] CLI command args: []string{"plan"} | |
2019/07/24 13:30:32 [TRACE] Meta.Backend: built configuration for "s3" backend with hash value 3139123862 | |
2019/07/24 13:30:32 [TRACE] Preserving existing state lineage "5e97064f-78f5-c234-370c-cd594b6a7267" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
D='2018-08-31 00:00:00' | |
date -d "$D" +%s%N | cut -b1-13 |