diff options
| -rw-r--r-- | config/wofi/config | 18 | ||||
| -rw-r--r-- | config/wofi/style.css | 39 | ||||
| -rwxr-xr-x | install | 16 | ||||
| -rwxr-xr-x | provision | 6 |
4 files changed, 72 insertions, 7 deletions
diff --git a/config/wofi/config b/config/wofi/config new file mode 100644 index 0000000..5bed1e6 --- /dev/null +++ b/config/wofi/config @@ -0,0 +1,18 @@ +show=drun +location=top_left +allow_images=true +image_size=48 +columns=5 +width=100% +height=97% +always_parse_args=true +show_all=true +print_command=true +layer=overlay +insensitive=true +halign=fill +content_halign=fill +valign=start +no_actions=true +line_wrap=char +sort_order=alphabetical diff --git a/config/wofi/style.css b/config/wofi/style.css new file mode 100644 index 0000000..153d240 --- /dev/null +++ b/config/wofi/style.css @@ -0,0 +1,39 @@ +window { + font-family: 'Input Sans Compressed'; + font-size: 13px; + background-color: rgba(15, 38, 31, 0.95); + color: #DAE6E3; + border-radius: 0; +} + +#outer-box { + margin: 0; + padding: 0; +} + +#input { + background-color: #DAE6E3; + border-radius: 0; + margin: 0; + padding: 2px 0 0; +} + +flowboxchild { + background: transparent; + border-radius: 0; + padding: 0; + margin: 0; +} + +.entry { + padding: 10px; + border-radius: 0; +} + +.entry label { + font-weight: 200; +} + +.entry#selected { + background: #f0f; +} @@ -73,6 +73,9 @@ ln -fns ../.dotfiles/config/emacs ~/.config/emacs # fuzzel ln -fns ../.dotfiles/config/fuzzel ~/.config/fuzzel +# +# wofi +ln -fns ../.dotfiles/config/wofi ~/.config/wofi # mako ln -fns ../.dotfiles/config/mako ~/.config/mako @@ -100,12 +103,13 @@ ln -fns .dotfiles/age-recipients ~/.age-recipients touch ~/.tool-versions -# Italics setup -echo "Setting up terminfo" -tic xterm-256color-italic.terminfo - -echo "Cloning password store" +echo "Setting up password store" mkdir -p ~/.passage -git clone git@git.r.bdr.sh:rbdr/pass ~/.passage/store +if [ ! -d "$HOME/.passage" ]; then + echo ">>> Cloning." + git clone git@git.r.bdr.sh:rbdr/pass ~/.passage/store +else + echo ">>> Already exists." +fi echo "Sensitive files have not been decrypted. Run ./sensitive to decrypt." @@ -6,18 +6,22 @@ else if command -v brew &> /dev/null; then command_name="brew" install_command="install" + privilege="" else if command -v dnf &> /dev/null; then command_name="dnf" install_command="install" + privilege="sudo" else if command -v pacman &> /dev/null; then command_name="pacman" install_command="-Sy" + privilege="sudo" else if command -v apt &> /dev/null; then command_name="apt" install_command="install" + privilege="sudo" else echo "Error: No valid package manager. Make sure brew or apt are available." exit 1 @@ -28,7 +32,7 @@ else file="./provisioning/${command_name}_$1" if [[ -f $file ]]; then echo "Provisioning $1 with $command_name" - cat ./provisioning/${command_name}_$1 | xargs ${command_name} ${install_command} + cat ./provisioning/${command_name}_$1 | xargs ${privilege} ${command_name} ${install_command} else echo "No provisioning recipe for $1 with $command_name" exit 1 |