add greenclip, fix some screen lock

This commit is contained in:
azpsen 2024-01-29 16:54:46 -06:00
parent 150e55fb99
commit f804fea78d
4 changed files with 19 additions and 0 deletions

View File

@ -19,6 +19,7 @@ bspc rule -a Lxappearance state=floating
bspc rule -a Nvidia-settings state=floating
bspc rule -a openrgb state=floating
bspc rule -a Sxiv state=floating
bspc rule -a Dconf-editor state=floating
# start screen locker
xset s 600 5
@ -30,4 +31,6 @@ pgrep -x notify.sh > /dev/null || ~/.config/bspwm/scripts/notify.sh &
~/.config/bspwm/scripts/launch-polybar.sh &
pgrep -x greenclip > /dev/null || greenclip daemon &
pgrep -x picom > /dev/null || picom &

11
.config/greenclip.toml Normal file
View File

@ -0,0 +1,11 @@
[greenclip]
blacklisted_applications = []
enable_image_support = true
history_file = "/home/april/.cache/greenclip.history"
image_cache_directory = "/tmp/greenclip"
max_history_length = 50
max_selection_size_bytes = 0
static_history = []
trim_space_from_selection = true
use_primary_selection_as_input = false

View File

@ -8,6 +8,7 @@ configuration {
display-run: "  run ";
display-nerdfont: " 󰞅 nerd-font ";
display-emoji: "  emoji ";
display-clipboard: " 󰆏 clipboard ";
show-icons: true;
drun-display-format: "{icon} {name}";
sidebar-mode: true;

View File

@ -18,6 +18,10 @@ super + v
super + n
~/.config/rofi/scripts/icon-picker.sh
# clipboard manager
super + c
rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}'
# power menu
super + p
rofi -show p -modi p:'~/.config/rofi/scripts/rofi-power-menu --symbols-font "JetBrainsMonoNL Nerd Font Mono"' -font "JetBrainsMonoNL Nerd Font Mono" -monitor -1