-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
96 changed files
with
1,644 additions
and
1,661 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/fish | ||
set file ~/Videos/recording_$(date +%F_%H-%M-%S).mp4 | ||
# when user presses ctrl+c copy the file path to clipboard | ||
trap 'echo -n $file | wl-copy' INT | ||
|
||
wf-recorder -g "$(slurp)" -f $file $argv |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/fish | ||
set DIR ~/Pictures/Screenshots | ||
|
||
if test ! -e "$DIR" | ||
mkdir -p "$DIR" | ||
end | ||
set file $DIR/$(date +%F_%H-%M-%S).png | ||
|
||
grim -g "$(slurp)" "$file" | ||
|
||
# Copy file to clipboard | ||
wl-copy < "$file" |
Binary file not shown.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
git_email: [email protected] | ||
git_signing_key: 1B48523D91781A7F5CEC929B7CA9BF9F444BF7C8 | ||
|
||
wallpaper: ~/dotfiles/wallpapers/1440p/dennis-schweizer-18nR85wWyLY-unsplash.jpg | ||
|
||
screen_left: DP-2 | ||
screen_right: HDMI-A-1 | ||
screen_left_w: 2560 | ||
screen_left_h: 1440 | ||
screen_right_w: 2560 | ||
screen_right_h: 1440 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
git_email: [email protected] | ||
git_signing_key: 4DC1AA6287F8CC4A | ||
|
||
wallpaper: ~/dotfiles/wallpapers/1440p/dennis-schweizer-18nR85wWyLY-unsplash.jpg |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
git_email: [email protected] | ||
git_signing_key: 1B48523D91781A7F5CEC929B7CA9BF9F444BF7C8 | ||
|
||
wallpaper: ~/dotfiles/wallpapers/1440p/dennis-schweizer-18nR85wWyLY-unsplash.jpg | ||
|
||
screen_left: DP-2 | ||
screen_right: HDMI-A-1 | ||
screen_left_w: 2560 | ||
screen_left_h: 1440 | ||
screen_right_w: 2560 | ||
screen_right_h: 1440 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
dux | ||
vulcan | ||
vulcan-london | ||
victor | ||
wgt152 | ||
odyssey | ||
|
||
[all:vars] | ||
ansible_connection=local | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
- name: Prioritise fish PPA takes over Ubuntu's | ||
become: yes | ||
copy: | ||
content: | | ||
Package: fish | ||
Pin: release o=LP-PPA-fish-shell | ||
Pin-Priority: 990 | ||
Package: fish | ||
Pin: release o=Ubuntu | ||
Pin-Priority: -1 | ||
dest: /etc/apt/preferences.d/fish | ||
owner: root | ||
group: root | ||
mode: 0644 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{% for mount in mounts %} | ||
{{mount.name}} -fstype=fuse,rw,uid=1000,gid=1000,nodev,nonempty,noatime,allow_other,Ciphers=aes128-ctr,Compression=no,max_read=65536 :sshfs\#{{mount.host}}\:{{mount.path}} | ||
{{mount.name}} -fstype=fuse,rw,uid=1000,gid=1000,nodev,noatime,allow_other,Ciphers=aes128-ctr,Compression=no,max_read=65536 :sshfs\#{{mount.host}}\:{{mount.path}} | ||
{% endfor %} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
- name: Ensure bin directory exists | ||
file: | ||
path: "{{ dotfiles_user_home }}/bin" | ||
state: directory | ||
|
||
- name: Install bins | ||
loop: "{{ bins }}" | ||
include_tasks: bin.yml |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[Unit] | ||
Description=Black Formatter | ||
|
||
[Service] | ||
ExecStart=/home/will/.local/bin/blackd --bind-host=127.0.0.1 | ||
Restart=on-failure | ||
SyslogIdentifier=blackd | ||
|
||
[Install] | ||
WantedBy=default.target |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
- name: Install blackd as user python package | ||
pip: | ||
name: black[d] | ||
state: present | ||
|
||
- name: Ensure ~/.config/systemd/user/ exists | ||
file: | ||
path: "{{ dotfiles_user_home }}/.config/systemd/user/" | ||
state: directory | ||
|
||
- name: Link blackd service file | ||
file: | ||
src: "{{ dotfiles_home }}/roles/blackd/files/blackd.service" | ||
dest: "{{ dotfiles_user_home }}/.config/systemd/user/blackd.service" | ||
state: link | ||
|
||
- name: Enable blackd user service | ||
systemd: | ||
name: blackd | ||
scope: user | ||
enabled: true | ||
state: started |
Oops, something went wrong.