Wleave animations added to hover

This commit is contained in:
Sergio Laín 2023-09-05 18:08:33 +02:00
parent 5a204a3020
commit a74b5df66f
10 changed files with 26 additions and 43 deletions

View file

@ -4,6 +4,7 @@ set -xg XDG_DATA_HOME ~/.local/share
set -xg XDG_STATE_HOME ~/.local/state
set -xg XDG_BIN_HOME ~/.local/bin
set -xg XDG_SCRIPT_HOME ~/.local/script
set -xg XDG_SCREENSHOTS_HOME ~/Imagenes/Capturas
set -xg CONAN_USER_HOME $XDG_CONFIG_HOME
set -xg GOPATH $XDG_DATA_HOME/go

View file

@ -2,7 +2,7 @@
# Change the path of the image to yours
function load_wp(){
swww img --transition-type wipe --transition-pos top-right --transition-duration 3.8 --transition-step 255 --transition-fps 75 ~/.config/wallpaper.png
swww img --transition-type wipe --transition-pos top-right --transition-duration 3.8 --transition-step 255 ~/.config/wallpaper.png
}
swww init

View file

@ -18,7 +18,7 @@ input {
misc {
always_follow_on_dnd=true
disable_hyprland_logo=true
vrr = 1
vrr = 0
animate_manual_resizes=false
animate_mouse_windowdragging=false
enable_swallow=true

View file

@ -44,11 +44,13 @@ animations {
bezier = default, 0.05, 0.9, 0.1, 1.05
bezier=overshot,0.13,0.99,0.29,1.1
bezier = liner, 1, 1, 1, 1
animation=windows,1,5,overshot,slide
animation=windowsOut, 1, 5, overshot, slide
animation=windowsMove,1,5,overshot,slide
animation=fadeIn,1,10,default
animation=fadeOut,1,10,default
animation=workspaces,1,6,overshot,slide
animation = border, 1, 1, liner
animation = borderangle, 1, 20, liner, loop
}

View file

@ -8,32 +8,6 @@
key: Ctrl + Space
- name: Open Command Palette
key: Ctrl + Shift + P
- name: View Merge/Rebase Options
key: m
- name: Refresh
key: r
- name: Next Screen Mode
key: +
- name: Previous Screen Mode
key: _
- name: Open Menu
key: '?'
- name: View Filter-By-Path Options
key: Ctrl + s
- name: Open Diff Menu
key: Ctrl + e / W
- name: Toggle Whitespaces in Diff View
key: Ctrl + w
- name: Undo
key: u
- name: Redo
key: Ctrl + z
- name: Push
key: P
- name: Pull
key: p
- name: Search the Current View by Text
key: /
- name: Tabs and Views
keybinds:

View file

@ -88,7 +88,7 @@
"trouble.nvim": { "branch": "main", "commit": "3f85d8ed30e97ceeddbbcf80224245d347053711" },
"typescript.nvim": { "branch": "main", "commit": "4de85ef699d7e6010528dcfbddc2ed4c2c421467" },
"undotree": { "branch": "master", "commit": "0e11ba7325efbbb3f3bebe06213afa3e7ec75131" },
"venv-selector.nvim": { "branch": "main", "commit": "6841d78e4f88efbceca9b2546e6080a9914109c4" },
"venv-selector.nvim": { "branch": "main", "commit": "b2f79910ba1202ee4447df95c0c3c4c521fc5362" },
"vim-floaterm": { "branch": "master", "commit": "eeb3f6b5c98bde26752ebe0fbe1359fc974cbdcd" },
"vim-illuminate": { "branch": "master", "commit": "76f28e858f1caae87bfa45fb4fd09e4b053fc45b" },
"vim-startuptime": { "branch": "master", "commit": "454b3de856b7bd298700de33d79774ca9b9e3875" },

View file

@ -1,5 +1,5 @@
[Default]
save_dir=$HOME/Imagenes/Capturas/PC/
save_dir=$XDG_SCREENSHOTS_HOME/PC/
save_filename_format=captura-%Y-%m-%d-%s.png
show_panel=false
line_size=5

View file

@ -5,7 +5,7 @@ STYLE="$HOME/.config/wleave/style.css"
if [[ ! $(pidof wlogout) ]]; then
wleave --layout ${LAYOUT} --css ${STYLE} \
--buttons-per-row 3 \
--buttons-per-row 2 \
--column-spacing 50 \
--row-spacing 50 \
--margin-top 290 \

View file

@ -33,4 +33,4 @@
"text": "",
"action": "~/.config/wleave/actions shutdown",
"keybind": "s"
}
}

View file

@ -14,25 +14,31 @@ window {
button {
background-color: #24273a;
color: #cdd6f4;
border: 2px solid #b7bdf8;
border-radius: 20px;
background-repeat: no-repeat;
background-position: center;
background-size: 25%;
transition: all 0.2s ease-in-out;
background-color: #24273a;
padding: 0 10px;
margin: 2px 4px 5px 4px;
border-radius: 15px;
outline-style: none;
border: 2px solid rgba(183, 189, 248, 0.5);
box-shadow: 3px 3px 1px 1px #101010;
background-clip: padding-box;
background-repeat: no-repeat;
background-position: center;
background-size: 20%;
border-radius: 15px;
box-shadow: none;
text-shadow: none;
animation: gradient_f 20s ease-in infinite;
transition: all 0.2s ease-in-out;
}
button:focus {
background-size: 30%;
}
button:hover {
color: #ffffff;
background-size: 40%;
background-color: #363a4f;
outline-style: none;
animation: gradient_f 20s ease-in infinite;
transition: all 0.3s cubic-bezier(0.55, 0, 0.28, 1.682);
}
/** ********** Icons ********** **/