summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Chudnick <sam@chudnick.com>2021-12-26 17:03:03 -0500
committerSam Chudnick <sam@chudnick.com>2021-12-26 17:03:03 -0500
commitec2b3dff82b89a179d137cf87e4570e807893fe8 (patch)
tree01d6c7a4d8f6ccc5234794053f4989bae389dd8c
parentdcffb01c5b31b5bc9ad8da85099ea8c550aa358c (diff)
Refined firejail profile. Fixed issue in unicode-select. Removed overly-verbose explanation in id-init.
-rw-r--r--.config/firejail/steam.profile18
-rwxr-xr-x.local/bin/dmenu/unicode-select2
-rwxr-xr-x.local/bin/id-init15
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
11noblacklist ${HOME}/.local/share/Paradox Interactive 11noblacklist ${HOME}/.local/share/Paradox Interactive
12noblacklist ${HOME}/.local/share/Steam 12noblacklist ${HOME}/.local/share/Steam
13noblacklist ${HOME}/.local/share/vulkan 13noblacklist ${HOME}/.local/share/vulkan
14noblacklist ${HOME}/.paradoxinteractive 14#noblacklist ${HOME}/.paradoxinteractive
15noblacklist ${HOME}/.paradoxlauncher 15noblacklist ${HOME}/.paradoxlauncher
16noblacklist ${HOME}/.steam 16noblacklist ${HOME}/.steam
17noblacklist ${HOME}/.steampath 17#noblacklist ${HOME}/.steampath
18noblacklist ${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
20noblacklist /sbin 20noblacklist /sbin
21noblacklist /usr/sbin 21noblacklist /usr/sbin
@@ -38,21 +38,21 @@ mkdir ${HOME}/.local/share/feral-interactive
38mkdir ${HOME}/.local/share/Paradox Interactive 38mkdir ${HOME}/.local/share/Paradox Interactive
39mkdir ${HOME}/.local/share/Steam 39mkdir ${HOME}/.local/share/Steam
40mkdir ${HOME}/.local/share/vulkan 40mkdir ${HOME}/.local/share/vulkan
41mkdir ${HOME}/.paradoxinteractive 41#mkdir ${HOME}/.paradoxinteractive
42mkdir ${HOME}/.paradoxlauncher 42mkdir ${HOME}/.paradoxlauncher
43mkdir ${HOME}/.steam 43mkdir ${HOME}/.steam
44mkfile ${HOME}/.steampath 44#mkfile ${HOME}/.steampath
45mkfile ${HOME}/.steampid 45#mkfile ${HOME}/.steampid
46whitelist ${HOME}/.local/share/aspyr-media 46whitelist ${HOME}/.local/share/aspyr-media
47whitelist ${HOME}/.local/share/feral-interactive 47whitelist ${HOME}/.local/share/feral-interactive
48whitelist ${HOME}/.local/share/Paradox Interactive 48whitelist ${HOME}/.local/share/Paradox Interactive
49whitelist ${HOME}/.local/share/Steam 49whitelist ${HOME}/.local/share/Steam
50whitelist ${HOME}/.local/share/vulkan 50whitelist ${HOME}/.local/share/vulkan
51whitelist ${HOME}/.paradoxinteractive 51#whitelist ${HOME}/.paradoxinteractive
52whitelist ${HOME}/.paradoxlauncher 52whitelist ${HOME}/.paradoxlauncher
53whitelist ${HOME}/.steam 53whitelist ${HOME}/.steam
54whitelist ${HOME}/.steampath 54#whitelist ${HOME}/.steampath
55whitelist ${HOME}/.steampid 55#whitelist ${HOME}/.steampid
56include whitelist-common.inc 56include whitelist-common.inc
57include whitelist-var-common.inc 57include 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
4line="$(cat ~/.local/share/unicode_list | dmenu -i -l 10)" 4line="$(cat ~/.local/share/unicode_list | dmenu -i -l 10)"
5grep "$line" ~/.local/src/unicode_list | tr -d [:print:] | 5grep "$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