diff options
author | Sam Chudnick <sam@chudnick.com> | 2021-12-26 17:03:03 -0500 |
---|---|---|
committer | Sam Chudnick <sam@chudnick.com> | 2021-12-26 17:03:03 -0500 |
commit | ec2b3dff82b89a179d137cf87e4570e807893fe8 (patch) | |
tree | 01d6c7a4d8f6ccc5234794053f4989bae389dd8c | |
parent | dcffb01c5b31b5bc9ad8da85099ea8c550aa358c (diff) |
Refined firejail profile. Fixed issue in unicode-select. Removed overly-verbose explanation in id-init.
-rw-r--r-- | .config/firejail/steam.profile | 18 | ||||
-rwxr-xr-x | .local/bin/dmenu/unicode-select | 2 | ||||
-rwxr-xr-x | .local/bin/id-init | 15 |
3 files changed, 10 insertions, 25 deletions
diff --git a/.config/firejail/steam.profile b/.config/firejail/steam.profile index b29c801..bdb961a 100644 --- a/.config/firejail/steam.profile +++ b/.config/firejail/steam.profile | |||
@@ -11,11 +11,11 @@ noblacklist ${HOME}/.local/share/feral-interactive | |||
11 | noblacklist ${HOME}/.local/share/Paradox Interactive | 11 | noblacklist ${HOME}/.local/share/Paradox Interactive |
12 | noblacklist ${HOME}/.local/share/Steam | 12 | noblacklist ${HOME}/.local/share/Steam |
13 | noblacklist ${HOME}/.local/share/vulkan | 13 | noblacklist ${HOME}/.local/share/vulkan |
14 | noblacklist ${HOME}/.paradoxinteractive | 14 | #noblacklist ${HOME}/.paradoxinteractive |
15 | noblacklist ${HOME}/.paradoxlauncher | 15 | noblacklist ${HOME}/.paradoxlauncher |
16 | noblacklist ${HOME}/.steam | 16 | noblacklist ${HOME}/.steam |
17 | noblacklist ${HOME}/.steampath | 17 | #noblacklist ${HOME}/.steampath |
18 | noblacklist ${HOME}/.steampid | 18 | #noblacklist ${HOME}/.steampid |
19 | # needed for STEAM_RUNTIME_PREFER_HOST_LIBRARIES=1 to work | 19 | # needed for STEAM_RUNTIME_PREFER_HOST_LIBRARIES=1 to work |
20 | noblacklist /sbin | 20 | noblacklist /sbin |
21 | noblacklist /usr/sbin | 21 | noblacklist /usr/sbin |
@@ -38,21 +38,21 @@ mkdir ${HOME}/.local/share/feral-interactive | |||
38 | mkdir ${HOME}/.local/share/Paradox Interactive | 38 | mkdir ${HOME}/.local/share/Paradox Interactive |
39 | mkdir ${HOME}/.local/share/Steam | 39 | mkdir ${HOME}/.local/share/Steam |
40 | mkdir ${HOME}/.local/share/vulkan | 40 | mkdir ${HOME}/.local/share/vulkan |
41 | mkdir ${HOME}/.paradoxinteractive | 41 | #mkdir ${HOME}/.paradoxinteractive |
42 | mkdir ${HOME}/.paradoxlauncher | 42 | mkdir ${HOME}/.paradoxlauncher |
43 | mkdir ${HOME}/.steam | 43 | mkdir ${HOME}/.steam |
44 | mkfile ${HOME}/.steampath | 44 | #mkfile ${HOME}/.steampath |
45 | mkfile ${HOME}/.steampid | 45 | #mkfile ${HOME}/.steampid |
46 | whitelist ${HOME}/.local/share/aspyr-media | 46 | whitelist ${HOME}/.local/share/aspyr-media |
47 | whitelist ${HOME}/.local/share/feral-interactive | 47 | whitelist ${HOME}/.local/share/feral-interactive |
48 | whitelist ${HOME}/.local/share/Paradox Interactive | 48 | whitelist ${HOME}/.local/share/Paradox Interactive |
49 | whitelist ${HOME}/.local/share/Steam | 49 | whitelist ${HOME}/.local/share/Steam |
50 | whitelist ${HOME}/.local/share/vulkan | 50 | whitelist ${HOME}/.local/share/vulkan |
51 | whitelist ${HOME}/.paradoxinteractive | 51 | #whitelist ${HOME}/.paradoxinteractive |
52 | whitelist ${HOME}/.paradoxlauncher | 52 | whitelist ${HOME}/.paradoxlauncher |
53 | whitelist ${HOME}/.steam | 53 | whitelist ${HOME}/.steam |
54 | whitelist ${HOME}/.steampath | 54 | #whitelist ${HOME}/.steampath |
55 | whitelist ${HOME}/.steampid | 55 | #whitelist ${HOME}/.steampid |
56 | include whitelist-common.inc | 56 | include whitelist-common.inc |
57 | include whitelist-var-common.inc | 57 | include whitelist-var-common.inc |
58 | 58 | ||
diff --git a/.local/bin/dmenu/unicode-select b/.local/bin/dmenu/unicode-select index f42cd6e..b797691 100755 --- a/.local/bin/dmenu/unicode-select +++ b/.local/bin/dmenu/unicode-select | |||
@@ -2,7 +2,7 @@ | |||
2 | # Select unicode character via dmenu and copy to clipboard | 2 | # Select unicode character via dmenu and copy to clipboard |
3 | 3 | ||
4 | line="$(cat ~/.local/share/unicode_list | dmenu -i -l 10)" | 4 | line="$(cat ~/.local/share/unicode_list | dmenu -i -l 10)" |
5 | grep "$line" ~/.local/src/unicode_list | tr -d [:print:] | | 5 | grep "$line" ~/.local/share/unicode_list | tr -d [:print:] | |
6 | xclip -r -selection "clipboard" && | 6 | xclip -r -selection "clipboard" && |
7 | notify-send "$(xclip -selection "clipboard" -o) copied to clipboard" | 7 | notify-send "$(xclip -selection "clipboard" -o) copied to clipboard" |
8 | 8 | ||
diff --git a/.local/bin/id-init b/.local/bin/id-init index 82d4a7b..d51660a 100755 --- a/.local/bin/id-init +++ b/.local/bin/id-init | |||
@@ -4,21 +4,6 @@ | |||
4 | # | 4 | # |
5 | # Must be run with bash (or probably any other shell that is not narrowly posix-compliant) | 5 | # Must be run with bash (or probably any other shell that is not narrowly posix-compliant) |
6 | # to use here-string redirection | 6 | # to use here-string redirection |
7 | # | ||
8 | # This is a very short script but may require some explanation as to its purpose. | ||
9 | # | ||
10 | # I use both KeePassXC and pass for password management. This may seem redundant, and in some | ||
11 | # aspects it probably is, but for me each program has a purpose that the other cannot fill | ||
12 | # completely. Pass is great for programmatic access of passwords because of its use of | ||
13 | # gpg-agent, and KeePassXC's integration with ssh-agent is very useful. | ||
14 | # | ||
15 | # This script first caches the passhphrase for the GPG key which allows further use of the | ||
16 | # key without a prompt for a password - this of course applies to pass as well since it uses | ||
17 | # the gpg key. KeePassXC is then opened, which also adds the SSH keys to the ssh-agent. | ||
18 | # | ||
19 | # KeePassXC, pass, gpg-agent, and ssh-agent are then all initialized and ready to be | ||
20 | # used without any further user input, with just one set of credentials. | ||
21 | |||
22 | 7 | ||
23 | # Cache passphrase for gpg key in gpg-agent which is stored in KeePassXC | 8 | # Cache passphrase for gpg key in gpg-agent which is stored in KeePassXC |
24 | # Caching the GPG passphrase will allow access to pass without user input | 9 | # Caching the GPG passphrase will allow access to pass without user input |