Compare commits

...

6 Commits

Author SHA1 Message Date
Mike Wilson
0cd485153c Add dwmblocks-async and st 2025-09-25 18:43:23 -04:00
Mike Wilson
cb61fd4b00 Remove hardcoding of username 2025-09-25 18:43:04 -04:00
Mike Wilson
1dd24afb8f Add st and dwmblocks-async 2025-09-25 18:34:35 -04:00
Mike Wilson
0334ae5359 switch to ssh links for git cloning 2025-09-25 18:32:10 -04:00
Mike Wilson
04bf3f07e0 Add keyboard shortcut to open Firefox private window 2025-09-25 18:26:42 -04:00
Mike Wilson
792ba5a13f 0830: don't use a separate search engine in private windows 2025-09-25 18:23:37 -04:00
10 changed files with 43 additions and 12 deletions

View File

@@ -5,4 +5,4 @@ interpreter_python = auto_silent
[privilege_escalation]
become_ask_pass = True
become_method: doas
#become_method: doas

View File

@@ -1,3 +1,3 @@
username: "mike"
username: "{{ ansible_user_id }}"
src_dir: "/usr/local/src"

View File

@@ -1,7 +1,9 @@
- hosts: localhost
connection: local
roles:
- dmenu
- mpv
- arkenfox
- dwm
- st
- dmenu
- dwmblocks-async
- sxhkd
- arkenfox

View File

@@ -25,3 +25,7 @@ user_pref("browser.safebrowsing.downloads.remote.block_uncommon", false);
user_pref("media.eme.enabled", false);
// Disables UI setting which also disables the DRM prompt
user_pref("browser.eme.ui.enabled", false);
/* 0830: enable separate default search engine in Private Windows and its UI setting
* [SETTING] Search>Default Search Engine>Choose a different default search engine for Private Windows only ***/
user_pref("browser.search.separatePrivateDefault", false); // [FF70+]

View File

@@ -1,6 +1,6 @@
- name: Clone source code from gitea
ansible.builtin.git:
repo: "https://git.mjwilson.org/mike/{{ role_name }}"
repo: "ssh://git@git.mjwilson.org:2222/mike/{{ role_name }}.git"
dest: "{{ src_dir }}/{{ role_name }}"
- name: Run build

View File

@@ -1,10 +1,10 @@
- name: Pull down dwm build from gitea
- name: Pull down build from gitea
ansible.builtin.git:
repo: "https://git.mjwilson.org/mike/dwm"
dest: "{{ src_dir }}/dwm"
repo: "ssh://git@git.mjwilson.org:2222/mike/{{ role_name }}.git"
dest: "{{ src_dir }}/{{ role_name }}"
- name: Build DWM
- name: Build
community.general.make:
chdir: "{{ src_dir }}/dwm"
chdir: "{{ src_dir }}/{{ role_name }}"
params:
clean:

View File

@@ -0,0 +1,11 @@
- name: Pull down build from gitea
ansible.builtin.git:
repo: "ssh://git@git.mjwilson.org:2222/mike/{{ role_name }}.git"
dest: "{{ src_dir }}/{{ role_name }}"
- name: Build
community.general.make:
chdir: "{{ src_dir }}/{{ role_name }}"
params:
clean:
become: true

11
roles/st/tasks/main.yml Normal file
View File

@@ -0,0 +1,11 @@
- name: Pull down build from gitea
ansible.builtin.git:
repo: "ssh://git@git.mjwilson.org:2222/mike/{{ role_name }}.git"
dest: "{{ src_dir }}/{{ role_name }}"
- name: Build
community.general.make:
chdir: "{{ src_dir }}/{{ role_name }}"
params:
clean:
become: true

View File

@@ -1,6 +1,9 @@
# Launch Firefox
super + w
firefox
# Launch Firefox Private Window
super + shift + w
firefox --private-window
# Capture entire screen and save to clipboard
Print

View File

@@ -7,4 +7,4 @@
- name: Install config file
ansible.builtin.copy:
src: sxhkdrc
dest: "/home/{{ username }}/.config/sxhkd"
dest: "~/.config/sxhkd"