✨ feat(hypr): new color picker script and other misc changes
- obsidian binds changed to super + o - wleave floating by default - slidefade animation for workspaces
This commit is contained in:
parent
bf3b28cc26
commit
3d1d8274ca
4 changed files with 23 additions and 3 deletions
|
@ -14,7 +14,7 @@ bind=SUPER,Z,exec,pypr zoom
|
|||
## Applications
|
||||
bind=SUPER,W,exec,librewolf # Numpad dot
|
||||
bind=SUPER,22,exec,neovide # Return key
|
||||
bind=SUPER,N,exec,obsidian
|
||||
bind=SUPER,O,exec,obsidian
|
||||
|
||||
# Nemo
|
||||
bind=SUPER,M,exec,nemo # Numpad 0
|
||||
|
@ -56,7 +56,7 @@ bind=ALT,Insert,exec, ~/.config/hypr/scripts/rofi/screenshots_selection
|
|||
bind=SUPER, space, exec, wleave
|
||||
|
||||
# Color picker
|
||||
bind=SUPER,Insert,exec,hyprpicker -a && notify-send -t 4000 "$(wl-paste)"
|
||||
bind=SUPER,Insert,exec, ~/.config/hypr/scripts/color_picker
|
||||
|
||||
# Wallpaper
|
||||
bind=SUPERSHIFT,w,exec, ~/.config/hypr/scripts/rofi/wallpaper_selection
|
||||
|
|
18
.config/hypr/scripts/color_picker
Executable file
18
.config/hypr/scripts/color_picker
Executable file
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
## Simple Script To Pick Color Quickly.
|
||||
|
||||
# pick and autocopy
|
||||
hyprpicker -n -a
|
||||
|
||||
# get the value
|
||||
color=$(wl-paste)
|
||||
|
||||
image=/tmp/${color}.png
|
||||
|
||||
if [[ "$color" ]]; then
|
||||
# generate preview
|
||||
convert -size 48x48 xc:"$color" ${image}
|
||||
# notify the color
|
||||
notify-send -u low -i ${image} "$color" "Copied to clipboard."
|
||||
fi
|
|
@ -39,6 +39,8 @@ windowrule = float,^(pavucontrol)$
|
|||
windowrule = size 30% 85%,^(pavucontrol)$
|
||||
windowrule = float, xfce-polkit
|
||||
windowrule = float, galculator
|
||||
windowrule = float, wleave
|
||||
windowrulev2 = animation windowsOut, 0, class:(wleave)
|
||||
windowrule = float, Geeqie
|
||||
windowrule = float, title:Open File
|
||||
windowrule = float, title:Open Folder
|
||||
|
|
|
@ -46,7 +46,7 @@ animations {
|
|||
animation=windowsMove,1,5,overshot,slide
|
||||
animation=fadeIn,1,10,default
|
||||
animation=fadeOut,1,10,default
|
||||
animation=workspaces,1,6,overshot,slide
|
||||
animation=workspaces,1,6,overshot,slidefade 85%
|
||||
animation = border, 1, 1, liner
|
||||
animation = borderangle, 1, 30, liner, loop
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue