Changes with .scripts dir
- change name of 'passworder' to 'rofi-keepasxc' - move 'rofi-keepassxc' to other repo - delete useless scripts - modify 'updot' script to not adding 'rofi-keepassxc' and useless scripts to this repo - modify sxhkd configs because of reason change name of 'passworder'
This commit is contained in:
parent
e149831ce4
commit
6725f1f41a
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
[submodule "botfiles/.scripts/rofi-keepassxc"]
|
||||
path = botfiles/.scripts/rofi-keepassxc
|
||||
url = https://github.com/samedamci/rofi-keepassxc
|
@ -32,7 +32,7 @@ XF86Calculator
|
||||
st -e bc
|
||||
# passworder
|
||||
super + p
|
||||
$HOME/.scripts/passworder.sh
|
||||
$HOME/.scripts/rofi-keepassxc/rofi-keepassxc
|
||||
|
||||
#~~~~~~~~~~~~
|
||||
# WM CONTROL
|
||||
|
@ -26,7 +26,7 @@ End
|
||||
$HOME/.scripts/screenshot.sh
|
||||
# passworder
|
||||
super + p
|
||||
$HOME/.scripts/passworder.sh
|
||||
$HOME/.scripts/rofi-keepassxc/rofi-keepassxc
|
||||
|
||||
#~~~~~~~~~~~~
|
||||
# WM CONTROL
|
||||
|
@ -30,7 +30,9 @@ XF86Mail
|
||||
# bc
|
||||
XF86Calculator
|
||||
st -e bc
|
||||
|
||||
# passworder
|
||||
super + p
|
||||
$HOME/.scripts/rofi-keepassxc/rofi-keepassxc
|
||||
#~~~~~~~~~~~~
|
||||
# WM CONTROL
|
||||
#~~~~~~~~~~~~
|
||||
|
@ -1 +0,0 @@
|
||||
ip a show wlp8s0 | grep -Eo '(inet)?*([0-9]*\.){3}[0-9]*' | grep -v '**\.255'
|
0
botfiles/.scripts/lockscreen.sh
Normal file → Executable file
0
botfiles/.scripts/lockscreen.sh
Normal file → Executable file
@ -1,17 +0,0 @@
|
||||
#!/usr/bin/env zsh
|
||||
|
||||
CACHE=$HOME/.cache/passworder/
|
||||
mkdir -p $CACHE
|
||||
DB="$HOME/Passwords/keepass.kdbx"
|
||||
|
||||
rofi -dmenu -i -p "Enter your database password" -l 0 -password | read DBPASS
|
||||
|
||||
ERROR_MSG='Error while reading the database'
|
||||
CHECK=$(echo $DBPASS | keepassxc-cli open $DB &> $CACHE/tmp && grep -oh $ERROR_MSG $CACHE/tmp)
|
||||
|
||||
if [ "$CHECK" = "$ERROR_MSG" ]; then
|
||||
rofi -e "$ERROR_MSG"
|
||||
else
|
||||
echo $DBPASS | keepassxc-cli ls $DB | grep -v 'Enter' | grep -v '?*/' | sort | rofi -dmenu -i -p "Entry list" -l 30 | read ENTRY
|
||||
echo $DBPASS | keepassxc-cli clip $DB $ENTRY
|
||||
fi
|
1
botfiles/.scripts/rofi-keepassxc
Submodule
1
botfiles/.scripts/rofi-keepassxc
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 164c4891fd7f57b1a7fb444de9d15cb41fb72f8b
|
@ -1,6 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
grep -Eo '#[0-9,A-Z,a-z]**' ~/.Xresources | sort | head -n 1
|
||||
|
||||
echo
|
||||
echo -en "\e[$((30 + i))m\u2588\u2588 ${colors[i]} \e[0m"; echo -e "\n"
|
@ -1,9 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
grep -Eoq '#[0-9,A-Z,a-z]**' ~/.Xresources | sort
|
||||
|
||||
echo
|
||||
for i in {0..7}; do echo -en "\e[$((30 + i))m\u2588\u2588 ${colors[i]} \e[0m"; echo "${colors[i]}"; done
|
||||
echo
|
||||
for i in {8..15}; do echo -en "\e[1;$((22 + i))m\u2588\u2588 ${colors[i]} \e[0m"; done
|
||||
echo -e "\n"
|
8
updot
8
updot
@ -2,9 +2,11 @@
|
||||
|
||||
echo "Adding configs to dotfiles repo..."
|
||||
cd ~
|
||||
cp -r .zshrc .Xresources .aliases .bashrc .scripts .zprofile .bash_profile .local/share/TelegramDesktop/tdata/shortcuts-custom.json ~/Dotfiles/botfiles/ &>/dev/null
|
||||
cd .config
|
||||
cp .zshrc .Xresources .aliases .bashrc .zprofile .bash_profile .local/share/TelegramDesktop/tdata/shortcuts-custom.json ~/Dotfiles/botfiles/ &>/dev/null
|
||||
cd ~/.scripts/
|
||||
cp lockscreen.sh powermenu.sh screenshot.sh update-check.sh updater.sh wificheck.sh ~/Dotfiles/botfiles/.scripts/ &>/dev/null
|
||||
cd ~/.config
|
||||
cp -r autostart bspwm dconf dunst GIMP gtk-3.0 gtk-2.0 homepage mpd ncmpcpp neofetch nvim picom polybar qutebrowser ranger rofi sxhkd vifm vis vlc wallpapers yay zsh ~/Dotfiles/botfiles/.config/ &>/dev/null
|
||||
cd ~/Dotfiles/botfiles/.config/
|
||||
rm -rf nvim/bundle zsh/plugins mpd/database zsh/history mpd/mpd.log mpd/pid mpd/state mpd/sticker.sql vis/vis.log ncmpcpp/lyrics
|
||||
rm -rf nvim/bundle zsh/plugins mpd/database zsh/history mpd/mpd.log mpd/pid mpd/state mpd/sticker.sql vis/vis.log ncmpcpp/lyrics
|
||||
echo "Done."
|
||||
|
Loading…
x
Reference in New Issue
Block a user