From ec2b3dff82b89a179d137cf87e4570e807893fe8 Mon Sep 17 00:00:00 2001 From: Sam Chudnick Date: Sun, 26 Dec 2021 17:03:03 -0500 Subject: Refined firejail profile. Fixed issue in unicode-select. Removed overly-verbose explanation in id-init. --- .config/firejail/steam.profile | 18 +++++++++--------- .local/bin/dmenu/unicode-select | 2 +- .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 noblacklist ${HOME}/.local/share/Paradox Interactive noblacklist ${HOME}/.local/share/Steam noblacklist ${HOME}/.local/share/vulkan -noblacklist ${HOME}/.paradoxinteractive +#noblacklist ${HOME}/.paradoxinteractive noblacklist ${HOME}/.paradoxlauncher noblacklist ${HOME}/.steam -noblacklist ${HOME}/.steampath -noblacklist ${HOME}/.steampid +#noblacklist ${HOME}/.steampath +#noblacklist ${HOME}/.steampid # needed for STEAM_RUNTIME_PREFER_HOST_LIBRARIES=1 to work noblacklist /sbin noblacklist /usr/sbin @@ -38,21 +38,21 @@ mkdir ${HOME}/.local/share/feral-interactive mkdir ${HOME}/.local/share/Paradox Interactive mkdir ${HOME}/.local/share/Steam mkdir ${HOME}/.local/share/vulkan -mkdir ${HOME}/.paradoxinteractive +#mkdir ${HOME}/.paradoxinteractive mkdir ${HOME}/.paradoxlauncher mkdir ${HOME}/.steam -mkfile ${HOME}/.steampath -mkfile ${HOME}/.steampid +#mkfile ${HOME}/.steampath +#mkfile ${HOME}/.steampid whitelist ${HOME}/.local/share/aspyr-media whitelist ${HOME}/.local/share/feral-interactive whitelist ${HOME}/.local/share/Paradox Interactive whitelist ${HOME}/.local/share/Steam whitelist ${HOME}/.local/share/vulkan -whitelist ${HOME}/.paradoxinteractive +#whitelist ${HOME}/.paradoxinteractive whitelist ${HOME}/.paradoxlauncher whitelist ${HOME}/.steam -whitelist ${HOME}/.steampath -whitelist ${HOME}/.steampid +#whitelist ${HOME}/.steampath +#whitelist ${HOME}/.steampid include whitelist-common.inc include whitelist-var-common.inc 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 @@ # Select unicode character via dmenu and copy to clipboard line="$(cat ~/.local/share/unicode_list | dmenu -i -l 10)" -grep "$line" ~/.local/src/unicode_list | tr -d [:print:] | +grep "$line" ~/.local/share/unicode_list | tr -d [:print:] | xclip -r -selection "clipboard" && notify-send "$(xclip -selection "clipboard" -o) copied to clipboard" 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 @@ # # Must be run with bash (or probably any other shell that is not narrowly posix-compliant) # to use here-string redirection -# -# This is a very short script but may require some explanation as to its purpose. -# -# I use both KeePassXC and pass for password management. This may seem redundant, and in some -# aspects it probably is, but for me each program has a purpose that the other cannot fill -# completely. Pass is great for programmatic access of passwords because of its use of -# gpg-agent, and KeePassXC's integration with ssh-agent is very useful. -# -# This script first caches the passhphrase for the GPG key which allows further use of the -# key without a prompt for a password - this of course applies to pass as well since it uses -# the gpg key. KeePassXC is then opened, which also adds the SSH keys to the ssh-agent. -# -# KeePassXC, pass, gpg-agent, and ssh-agent are then all initialized and ready to be -# used without any further user input, with just one set of credentials. - # Cache passphrase for gpg key in gpg-agent which is stored in KeePassXC # Caching the GPG passphrase will allow access to pass without user input -- cgit v1.2.3