Update .local/bin/install-program, .local/share/chezmoi/home/dot_local/bin/executable_install-terminal-theme.tmpl, .local/share/chezmoi/home/dot_local/bin/executable_install-program, .local/share/chezmoi/home/dot_local/Taskfile-local.yml, .local/share/chezmoi/home/dot_local/firejail/executable_slack, .local/share/chezmoi/home/dot_local/bin/executable_kde-wallpaper, .local/share/chezmoi/home/dot_local/bin/executable_qubes-ramqube
Deleted .local/bin/install-rofi-theme, .local/share/chezmoi/home/dot_local/bin/executable_bwc, .local/share/chezmoi/home/dot_local/bin/executable_load-secrets
This commit is contained in:
parent
306e84d012
commit
3dd5266cca
10 changed files with 24 additions and 50 deletions
|
@ -1,22 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if [ -f '/etc/qubes-release' ]; then
|
||||
# Qubes dom0
|
||||
qvm-create --label red --template debian-11 provision &> /dev/null || EXIT_CODE=$?
|
||||
qvm-run --pass-io provision 'if [ -d ~/Downloads/rofi ]; then cd ~/Downloads/rofi && git config pull.rebase false && git pull origin master; else git clone https://github.com/adi1090x/rofi.git ~/Downloads/rofi; fi; tar -zcvf /tmp/rofi.tar.gz ~/Downloads/rofi'
|
||||
qvm-run --pass-io provision "cat /tmp/rofi.tar.gz" > "/tmp/rofi.tar.gz"
|
||||
tar -xvf "/tmp/rofi.tar.gz" -C "$HOME"
|
||||
rm -f "/tmp/rofi.tar.gz"
|
||||
cd "$HOME/rofi" && bash setup.sh
|
||||
rm -rf "$HOME/rofi"
|
||||
else
|
||||
if [ -d /usr/local/src/rofi-theme/.git ]; then
|
||||
cd /usr/local/src/rofi-theme
|
||||
sudo git config pull.rebase false
|
||||
sudo git pull origin master
|
||||
cd ~/
|
||||
else
|
||||
sudo rm -rf /usr/local/src/rofi-theme
|
||||
sudo git clone https://github.com/adi1090x/rofi.git /usr/local/src/rofi-theme
|
||||
fi
|
||||
fi
|
|
@ -8,6 +8,29 @@ version: '3'
|
|||
# because the main Taskfile.yml is a symlinked one. Anyway, try `run local:default`.
|
||||
tasks:
|
||||
default: echo "Get started on https://taskfile.dev"
|
||||
bitwarden:
|
||||
cmds:
|
||||
- |
|
||||
# Command to copy to clipboard
|
||||
COPY="wl-copy"
|
||||
# Get list of all logins as json
|
||||
logins="$(bw list items)"
|
||||
# Grab the name of every login and pip them into fzf
|
||||
name="$(echo "$logins" | jq -r '.[].name' | fzf)"
|
||||
# Find the login with the selected name (as a json)
|
||||
selected="$(echo "$logins" | jq -r ".[] | select(.name == \"$name\")")"
|
||||
# Print the name of the selected login
|
||||
echo "Name: $(echo "$selected" | jq -r '.name')"
|
||||
echo "> Copying Username"
|
||||
# Copy the username to the clipboard
|
||||
printf '%s' "$(echo "$selected" | jq -r '.login.username')" | $COPY
|
||||
echo "Press any key to copy password..."
|
||||
# Wait for user input before coping the password
|
||||
read -r
|
||||
echo "> Copying Password"
|
||||
# Copy the password to the clipboard
|
||||
printf '%s' "$(echo "$selected" | jq -r '.login.password')" | $COPY
|
||||
|
||||
browser:profile:save:brave:
|
||||
vars:
|
||||
BrowserProfile: >
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Exit on error
|
||||
set -e
|
||||
|
||||
# Command to copy to clipboard
|
||||
COPY="wl-copy"
|
||||
|
||||
# Get list of all logins as json
|
||||
logins="$(bw list items)"
|
||||
# Grab the name of every login and pip them into fzf
|
||||
name="$(echo "$logins" | jq -r '.[].name' | fzf)"
|
||||
# Find the login with the selected name (as a json)
|
||||
selected="$(echo "$logins" | jq -r ".[] | select(.name == \"$name\")")"
|
||||
# Print the name of the selected login
|
||||
echo "Name: $(echo "$selected" | jq -r '.name')"
|
||||
echo "> Copying Username"
|
||||
# Copy the username to the clipboard
|
||||
printf '%s' "$(echo "$selected" | jq -r '.login.username')" | $COPY
|
||||
echo "Press any key to copy password..."
|
||||
# Wait for user input before coping the password
|
||||
read -r
|
||||
echo "> Copying Password"
|
||||
# Copy the password to the clipboard
|
||||
printf '%s' "$(echo "$selected" | jq -r '.login.password')" | $COPY
|
|
@ -1,3 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
logg
|
|
@ -1,2 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
exec firejail /usr/bin/slack --enable-features=UseOzonePlatform,WebRTCPipeWireCapturer --ozone-platform=wayland &> /dev/null &
|
Loading…
Reference in a new issue