From 1c2ef2512615e0b827dc40ebd29d235005c214a6 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Tue, 3 Jan 2023 00:55:46 -0600 Subject: [PATCH] Little improvements --- common/bin/dotfiles-setup | 1 + host/laptop/{third => }/sway/config | 2 ++ host/laptop/third/bin/work-mode | 11 ----------- host/laptop/third/config.d.fish | 2 -- host/layer/public-webserver/dotfiles-setup.d.fish | 1 + 5 files changed, 4 insertions(+), 13 deletions(-) rename host/laptop/{third => }/sway/config (96%) delete mode 100755 host/laptop/third/bin/work-mode delete mode 100644 host/laptop/third/config.d.fish diff --git a/common/bin/dotfiles-setup b/common/bin/dotfiles-setup index 52a233d..231f563 100755 --- a/common/bin/dotfiles-setup +++ b/common/bin/dotfiles-setup @@ -52,6 +52,7 @@ l common/nnn $c/nnn l common/kak $c/kak l common/helix $c/helix l common/gpg/agent.conf $h/.gnupg/gpg-agent.conf +chmod og-rwx ~/.gnupg l common/htop/rc $c/htop/htoprc l common/kitty $c/kitty l common/alacritty $c/alacritty diff --git a/host/laptop/third/sway/config b/host/laptop/sway/config similarity index 96% rename from host/laptop/third/sway/config rename to host/laptop/sway/config index 810a68a..c1a0f6d 100644 --- a/host/laptop/third/sway/config +++ b/host/laptop/sway/config @@ -10,3 +10,5 @@ input type:keyboard { input type:touchscreen { events disabled } + +exec firefox diff --git a/host/laptop/third/bin/work-mode b/host/laptop/third/bin/work-mode deleted file mode 100755 index 54abe2b..0000000 --- a/host/laptop/third/bin/work-mode +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env fish - -if not test "$_" = exec - echo 'Run with `exec`' - exit 1 -end - -set -l work_conf_dir $ENV_PATH/.hidden/fish.d/postmates -test -d $work_conf_dir || \ - git clone git@github.com:lytedev/postmates.git $work_conf_dir -fish --interactive --init-command "source $work_conf_dir/config.fish" diff --git a/host/laptop/third/config.d.fish b/host/laptop/third/config.d.fish deleted file mode 100644 index 3e438fa..0000000 --- a/host/laptop/third/config.d.fish +++ /dev/null @@ -1,2 +0,0 @@ -set e $argv[1] -set -gxa fish_user_paths $e/bin diff --git a/host/layer/public-webserver/dotfiles-setup.d.fish b/host/layer/public-webserver/dotfiles-setup.d.fish index 189bce8..40219e8 100644 --- a/host/layer/public-webserver/dotfiles-setup.d.fish +++ b/host/layer/public-webserver/dotfiles-setup.d.fish @@ -17,3 +17,4 @@ _p $layerdir/caddy /etc/caddy sudo mkdir -p /srv/http sudo chmod 755 /srv/http _p $layerdir/webserver-root/* /srv/http +sudo chmod 777 /srv/http/public-files