From 55f777e6bc86f9dd157cd4133c903f95d0764644 Mon Sep 17 00:00:00 2001 From: Mastermindzh Date: Thu, 27 Apr 2023 17:42:31 +0200 Subject: [PATCH] feat: added bitwarden --- config/greenclip.toml | 2 +- config/polybar/themes/main/modules.ini | 2 +- dependencies/aur.txt | 1 - dependencies/pacman.txt | 1 + i3/config | 4 ++-- i3/scripts/startup.sh | 12 +++++------- 6 files changed, 10 insertions(+), 12 deletions(-) diff --git a/config/greenclip.toml b/config/greenclip.toml index 2ba120a..335a979 100644 --- a/config/greenclip.toml +++ b/config/greenclip.toml @@ -3,7 +3,7 @@ enable_image_support = true history_file = "/home/mastermindzh/.cache/greenclip.history" image_cache_directory = "/tmp/greenclip" - max_history_length = 25 + max_history_length = 50 max_selection_size_bytes = 0 static_history = [] trim_space_from_selection = true diff --git a/config/polybar/themes/main/modules.ini b/config/polybar/themes/main/modules.ini index d3184fe..a1363b2 100644 --- a/config/polybar/themes/main/modules.ini +++ b/config/polybar/themes/main/modules.ini @@ -158,7 +158,7 @@ format-foreground = ${colors.alert} [module/tidal] type=custom/script -interval = 5 +interval = 1 ; format-prefix="🎵 " format-prefix=" " format-prefix-foreground = ${colors.tidal} diff --git a/dependencies/aur.txt b/dependencies/aur.txt index 63c76e8..6402a73 100644 --- a/dependencies/aur.txt +++ b/dependencies/aur.txt @@ -1,6 +1,5 @@ visual-studio-code-bin i3blocks-contrib -enpass-bin insync ttf-font-awesome-4 awesome-terminal-fonts-git diff --git a/dependencies/pacman.txt b/dependencies/pacman.txt index a5f3d05..526702a 100644 --- a/dependencies/pacman.txt +++ b/dependencies/pacman.txt @@ -102,3 +102,4 @@ polybar noto-fonts-emoji autorandr papirus-icon-theme +bitwarden diff --git a/i3/config b/i3/config index da08eb4..47b77a8 100644 --- a/i3/config +++ b/i3/config @@ -248,7 +248,7 @@ for_window [class="Sysmontask"] resize set 930 665 # Workspace specific tools # # Use xprop to determine class # ############################################ -# assign [class="Enpass"] $workspace12 # moves all windows... including the browser popup +assign [class="Bitwarden"] $workspace12 # moves all windows... including the browser popup assign [class="VirtualBox Machine"] $workspace11 # database stuff @@ -328,7 +328,7 @@ exec_always feh --bg-scale $(find ~/Pictures/wallpapers/ -type f -name "*" | shu exec_always --no-startup-id ~/.config/polybar/launch.sh exec_always --no-startup-id "autorandr --change" exec --no-startup-id i3-msg 'workspace $workspace2; exec xfce4-terminal' && i3-msg 'workspace $workspace1' -exec --no-startup-id i3-msg 'workspace $workspace12; exec enpass' +exec --no-startup-id i3-msg 'workspace $workspace12; exec bitwarden-desktop' exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec --no-startup-id nm-applet exec --no-startup-id blueman-applet diff --git a/i3/scripts/startup.sh b/i3/scripts/startup.sh index 1a9db38..bee83ff 100644 --- a/i3/scripts/startup.sh +++ b/i3/scripts/startup.sh @@ -1,15 +1,13 @@ #!/bin/bash # start Google Drive client -insync start +insync start # Wait for the programs to start then remove attention (e.g red blinking) -sleep 1 -wmctrl -r "Enpass" -b remove,demands_attention - +# sleep 1 +# wmctrl -r "Enpass" -b remove,demands_attention # Start gkraken if the command exists -if command -v gkraken &> /dev/null -then - gkraken --hide-window & +if command -v gkraken &>/dev/null; then + gkraken --hide-window & fi