Skip to content

Commit

Permalink
Install obsidian and nextcloud-sync
Browse files Browse the repository at this point in the history
  • Loading branch information
JafarAbdi committed Jan 11, 2024
1 parent a37eeb2 commit ad4fad7
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
18 changes: 18 additions & 0 deletions fish/conf.d/installs.fish
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,24 @@ end
## Host Machine ##
##################
function install-nextcloud-sync
set -l TMP_DIR (mktemp -d -p /tmp install-XXXXXX)
cd $TMP_DIR
install-from-github nextcloud-releases/desktop "Nextcloud.*x86_64.AppImage"
chmod +x Nextcloud*.AppImage
mv Nextcloud*.AppImage ~/.local/bin/nextcloud
cd -
end
function install-obsidian
set -l TMP_DIR (mktemp -d -p /tmp install-XXXXXX)
cd $TMP_DIR
install-from-github obsidianmd/obsidian-releases "Obsidian-[0-9]{1,}.[0-9]{1,}.[0-9]{1,}.AppImage"
chmod +x Obsidian-*.AppImage
mv Obsidian-*.AppImage ~/.local/bin/obsidian
cd -
end
function setup-ssh-keys
sudo apt install -y openssh-server xclip || echo -e "\e[00;31mAPT-GET FAILED\e[00m"
Expand Down
5 changes: 5 additions & 0 deletions i3/.config/i3/config
Original file line number Diff line number Diff line change
Expand Up @@ -200,3 +200,8 @@ bindsym Print exec flameshot gui

for_window [class="st"] border pixel 1
for_window [class="wezterm"] border pixel 1

exec --no-startup-id nextcloud --background
exec --no-startup-id obsidian
assign [class="obsidian"] $ws10
bindsym $mod+n workspace number $ws10

0 comments on commit ad4fad7

Please sign in to comment.