diff --git a/.config/fish/config.fish b/.config/fish/config.fish index c7d6199..9f0a4bc 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -1,6 +1,6 @@ set -gx EDITOR nvim set -gx PAGER less -set -Ux BAT_THEME gruvbox +# set -Ux BAT_THEME gruvbox set -Ux MANPAGER "nvim +Man!" set -g fish_greeting set -g fish_cursor_insert line @@ -9,6 +9,11 @@ set -g fish_cursor_visual underscore set -g fish_user_key_bindings set -g ask +set -gx PNPM_HOME "/home/coja/.local/share/pnpm" +if not string match -q -- $PNPM_HOME $PATH + set -gx PATH "$PNPM_HOME" $PATH +end + #set -xU MANPAGER 'less -R --use-color -Dd+r -Du+b' #set -xU MANROFFOPT '-P -c' @@ -19,15 +24,16 @@ alias nmaps="sudo nmap -sn 192.168.0.0/24" alias mem="df -H --output=source,size,used,avail | grep 480G | sort -u" alias kittyimg="kitten icat" alias dmz="cat ~/.config/fish/dmz.txt" -alias vpnhome="sudo wg-quick up wg0" -alias vpnvillage="sudo wg-quick up village-wg1" alias xremaps="sudo xremap ~/.config/xremap/config.yml" -alias llama="~/projects/llama.cpp/build/bin/llama-server -m /home/anon/projects/llama.cpp/models/Llama-3.2-3B-Instruct-F16.gguf" +# alias llama="~/projects/llama.cpp/build/bin/llama-server -m /home/anon/projects/llama.cpp/models/Llama-3.2-3B-Instruct-F16.gguf" alias cdots="cd ~/.dotfiles/.config/" alias dots="cd ~/.dotfiles/.config/ && nvim" +alias keybinds="cd ~/.dotfiles/.config/ && nvim ./hypr/keybindings.conf" alias aliases="bat ~/.config/fish/config.fish" +alias notes="cd ~/sync/notes && nvim" alias ipadd="sudo ip route add 192.168.0.1 dev wg0" alias copy="wl-copy" +alias current="cd ~/projects/wingman/website/ && nvim" # List Directory alias ls="lsd" @@ -54,6 +60,9 @@ abbr .5 "cd ../../../../.." # Always mkdir a path (this doesn't inhibit functionality to make a single dir) abbr mkdir "mkdir -p" +abbr pwwa "~/projects/wingman/website/src/assets/" +abbr scrp "~/projects/scripts/" + zoxide init --cmd cd fish | source diff --git a/.config/hypr/animations.conf b/.config/hypr/animations.conf index 4e33fd3..10f0a38 100644 --- a/.config/hypr/animations.conf +++ b/.config/hypr/animations.conf @@ -1,21 +1,27 @@ -# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ -# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ +#! ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ +#! █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ # See https://wiki.hyprland.org/Configuring/Animations/ +# HyDE Controlled content // DO NOT EDIT +# Edit or add animations in the ./hypr/animations/ directory +# and run the 'animations.sh select' command to update this file + +# animations { +# enabled = yes +# bezier = wind, 0.05, 0.9, 0.1, 1.05 +# bezier = winIn, 0.1, 1.1, 0.1, 1.1 +# bezier = winOut, 0.3, -0.3, 0, 1 +# bezier = liner, 1, 1, 1, 1 +# animation = windows, 1, 6, wind, slide +# animation = windowsIn, 1, 6, winIn, slide +# animation = windowsOut, 1, 5, winOut, slide +# animation = windowsMove, 1, 5, wind, slide +# animation = border, 1, 1, liner +# animation = borderangle, 1, 30, liner, loop +# animation = fade, 1, 10, default +# animation = workspaces, 1, 5, wind +# } +$ANIMATION=theme +$ANIMATION_PATH=~/.config/hypr/animations/theme.conf -animations { - enabled = yes - bezier = wind, 0.05, 0.9, 0.1, 1.05 - bezier = winIn, 0.1, 1.1, 0.1, 1.1 - bezier = winOut, 0.3, -0.3, 0, 1 - bezier = liner, 1, 1, 1, 1 - animation = windows, 1, 6, wind, slide - animation = windowsIn, 1, 6, winIn, slide - animation = windowsOut, 1, 5, winOut, slide - animation = windowsMove, 1, 5, wind, slide - animation = border, 1, 1, liner - animation = borderangle, 1, 30, liner, loop - animation = fade, 1, 10, default - animation = workspaces, 1, 5, wind -} diff --git a/.config/hypr/animations/classic.conf b/.config/hypr/animations/classic.conf new file mode 100644 index 0000000..d1b032f --- /dev/null +++ b/.config/hypr/animations/classic.conf @@ -0,0 +1,18 @@ +# ----------------------------------------------------- +# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ +# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ +# +# name "Classic" +# credit https://github.com/mylinuxforwork/dotfiles +# ----------------------------------------------------- + +animations { + enabled = true + bezier = myBezier, 0.05, 0.9, 0.1, 1.05 + animation = windows, 1, 7, myBezier + animation = windowsOut, 1, 7, default, popin 80% + animation = border, 1, 10, default + animation = borderangle, 1, 8, default + animation = fade, 1, 7, default + animation = workspaces, 1, 6, default +} diff --git a/.config/hypr/animations/diablo-1.conf b/.config/hypr/animations/diablo-1.conf new file mode 100644 index 0000000..6de9a8c --- /dev/null +++ b/.config/hypr/animations/diablo-1.conf @@ -0,0 +1,35 @@ +# ----------------------------------------------------- +# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ +# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ +# +# name "Diablo-1" +# credit https://github.com/Itz-Abhishek-Tiwari +# ----------------------------------------------------- + +animations { + enabled = 1 + bezier = default, 0.05, 0.9, 0.1, 1.05 + bezier = wind, 0.05, 0.9, 0.1, 1.05 + bezier = overshot, 0.13, 0.99, 0.29, 1.08 + bezier = liner, 1, 1, 1, 1 + bezier = bounce, 0.4, 0.9, 0.6, 1.0 + bezier = snappyReturn, 0.4, 0.9, 0.6, 1.0 + + bezier = slideInFromRight, 0.5, 0.0, 0.5, 1.0 + animation = windows, 1, 5, snappyReturn, slidevert + animation = windowsIn, 1, 5, snappyReturn, slidevert right + + animation = windowsOut, 1, 5, snappyReturn, slide + animation = windowsMove, 1, 6, bounce, slide + animation = layersOut, 1, 5, bounce, slidevert right + animation = fadeIn, 1, 10, default + animation = fadeOut, 1, 10, default + animation = fadeSwitch, 1, 10, default + animation = fadeShadow, 1, 10, default + animation = fadeDim, 1, 10, default + animation = fadeLayers, 1, 10, default + animation = workspaces, 1, 7, overshot, slidevert + animation = border, 1, 1, liner + animation = layers, 1, 4, bounce, slidevert right + animation = borderangle, 1, 30, liner, loop +} \ No newline at end of file diff --git a/.config/hypr/animations/diablo-2.conf b/.config/hypr/animations/diablo-2.conf new file mode 100644 index 0000000..679db41 --- /dev/null +++ b/.config/hypr/animations/diablo-2.conf @@ -0,0 +1,29 @@ +# ----------------------------------------------------- +# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ +# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ +# +# name "Diablo-2" +# credit https://github.com/Itz-Abhishek-Tiwari +# ----------------------------------------------------- + +animations { + enabled = 1 + bezier = default, 0.05, 0.9, 0.1, 1.05 + bezier = wind, 0.05, 0.9, 0.1, 1.05 + bezier = overshot, 0.13, 0.99, 0.29, 1.08 + bezier = liner, 1, 1, 1, 1 + animation = windows, 1, 7, wind, popin + animation = windowsIn, 1, 7, overshot, popin + animation = windowsOut, 1, 5, overshot, popin + animation = windowsMove, 1, 6, overshot, slide + animation = layers, 1, 5, default, popin + animation = fadeIn, 1, 10, default + animation = fadeOut, 1, 10, default + animation = fadeSwitch, 1, 10, default + animation = fadeShadow, 1, 10, default + animation = fadeDim, 1, 10, default + animation = fadeLayers, 1, 10, default + animation = workspaces, 1, 7, overshot, slidevert + animation = border, 1, 1, liner + animation = borderangle, 1, 30, liner, loop +} \ No newline at end of file diff --git a/.config/hypr/animations/disable.conf b/.config/hypr/animations/disable.conf new file mode 100644 index 0000000..b9ac665 --- /dev/null +++ b/.config/hypr/animations/disable.conf @@ -0,0 +1,9 @@ + +# // ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ +# // █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ + +# See https://wiki.hyprland.org/Configuring/Animations/ +# credits: https://github.com/prasanthrangan/hyprdots + +animations:enabled=false + diff --git a/.config/hypr/animations/dynamic.conf b/.config/hypr/animations/dynamic.conf new file mode 100644 index 0000000..f460dac --- /dev/null +++ b/.config/hypr/animations/dynamic.conf @@ -0,0 +1,23 @@ +# ----------------------------------------------------- +# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ +# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ +# +# name "Dynamic" +# credit https://github.com/mylinuxforwork/dotfiles +# ----------------------------------------------------- + +animations { + enabled = true + bezier = wind, 0.05, 0.9, 0.1, 1.05 + bezier = winIn, 0.1, 1.1, 0.1, 1.1 + bezier = winOut, 0.3, -0.3, 0, 1 + bezier = liner, 1, 1, 1, 1 + animation = windows, 1, 6, wind, slide + animation = windowsIn, 1, 6, winIn, slide + animation = windowsOut, 1, 5, winOut, slide + animation = windowsMove, 1, 5, wind, slide + animation = border, 1, 1, liner + animation = borderangle, 1, 30, liner, loop + animation = fade, 1, 10, default + animation = workspaces, 1, 5, wind +} diff --git a/.config/hypr/animations/end4.conf b/.config/hypr/animations/end4.conf new file mode 100644 index 0000000..8be409c --- /dev/null +++ b/.config/hypr/animations/end4.conf @@ -0,0 +1,43 @@ +# ----------------------------------------------------- +# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ +# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ +# +# name "End4" +# credit https://github.com/end-4/dots-hyprland +# ----------------------------------------------------- + +animations { + enabled = true + # Animation curves + + bezier = linear, 0, 0, 1, 1 + bezier = md3_standard, 0.2, 0, 0, 1 + bezier = md3_decel, 0.05, 0.7, 0.1, 1 + bezier = md3_accel, 0.3, 0, 0.8, 0.15 + bezier = overshot, 0.05, 0.9, 0.1, 1.1 + bezier = crazyshot, 0.1, 1.5, 0.76, 0.92 + bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0 + bezier = menu_decel, 0.1, 1, 0, 1 + bezier = menu_accel, 0.38, 0.04, 1, 0.07 + bezier = easeInOutCirc, 0.85, 0, 0.15, 1 + bezier = easeOutCirc, 0, 0.55, 0.45, 1 + bezier = easeOutExpo, 0.16, 1, 0.3, 1 + bezier = softAcDecel, 0.26, 0.26, 0.15, 1 + bezier = md2, 0.4, 0, 0.2, 1 # use with .2s duration + # Animation configs + animation = windows, 1, 3, md3_decel, popin 60% + animation = windowsIn, 1, 3, md3_decel, popin 60% + animation = windowsOut, 1, 3, md3_accel, popin 60% + animation = border, 1, 10, default + animation = fade, 1, 3, md3_decel + # animation = layers, 1, 2, md3_decel, slide + animation = layersIn, 1, 3, menu_decel, slide + animation = layersOut, 1, 1.6, menu_accel + animation = fadeLayersIn, 1, 2, menu_decel + animation = fadeLayersOut, 1, 4.5, menu_accel + animation = workspaces, 1, 7, menu_decel, slide + # animation = workspaces, 1, 2.5, softAcDecel, slide + # animation = workspaces, 1, 7, menu_decel, slidefade 15% + # animation = specialWorkspace, 1, 3, md3_decel, slidefadevert 15% + animation = specialWorkspace, 1, 3, md3_decel, slidevert +} diff --git a/.config/hypr/animations/fast.conf b/.config/hypr/animations/fast.conf new file mode 100644 index 0000000..f6f2984 --- /dev/null +++ b/.config/hypr/animations/fast.conf @@ -0,0 +1,26 @@ +# ----------------------------------------------------- +# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ +# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ +# +# name "Fast" +# credit https://github.com/mylinuxforwork/dotfiles +# ----------------------------------------------------- +animations { + enabled = true + bezier = linear, 0, 0, 1, 1 + bezier = md3_standard, 0.2, 0, 0, 1 + bezier = md3_decel, 0.05, 0.7, 0.1, 1 + bezier = md3_accel, 0.3, 0, 0.8, 0.15 + bezier = overshot, 0.05, 0.9, 0.1, 1.1 + bezier = crazyshot, 0.1, 1.5, 0.76, 0.92 + bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0 + bezier = fluent_decel, 0.1, 1, 0, 1 + bezier = easeInOutCirc, 0.85, 0, 0.15, 1 + bezier = easeOutCirc, 0, 0.55, 0.45, 1 + bezier = easeOutExpo, 0.16, 1, 0.3, 1 + animation = windows, 1, 3, md3_decel, popin 60% + animation = border, 1, 10, default + animation = fade, 1, 2.5, md3_decel + animation = workspaces, 1, 3.5, easeOutExpo, slide + animation = specialWorkspace, 1, 3, md3_decel, slidevert +} \ No newline at end of file diff --git a/.config/hypr/animations/high.conf b/.config/hypr/animations/high.conf new file mode 100644 index 0000000..f05559a --- /dev/null +++ b/.config/hypr/animations/high.conf @@ -0,0 +1,23 @@ +# ----------------------------------------------------- +# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ +# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ +# +# name "High" +# credit https://github.com/mylinuxforwork/dotfiles +# ----------------------------------------------------- + +animations { + enabled = true + bezier = wind, 0.05, 0.9, 0.1, 1.05 + bezier = winIn, 0.1, 1.1, 0.1, 1.1 + bezier = winOut, 0.3, -0.3, 0, 1 + bezier = liner, 1, 1, 1, 1 + animation = windows, 1, 6, wind, slide + animation = windowsIn, 1, 6, winIn, slide + animation = windowsOut, 1, 5, winOut, slide + animation = windowsMove, 1, 5, wind, slide + animation = border, 1, 1, liner + animation = borderangle, 1, 30, liner, loop + animation = fade, 1, 10, default + animation = workspaces, 1, 5, wind +} diff --git a/.config/hypr/animations/ja.conf b/.config/hypr/animations/ja.conf new file mode 100644 index 0000000..d1768f6 --- /dev/null +++ b/.config/hypr/animations/ja.conf @@ -0,0 +1,32 @@ +# ----------------------------------------------------- +# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ +# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ +# +# name "Ja" +# credit https://github.com/JaKooLit/Hyprland-Dots +# ----------------------------------------------------- + +animations { + enabled = yes + + bezier = wind, 0.05, 0.9, 0.1, 1.05 + bezier = winIn, 0.1, 1.1, 0.1, 1.1 + bezier = winOut, 0.3, -0.3, 0, 1 + bezier = liner, 1, 1, 1, 1 + bezier = overshot, 0.05, 0.9, 0.1, 1.05 + bezier = smoothOut, 0.5, 0, 0.99, 0.99 + bezier = smoothIn, 0.5, -0.5, 0.68, 1.5 + + animation = windows, 1, 6, wind, slide + animation = windowsIn, 1, 5, winIn, slide + animation = windowsOut, 1, 3, smoothOut, slide + animation = windowsMove, 1, 5, wind, slide + animation = border, 1, 1, liner + #animation = borderangle, 1, 180, liner, loop #used by rainbow borders and rotating colors + animation = fade, 1, 3, smoothOut + animation = workspaces, 1, 5, overshot + + # animations for -git or version >0.42.0 + animation = workspacesIn, 1, 5, winIn, slide + animation = workspacesOut, 1, 5, winOut, slide +} diff --git a/.config/hypr/animations/me-1.conf b/.config/hypr/animations/me-1.conf new file mode 100644 index 0000000..3606429 --- /dev/null +++ b/.config/hypr/animations/me-1.conf @@ -0,0 +1,58 @@ +# ----------------------------------------------------- +# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ +# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ +# +# name "Me-1" +# credit https://github.com/mahaveergurjar +# ----------------------------------------------------- + +animations { + enabled = true + # Animation curves + bezier = wind, 0.05, 0.9, 0.1, 1.05 + bezier = winIn, 0.1, 1.1, 0.1, 1.1 + bezier = winOut, 0.3, -0.3, 0, 1 + bezier = liner, 1, 1, 1, 1 + # bezier = linear, 0, 0, 1, 1 + bezier = md3_standard, 0.2, 0, 0, 1 + bezier = md3_decel, 0.05, 0.7, 0.1, 1 + bezier = md3_accel, 0.3, 0, 0.8, 0.15 + bezier = overshot, 0.05, 0.9, 0.1, 1.1 + bezier = crazyshot, 0.1, 1.5, 0.76, 0.92 + bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0 + bezier = menu_decel, 0.1, 1, 0, 1 + bezier = menu_accel, 0.38, 0.04, 1, 0.07 + bezier = easeInOutCirc, 0.85, 0, 0.15, 1 + bezier = easeOutCirc, 0, 0.55, 0.45, 1 + bezier = easeOutExpo, 0.16, 1, 0.3, 1 + bezier = softAcDecel, 0.26, 0.26, 0.15, 1 + bezier = md2, 0.4, 0, 0.2, 1 # use with .2s duration + + # Animation configs + # animation = windows, 1, 3, md3_decel, popin 60% + # animation = windowsIn, 1, 3, md3_decel, popin 60% + # animation = windowsOut, 1, 3, md3_accel, popin 60% + # animation = windows, 1, 6, wind, slide + animation = border, 1, 1, liner + animation = borderangle, 1, 30, liner, loop + animation = windows, 1, 6, wind, slide + animation = windowsIn, 1, 6, winIn, slide + animation = windowsOut, 1, 5, winOut, slide + animation = windowsMove, 1, 5, wind, slide + + # animation = border, 1, 10, default + animation = fade, 1, 3, md3_decel + # animation = layers, 1, 2, md3_decel, slide + animation = layersIn, 1, 3, menu_decel, slide + animation = layersOut, 1, 1.6, menu_accel + animation = fadeLayersIn, 1, 2, menu_decel + animation = fadeLayersOut, 1, 4.5, menu_accel + animation = workspaces, 1, 7, menu_decel, slide + animation = workspaces, 1, 5, wind + # animation = workspaces, 1, 2.5, softAcDecel, slide + # animation = workspaces, 1, 7, menu_decel, slidefade 15% + animation = specialWorkspace, 1, 3, md3_decel, slidefadevert 15% + animation = specialWorkspace, 1, 3, md3_decel, slidevert +} + + diff --git a/.config/hypr/animations/me-2.conf b/.config/hypr/animations/me-2.conf new file mode 100644 index 0000000..4de5ceb --- /dev/null +++ b/.config/hypr/animations/me-2.conf @@ -0,0 +1,50 @@ +# ----------------------------------------------------- +# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ +# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ +# +# name "Me-2" +# credit https://github.com/mahaveergurjar +# ----------------------------------------------------- + +animations { + enabled = true + # Animation curves + bezier = wind, 0.05, 0.9, 0.1, 1.05 + bezier = winIn, 0.1, 1.1, 0.1, 1.1 + bezier = winOut, 0.3, -0.3, 0, 1 + bezier = liner, 1, 1, 1, 1 + bezier = md3_standard, 0.2, 0, 0, 1 + bezier = md3_decel, 0.05, 0.7, 0.1, 1 + bezier = md3_accel, 0.3, 0, 0.8, 0.15 + bezier = overshot, 0.05, 0.9, 0.1, 1.1 + bezier = crazyshot, 0.1, 1.5, 0.76, 0.92 + bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0 + bezier = menu_decel, 0.1, 1, 0, 1 + bezier = menu_accel, 0.38, 0.04, 1, 0.07 + bezier = easeInOutCirc, 0.85, 0, 0.15, 1 + bezier = easeOutCirc, 0, 0.55, 0.45, 1 + bezier = easeOutExpo, 0.16, 1, 0.3, 1 + bezier = softAcDecel, 0.26, 0.26, 0.15, 1 + bezier = md2, 0.4, 0, 0.2, 1 # use with .2s duration + + bezier = OutBack, 0.34, 1.56, 0.64, 1 + bezier = easeInOutCirc, 0.85, 0, 0.15, 1 + + animation = border, 1, 1, liner + animation = borderangle, 1, 30, liner, loop + # animation = windows, 1, 6, wind, slide + animation = windowsIn, 1, 6, winIn, slide + # animation = windowsOut, 1, 5, winOut, slide + animation = windows, 1, 5, easeInOutCirc + animation = windowsOut, 1, 5, OutBack + animation = windowsMove, 1, 5, wind, slide + animation = fade, 1, 3, md3_decel + animation = layersIn, 1, 3, menu_decel, slide + animation = layersOut, 1, 1.6, menu_accel + animation = fadeLayersIn, 1, 2, menu_decel + animation = fadeLayersOut, 1, 4.5, menu_accel + animation = workspaces, 1, 7, menu_decel, slide + animation = workspaces, 1, 5, wind + animation = specialWorkspace, 1, 3, md3_decel, slidefadevert 15% + animation = specialWorkspace, 1, 3, md3_decel, slidevert +} \ No newline at end of file diff --git a/.config/hypr/animations/minimal-1.conf b/.config/hypr/animations/minimal-1.conf new file mode 100644 index 0000000..4aa1f79 --- /dev/null +++ b/.config/hypr/animations/minimal-1.conf @@ -0,0 +1,29 @@ +# ----------------------------------------------------- +# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ +# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ +# +# name "Minimal-1" +# ----------------------------------------------------- + +animations { + enabled = true + + # █▄▄ █▀▀ ▀█ █ █▀▀ █▀█   █▀▀ █░█ █▀█ █░█ █▀▀ + # █▄█ ██▄ █▄ █ ██▄ █▀▄   █▄▄ █▄█ █▀▄ ▀▄▀ ██▄ + bezier = wind, 0.05, 0.9, 0.1, 1.05 + bezier = winIn, 0.1, 1.1, 0.1, 1.1 + bezier = winOut, 0.3, -0.3, 0, 1 + bezier = liner, 1, 1, 1, 1 + + + #▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ + #█▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ + animation = windows, 1, 6, wind, slide + animation = windowsIn, 1, 6, winIn, slide + animation = windowsOut, 1, 5, winOut, slide + animation = windowsMove, 1, 5, wind, slide + animation = border, 1, 1, liner + animation = borderangle, 1, 30, liner, loop + animation = fade, 1, 10, default + animation = workspaces, 1, 5, wind +} diff --git a/.config/hypr/animations/minimal-2.conf b/.config/hypr/animations/minimal-2.conf new file mode 100644 index 0000000..66da51b --- /dev/null +++ b/.config/hypr/animations/minimal-2.conf @@ -0,0 +1,18 @@ +# ----------------------------------------------------- +# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ +# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ +# +# name "Minimal-2" +# ----------------------------------------------------- + +animations { + enabled = yes + + bezier = quart, 0.25, 1, 0.5, 1 + + animation = windows, 1, 6, quart, slide + animation = border, 1, 6, quart + animation = borderangle, 1, 6, quart + animation = fade, 1, 6, quart + animation = workspaces, 1, 6, quart +} \ No newline at end of file diff --git a/.config/hypr/animations/moving.conf b/.config/hypr/animations/moving.conf new file mode 100644 index 0000000..23b1dec --- /dev/null +++ b/.config/hypr/animations/moving.conf @@ -0,0 +1,22 @@ +# ----------------------------------------------------- +# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ +# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ +# +# name "Moving" +# credit https://github.com/mylinuxforwork/dotfiles +# ----------------------------------------------------- + +animations { + enabled = true + bezier = overshot, 0.05, 0.9, 0.1, 1.05 + bezier = smoothOut, 0.5, 0, 0.99, 0.99 + bezier = smoothIn, 0.5, -0.5, 0.68, 1.5 + animation = windows, 1, 5, overshot, slide + animation = windowsOut, 1, 3, smoothOut + animation = windowsIn, 1, 3, smoothOut + animation = windowsMove, 1, 4, smoothIn, slide + animation = border, 1, 5, default + animation = fade, 1, 5, smoothIn + animation = fadeDim, 1, 5, smoothIn + animation = workspaces, 1, 6, default +} diff --git a/.config/hypr/animations/optimized.conf b/.config/hypr/animations/optimized.conf new file mode 100644 index 0000000..23c698f --- /dev/null +++ b/.config/hypr/animations/optimized.conf @@ -0,0 +1,43 @@ +# ----------------------------------------------------- +# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ +# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ +# +# name "Optimized" +# ----------------------------------------------------- + +animations { + enabled = true + bezier = wind, 0.05, 0.85, 0.03, 0.97 + bezier = winIn, 0.07, 0.88, 0.04, 0.99 + bezier = winOut, 0.20, -0.15, 0, 1 + bezier = liner, 1, 1, 1, 1 + bezier = md3_standard, 0.12, 0, 0, 1 + bezier = md3_decel, 0.05, 0.80, 0.10, 0.97 + bezier = md3_accel, 0.20, 0, 0.80, 0.08 + bezier = overshot, 0.05, 0.85, 0.07, 1.04 + bezier = crazyshot, 0.1, 1.22, 0.68, 0.98 + bezier = hyprnostretch, 0.05, 0.82, 0.03, 0.94 + bezier = menu_decel, 0.05, 0.82, 0, 1 + bezier = menu_accel, 0.20, 0, 0.82, 0.10 + bezier = easeInOutCirc, 0.75, 0, 0.15, 1 + bezier = easeOutCirc, 0, 0.48, 0.38, 1 + bezier = easeOutExpo, 0.10, 0.94, 0.23, 0.98 + bezier = softAcDecel, 0.20, 0.20, 0.15, 1 + bezier = md2, 0.30, 0, 0.15, 1 + + bezier = OutBack, 0.28, 1.40, 0.58, 1 + bezier = easeInOutCirc, 0.78, 0, 0.15, 1 + + animation = border, 1, 1.6, liner + animation = borderangle, 1, 82, liner, loop + animation = windowsIn, 1, 3.2, winIn, slide + animation = windowsOut, 1, 2.8, easeOutCirc + animation = windowsMove, 1, 3.0, wind, slide + animation = fade, 1, 1.8, md3_decel + animation = layersIn, 1, 1.8, menu_decel, slide + animation = layersOut, 1, 1.5, menu_accel + animation = fadeLayersIn, 1, 1.6, menu_decel + animation = fadeLayersOut, 1, 1.8, menu_accel + animation = workspaces, 1, 4.0, menu_decel, slide + animation = specialWorkspace, 1, 2.3, md3_decel, slidefadevert 15% +} \ No newline at end of file diff --git a/.config/hypr/animations/standard.conf b/.config/hypr/animations/standard.conf new file mode 100644 index 0000000..4482dd9 --- /dev/null +++ b/.config/hypr/animations/standard.conf @@ -0,0 +1,18 @@ +# ----------------------------------------------------- +# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ +# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ +# +# name "Standard" +# credit https://github.com/mylinuxforwork/dotfiles +# ----------------------------------------------------- + +animations { + enabled = true + bezier = myBezier, 0.05, 0.9, 0.1, 1.05 + animation = windows, 1, 7, myBezier + animation = windowsOut, 1, 7, default, popin 80% + animation = border, 1, 10, default + animation = borderangle, 1, 8, default + animation = fade, 1, 7, default + animation = workspaces, 1, 6, default +} diff --git a/.config/hypr/animations/theme.conf b/.config/hypr/animations/theme.conf new file mode 100644 index 0000000..42e5eeb --- /dev/null +++ b/.config/hypr/animations/theme.conf @@ -0,0 +1,23 @@ +# This file is generated by wallbash:animations.dcol + +# // ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ +# // █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ + +# See https://wiki.hyprland.org/Configuring/Animations/ +# credits: https://github.com/prasanthrangan/hyprdots + +animations { + enabled = yes + bezier = wind, 0.05, 0.9, 0.1, 1.05 + bezier = winIn, 0.1, 1.1, 0.1, 1.1 + bezier = winOut, 0.3, -0.3, 0, 1 + bezier = liner, 1, 1, 1, 1 + animation = windows, 1, 6, wind, slide + animation = windowsIn, 1, 6, winIn, slide + animation = windowsOut, 1, 5, winOut, slide + animation = windowsMove, 1, 5, wind, slide + animation = border, 1, 1, liner + animation = borderangle, 1, 30, liner, once + animation = fade, 1, 10, default + animation = workspaces, 1, 5, wind +} diff --git a/.config/hypr/animations/vertical.conf b/.config/hypr/animations/vertical.conf new file mode 100644 index 0000000..272d28f --- /dev/null +++ b/.config/hypr/animations/vertical.conf @@ -0,0 +1,34 @@ +# ----------------------------------------------------- +# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ +# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ +# +# name "Vertical" +# ----------------------------------------------------- + +animations { + bezier = fluent_decel, 0, 0.2, 0.4, 1 + bezier = easeOutCirc, 0, 0.55, 0.45, 1 + bezier = easeOutCubic, 0.33, 1, 0.68, 1 + bezier = easeinoutsine, 0.37, 0, 0.63, 1 + + # Windows + animation = windowsIn, 1, 1.5, easeinoutsine, popin 60% # window open + animation = windowsOut, 1, 1.5, easeOutCubic, popin 60% # window close. + animation = windowsMove, 1, 1.5, easeinoutsine, slide # everything in between, moving, dragging, resizing. + + # Fading + animation = fade, 1, 2.5, fluent_decel + + animation = fadeLayersIn, 0 + animation = border, 0 + + + # Layers + animation = layers, 1, 1.5, easeinoutsine, popin + + # Workspaces + #animation = workspaces, 1, 3, fluent_decel, slidefade 30% # styles: slide, slidevert, fade, slidefade, slidefadevert + animation = workspaces, 1, 3, fluent_decel, slidefadevert 30% # styles: slide, slidevert, fade, slidefade, slidefadevert + + animation = specialWorkspace, 1, 2, fluent_decel, slidefade 10% +} diff --git a/.config/hypr/hyde.conf b/.config/hypr/hyde.conf new file mode 100644 index 0000000..63d4b73 --- /dev/null +++ b/.config/hypr/hyde.conf @@ -0,0 +1,134 @@ +#!   ░▒▒▒░░░▓▓          ___________ +#! ░░▒▒▒░░░░░▓▓        //___________/ +#! ░░▒▒▒░░░░░▓▓     _   _ _    _ _____ +#! ░░▒▒░░░░░▓▓▓▓▓▓ | | | | |  | |  __/ +#! ░▒▒░░░░▓▓   ▓▓ | |_| | |_/ /| |___ +#!  ░▒▒░░▓▓   ▓▓   \__  |____/ |____/ +#!    ░▒▓▓   ▓▓  //____/ + +# Use this for reference to override the default HyDE' hyprland configuration + +# ! Never source ~/.config/hypr/hyde.conf directly, it is sourced by the main configuration file +# This file acts as an override configuration for the user to set their environment variables and startup commands +# Static variable declaration in hyde.conf will be prioritized over the default and dynamic configuration + +#  NOTE  +# Leaving the variable empty will unset the variable +# Commenting out the variable will use the default value +# For updated configuration options, see https://github.com/HyDE-Project/HyDE/blob/master/Configs/.config/hypr/hyde.conf +# For simplicity, ./hyde.conf ONLY accepts $ for variables and # for comments, will sanitize the file to remove any other characters +# $start.VAR , $env.VAR are ONLY HyDE specific conventions for consistency. + +# Keyboard modifier +# $mainMod = SUPER # windows key + + +# ▄▀█ █▀█ █▀█ █▀ +# █▀█ █▀▀ █▀▀ ▄█ + +# $QUICKAPPS = # used for quick app launcher +# $BROWSER = firefox # default browser, if commented out , will use the default browser +# $EDITOR = code # default editor, if commented out , will use the default editor +# $EXPLORER= dolphin # default file manager, if commented out , will use the default file manager +# $TERMINAL = kitty # default terminal, if commented out , will use the org.gnome.desktop.default-applications.terminal +# $LOCKSCREEN=hyprlock # default lockscreen, you can use any lockscreen you want, eg swaylock +# $IDLE=hypridle # default idle manager, you can use any idle manager you want,eg swayidle + + +# // █░░ ▄▀█ █░█ █▄░█ █▀▀ █░█ +# // █▄▄ █▀█ █▄█ █░▀█ █▄▄ █▀█ +# See https://wiki.hyprland.org/Configuring/Keywords/ +# Override the default startup commands + +# $start.XDG_PORTAL_RESET=$scrPath/resetxdgportal.sh +# $start.DBUS_SHARE_PICKER=dbus-update-activation-environment --systemd --all # for XDPH +# $start.SYSTEMD_SHARE_PICKER=systemctl --user import-environment QT_QPA_PLATFORMTHEME WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # for XDPH +# $start.BAR=waybar +# $start.NOTIFICATIONS=swaync # dunst +# $start.APPTRAY_BLUETOOTH=blueman-applet +# $start.WALLPAPER=$scrPath/swwwallpaper.sh +# $start.TEXT_CLIPBOARD=wl-paste --type text --watch cliphist store +# $start.IMAGE_CLIPBOARD=wl-paste --type image --watch cliphist store +# $start.BATTERY_NOTIFY=$scrPath/batterynotify.sh +# $start.NETWORK_MANAGER=nm-applet --indicator +# $start.REMOVABLE_MEDIA=udiskie --no-automount --smart-tray +# $start.AUTH_DIALOGUE=$scrPath/polkitkdeauth.sh +# $start.IDLE_DAEMON=$IDLE + +# // █▀▀ █▄░█ █░█ +# // ██▄ █░▀█ ▀▄▀ + +# See https://wiki.hyprland.org/Configuring/Environment-variables/ +# Override the default environment variables + + +# # Toolkit Backend Variables - https://wiki.hyprland.org/Configuring/Environment-variables/#toolkit-backend-variables +# $env.GDK_BACKEND = wayland,x11,* #s GTK: Use wayland if available. If not: try x11, then any other GDK backend. +# # $env.QT_QPA_PLATFORM = wayland;xcb #Qt: Use wayland if available, fall back to x11 if not. +# $env.SDL_VIDEODRIVER = wayland #s Run SDL2 applications on Wayland. Remove or set to x11 if games that provide older versions of SDL cause compatibility issues +# $env.CLUTTER_BACKEND = wayland #s Clutter package already has wayland enabled, this variable will force Clutter applications to try and use the Wayland backend + +# # XDG Specifications - https://wiki.hyprland.org/Configuring/Environment-variables/#xdg-specifications +# $env.XDG_CURRENT_DESKTOP = Hyprland +# $env.XDG_SESSION_TYPE = wayland +# $env.XDG_SESSION_DESKTOP = Hyprland + +# # Qt Variables - https://wiki.hyprland.org/Configuring/Environment-variables/#qt-variables + +# $env.QT_AUTO_SCREEN_SCALE_FACTOR = 1 # (From the Qt documentation) enables automatic scaling, based on the monitor’s pixel density +# $env.QT_QPA_PLATFORM=wayland;xcb # Tell Qt applications to use the Wayland backend, and fall back to x11 if Wayland is unavailable +# $env.QT_WAYLAND_DISABLE_WINDOWDECORATION = 1 # Disables window decorations on Qt applications +# $env.QT_QPA_PLATFORMTHEME = qt6ct # Tells Qt based applications to pick your theme from qt5ct, use with Kvantum. + +# # HyDE Environment Variables - + +# $env.PATH = +# $env.MOZ_ENABLE_WAYLAND=1 # Enable Wayland for Firefox +# $env.GDK_SCALE=1 # Set GDK scale to 1 // For Xwayland on HiDPI +# $env.ELECTRON_OZONE_PLATFORM_HINT=auto # Set Electron Ozone Platform Hint to auto // For Electron apps on Wayland + +# # XDG-DIRS + +# $env.XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR +# $env.XDG_CONFIG_HOME=$HOME/.config +# $env.XDG_CACHE_HOME=$HOME/.cache +# $env.XDG_DATA_HOME=$HOME/.local/share + + + +# These variable will override the default and the theme configuration +# Do not uncomment the variables if you want want HyDE do the theme configuration for you + +# // █▀▀ ▀█▀ █▄▀ +# // █▄█ ░█░ █░█ + + +#$GTK_THEME=Wallbash-Gtk +#$ICON_THEME=Tela-circle-dracula +#$COLOR_SCHEME=prefer-dark + +# // █▀▀ █░█ █▀█ █▀ █▀█ █▀█ +# // █▄▄ █▄█ █▀▄ ▄█ █▄█ █▀▄ + +#$CURSOR_THEME=Bibata-Modern-Ice +#$CURSOR_SIZE=30 + +# // █▀▀ █▀█ █▄░█ ▀█▀ +# // █▀░ █▄█ █░▀█ ░█░ + +#$FONT=Canterell +#$FONT_SIZE=10 +#$DOCUMENT_FONT=Cantarell +#$DOCUMENT_FONT_SIZE=10 +#$MONOSPACE_FONT=CaskaydiaCove Nerd Font Mono +#$MONOSPACE_FONT_SIZE=9 +#$FONT_ANTIALIASING=rgba +#$FONT_HINTING=full + + +# // █░░ █▀█ █▀▀ █▄▀ █▀ █▀▀ █▀█ █▀▀ █▀▀ █▄░█ +# // █▄▄ █▄█ █▄▄ █░█ ▄█ █▄▄ █▀▄ ██▄ ██▄ █░▀█ + +#Setting the Hyprlock layout will override any layout set in the ./hypr/hyprlock.sh +# Dynamic Hyprlock layout should be set in the ./hypr/hyprlock.sh file +# $LAYOUT_PATH=/path/to/hyprlock/layout.conf diff --git a/.config/hypr/hypridle.conf b/.config/hypr/hypridle.conf new file mode 100644 index 0000000..b1466e7 --- /dev/null +++ b/.config/hypr/hypridle.conf @@ -0,0 +1,50 @@ +#!   ░▒▒▒░░░▓▓          ___________ +#! ░░▒▒▒░░░░░▓▓        //___________/ +#! ░░▒▒▒░░░░░▓▓     _   _ _    _ _____ +#! ░░▒▒░░░░░▓▓▓▓▓▓ | | | | |  | |  __/ +#! ░▒▒░░░░▓▓   ▓▓ | |_| | |_/ /| |___ +#!  ░▒▒░░▓▓   ▓▓   \__  |____/ |____/ +#!    ░▒▓▓   ▓▓  //____/ + +# $LOCKSCREEN = hyprlock # preferred LOCKSCREEN e.g swaylock +$LOCKSCREEN = lockscreen.sh # Calls $LOCKSCREEN set from hyprland + +general { + lock_cmd = $LOCKSCREEN + unlock_cmd = #notify-send "unlock!" # same as above, but unlock + before_sleep_cmd = $LOCKSCREEN # command ran before sleep + after_sleep_cmd = # notify-send "Awake!" # command ran after sleep + ignore_dbus_inhibit = 0 +} + +# Dims the display +listener { + timeout = 120 +on-timeout = { brightnessctl -s && brightnessctl s 1% ;} + on-resume = brightnessctl -r +} + +# Lock it first before dpms off so that screen won't show for a moment after wake up. +listener { + timeout = 240 + on-timeout = $LOCKSCREEN +} + +# DPMS off +listener { + timeout = 2300 + on-timeout = hyprctl dispatch dpms off #do not turn off display while media is playing + on-resume = hyprctl dispatch dpms on +} + +# Suspend +# listener { +# timeout = 500 +# on-timeout = systemctl suspend +# } + +# hyprlang noerror true +# Source anything from this path if you want to add your own listener +# source command actually do not exist yet +source = ~/.config/hypridle/* +# hyprlang noerror false diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index faca14f..a62fa9d 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -1,143 +1,118 @@ +#!   ░▒▒▒░░░▓▓          ___________ +#! ░░▒▒▒░░░░░▓▓        //___________/ +#! ░░▒▒▒░░░░░▓▓     _   _ _    _ _____ +#! ░░▒▒░░░░░▓▓▓▓▓▓ | | | | |  | |  __/ +#! ░▒▒░░░░▓▓   ▓▓ | |_| | |_/ /| |___ +#!  ░▒▒░░▓▓   ▓▓   \__  |____/ |____/ +#!    ░▒▓▓   ▓▓  //____/ -#   ░▒▒▒░░░░░▓▓          ___________ -# ░░▒▒▒░░░░░▓▓        //___________/ -# ░░▒▒▒░░░░░▓▓     _   _ _    _ _____ -# ░░▒▒░░░░░▓▓▓▓▓▓ | | | | |  | |  __/ -# ░▒▒░░░░▓▓   ▓▓ | |_| | |_/ /| |___ -#  ░▒▒░░▓▓   ▓▓   \__  |____/ |____/ -#    ░▒▓▓   ▓▓  //____/ +#?  HyDE's Hyprland Configuration  +# First, let's understand the structure of the configuration file +# It is divided into 3 sections: Boilerplate, Overrides, and Users +#* 1. Boilerplate +# - This section is for the default configuration of HyDE +# - It is recommended to not change this section +# - Filepath: $XDG_DATA_HOME/share/hyde/hyprland.conf +#* 2. Overrides +# - This section is for overriding the default configuration of HyDE +# - Change this section if you intended to: +# - Change the startup and env variables +# - Stop a app/service from starting +# - Override HyDE specific variables +# - Filepath: $XDG_CONFIG_HOME/hypr/hyde.conf +#* 3. Users +# - This section is for user configuration +# - It is recommended to change this section to your liking +# - Filepath: ./keybindings.conf, ./windowrules.conf, ./monitors.conf, ./userprefs.conf -$scrPath = $HOME/.local/share/bin # set scripts path + +#?  Boilerplate  +source = ~/.local/share/hyde/hyprland.conf -# █▀▄▀█ █▀█ █▄░█ █ ▀█▀ █▀█ █▀█ -# █░▀░█ █▄█ █░▀█ █ ░█░ █▄█ █▀▄ - -# See https://wiki.hyprland.org/Configuring/Monitors/ - -# monitor = ,preferred,auto,auto +#?  Overrides  +# Overriding startup and env variables +# To avoid breaking and conflicts, HyDE will use variables to store the env and startup variables +# See ~/.config/hypr/hyde.conf for overriding the default env and startup variables +#* startup: +# - The startup variables are the variables that are set when the shell starts +# - $start.BAR=waybar will launch waybar on startup (default waybar) +# - $start.BAR= will unset the variable +# - $start.BAR=other_bar will launch other_bar on startup, overriding the default (waybar) +#* env: +# - The env variables are the variables that are set when the shell starts +# - $env.QT_QPA_PLATFORMTHEME= will unset the variable +# - $env.QT_QPA_PLATFORMTHEME=qt6ct will set the variable to qt6ct +# for updated configuration, see the https://github.com/HyDE-Project/HyDE/blob/master/Configs/.config/hypr/hyde.conf -# █░░ ▄▀█ █░█ █▄░█ █▀▀ █░█ -# █▄▄ █▀█ █▄█ █░▀█ █▄▄ █▀█ - -# See https://wiki.hyprland.org/Configuring/Keywords/ - -exec-once = $scrPath/resetxdgportal.sh # reset XDPH for screenshare -exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # for XDPH -exec-once = dbus-update-activation-environment --systemd --all # for XDPH -exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # for XDPH -exec-once = $scrPath/polkitkdeauth.sh # authentication dialogue for GUI apps -exec-once = waybar # launch the system bar -exec-once = blueman-applet # systray app for Bluetooth -exec-once = udiskie --no-automount --smart-tray # front-end that allows to manage removable media -exec-once = nm-applet --indicator # systray app for Network/Wifi -exec-once = dunst # start notification demon -exec-once = wl-paste --type text --watch cliphist store # clipboard store text data -exec-once = wl-paste --type image --watch cliphist store # clipboard store image data -exec-once = $scrPath/swwwallpaper.sh # start wallpaper daemon -exec-once = $scrPath/batterynotify.sh # battery notification -exec-once = xremap ~/.config/xremap/config.yml -exec-once = swayidle -w timeout 180 'swaylock --timestr %H:%M & brightnessctl -s & brightnessctl set 15' resume 'brightnessctl -r' +#?  Users  +# These files are for user configuration +# Edit the files to your liking +# Refer to https://wiki.hyprland.org +source = ./keybindings.conf # Keyboard shortcuts +source = ./windowrules.conf # Window rules +source = ./monitors.conf # Monitor configuration +source = ./userprefs.conf # Personal hyprland configuration -# █▀▀ █▄░█ █░█ -# ██▄ █░▀█ ▀▄▀ -# See https://wiki.hyprland.org/Configuring/Environment-variables/ +#!▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ -env = PATH,$PATH:$scrPath -env = XDG_CURRENT_DESKTOP,Hyprland -env = XDG_SESSION_TYPE,wayland -env = XDG_SESSION_DESKTOP,Hyprland -env = QT_QPA_PLATFORM,wayland;xcb -env = QT_QPA_PLATFORMTHEME,qt6ct -env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 -env = QT_AUTO_SCREEN_SCALE_FACTOR,1 -env = MOZ_ENABLE_WAYLAND,1 -env = GDK_SCALE,1 +#? █▀█ █▀▀ █▀▀ █▀▀ █▀█ █▀▀ █▄░█ █▀▀ █▀▀ +#? █▀▄ ██▄ █▀░ ██▄ █▀▄ ██▄ █░▀█ █▄▄ ██▄ + +#!▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ -# █ █▄░█ █▀█ █░█ ▀█▀ -# █ █░▀█ █▀▀ █▄█ ░█░ +#?  Reference  +# Configurations below are for reference ONLY +# They are not essential for HyDE to work but can be used to enhance QOL +# Copy the config line and paste it in the Users section to use it +# This is to prevent bloating users configuration files when not needed -# See https://wiki.hyprland.org/Configuring/Variables/ +# // █▀▀ █▄░█ █░█ +# // ██▄ █░▀█ ▀▄▀ -# keyremap -input { - kb_layout = us - # kb_options=caps:swapescape - # kb_options=caps:ctrl_modifier - follow_mouse = 1 - - touchpad { - natural_scroll = no - } - - sensitivity = 0 - force_no_accel = 1 -} - -# See https://wiki.hyprland.org/Configuring/Keywords/#executing - -device { - name = epic mouse V1 - sensitivity = -0.5 -} - -# See https://wiki.hyprland.org/Configuring/Variables/ - -gestures { - workspace_swipe = true - workspace_swipe_fingers = 3 -} +# env = MANGOHUD,1 +# env = MANGOHUD_DLSYM,1 -# █░░ ▄▀█ █▄█ █▀█ █░█ ▀█▀ █▀ -# █▄▄ █▀█ ░█░ █▄█ █▄█ ░█░ ▄█ +# // █▄▀ █▀▀ █▄█ █▄▄ █ █▄░█ █▀▄ █ █▄░█ █▀▀ █▀ +# // █░█ ██▄ ░█░ █▄█ █ █░▀█ █▄▀ █ █░▀█ █▄█ ▄█ -# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ - -dwindle { - pseudotile = yes - preserve_split = yes -} - -# See https://wiki.hyprland.org/Configuring/Master-Layout/ - -master { - new_status = master -} +# bind = Ctrl+Alt+Shift, R, pass, ^(com\.obsproject\.Studio)$ # toggle obs screen recording // install obs flatpak +# bind = $mainMod+Shift, G, exec, pkill -x rofi || $scrPath/gamelauncher.sh # launch steam game launcher // install steam +# bind = $mainMod, Period, exec, emote # launch emoji selector // install emote +# bind = $mainMod+Alt, XF86MonBrightnessDown, exec, hyprshade on blue-light-filter # enable blue light filter // install hyprshade +# bind = $mainMod+Alt, XF86MonBrightnessUp, exec, hyprshade off # disable blue light filter // install hyprshade -# █▀▄▀█ █ █▀ █▀▀ -# █░▀░█ █ ▄█ █▄▄ +# // █░░ ▄▀█ █░█ █▄░█ █▀▀ █░█ +# // █▄▄ █▀█ █▄█ █░▀█ █▄▄ █▀█ -# See https://wiki.hyprland.org/Configuring/Variables/ +# exec-once = swayidle -w timeout 600 'swaylock' timeout 900 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' # lock after 10 mins, sleep after 15 mins // install swayidle +# exec-once = swayidle -w timeout 1200 'swaylock; hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' timeout 1800 'systemctl suspend' # lock and sleep after 20 mins, suspend after 30 mins // install swayidle -misc { - vrr = 0 - disable_hyprland_logo = true - disable_splash_rendering = true - force_default_wallpaper = 0 -} +# exec-once = libinput-gestures // install libinput-gestures -xwayland { - force_zero_scaling = true -} +# exec-once = swayosd-server # enable swayosd service +# exec-once = `pkexec swayosd-libinput-backend` # swayosd service for keyboard input (requires to be run in a subshell) + +# // █░█░█ █ █▄░█ █▀▄ █▀█ █░█░█   █▀█ █░█ █░░ █▀▀ █▀ +# // ▀▄▀▄▀ █ █░▀█ █▄▀ █▄█ ▀▄▀▄▀   █▀▄ █▄█ █▄▄ ██▄ ▄█ + +# windowrulev2 = opacity 0.60 0.60,class:^(Steam)$ +# windowrulev2 = opacity 0.60 0.60,class:^(steam)$ +# windowrulev2 = opacity 0.60 0.60,class:^(steamwebhelper)$ +# windowrulev2 = opacity 0.60 0.60,class:^(Spotify)$ -# █▀ █▀█ █░█ █▀█ █▀▀ █▀▀ -# ▄█ █▄█ █▄█ █▀▄ █▄▄ ██▄ +# // █░█ █▀▄▀█ +# // ▀▄▀ █░▀░█ -source = ~/.config/hypr/animations.conf -source = ~/.config/hypr/keybindings.conf -source = ~/.config/hypr/windowrules.conf -source = ~/.config/hypr/themes/common.conf # shared theme settings -source = ~/.config/hypr/themes/theme.conf # theme specific settings -source = ~/.config/hypr/themes/colors.conf # wallbash color override -source = ~/.config/hypr/monitors.conf # initially empty, to be configured by user and remains static -source = ~/.config/hypr/userprefs.conf # initially empty, to be configured by user and remains static - -# Note: as userprefs.conf is sourced at the end, settings configured in this file will override the defaults +# bind = Ctrl+Alt_L, V, submap, passthrough +# submap = passthrough +# bind = Ctrl+Alt_L, V, submap, reset +# submap = reset diff --git a/.config/hypr/hyprlock.conf b/.config/hypr/hyprlock.conf new file mode 100644 index 0000000..d6d170e --- /dev/null +++ b/.config/hypr/hyprlock.conf @@ -0,0 +1,84 @@ +#! █░█ █▄█ █▀█ █▀█ █░░ █▀█ █▀▀ █▄▀ +#! █▀█ ░█░ █▀▀ █▀▄ █▄▄ █▄█ █▄▄ █░█ + +#*  Hyprlock Configuration File  +# Please do not edit this file manually. +# Follow the instructions below on how to make changes. + + +#* Hyprlock active layout path: +# Set the layout path to be used by Hyprlock. +# Check the available layouts in the './hyprlock/' directory. +# Example: /=/path/to/anurati +$LAYOUT_PATH=~/.config/hypr/hyprlock/theme.conf + +#*  Persistent layout declaration  +# If a persistent layout path is declared in $XDG_CONFIG_HOME/hypr/hyde.conf, +# the above layout setting will be ignored. +# this should be the full path to the layout file. + +#*  All boilerplate configurations are handled by HyDE  +source = ~/.local/share/hyde/hyprlock.conf + +#*  Making a custom layout  +# To create a custom layout, make a file in the './hyprlock/' directory. +# Example: './hyprlock/your_custom.conf' +# To use the custom layout, set the following variable: +# $LAYOUT_PATH=your_custom +# The custom layout will be sourced automatically. +# Alternatively, you can statically source the layout in '~/.config/hypr/hyde.conf'. +# This will take precedence over the variable in '~/.config/hypr/hyprlock.conf'. + + +#*  Command Variables  +# Hyprlock ships with there default variables that can be used to customize the lock screen. +# - https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/#label +# HyDE also provides custom variables that extend the functionality of Hyprlock. + +# $BACKGROUND_PATH +# - The path to the wallpaper image. + +# $HYPRLOCK_BACKGROUND +# - The path to the static hyprlock wallpaper image. +# - Can be set to set a static wallpaper for Hyprlock. + +# $MPRIS_IMAGE +# - The path to the MPRIS image. +# - If MPRIS is not available, it will show the ~/.face.icon image +# - if available, otherwise, it will show the HyDE logo. + +# $PROFILE_IMAGE +# - The path to the profile image. +# - If the image is not available, it will show the ~/.face.icon image +# - if available, otherwise, it will show the HyDE logo. + +# $GREET_TEXT +# - A greeting text to be displayed on the lock screen. +# - The text will be updated every hour. + +# $resolve.font +# - Resolves the font name and download link. +# - HyDE will run 'font.sh resolve' to install the font for you. +# - Note that you needed to have a network connection to download the font. +# - You also need to restart Hyprlock to apply the font. + +# cmd [update:1000] $MPRIS_TEXT +# - Text from media players in "Title  Author" format. + + +# cmd [update:1000] $SPLASH_CMD +# - Outputs the song title when MPRIS is available, +# - otherwise, it will output the splash command. + +# cmd [update:1] $CAVA_CMD +# - The command to be executed to get the CAVA output. +# - ⚠️ (Use with caution as it eats up the CPU.) + +# cmd [update:5000] $BATTERY_ICON +# - The battery icon to be displayed on the lock screen. +# - Only works if the battery is available. + +# cmd [update:1000] $KEYBOARD_LAYOUT +# - The current keyboard layout +# - SUPER + K to change the keyboard layout (or any binding you set) + diff --git a/.config/hypr/hyprlock/Anurati.conf b/.config/hypr/hyprlock/Anurati.conf new file mode 100644 index 0000000..035d325 --- /dev/null +++ b/.config/hypr/hyprlock/Anurati.conf @@ -0,0 +1,132 @@ +# ░▒▒▒░░░░░▓▓ ___________ +# ░░▒▒▒░░░░░▓▓ //___________/ +# ░░▒▒▒░░░░░▓▓ _ _ _ _ _____ +# ░░▒▒░░░░░▓▓▓▓▓▓ | | | | | | | __/ +# ░▒▒░░░░▓▓ ▓▓ | |_| | |_/ /| |___ +# ░▒▒░░▓▓ ▓▓ \__ |____/ |____/ +# ░▒▓▓ ▓▓ //____/ + +$fontFamily = JetBrainsMono Nerd Font # We already have this font installed + +# Resolving custom fonts +# Provide the font name and the download link separated by a pipe | +# Run font.sh resolve $LAYOUT_PATH to install the font +$resolve.font=Anurati|https://font.download/dl/font/anurati.zip +$resolve.font=Inter|https://github.com/rsms/inter/releases/download/v4.1/Inter-4.1.zip + +background { + monitor = + color = $wallbash_pry1_rgba + path = $BACKGROUND_PATH + blur_size = 4 + blur_passes = 3 # 0 disables blurring + noise = 0.0117 + contrast = 1.3000 # Vibrant!!! + brightness = 0.8000 + vibrancy = 0.2100 + vibrancy_darkness = 0.0 +} + +# DAY +label { + monitor = + text = cmd[update:1000] echo "$(date +"%A" | sed 's/./& /g' | tr '[:lower:]' '[:upper:]')" # Add a thin space between each character + color = $wallbash_1xa9_rgba + font_size = 110 # Wednesday is too long + font_family = Anurati + position = 0, 100 + halign = center + valign = center +} + +# DATE +label { + monitor = + text = cmd[update:1000] echo "$(date +"%B %d")" + color = $wallbash_2xa9_rgba + font_size = 35 + font_family = $font_family Thin + position = 0, -20 + halign = center + valign = center +} + +# TIME +label { + monitor = + text = cmd[update:1000] echo "$(date +"%-I:%M %p")" + #text = $TIME + color = $wallbash_txt1_rgba + font_size = 20 #! + font_family = $font_family + position = 0, 150 + halign = center + valign = bottom +} +# INPUT FIELD +input-field { + monitor = + size = 200, 50 #! + outline_thickness = 3 + dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8 + dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0 + dots_center = true + dots_rounding = -1 # -1 default circle, -2 follow input-field rounding + outer_color = $wallbash_pry4_rgba + inner_color = $wallbash_pry2_rgba + font_color = $wallbash_3xa9_rgba + fade_on_empty = true + fade_timeout = 1000 # Milliseconds before fade_on_empty is triggered. + placeholder_text = Input Password... # Text rendered in the input box when it's empty. + hide_input = false + rounding = -1 # -1 means complete rounding (circle/oval) + check_color = $wallbash_pry4_rgba + fail_color = rgba(FF0000FF) # if authentication failed, changes outer_color and fail message color + fail_text = $FAIL ($ATTEMPTS) # can be set to empty + fail_transition = 300 # transition time in ms between normal outer_color and fail_color + capslock_color = -1 + numlock_color = -1 + bothlock_color = -1 # when both locks are active. -1 means don't change outer color (same for above) + invert_numlock = false # change color if numlock is off + swap_font_color = true # see below + position = 0, 80 + halign = center + valign = bottom +} + +#User tag +label { + monitor = + text =  $USER + color = $wallbash_4xa9_rgba + font_size = 20 + font_family = Inter Display Medium + position = 0, 30 + halign = center + valign = bottom +} + + +# Battery Status if present +label { + monitor = + text = cmd[update:5000] $BATTERY_ICON + color = $wallbash_4xa9_rgba + font_size = 20 + font_family = JetBrainsMono Nerd Font + position = -1%, 1% + halign = right + valign = bottom +} + +# Current Keyboard Layout +label { + monitor = + text = cmd[update:1000] $KEYBOARD_LAYOUT + color = $wallbash_4xa9_rgba + font_size = 20 + font_family = Inter Display Medium + position = -2%, 1% + halign = right + valign = bottom +} diff --git a/.config/hypr/hyprlock/Arfan on Clouds.conf b/.config/hypr/hyprlock/Arfan on Clouds.conf new file mode 100644 index 0000000..c19bc28 --- /dev/null +++ b/.config/hypr/hyprlock/Arfan on Clouds.conf @@ -0,0 +1,158 @@ +# Hyprclouds from Arfan on Clouds +# By: Arfan on Clouds https://github.com/arfan-on-clouds/hyprclouds +# Modified by: The HyDE Project + +$resolve.font=SF Pro Display|https://font.download/dl/font/sf-pro-display.zip +$resolve.font=AlfaSlabOne|https://font.download/dl/font/alfa-slab-one.zip + +# BACKGROUND +background { + monitor = + color = $wallbash_pry1_rgba + path = $BACKGROUND_PATH + blur_size = 4 + blur_passes = 3 # 0 disables blurring + noise = 0.0117 + contrast = 1.3000 # Vibrant!!! + brightness = 0.8000 + vibrancy = 0.2100 + vibrancy_darkness = 0.0 +} + +# INPUT FIELD +input-field { + monitor = + size = 190, 50 + outline_thickness = 2 + dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8 + dots_spacing = 0.2 # Scale of dots' absolute size, 0.0 - 1.0 + dots_center = true + fade_on_empty = true + font_family = SF Pro Display Bold + placeholder_text = + hide_input = false + position = 0, -170 + halign = center + valign = center + outer_color = $wallbash_pry4_rgba + inner_color = $wallbash_pry2_rgba + font_color = $wallbash_3xa9_rgba + check_color = $wallbash_pry4_rgba + +} + +# Hour-Time +label { + monitor = + text = cmd[update:1000] echo -e "$(date +"%I")" + color = $wallbash_1xa8_rgba + shadow_passes = 3 + shadow_size = 2 + font_size = 100 + font_family = AlfaSlabOne + position = 0, 100 + halign = center + valign = center +} + +# Minute-Time +label { + monitor = + text = cmd[update:1000] echo -e "$(date +"%M")" + color = $wallbash_3xa9_rgba + font_size = 100 + font_family = AlfaSlabOne + shadow_passes = 3 + shadow_size = 2 + position = 0, -20 + halign = center + valign = center +} + +# Day-Date-Month +label { + monitor = + text = cmd[update:1000] echo -e "$(date +"%d %b %A")" + color = $wallbash_3xa9_rgba + shadow_passes = 3 + shadow_size = 1 + font_size = 12 + font_family = JetBrains Mono Nerd Font Mono ExtraBold + position = 1%, -1% + halign = left + valign = top +} + + + +# CURRENT SONG +label { + monitor = + text = cmd[update:1000] $MPRIS_TEXT # Outputs the song title when mpris is available, otherwise, it will output the splash command. + color = $wallbash_3xa9_rgba + shadow_passes = 3 + shadow_size = 1 + font_size = 14 + font_family = JetBrains Mono Nerd, SF Pro Display Bold + position = 0, 20 + halign = center + valign = bottom +} +image { + monitor = + path = $MPRIS_IMAGE + size = 80 # lesser side if not 1:1 ratio + rounding = -1 # negative values mean circle + border_size = 0 + shadow_passes = 3 + shadow_size = 3 + border_color = rgb(221, 221, 221) + rotate = 0 # degrees, counter-clockwise + reload_time = 0 # seconds between reloading, 0 to reload with SIGUSR2 + # reload_cmd = # command to get new path. if empty, old path will be used. don't run "follow" commands like tail -F + position = 0, 10% + halign = center + valign = bottom +} + + + +# Battery Status if present +label { + monitor = + text = cmd[update:5000] $BATTERY_ICON + color = $wallbash_4xa9_rgba + font_size = 20 + font_family = JetBrainsMono Nerd Font + position = -1%, 1% + halign = right + valign = bottom +} + +# Current Keyboard Layout +label { + monitor = + text = cmd[update:1000] $KEYBOARD_LAYOUT + color = $wallbash_4xa9_rgba + font_size = 20 + font_family = JetBrains Mono Nerd, SF Pro Display Bold + position = -2%, 1% + halign = right + valign = bottom +} + + +# Weather +#! Put the weather command last to lessen the load time of other modules +label { + monitor = + text = cmd[update:18000000] $WEATHER_CMD + color = $wallbash_3xa9_rgba + font_size = 16 + shadow_passes = 3 + shadow_size = 1 + font_family = JetBrains Mono Nerd, SF Pro Display Bold + position = -1%, -1% + halign = right + valign = top +} diff --git a/.config/hypr/hyprlock/IBM Plex.conf b/.config/hypr/hyprlock/IBM Plex.conf new file mode 100644 index 0000000..7e49d8e --- /dev/null +++ b/.config/hypr/hyprlock/IBM Plex.conf @@ -0,0 +1,112 @@ + +# ░▒▒▒░░░░░▓▓ ___________ +# ░░▒▒▒░░░░░▓▓ //___________/ +# ░░▒▒▒░░░░░▓▓ _ _ _ _ _____ +# ░░▒▒░░░░░▓▓▓▓▓▓ | | | | | | | __/ +# ░▒▒░░░░▓▓ ▓▓ | |_| | |_/ /| |___ +# ░▒▒░░▓▓ ▓▓ \__ |____/ |____/ +# ░▒▓▓ ▓▓ //____/ + +$fontFamily = IBM Plex Sans +$resolve.font=IBM Plex Sans|https://github.com/IBM/plex/releases/download/%40ibm%2Fplex-sans%401.1.0/ibm-plex-sans.zip + +# GENERAL +background { + monitor = + path = $BACKGROUND_PATH + blur_size = 5 + blur_passes = 0 + noise = 0.0117 + contrast = 1.3000 # Vibrant! + brightness = 0.8000 + vibrancy = 0.2100 + vibrancy_darkness = 0.0 +} + +# Current time +label { + monitor = + text = cmd[update:1000] echo " $(date +"%H") " + color = $wallbash_2xa7_rgba + font_size = 180 + font_family = $fontFamily Medium 10 + position = 0, 80 + halign = center + valign = center +} +label { + monitor = + text = cmd[update:1000] echo " $(date +"%M") " + color = $wallbash_2xa9_rgba + font_size = 180 + font_family = $fontFamily Medium 10 + position = 0, -120 + halign = center + valign = center +} +label { + monitor = + text = cmd[update:1000] echo " $(date +"%d %b") " + color = $wallbash_2xa8_rgba + font_size = 20 + font_family = $fontFamily Medium 10 + position = 0, -230 + halign = center + valign = center +} +label { + monitor = + text = cmd[update:1000] echo " $(date +"%A") " + color = $wallbash_2xa8_rgba + + font_size = 20 + font_family = $fontFamily Medium 10 + position = 0, -250 + halign = center + valign = center +} + +#INPUT FIELD +input-field { + monitor = + # size = 15%, 5% # hyprlock-git + size = 200, 50 + outline_thickness = 3 + dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8 + dots_spacing = 1.00 # Scale of dots' absolute size, 0.0 - 1.0 + dots_center = true + outer_color = $wallbash_pry2_rgba + inner_color = $wallbash_pry3_rgba + font_color = $color7 + fade_on_empty = true + placeholder_text = Password... # Text rendered in the input box when it's empty. + hide_input = false + position = 0, 60 + halign = center + valign = bottom +} + + +# Battery Status if present +label { + monitor = + text = cmd[update:5000] $BATTERY_ICON + color = $wallbash_4xa9_rgba + font_size = 20 + font_family = JetBrainsMono Nerd Font + position = -1%, 1% + halign = right + valign = bottom +} + +# Current Keyboard Layout +label { + monitor = + text = cmd[update:1000] $KEYBOARD_LAYOUT + color = $wallbash_4xa9_rgba + font_size = 20 + font_family = $fontFamily + position = -2%, 1% + halign = right + valign = bottom +} diff --git a/.config/hypr/hyprlock/SF Pro.conf b/.config/hypr/hyprlock/SF Pro.conf new file mode 100644 index 0000000..ca13d5c --- /dev/null +++ b/.config/hypr/hyprlock/SF Pro.conf @@ -0,0 +1,161 @@ +# Hyprlock style-4 +# By: Vivek Rajan https://github.com/MrVivekRajan/Hyprlock-Styles/tree/main/Style-4 +# Modified by: The HyDE Project + +$resolve.font=SF Pro Display|https://font.download/dl/font/sf-pro-display.zip + +# BACKGROUND +background { + monitor = + path = $BACKGROUND_PATH + blur_passes = 0 + contrast = 0.8916 + brightness = 0.8916 + vibrancy = 0.8916 + vibrancy_darkness = 0.0 +} + +# GENERAL +general { + no_fade_in = false + grace = 0 + disable_loading_bar = false +} + +# Profile-Photo +image { + monitor = + path = $PROFILE_IMAGE + border_size = 2 + border_color = $wallbash_pry4_rgba + size = 100 + rounding = -1 + rotate = 0 + reload_time = -1 + reload_cmd = + position = 25, 200 + halign = center + valign = center +} + +# NAME +label { + monitor = + text = cmd[update:60000] $GREET_TEXT + color = $wallbash_txt1_rgba + outline_thickness = 0 + dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8 + dots_spacing = 0.2 # Scale of dots' absolute size, 0.0 - 1.0 + dots_center = true + font_size = 20 + font_family = SF Pro Display Bold + position = 25, 110 + halign = center + valign = center +} + +# Time +label { + monitor = + text = cmd[update:1000] echo "$(date +"%I:%M")" + color = $wallbash_txt1_rgba + font_size = 60 + font_family = SF Pro Display Bold + position = 30, -8 + halign = center + valign = center +} + +# Day-Month-Date +label { + monitor = + text = cmd[update:1000] echo -e "$(date +"%A, %B %d")" + color = $wallbash_txt1_rgba + font_size = 19 + font_family = SF Pro Display Bold + position = 35, -60 + halign = center + valign = center +} + +# USER-BOX +shape { + monitor = + size = 320, 55 + color = rgba(255, 255, 255, 0.1) + rounding = -1 + border_size = 0 + border_color = $wallbash_txt3_rgba + rotate = 0 + xray = false # if true, make a "hole" in the background (rectangle of specified size, no rotation) + + position = 34, -190 + halign = center + valign = center +} + +# USER +label { + monitor = + text =  $USER + color = $wallbash_1xa9_rgba + outline_thickness = 0 + dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8 + dots_spacing = 0.2 # Scale of dots' absolute size, 0.0 - 1.0 + dots_center = true + font_size = 16 + font_family = SF Pro Display Bold + position = 38, -190 + halign = center + valign = center +} + +# INPUT FIELD +input-field { + monitor = + size = 320, 55 + outline_thickness = 0 + dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8 + dots_spacing = 0.2 # Scale of dots' absolute size, 0.0 - 1.0 + dots_center = true + outer_color = rgba(255, 255, 255, 0) + inner_color = rgba(255, 255, 255, 0.1) + font_color = $wallbash_2xa6_rgba + fade_on_empty = false + font_family = SF Pro Display Bold + placeholder_text = 🔒 Enter Pass + hide_input = false + position = 34, -268 + halign = center + valign = center + check_color = $wallbash_txt4_rgba + fail_color = rgb(204, 34, 34) # if authentication failed, changes outer_color and fail message color + fail_text = $FAIL ($ATTEMPTS) # can be set to empty + fail_transition = 300 # transition time in ms between normal outer_color and fail_color + +} + + +# Battery Status if present +label { + monitor = + text = cmd[update:5000] $BATTERY_ICON + color = $wallbash_4xa9_rgba + font_size = 20 + font_family = JetBrainsMono Nerd Font + position = -1%, 1% + halign = right + valign = bottom +} + +# Current Keyboard Layout +label { + monitor = + text = cmd[update:1000] $KEYBOARD_LAYOUT + color = $wallbash_4xa9_rgba + font_size = 20 + font_family = SF Pro Display Bold + position = -2%, 1% + halign = right + valign = bottom +} diff --git a/.config/hypr/hyprlock/theme.conf b/.config/hypr/hyprlock/theme.conf new file mode 100644 index 0000000..3324804 --- /dev/null +++ b/.config/hypr/hyprlock/theme.conf @@ -0,0 +1,138 @@ +# HyDE default layout +# Wallbash generated layout + +# Local Variables +$fontFamily = JetBrainsMono Nerd Font +$fn_greet=echo "Good $(date +%H | awk '{if ($1 < 12) print "Morning"; else if ($1 < 18) print "Afternoon"; else print "Evening"}'), ${USER}" + +# GENERAL +general { + no_fade_in = false + grace = 0 + disable_loading_bar = true +} + +# BACKGROUND +background { + monitor = + path = $BACKGROUND_PATH + blur_passes = 2 +} + +# TIME +label { + monitor = + text = $TIME + color = $wallbash_txt1_rgba + font_size = 90 + font_family = $fontFamily + position = -30, 0 + halign = right + valign = top +} + +# DATE +label { + monitor = + text = cmd[update:43200000] date +"%A, %d %B %Y" + color = $wallbash_txt2_rgba + font_size = 25 + font_family = $fontFamily + position = -30, -150 + halign = right + valign = top +} + +# USER AVATAR +image { + monitor = + path = $MPRIS_IMAGE + size = 150 # lesser side if not 1:1 ratio + reload_time = 0 # seconds between reloading, 0 to reload with SIGUSR2 + reload_cmd = # command to get new path. if empty, old path will be used. don't run "follow" commands like tail -F + position = 0, 0 + halign = center + valign = center +} + +# INPUT FIELD +input-field { + monitor = + size = 200, 50 #! + outline_thickness = 3 + dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8 + dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0 + dots_center = true + dots_rounding = -1 # -1 default circle, -2 follow input-field rounding + outer_color = $wallbash_pry4_rgba + inner_color = $wallbash_pry2_rgba + font_color = $wallbash_3xa9_rgba + fade_on_empty = true + fade_timeout = 1000 # Milliseconds before fade_on_empty is triggered. + placeholder_text = Input Password... # Text rendered in the input box when it's empty. + hide_input = false + rounding = -1 # -1 means complete rounding (circle/oval) + check_color = $wallbash_pry4_rgba + fail_color = rgba(FF0000FF) # if authentication failed, changes outer_color and fail message color + fail_text = $FAIL ($ATTEMPTS) # can be set to empty + fail_transition = 300 # transition time in ms between normal outer_color and fail_color + capslock_color = -1 + numlock_color = -1 + bothlock_color = -1 # when both locks are active. -1 means don't change outer color (same for above) + invert_numlock = false # change color if numlock is off + swap_font_color = true # see below + position = 0, 80 + halign = center + valign = bottom +} + + +# USER Greeting +label { + monitor = + text = cmd[update:60000] $fn_greet + color = $text + font_size = 20 + font_family = $fontFamily Bold + position = 0, -190 + halign = center + valign = center +} + +# Mpris and SPLASH +label { + monitor = + text = cmd[update:1000] $SPLASH_CMD # Outputs the song title when mpris is available, otherwise, it will output the splash command. + color = $wallbash_txt2_rgba + font_family = $fontFamily + font_size = 15 + position = 0, 0 + halign = center + valign = bottom +} + + + +# Battery Status if present +label { + monitor = + text = cmd[update:5000] $BATTERY_ICON + color = $wallbash_4xa9_rgba + font_size = 20 + font_family = JetBrainsMono Nerd Font + position = -1%, 1% + halign = right + valign = bottom +} + +# Current Keyboard Layout +label { + monitor = + text = cmd[update:1000] $KEYBOARD_LAYOUT + color = $wallbash_4xa9_rgba + font_size = 20 + font_family = $fontFamily + position = -2%, 1% + halign = right + valign = bottom +} diff --git a/.config/hypr/keybindings.conf b/.config/hypr/keybindings.conf index 534ab24..fd525e3 100644 --- a/.config/hypr/keybindings.conf +++ b/.config/hypr/keybindings.conf @@ -1,189 +1,250 @@ +## █▄▀ █▀▀ █▄█ █▄▄ █ █▄░█ █▀▄ █ █▄░█ █▀▀ █▀ +## █░█ ██▄ ░█░ █▄█ █ █░▀█ █▄▀ █ █░▀█ █▄█ ▄█ -# █▄▀ █▀▀ █▄█ █▄▄ █ █▄░█ █▀▄ █ █▄░█ █▀▀ █▀ -# █░█ ██▄ ░█░ █▄█ █ █░▀█ █▄▀ █ █░▀█ █▄█ ▄█ +# see https://wiki.hyprland.org/configuring/keywords/ for more +# example binds, see https://wiki.hyprland.org/configuring/binds/ for more -# See https://wiki.hyprland.org/Configuring/Keywords/ -# & https://wiki.hyprland.org/Configuring/Binds/ +# Grouping of binds for easier management +# $d=[Group Name|Subgroup Name1|Subgroup Name2|...] +# '$d' is a variable that is used to group binds together (or use another variable) +# This is only for organization purposes and is not a defined hyprland variable +# What we did here is to modify the Description of the binds to include the group name +# The $d will be parsed as a separate key to be use for a GUI or something pretty +# [Main|Subgroup1|Subgroup2|...] +# Main - The main groupname +# Subgroup1.. - The subgroup names can be use to avoid repeating the same description -# Main modifier -$mainMod = Super # super / meta / windows key +#*  Variables  +# Default if commented out +# $mainMod = Super # super / meta / windows key # Assign apps -$term = kitty # fish alacritty -$editor = neovide -$file = dolphin -$browser = librewolf -$yt = freetube -$notes = obsidian +# $TERMINAL = kitty +# $EDITOR = code +# $EXPLORER = dolphin +# $BROWSER = firefox - -# Window/Session actions -bind = $mainMod, Q, exec, $scrPath/dontkillsteam.sh # close focused window -bind = Alt, F4, exec, $scrPath/dontkillsteam.sh # close focused window -bind = $mainMod, Delete, exit, # kill hyprland session -bind = $mainMod, W, togglefloating, # toggle the window between focus and float -bind = $mainMod, G, togglegroup, # toggle the window between focus and group -bind = Alt, Return, fullscreen, # toggle the window between focus and fullscreen -bind = $mainMod, L, exec, swaylock --timestr %H:%M # launch lock screen -bind = Ctrl+Alt, W, exec, killall waybar || waybar # toggle waybar -# bind = $mainMod+Shift, F, exec, $scrPath/windowpin.sh # toggle pin on focused window -# bind = $mainMod, Backspace, exec, $scrPath/logoutlaunch.sh # launch logout menu +$wm=Window Management +$d=[$wm] +bindd = $mainMod, Q, $d close focused window, exec, $scrPath/dontkillsteam.sh +bindd = Alt, F4, $d close focused window, exec, $scrPath/dontkillsteam.sh +bindd = $mainMod, Delete, $d kill hyprland session, exit +bindd = $mainMod, W, $d toggle float, togglefloating, # +bindd = $mainMod Shift, G, $d toggle group, togglegroup +bindd = Shift, F11, $d toggle fullscreen, fullscreen +bindd = Alt, Return, $d toggle fullscreen, fullscreen +bindd = $mainMod, L, $d lock screen, exec, lockscreen.sh +bindd = $mainMod Shift, F, $d toggle pin on focused window, exec, $scrPath/windowpin.sh +bindd = Control Alt, Delete, $d logout menu, exec, $scrPath/logoutlaunch.sh +bindd = Control Alt, W, $d toggle waybar and reload config, exec, killall waybar || waybar +# bindd = Alt_R, Control_R, W, $d toggle waybar and reload config, exec, killall waybar || (env reload_flag=1 $scrPath/wbarconfgen.sh) # was throwing error +# bindd = ALT_R, Control_R,toggle waybar, exec, killall waybar || waybar # toggle waybar without reloading, this is faster -# Application shortcuts -bind = Ctrl+Shift+Alt, T, exec, st # launch tilix terminal emulator - using for ssh -bind = Ctrl+Alt, T, exec, $term # launch terminal emulator -bind = $mainMod, T, exec, $term # launch terminal emulator -bind = $mainMod+Ctrl, T, exec, tilix # launch tilix terminal emulator -bind = $mainMod, E, exec, $file # launch file manager -bind = $mainMod, C, exec, $editor # launch text editor -bind = $mainMod, F, exec, $yt # launch yt alternative -bind = $mainMod, B, exec, $browser # launch web browser -bind = $mainMod, M, exec, $notes # launch notes app -bind = $mainMod, G, exec, gajim # launch messanger -bind = $mainMod, K, exec, keepassxc # launch password manager -bind = Ctrl+Shift, Escape, exec, $scrPath/sysmonlaunch.sh # launch system monitor (htop/btop or fallback to top) -# bind = $mainMod+Shift, B, exec, $browser, title: ^(LibreWolf Private Browsing)$ # launch private web browser +$d=[$wm|Group Navigation] +bindd = $mainMod Control, H, $d change active group backwards , changegroupactive, b +bindd = $mainMod Control, L, $d change active group forwards , changegroupactive, f -# Rofi menus -bind = $mainMod, A, exec, pkill -x rofi || $scrPath/rofilaunch.sh d # launch application launcher -bind = $mainMod, Tab, exec, pkill -x rofi || $scrPath/rofilaunch.sh w # launch window switcher -bind = $mainMod+Shift, E, exec, pkill -x rofi || $scrPath/rofilaunch.sh f # launch file explorer - -# Audio control -# bindl = , F10, exec, $scrPath/volumecontrol.sh -o m # toggle audio mute -# bindel = , F11, exec, $scrPath/volumecontrol.sh -o d # decrease volume -# bindel = , F12, exec, $scrPath/volumecontrol.sh -o i # increase volume -bindl = , XF86AudioMute, exec, $scrPath/volumecontrol.sh -o m # toggle audio mute -bindl = , XF86AudioMicMute, exec, $scrPath/volumecontrol.sh -i m # toggle microphone mute -bindel = , XF86AudioLowerVolume, exec, $scrPath/volumecontrol.sh -o d # decrease volume -bindel = , XF86AudioRaiseVolume, exec, $scrPath/volumecontrol.sh -o i # increase volume - -# Media control -bindl = , XF86AudioPlay, exec, playerctl play-pause # toggle between media play and pause -bindl = , XF86AudioPause, exec, playerctl play-pause # toggle between media play and pause -bindl = , XF86AudioNext, exec, playerctl next # media next -bindl = , XF86AudioPrev, exec, playerctl previous # media previous - -# Brightness control -bindel = , XF86MonBrightnessUp, exec, $scrPath/brightnesscontrol.sh i # increase brightness -bindel = , XF86MonBrightnessDown, exec, $scrPath/brightnesscontrol.sh d # decrease brightness - -# Move between grouped windows -# bind = $mainMod CTRL , H, changegroupactive, b -# bind = $mainMod CTRL , L, changegroupactive, f - -# Screenshot/Screencapture -bind = $mainMod, P, exec, $scrPath/screenshot.sh s # partial screenshot capture -bind = $mainMod+Ctrl, P, exec, $scrPath/screenshot.sh sf # partial screenshot capture (frozen screen) -bind = $mainMod+Alt, P, exec, $scrPath/screenshot.sh m # monitor screenshot capture -bind = , Print, exec, $scrPath/screenshot.sh p # all monitors screenshot capture - -# Custom scripts -bind = $mainMod+Alt, G, exec, $scrPath/gamemode.sh # disable hypr effects for gamemode -bind = $mainMod+Alt, Right, exec, $scrPath/swwwallpaper.sh -n # next wallpaper -bind = $mainMod+Alt, Left, exec, $scrPath/swwwallpaper.sh -p # previous wallpaper -# bind = $mainMod+Alt, Up, exec, $scrPath/wbarconfgen.sh n # next waybar mode -# bind = $mainMod+Alt, Down, exec, $scrPath/wbarconfgen.sh p # previous waybar mode -bind = $mainMod+Shift, R, exec, pkill -x rofi || $scrPath/wallbashtoggle.sh -m # launch wallbash mode select menu -bind = $mainMod+Shift, T, exec, pkill -x rofi || $scrPath/themeselect.sh # launch theme select menu -bind = $mainMod+Shift, A, exec, pkill -x rofi || $scrPath/rofiselect.sh # launch select menu -bind = $mainMod+Shift, W, exec, pkill -x rofi || $scrPath/swwwallselect.sh # launch wallpaper select menu -bind = $mainMod, V, exec, pkill -x rofi || $scrPath/cliphist.sh c # launch clipboard -bind = $mainMod, K, exec, $scrPath/keyboardswitch.sh # switch keyboard layout -bind = $mainMod, slash, exec, pkill -x rofi || $scrPath/keybinds_hint.sh c # launch keybinds hint - -# Move/Change window focus -bind = $mainMod, Left, movefocus, l -bind = $mainMod, Right, movefocus, r -bind = $mainMod, Up, movefocus, u -bind = $mainMod, Down, movefocus, d -bind = $mainMod+Shift, h, movefocus, l -bind = $mainMod+Shift, l, movefocus, r -bind = $mainMod+Shift, k, movefocus, u -bind = $mainMod+Shift, j, movefocus, d -bind = Alt, Tab, movefocus, d - -# Switch workspaces with mod + [0-9] -bind = $mainMod, 1, workspace, r~1 -bind = $mainMod, 2, workspace, r~2 -bind = $mainMod, 3, workspace, r~3 -bind = $mainMod, 4, workspace, r~4 -bind = $mainMod, 5, workspace, r~5 -bind = $mainMod, 6, workspace, r~6 -bind = $mainMod, 7, workspace, r~7 -bind = $mainMod, 8, workspace, r~8 -bind = $mainMod, 9, workspace, r~9 -bind = $mainMod, 0, workspace, r~10 - -# Move focused window to a workspace -bind = $mainMod+Ctrl, 1, movetoworkspace, r~1 -bind = $mainMod+Ctrl, 2, movetoworkspace, r~2 -bind = $mainMod+Ctrl, 3, movetoworkspace, r~3 -bind = $mainMod+Ctrl, 4, movetoworkspace, r~4 -bind = $mainMod+Ctrl, 5, movetoworkspace, r~5 -bind = $mainMod+Ctrl, 6, movetoworkspace, r~6 -bind = $mainMod+Ctrl, 7, movetoworkspace, r~7 -bind = $mainMod+Ctrl, 8, movetoworkspace, r~8 -bind = $mainMod+Ctrl, 9, movetoworkspace, r~9 -bind = $mainMod+Ctrl, 0, movetoworkspace, r~10 - -# Move focused window to a workspace silently -bind = $mainMod+Alt, 1, movetoworkspacesilent, r~1 -bind = $mainMod+Alt, 2, movetoworkspacesilent, r~2 -bind = $mainMod+Alt, 3, movetoworkspacesilent, r~3 -bind = $mainMod+Alt, 4, movetoworkspacesilent, r~4 -bind = $mainMod+Alt, 5, movetoworkspacesilent, r~5 -bind = $mainMod+Alt, 6, movetoworkspacesilent, r~6 -bind = $mainMod+Alt, 7, movetoworkspacesilent, r~7 -bind = $mainMod+Alt, 8, movetoworkspacesilent, r~8 -bind = $mainMod+Alt, 9, movetoworkspacesilent, r~9 -bind = $mainMod+Alt, 0, movetoworkspacesilent, r~10 - -# Move/Switch to special workspace (scratchpad) -bind = $mainMod+Alt, S, movetoworkspacesilent, special -bind = $mainMod, S, togglespecialworkspace, - -# Toggle focused window split -bind = $mainMod, J, togglesplit - -# Switch workspaces to a relative workspace -bind = $mainMod+Ctrl, right, workspace, r+1 -bind = $mainMod+Ctrl, left, workspace, r-1 -bind = $mainMod+Ctrl, l, workspace, r+1 -bind = $mainMod+Ctrl, h, workspace, r-1 -bind = $mainMod+Ctrl, Down, workspace, empty # Move to the first empty workspace -bind = $mainMod+Ctrl, J, movewindow, mon:eDP-1 -bind = $mainMod+Ctrl, K, movewindow, mon:HDMI-A-1 +$d=[$wm|Change focus] +bindd = $mainMod, Left, $d focus left, movefocus, l +bindd = $mainMod, Right, $d focus right , movefocus, r +bindd = $mainMod, Up, $d focus up , movefocus, u +bindd = $mainMod, Down , $d focus down, movefocus, d +bindd = $mainMod Control, Left, $d focus left, movefocus, l +bindd = $mainMod Control, Right, $d focus right , movefocus, r +bindd = $mainMod Control, Up, $d focus up , movefocus, u +bindd = $mainMod Control, Down, $d focus down, movefocus, d +bindd = $mainMod Control, h, $d focus left, movefocus, l +bindd = $mainMod Control, l, $d focus right , movefocus, r +bindd = $mainMod Control, k, $d focus up , movefocus, u +bindd = $mainMod Control, j , $d focus down, movefocus, d +bindd = Alt Control, Left, $d focus left, movefocus, l +bindd = Alt Control, Right, $d focus right , movefocus, r +bindd = Alt Control, Up, $d focus up , movefocus, u +bindd = Alt Control, Down, $d focus down, movefocus, d +bindd = Alt Control, h, $d focus left, movefocus, l +bindd = Alt Control, l, $d focus right , movefocus, r +bindd = Alt Control, k, $d focus up , movefocus, u +bindd = Alt Control, j , $d focus down, movefocus, d +bindd = Alt, Tab, $d focus , movefocus, d +$d=[$wm|Resize Active Window] # Resize windows -binde = $mainMod+Shift, Right, resizeactive, 30 0 -binde = $mainMod+Shift, Left, resizeactive, -30 0 -binde = $mainMod+Shift, Up, resizeactive, 0 -30 -binde = $mainMod+Shift, Down, resizeactive, 0 30 +bindde = $mainMod Shift, Right, $d resize window right , resizeactive, 30 0 +bindde = $mainMod Shift, Left, $d resize window left, resizeactive, -30 0 +bindde = $mainMod Shift, Up, $d resize window up, resizeactive, 0 -30 +bindde = $mainMod Shift, Down, $d resize window down, resizeactive, 0 30 +bindde = $mainMod Shift, l, $d resize window right , resizeactive, 30 0 +bindde = $mainMod Shift, h, $d resize window left, resizeactive, -30 0 +bindde = $mainMod Shift, k, $d resize window up, resizeactive, 0 -30 +bindde = $mainMod Shift, j, $d resize window down, resizeactive, 0 30 -# added that to mimic i3's behavior, where pushing a workspace to another monitor also focuses it -# bind = $mainMod SHIFT, P, focusmonitor, +1 -# bind = $mainMod SHIFT, P, movecurrentworkspacetomonitor, +1 - -# Move active window around current workspace with mainMod + SHIFT + CTRL [←→↑↓] -# $moveactivewindow=grep -q "true" <<< $(hyprctl activewindow -j | jq -r .floating) && hyprctl dispatch moveactive -binded = $mainMod+Shift+Ctrl, left,Move activewindow to the right,exec, $moveactivewindow -30 0 || hyprctl dispatch movewindow l -binded = $mainMod+Shift+Ctrl, right,Move activewindow to the right,exec, $moveactivewindow 30 0 || hyprctl dispatch movewindow r -binded = $mainMod+Shift+Ctrl, up,Move activewindow to the right,exec, $moveactivewindow 0 -30 || hyprctl dispatch movewindow u -binded = $mainMod+Shift+Ctrl, down,Move activewindow to the right,exec, $moveactivewindow 0 30 || hyprctl dispatch movewindow d - -binded = $mainMod+Shift+Ctrl, h,Move activewindow to the right,exec, $moveactivewindow -30 0 || hyprctl dispatch movewindow l -binded = $mainMod+Shift+Ctrl, l,Move activewindow to the right,exec, $moveactivewindow 30 0 || hyprctl dispatch movewindow r -binded = $mainMod+Shift+Ctrl, k,Move activewindow to the right,exec, $moveactivewindow 0 -30 || hyprctl dispatch movewindow u -binded = $mainMod+Shift+Ctrl, j,Move activewindow to the right,exec, $moveactivewindow 0 30 || hyprctl dispatch movewindow d - -# Scroll through existing workspaces -bind = $mainMod, mouse_down, workspace, e+1 -bind = $mainMod, mouse_up, workspace, e-1 +# Move active window around current workspace with mainMod + Shift + Control [←→↑↓] +$d=[$wm|Move active window across workspace] +$moveactivewindow=grep -q "true" <<< $(hyprctl activewindow -j | jq -r .floating) && hyprctl dispatch moveactive +bindde = $mainMod Alt, left, Move activewindow to the left, exec, $moveactivewindow -30 0 || hyprctl dispatch movewindow l +bindde = $mainMod Alt, right, Move activewindow to the right, exec, $moveactivewindow 30 0 || hyprctl dispatch movewindow r +bindde = $mainMod Alt, up, Move activewindow up, exec, $moveactivewindow 0 -30 || hyprctl dispatch movewindow u +bindde = $mainMod Alt, down, Move activewindow down, exec, $moveactivewindow 0 30 || hyprctl dispatch movewindow d +bindde = $mainMod Alt, h, Move activewindow to the left, exec, $moveactivewindow -30 0 || hyprctl dispatch movewindow l +bindde = $mainMod Alt, l, Move activewindow to the right, exec, $moveactivewindow 30 0 || hyprctl dispatch movewindow r +bindde = $mainMod Alt, k, Move activewindow up, exec, $moveactivewindow 0 -30 || hyprctl dispatch movewindow u +bindde = $mainMod Alt, j, Move activewindow down, exec, $moveactivewindow 0 30 || hyprctl dispatch movewindow d # Move/Resize focused window -bindm = $mainMod, mouse:272, movewindow -bindm = $mainMod, mouse:273, resizewindow -bindm = $mainMod, Z, movewindow -bindm = $mainMod, X, resizewindow +$d=[$wm|Move & Resize with mouse] +binddm = $mainMod, mouse:272, $d hold to move window, movewindow +binddm = $mainMod, mouse:273, $d hold to resize window, resizewindow +binddm = $mainMod, Z, $d hold to move window , movewindow +binddm = $mainMod, X, $d hold to resize window, resizewindow +# Toggle focused window split +$d=[$wm] +bindd = $mainMod, J, $d toggle split, togglesplit + +$l=Launcher +$d=[$l|Apps] +bindd = $mainMod, T, $d terminal emulator , exec, $TERMINAL +bindd = Control Alt, T, $d terminal emulator , exec, $TERMINAL +# bindd = Control Shift, Alt, T, $d terminal emulator , exec, tilix # launch tilix terminal emulator - using for ssh +bindd = $mainMod Control, T, $d terminal emulator, exec, tilix # launch tilix terminal emulator +bindd = $mainMod, E, $d file explorer , exec, $EXPLORER +bindd = $mainMod, C, $d text editor , exec, $EDITOR +bindd = $mainMod, B, $d web browser , exec, $BROWSER +bindd = $mainMod Shift, B, $d web browser , exec, librewolf +bindd = Control Shift, Escape, $d system monitor , exec, $scrPath/sysmonlaunch.sh +bindd = $mainMod, F, $d web browser , exec, freetube +bindd = $mainMod, K, $d password manager , exec, keepassxc # launch password manager +bindd = $mainMod, G, $d messanger, exec, gajim # launch messanger + +# bindd = $mainMod, M, exec, $notes # launch notes app +# bindd = Ctrl+Shift, Escape, exec, $scrPath/sysmonlaunch.sh # launch system monitor (htop/btop or fallback to top) + +$d=[$l|Rofi menus] +$rofi-launch=$scrPath/rofilaunch.sh +bindd = $mainMod, A, $d application finder , exec, pkill -x rofi || $rofi-launch d +bindd = $mainMod, TAB, $d window switcher , exec, pkill -x rofi || $rofi-launch w +bindd = $mainMod Shift, E, $d file finder , exec, pkill -x rofi || $rofi-launch f +bindd = $mainMod, slash, $d keybindings hint, exec, pkill -x rofi || $scrPath/keybinds_hint.sh c # launch keybinds hint +bindd = $mainMod, comma, $d emoji picker , exec, pkill -x rofi || $scrPath/emoji-picker.sh # launch emoji picker +bindd = $mainMod, period, $d glyph picker , exec, pkill -x rofi || $scrPath/glyph-picker.sh # launch glyph picker +bindd = $mainMod, V, $d clipboard , exec, pkill -x rofi || $scrPath/cliphist.sh -c # launch clipboard, +bindd = $mainMod Shift, V, $d clipboard manager , exec, pkill -x rofi || $scrPath/cliphist.sh # launch clipboard Manager +bindd = $mainMod Shift, A, $d select rofi launcher , exec, pkill -x rofi || $scrPath/rofiselect.sh # launch select menu + + +$hc=Hardware Controls +$d=[$hc|Audio] +binddl = , F10, $d toggle mute output , exec, $scrPath/volumecontrol.sh -o m # toggle audio mute +binddl = , XF86AudioMute,$d toggle mute output, exec, $scrPath/volumecontrol.sh -o m # toggle audio mute +binddel = , F11, $d decrease volume , exec, $scrPath/volumecontrol.sh -o d # decrease volume +binddel = , F12, $d increase volume , exec, $scrPath/volumecontrol.sh -o i # increase volume +binddl = , XF86AudioMicMute,$d un/mute microphone , exec, $scrPath/volumecontrol.sh -i m # toggle microphone mute +binddel = , XF86AudioLowerVolume, $d decrease volume , exec, $scrPath/volumecontrol.sh -o d # decrease volume +binddel = , XF86AudioRaiseVolume, $d increase volume , exec, $scrPath/volumecontrol.sh -o i # increase volume + +$d=[$hc|Media] +binddl = , XF86AudioPlay,$d play media, exec, playerctl play-pause # toggle between media play and pause +binddl = , XF86AudioPause,$d pause media, exec, playerctl play-pause # toggle between media play and pause +binddl = , XF86AudioNext,$d next media , exec, playerctl next # media next +binddl = , XF86AudioPrev,$d previous media , exec, playerctl previous # media previous + +$d=[$hc|Brightness] +binddel = , XF86MonBrightnessUp, $d increase brightness , exec, $scrPath/brightnesscontrol.sh i # increase brightness +binddel = , XF86MonBrightnessDown, $d decrease brightness , exec, $scrPath/brightnesscontrol.sh d # decrease brightness + + +$ut=Utilities +$d=[$ut] +# binddl = $mainMod, K, $d toggle keyboard layout , exec, $scrPath/keyboardswitch.sh # switch keyboard layout +bindd = $mainMod Alt, G, $d game mode , exec, $scrPath/gamemode.sh # disable hypr effects for gamemode + +$d=[$ut|Screen Capture] +bindd = $mainMod Shift, P, $d color picker, exec, hyprpicker -an # Pick color (Hex) >> clipboard# +bindd = $mainMod, P, $d snip screen , exec, $scrPath/screenshot.sh s # partial screenshot capture +bindd = $mainMod Control, P, $d freeze and snip screen, exec, $scrPath/screenshot.sh sf # partial screenshot capture (frozen screen) +binddl = $mainMod Alt, P, $d print monitor , exec, $scrPath/screenshot.sh m # monitor screenshot capture +binddl = , Print, $d print all monitors , exec, $scrPath/screenshot.sh p # all monitors screenshot capture + +# TODO Make a main rofi menu for these selectors +$rice=Theming and Wallpaper +$d=[$rice] +bindd = $mainMod Alt Control Shift, Right, $d next global wallpaper , exec, $scrPath/wallpaper.sh -Gn # next global wallpaper +bindd = $mainMod Alt Control Shift, Left, $d previous global wallpaper , exec, $scrPath/wallpaper.sh -Gp # previous global wallpaper +bindd = $mainMod Shift, W, $d select a global wallpaper , exec, pkill -x rofi || $scrPath/wallpaper.sh -SG # launch wallpaper select menu +# bindd = $mainMod Alt, Up, $d next waybar layout , exec, $scrPath/wbarconfgen.sh n # next waybar mode +# bindd = $mainMod Alt, Down, $d previous waybar layout , exec, $scrPath/wbarconfgen.sh p # previous waybar mode +# bindd = $mainMod Shift, R, $d wallbash mode selector , exec, pkill -x rofi || $scrPath/wallbashtoggle.sh -m # launch wallbash mode select menu +# bindd = $mainMod Shift, T, $d select a theme, exec, pkill -x rofi || $scrPath/themeselect.sh # launch theme select menu + + + +$ws=Workspaces +$d=[$ws|Navigation] +bindd = $mainMod, 1, $d navigate to workspace 1 , workspace, 1 +bindd = $mainMod, 2, $d navigate to workspace 2 , workspace, 2 +bindd = $mainMod, 3, $d navigate to workspace 3 , workspace, 3 +bindd = $mainMod, 4, $d navigate to workspace 4 , workspace, 4 +bindd = $mainMod, 5, $d navigate to workspace 5 , workspace, 5 +bindd = $mainMod, 6, $d navigate to workspace 6 , workspace, 6 +bindd = $mainMod, 7, $d navigate to workspace 7 , workspace, 7 +bindd = $mainMod, 8, $d navigate to workspace 8 , workspace, 8 +bindd = $mainMod, 9, $d navigate to workspace 9 , workspace, 9 +bindd = $mainMod, 0, $d navigate to workspace 10 , workspace, 10 + +$d=[$ws|Navigation|Relative workspace] +bindd = $mainMod Control Shift, Right, $d change active workspace forwards , workspace, r+1 +bindd = $mainMod Control Shift, Left, $d change active workspace backwards , workspace, r-1 +bindd = $mainMod Control Shift, L, $d change active workspace forwards , workspace, r+1 # doesnt work +bindd = $mainMod Control Shift, H, $d change active workspace backwards , workspace, r-1 # doesnt work + +$d=[$ws|Navigation] +bindd = $mainMod Control, Down, $d navigate to the nearest empty workspace , workspace, empty + +# Move focused window to a workspace +$d=[$ws|Move window to workspace] +bindd = $mainMod Control, 1, $d move to workspace 1 , movetoworkspace, 1 +bindd = $mainMod Control, 2, $d move to worksCtrl2 , movetoworkspace, 2 +bindd = $mainMod Control, 3, $d move to worksCtrl3 , movetoworkspace, 3 +bindd = $mainMod Control, 4, $d move to worksCtrl4 , movetoworkspace, 4 +bindd = $mainMod Control, 5, $d move to worksCtrl5 , movetoworkspace, 5 +bindd = $mainMod Control, 6, $d move to worksCtrl6 , movetoworkspace, 6 +bindd = $mainMod Control, 7, $d move to worksCtrl7 , movetoworkspace, 7 +bindd = $mainMod Control, 8, $d move to worksCtrl8 , movetoworkspace, 8 +bindd = $mainMod Control, 9, $d move to worksCtrl9 , movetoworkspace, 9 +bindd = $mainMod Control, 0, $d move to worksCtrl10 , movetoworkspace, 10 + +# Move focused window to a relative workspace +$d=[$ws] +bindd = $mainMod Control Alt, Right, $d move window to next relative workspace , movetoworkspace, r+1 +bindd = $mainMod Control Alt, Left, $d move window to previous relative workspace , movetoworkspace, r-1 +bindd = $mainMod Control Alt, l, $d move window to next relative workspace , movetoworkspace, r+1 +bindd = $mainMod Control Alt, h, $d move window to previous relative workspace , movetoworkspace, r-1 + +# Scroll through existing workspaces +$d=[$ws|Navigation] +bindd = $mainMod, mouse_down, $d next workspace, workspace, e+1 +bindd = $mainMod, mouse_up, $d previous workspace, workspace, e-1 + + +# Move/Switch to special workspace (scratchpad) +$d=[$ws|Navigation|Special workspace] +bindd = $mainMod Shift, S, $d move to scratchpad , movetoworkspace, special +bindd = $mainMod Alt, S, $d move to scratchpad (silent) , movetoworkspacesilent, special +bindd = $mainMod, S, $d toggle scratchpad , togglespecialworkspace + +# Move focused window to a workspace silently +$d=[$ws|Navigation|Move window silently] +bindd = $mainMod Alt, 1, $d move to workspace 1 (silent), movetoworkspacesilent, 1 +bindd = $mainMod Alt, 2, $d move to workspace 2 (silent), movetoworkspacesilent, 2 +bindd = $mainMod Alt, 3, $d move to workspace 3 (silent), movetoworkspacesilent, 3 +bindd = $mainMod Alt, 4, $d move to workspace 4 (silent), movetoworkspacesilent, 4 +bindd = $mainMod Alt, 5, $d move to workspace 5 (silent), movetoworkspacesilent, 5 +bindd = $mainMod Alt, 6, $d move to workspace 6 (silent), movetoworkspacesilent, 6 +bindd = $mainMod Alt, 7, $d move to workspace 7 (silent), movetoworkspacesilent, 7 +bindd = $mainMod Alt, 8, $d move to workspace 8 (silent), movetoworkspacesilent, 8 +bindd = $mainMod Alt, 9, $d move to workspace 9 (silent), movetoworkspacesilent, 9 +bindd = $mainMod Alt, 0, $d move to workspace 10 (silent), movetoworkspacesilent, 10 + + + +$d=#! unset the group name diff --git a/.config/hypr/monitors.conf b/.config/hypr/monitors.conf index 8da85ed..51d75f4 100644 --- a/.config/hypr/monitors.conf +++ b/.config/hypr/monitors.conf @@ -6,23 +6,18 @@ # See https://wiki.hyprland.org/Configuring/Monitors/ # For a sample file, please refer to https://github.com/prasanthrangan/hyprdots/blob/main/Configs/.config/hypr/monitors.t2 -$mainScreen = eDP-1 + + +$mainScreen = HDMI-A-1 $leftScreen = DP-2 -$rightScreen = HDMI-A-1 +$rightScreen = eDP-1 -monitor = $mainScreen, 1366x768@60.14, 0x0, 1 # main screen -monitor = $leftScreen, 1920x1080@60, -1920x0, 1 # left -monitor = $rightScreen, 1920x1080@60,1366x0, 1 # right +monitor = $mainScreen, 3840x2160@59.99, 0x0, 1.25 # main screen +# monitor = $mainScreen, 1920x1080@59.99, 0x0, 2 # main screen +# monitor = $leftScreen, 1920x1080@60, -1920x0, 1 # left +# monitor = $rightScreen, 1920x1080@60,1366x0, 1 # right -# monitor=HDMI-A-1,1920x1080@60,-1366x0,1 # hdmi on left -# monitor=HDMI-A-1,1920x1080@60,0x-768,1 # hdmi on top -# monitor=DP-2,640x480@59.94Hz,0x0,1 # vga -# monitor = HDMI-A-1, 1366x768@60.00Hz, auto , 1, mirror, eDP-1 #mirror lapscreen -# monitor = eDP-1, 1920x1080@60.00Hz, auto , 1, mirror, HDMI-A-1 #main hdmi, lapscreen mirrors - -# monitor = , preferred, auto, 1, mirror, DP-2 # dmz projector -# monitor = eDP-1, 1920x1080@60, auto , 1, mirror, DP-2 #mirror vga test #Main Monitor workspace = 1, monitor:$mainScreen, default:true @@ -59,4 +54,3 @@ workspace = 27, monitor:$leftScreen workspace = 28, monitor:$leftScreen workspace = 29, monitor:$leftScreen workspace = 30, monitor:$leftScreen - diff --git a/.config/hypr/nvidia.conf b/.config/hypr/nvidia.conf new file mode 100644 index 0000000..528e1ec --- /dev/null +++ b/.config/hypr/nvidia.conf @@ -0,0 +1,30 @@ + +# █▄░█ █░█ █ █▀▄ █ ▄▀█ +# █░▀█ ▀▄▀ █ █▄▀ █ █▀█ + +# Hyprland Nvidia Configuration +# See https://wiki.hyprland.org/Nvidia/ +env = LIBVA_DRIVER_NAME,nvidia +env = __GLX_VENDOR_LIBRARY_NAME,nvidia # Disable this if you have issues with screensharing + + +# If you want to try hardware cursors, +# you can enable them by setting `cursor:no_hardware_cursors = false` , +# but it will require also enabling `cursor:allow_dumb_copy` +# which may cause small to major hitches whenever the cursor shape changes. +# If this is a problem on your system, keep hardware cursors disabled. +cursor:no_hardware_cursors = true # Set to true to avoid hitches +# cursor:allow_dumb_copy = true + +# https://wiki.hyprland.org/Nvidia/#va-api-hardware-video-acceleration +# Hardware video acceleration on Nvidia and Wayland is +# possible with the nvidia-vaapi-driver. +# This may solve specific issues in Electron apps. +env = NVD_BACKEND,direct # Requires 'libva-nvidia-driver' package + +# https://wiki.hyprland.org/Nvidia/#regarding-environment-variables +# If you encounter crashes in Firefox, remove this line +env = GBM_BACKEND,nvidia-drm + +# If you have a multi-GPU setup and you are facing lag in external monitor. +# See https://wiki.hyprland.org/Configuring/Multi-GPU/ diff --git a/.config/hypr/themes/colors.conf b/.config/hypr/themes/colors.conf index e69de29..63d8bf8 100644 --- a/.config/hypr/themes/colors.conf +++ b/.config/hypr/themes/colors.conf @@ -0,0 +1,111 @@ +# Autogenerated colors by wallbash +# This can be sourced in by any hyprlang configuration file + +# Color group 1 + +$wallbash_pry1 = 1C0725 # primary color 1 +$wallbash_txt1 = FFFFFF # text color 1 +$wallbash_1xa1 = 452952 # accent color 1 for primary color 1 +$wallbash_1xa2 = 5C3A6B # accent color 2 for primary color 1 +$wallbash_1xa3 = 6E4B7D # accent color 3 for primary color 1 +$wallbash_1xa4 = 7E578F # accent color 4 for primary color 1 +$wallbash_1xa5 = 9165A3 # accent color 5 for primary color 1 +$wallbash_1xa6 = AC7AC2 # accent color 6 for primary color 1 +$wallbash_1xa7 = CF9AE6 # accent color 7 for primary color 1 +$wallbash_1xa8 = DBAAF0 # accent color 8 for primary color 1 +$wallbash_1xa9 = F0CCFF # accent color 9 for primary color 1 + +# in rgba format +$wallbash_pry1_rgba = rgba(28,7,37,0.95) # primary color 1 +$wallbash_txt1_rgba = rgba(255,255,255,0.95) # text color 1 +$wallbash_1xa1_rgba = rgba(69,41,82,0.95) # accent color 1 for primary color 1 +$wallbash_1xa2_rgba = rgba(92,58,107,0.95) # accent color 2 for primary color 1 +$wallbash_1xa3_rgba = rgba(110,75,125,0.95) # accent color 3 for primary color 1 +$wallbash_1xa4_rgba = rgba(126,87,143,0.95) # accent color 4 for primary color 1 +$wallbash_1xa5_rgba = rgba(145,101,163,0.95) # accent color 5 for primary color 1 +$wallbash_1xa6_rgba = rgba(172,122,194,0.95) # accent color 6 for primary color 1 +$wallbash_1xa7_rgba = rgba(207,154,230,0.95) # accent color 7 for primary color 1 +$wallbash_1xa8_rgba = rgba(219,170,240,0.95) # accent color 8 for primary color 1 +$wallbash_1xa9_rgba = rgba(240,204,255,0.95) # accent color 9 for primary color 1 + + +# Color group 2 + +$wallbash_pry2 = 4A1442 # primary color 2 +$wallbash_txt2 = FFFFFF # text color 2 +$wallbash_2xa1 = 52294C # accent color 1 for primary color 2 +$wallbash_2xa2 = 6B3A64 # accent color 2 for primary color 2 +$wallbash_2xa3 = 7D4B76 # accent color 3 for primary color 2 +$wallbash_2xa4 = 8F5787 # accent color 4 for primary color 2 +$wallbash_2xa5 = A3659A # accent color 5 for primary color 2 +$wallbash_2xa6 = C27AB7 # accent color 6 for primary color 2 +$wallbash_2xa7 = E69ADA # accent color 7 for primary color 2 +$wallbash_2xa8 = F0AAE5 # accent color 8 for primary color 2 +$wallbash_2xa9 = FFCCF7 # accent color 9 for primary color 2 + +# in rgba format +$wallbash_pry2_rgba = rgba(74,20,66,0.95) # primary color 2 +$wallbash_txt2_rgba = rgba(255,255,255,0.95) # text color 2 +$wallbash_2xa1_rgba = rgba(82,41,76,0.95) # accent color 1 for primary color 2 +$wallbash_2xa2_rgba = rgba(107,58,100,0.95) # accent color 2 for primary color 2 +$wallbash_2xa3_rgba = rgba(125,75,118,0.95) # accent color 3 for primary color 2 +$wallbash_2xa4_rgba = rgba(143,87,135,0.95) # accent color 4 for primary color 2 +$wallbash_2xa5_rgba = rgba(163,101,154,0.95) # accent color 5 for primary color 2 +$wallbash_2xa6_rgba = rgba(194,122,183,0.95) # accent color 6 for primary color 2 +$wallbash_2xa7_rgba = rgba(230,154,218,0.95) # accent color 7 for primary color 2 +$wallbash_2xa8_rgba = rgba(240,170,229,0.95) # accent color 8 for primary color 2 +$wallbash_2xa9_rgba = rgba(255,204,247,0.95) # accent color 9 for primary color 2 + +# Color group 3 + +$wallbash_pry3 = 9154A0 # primary color 3 +$wallbash_txt3 = FAFAFA # text color 3 +$wallbash_3xa1 = 4A2952 # accent color 1 for primary color 3 +$wallbash_3xa2 = 613A6B # accent color 2 for primary color 3 +$wallbash_3xa3 = 734B7D # accent color 3 for primary color 3 +$wallbash_3xa4 = 84578F # accent color 4 for primary color 3 +$wallbash_3xa5 = 9765A3 # accent color 5 for primary color 3 +$wallbash_3xa6 = B47AC2 # accent color 6 for primary color 3 +$wallbash_3xa7 = D79AE6 # accent color 7 for primary color 3 +$wallbash_3xa8 = E2AAF0 # accent color 8 for primary color 3 +$wallbash_3xa9 = F5CCFF # accent color 9 for primary color 3 + +# in rgba format +$wallbash_pry3_rgba = rgba(145,84,160,0.95) # primary color 3 +$wallbash_txt3_rgba = rgba(250,250,250,0.95) # text color 3 +$wallbash_3xa1_rgba = rgba(74,41,82,0.95) # accent color 1 for primary color 3 +$wallbash_3xa2_rgba = rgba(97,58,107,0.95) # accent color 2 for primary color 3 +$wallbash_3xa3_rgba = rgba(115,75,125,0.95) # accent color 3 for primary color 3 +$wallbash_3xa4_rgba = rgba(132,87,143,0.95) # accent color 4 for primary color 3 +$wallbash_3xa5_rgba = rgba(151,101,163,0.95) # accent color 5 for primary color 3 +$wallbash_3xa6_rgba = rgba(180,122,194,0.95) # accent color 6 for primary color 3 +$wallbash_3xa7_rgba = rgba(215,154,230,0.95) # accent color 7 for primary color 3 +$wallbash_3xa8_rgba = rgba(226,170,240,0.95) # accent color 8 for primary color 3 +$wallbash_3xa9_rgba = rgba(245,204,255,0.95) # accent color 9 for primary color 3 + +# Color group 4 + +$wallbash_pry4 = ECE8BB # primary color 4 +$wallbash_txt4 = 070707 # text color 4 +$wallbash_4xa1 = 524E29 # accent color 1 for primary color 4 +$wallbash_4xa2 = 6B673A # accent color 2 for primary color 4 +$wallbash_4xa3 = 7D794B # accent color 3 for primary color 4 +$wallbash_4xa4 = 8F8A57 # accent color 4 for primary color 4 +$wallbash_4xa5 = A39E65 # accent color 5 for primary color 4 +$wallbash_4xa6 = C2BC7A # accent color 6 for primary color 4 +$wallbash_4xa7 = E6DF9A # accent color 7 for primary color 4 +$wallbash_4xa8 = F0EAAA # accent color 8 for primary color 4 +$wallbash_4xa9 = FFFBCC # accent color 9 for primary color 4 + +# in rgba format +$wallbash_pry4_rgba = rgba(236,232,187,0.95) # primary color 4 +$wallbash_txt4_rgba = rgba(7,7,7,0.95) # text color 4 +$wallbash_4xa1_rgba = rgba(82,78,41,0.95) # accent color 1 for primary color 4 +$wallbash_4xa2_rgba = rgba(107,103,58,0.95) # accent color 2 for primary color 4 +$wallbash_4xa3_rgba = rgba(125,121,75,0.95) # accent color 3 for primary color 4 +$wallbash_4xa4_rgba = rgba(143,138,87,0.95) # accent color 4 for primary color 4 +$wallbash_4xa5_rgba = rgba(163,158,101,0.95) # accent color 5 for primary color 4 +$wallbash_4xa6_rgba = rgba(194,188,122,0.95) # accent color 6 for primary color 4 +$wallbash_4xa7_rgba = rgba(230,223,154,0.95) # accent color 7 for primary color 4 +$wallbash_4xa8_rgba = rgba(240,234,170,0.95) # accent color 8 for primary color 4 +$wallbash_4xa9_rgba = rgba(255,251,204,0.95) # accent color 9 for primary color 4 diff --git a/.config/hypr/themes/common.conf b/.config/hypr/themes/common.conf deleted file mode 100644 index 45759cc..0000000 --- a/.config/hypr/themes/common.conf +++ /dev/null @@ -1,28 +0,0 @@ - -# █▀▀ █░█ █▀█ █▀ █▀█ █▀█ -# █▄▄ █▄█ █▀▄ ▄█ █▄█ █▀▄ - -exec = hyprctl setcursor Bibata-Modern-Ice 20 -exec = gsettings set org.gnome.desktop.interface cursor-theme 'Bibata-Modern-Ice' -exec = gsettings set org.gnome.desktop.interface cursor-size 20 - - -# █▀▀ █▀█ █▄░█ ▀█▀ -# █▀░ █▄█ █░▀█ ░█░ - -exec = gsettings set org.gnome.desktop.interface font-name 'Cantarell 10' -exec = gsettings set org.gnome.desktop.interface document-font-name 'Cantarell 10' -exec = gsettings set org.gnome.desktop.interface monospace-font-name 'CaskaydiaCove Nerd Font Mono 9' -exec = gsettings set org.gnome.desktop.interface font-antialiasing 'rgba' -exec = gsettings set org.gnome.desktop.interface font-hinting 'full' - - -# █▀ █▀█ █▀▀ █▀▀ █ ▄▀█ █░░ -# ▄█ █▀▀ ██▄ █▄▄ █ █▀█ █▄▄ - -decoration { - dim_special = 0.3 - blur { - special = true - } -} diff --git a/.config/hypr/themes/theme.conf b/.config/hypr/themes/theme.conf index c1db14f..62baa19 100644 --- a/.config/hypr/themes/theme.conf +++ b/.config/hypr/themes/theme.conf @@ -1,6 +1,12 @@ -exec = gsettings set org.gnome.desktop.interface icon-theme 'Tela-circle-dracula' -exec = gsettings set org.gnome.desktop.interface gtk-theme 'Catppuccin-Mocha' -exec = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' +#  // P̳r̳a̳s̳a̳n̳t̳h̳ R̳a̳n̳g̳a̳n̳ + +$GTK_THEME=Catppuccin-Mocha +$ICON_THEME = Tela-circle-dracula +$COLOR_SCHEME = prefer-dark + +# Optional: The varibles above will be set automatically when the theme is loaded +# This exec commands will soon be deprecated + general { gaps_in = 2 #3 @@ -21,7 +27,7 @@ group { decoration { rounding = 6 #10 -# drop_shadow = true #false + shadow:enabled = false blur { enabled = yes diff --git a/.config/hypr/themes/wallbash.conf b/.config/hypr/themes/wallbash.conf new file mode 100644 index 0000000..31fdb12 --- /dev/null +++ b/.config/hypr/themes/wallbash.conf @@ -0,0 +1,50 @@ +# Auto-generated by HyDE // Read-only +# // ---------------------------- +# HyDE Theme: Catppuccin Mocha +# Configuration File: "/home/coja/.config/hyde/themes/Catppuccin Mocha/hypr.theme" +# Wallbash Mode : theme +# // ---------------------------- + +$HYDE_THEME=Catppuccin Mocha +$GTK_THEME=Catppuccin-Mocha +$COLOR-SCHEME=prefer-dark +$ICON_THEME=Tela-circle-dracula + +$CURSOR_THEME=Bibata-Modern-Ice +$CURSOR_SIZE=24 + +$FONT=Cantarell +$FONT_SIZE=10 +$DOCUMENT_FONT=Cantarell +$DOCUMENT_FONT_SIZE=10 +$MONOSPACE_FONT=CaskaydiaCove Nerd Font Mono +$MONOSPACE_FONT_SIZE=9 + + +$CODE_THEME=Wallbash +$SDDM_THEME= + +# // ---------------------------- +# README: +# Values above are derived and sanitized from the theme.conf file, +# This is to ensure themes won't have any 'exec' or 'source' +# commands that could potentially harm the system +# or undesired behavior. +# +# Dear Theme Owner: +# You can still add your own custom 'exec' or 'source' commands +# by adding it as variable, examples (you can name the variable anything): +# Note that you should indicate it in your README.md +# +# +# -- ⌨️ theme.conf -- +# $RUN_CMD="some_command" +# $SOURCE_FILE="/some/files" +# +# +# -- ⌨️ userprefs.conf -- +# exec = ${RUN_CMD}" +# source = ${SOURCE_FILE} +# exec = hyde-shell walbash code $CODE_THEME # Setting the code theme + +# // ---------------------------- diff --git a/.config/hypr/userprefs.conf b/.config/hypr/userprefs.conf index 7ee4618..db6c9da 100644 --- a/.config/hypr/userprefs.conf +++ b/.config/hypr/userprefs.conf @@ -3,4 +3,23 @@ # █▄█ ▄█ ██▄ █▀▄   █▀▀ █▀▄ ██▄ █▀░ ▄█ # Set your personal hyprland configuration here -# For a sample file, please refer to https://github.com/prasanthrangan/hyprdots/blob/main/Configs/.config/hypr/userprefs.t2 + + + +# // █░░ ▄▀█ █░█ █▄░█ █▀▀ █░█ +# // █▄▄ █▀█ █▄█ █░▀█ █▄▄ █▀█ + +exec-once = xremap ~/.config/xremap/config.yml # enable xremap service +exec-once = ferdium +env = SSH_AUTH_SOCK,$XDG_RUNTIME_DIR/ssh-agent.socket # ssh on start +env = WLR_DRM_NO_ATOMIC,1 # electron flickering +env = ELECTRON_OZONE_PLATFORM_HINT,x11 # Disable after hyprland fixes electron flickering + + +# I know there is like two 'solutions' already, so have third one - (tested GTX 1060, 555.58.02 drivers) - run flickery apps with --disable-gpu-compositing. This makes apps slightly less smooth (GPU still used tho), but fixes the issue. I think this is better then to disable damage_tracking, which works too. + +# render { +# explicit_sync = 1 +# explicit_sync_kms = 1 +# direct_scanout = no +# } diff --git a/.config/hypr/windowrules.conf b/.config/hypr/windowrules.conf index da1f5d8..963c7ac 100644 --- a/.config/hypr/windowrules.conf +++ b/.config/hypr/windowrules.conf @@ -3,50 +3,44 @@ # ▀▄▀▄▀ █ █░▀█ █▄▀ █▄█ ▀▄▀▄▀   █▀▄ █▄█ █▄▄ ██▄ ▄█ # See https://wiki.hyprland.org/Configuring/Window-Rules/ -# hyprctl clients to get names -windowrulev2 = opacity 0.90 0.90,class:^(neovide)$ -windowrulev2 = opacity 0.90 0.90,class:^(firefox)$ -windowrulev2 = opacity 0.80 0.80,class:^(betterbird)$ -windowrulev2 = opacity 0.80 0.80,class:^(org.qbittorrent.qBittorrent)$ -windowrulev2 = opacity 0.80 0.80,class:^(org.gajim.Gajim)$ -windowrulev2 = opacity 0.80 0.80,class:^(Chromium)$ -windowrulev2 = opacity 0.80 0.80,class:^(FreeTube)$ -windowrulev2 = opacity 0.80 0.80,class:^(LibreWolf)$ -windowrulev2 = opacity 0.80 0.60,class:^(obsidian)$ -windowrulev2 = opacity 0.80 0.80,class:^(VSCodium)$ -windowrulev2 = opacity 0.80 0.80,class:^(codium-url-handler)$ -windowrulev2 = opacity 0.80 0.80,class:^(code-oss)$ -windowrulev2 = opacity 0.80 0.80,class:^(Code)$ -windowrulev2 = opacity 0.80 0.80,class:^(code-url-handler)$ -windowrulev2 = opacity 0.80 0.80,class:^(code-insiders-url-handler)$ -windowrulev2 = opacity 0.80 0.80,class:^(kitty)$ -windowrulev2 = opacity 0.70 0.70,class:^(tilix)$ -windowrulev2 = opacity 0.70 0.70,class:^(rustdesk)$ -windowrulev2 = opacity 0.80 0.80,class:^(org.kde.dolphin)$ -windowrulev2 = opacity 0.80 0.80,class:^(org.kde.ark)$ -windowrulev2 = opacity 0.80 0.80,class:^(nwg-look)$ -windowrulev2 = opacity 0.80 0.80,class:^(qt5ct)$ -windowrulev2 = opacity 0.80 0.80,class:^(qt6ct)$ -windowrulev2 = opacity 0.80 0.80,class:^(kvantummanager)$ -windowrulev2 = opacity 0.80 0.70,class:^(org.pulseaudio.pavucontrol)$ -windowrulev2 = opacity 0.80 0.70,class:^(lagrange)$ -windowrulev2 = opacity 0.80 0.70,class:^(blueman-manager)$ -windowrulev2 = opacity 0.80 0.70,class:^(nm-applet)$ -windowrulev2 = opacity 0.80 0.70,class:^(nm-connection-editor)$ -windowrulev2 = opacity 0.80 0.70,class:^(org.kde.polkit-kde-authentication-agent-1)$ -windowrulev2 = opacity 0.80 0.70,class:^(polkit-gnome-authentication-agent-1)$ -windowrulev2 = opacity 0.80 0.70,class:^(org.freedesktop.impl.portal.desktop.gtk)$ -windowrulev2 = opacity 0.80 0.70,class:^(org.freedesktop.impl.portal.desktop.hyprland)$ -windowrulev2 = opacity 0.70 0.70,class:^(Ferdium)$ -windowrulev2 = opacity 0.70 0.70,class:^(org.keepassxc.KeePassXC)$ -windowrulev2 = opacity 0.70 0.70,class:^([Ss]team)$ +# '$&' is a hyde specific shorthand for "override" \\ analogous to a reference +# This symbol indicates that the following values will override the default configuration +$&=override + +windowrulev2 = opacity 0.90 $& 0.90 $& 1,class:^(firefox)$ +# windowrulev2 = opacity 0.90 $& 0.90 $& 1,class:^(Brave-browser)$ +windowrulev2 = opacity 0.80 $& 0.80 $& 1,class:^(code-oss)$ +windowrulev2 = opacity 0.80 $& 0.80 $& 1,class:^([Cc]ode)$ +windowrulev2 = opacity 0.80 $& 0.80 $& 1,class:^(code-url-handler)$ +windowrulev2 = opacity 0.80 $& 0.80 $& 1,class:^(code-insiders-url-handler)$ +windowrulev2 = opacity 0.80 $& 0.80 $& 1,class:^(kitty)$ +windowrulev2 = opacity 0.80 $& 0.80 $& 1,class:^(org.kde.dolphin)$ +windowrulev2 = opacity 0.80 $& 0.80 $& 1,class:^(org.kde.ark)$ +windowrulev2 = opacity 0.80 $& 0.80 $& 1,class:^(nwg-look)$ +windowrulev2 = opacity 0.80 $& 0.80 $& 1,class:^(qt5ct)$ +windowrulev2 = opacity 0.80 $& 0.80 $& 1,class:^(qt6ct)$ +windowrulev2 = opacity 0.80 $& 0.80 $& 1,class:^(kvantummanager)$ +windowrulev2 = opacity 0.80 $& 0.70 $& 1,class:^(org.pulseaudio.pavucontrol)$ +windowrulev2 = opacity 0.80 $& 0.70 $& 1,class:^(blueman-manager)$ +windowrulev2 = opacity 0.80 $& 0.70 $& 1,class:^(nm-applet)$ +windowrulev2 = opacity 0.80 $& 0.70 $& 1,class:^(nm-connection-editor)$ +windowrulev2 = opacity 0.80 $& 0.70 $& 1,class:^(org.kde.polkit-kde-authentication-agent-1)$ +windowrulev2 = opacity 0.80 $& 0.70 $& 1,class:^(polkit-gnome-authentication-agent-1)$ +windowrulev2 = opacity 0.80 $& 0.70 $& 1,class:^(org.freedesktop.impl.portal.desktop.gtk)$ +windowrulev2 = opacity 0.80 $& 0.70 $& 1,class:^(org.freedesktop.impl.portal.desktop.hyprland)$ +windowrulev2 = opacity 0.70 $& 0.70 $& 1,class:^([Ss]team)$ +windowrulev2 = opacity 0.70 $& 0.70 $& 1,class:^(steamwebhelper)$ +# windowrulev2 = opacity 0.70 $& 0.70 $& 1,class:^([Ss]potify)$ +# windowrulev2 = opacity 0.70 $& 0.70 $& 1,initialTitle:^(Spotify Free)$ +# windowrulev2 = opacity 0.70 $& 0.70 $& 1,initialTitle:^(Spotify Premium)$ windowrulev2 = opacity 0.90 0.90,class:^(com.github.rafostar.Clapper)$ # Clapper-Gtk windowrulev2 = opacity 0.80 0.80,class:^(com.github.tchx84.Flatseal)$ # Flatseal-Gtk windowrulev2 = opacity 0.80 0.80,class:^(hu.kramo.Cartridges)$ # Cartridges-Gtk windowrulev2 = opacity 0.80 0.80,class:^(com.obsproject.Studio)$ # Obs-Qt windowrulev2 = opacity 0.80 0.80,class:^(gnome-boxes)$ # Boxes-Gtk +windowrulev2 = opacity 0.80 0.80,class:^(vesktop)$ # Vesktop windowrulev2 = opacity 0.80 0.80,class:^(discord)$ # Discord-Electron windowrulev2 = opacity 0.80 0.80,class:^(WebCord)$ # WebCord-Electron windowrulev2 = opacity 0.80 0.80,class:^(ArmCord)$ # ArmCord-Electron @@ -93,6 +87,14 @@ windowrulev2 = float,class:^(com.github.unrud.VideoDownloader)$ # VideoDownloade windowrulev2 = float,class:^(io.gitlab.adhami3310.Impression)$ # Impression-Gtk windowrulev2 = float,class:^(io.missioncenter.MissionCenter)$ # MissionCenter-Gtk +# common modals +windowrule = float,initialtitle:^(Open File)$ +windowrule = float,initialTitle:^(Open File)$ +windowrule = float,title:^(Choose Files)$ +windowrule = float,title:^(Save As)$ +windowrule = float,title:^(Confirm to replace files)$ +windowrule = float,title:^(File Operation Progress)$ +windowrulev2 = float,class:^(xdg-desktop-portal-gtk)$ # █░░ ▄▀█ █▄█ █▀▀ █▀█   █▀█ █░█ █░░ █▀▀ █▀ # █▄▄ █▀█ ░█░ ██▄ █▀▄   █▀▄ █▄█ █▄▄ ██▄ ▄█ diff --git a/.config/hypr/workspaces.conf b/.config/hypr/workspaces.conf new file mode 100644 index 0000000..e69de29 diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf index c85b4a2..939d6f7 100644 --- a/.config/kitty/kitty.conf +++ b/.config/kitty/kitty.conf @@ -4,7 +4,7 @@ italic_font auto bold_italic_font auto enable_audio_bell no -font_size 9.0 +font_size 14.0 window_padding_width 25 include theme.conf #background_opacity 0.60 diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index f23bda3..dac4b5c 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -23,6 +23,7 @@ if vim.g.neovide then end vim.opt.relativenumber = true +vim.opt.wrap = false ----- end of custom ----- diff --git a/.config/nvim/lazy-lock.json b/.config/nvim/lazy-lock.json new file mode 100644 index 0000000..71ecefe --- /dev/null +++ b/.config/nvim/lazy-lock.json @@ -0,0 +1,29 @@ +{ + "LuaSnip": { "branch": "master", "commit": "c9b9a22904c97d0eb69ccb9bab76037838326817" }, + "NvChad": { "branch": "v2.5", "commit": "46b15ef1b9d10a83ab7df26b14f474d15c01e770" }, + "base46": { "branch": "v3.0", "commit": "80358ecdb5779b199130ed03031c34c0c2bca3fc" }, + "cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" }, + "cmp-nvim-lsp": { "branch": "main", "commit": "a8912b88ce488f411177fc8aed358b04dc246d7b" }, + "cmp-nvim-lua": { "branch": "main", "commit": "f12408bdb54c39c23e67cab726264c10db33ada8" }, + "cmp-path": { "branch": "main", "commit": "c6635aae33a50d6010bf1aa756ac2398a2d54c32" }, + "cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" }, + "conform.nvim": { "branch": "master", "commit": "eebc724d12c5579d733d1f801386e0ceb909d001" }, + "friendly-snippets": { "branch": "main", "commit": "31f2a2657b6261724313281fe0d8ba6f43f4a4fa" }, + "gitsigns.nvim": { "branch": "main", "commit": "fcfa7a989cd6fed10abf02d9880dc76d7a38167d" }, + "indent-blankline.nvim": { "branch": "master", "commit": "005b56001b2cb30bfa61b7986bc50657816ba4ba" }, + "lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" }, + "mason.nvim": { "branch": "main", "commit": "fc98833b6da5de5a9c5b1446ac541577059555be" }, + "menu": { "branch": "main", "commit": "8adb036ec34c679050913864cbc98cc64eb91f6c" }, + "minty": { "branch": "main", "commit": "aafc9e8e0afe6bf57580858a2849578d8d8db9e0" }, + "nvim-autopairs": { "branch": "master", "commit": "4d74e75913832866aa7de35e4202463ddf6efd1b" }, + "nvim-cmp": { "branch": "main", "commit": "b5311ab3ed9c846b585c0c15b7559be131ec4be9" }, + "nvim-lspconfig": { "branch": "master", "commit": "81920264a264144bd075f7f48f0c4356fc2c6236" }, + "nvim-tree.lua": { "branch": "master", "commit": "5bea2b37523a31288e0fcab42f3be5c1bd4516bb" }, + "nvim-treesitter": { "branch": "master", "commit": "7bbed4b548d9a81c14351bda93d16336edefd067" }, + "nvim-web-devicons": { "branch": "master", "commit": "c90dee4e930ab9f49fa6d77f289bff335b49e972" }, + "plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" }, + "telescope.nvim": { "branch": "master", "commit": "a4ed82509cecc56df1c7138920a1aeaf246c0ac5" }, + "ui": { "branch": "v3.0", "commit": "9201de37eb4992bef5fec974618a9a14082765fe" }, + "volt": { "branch": "main", "commit": "c45d5f48da8e802e608b5c6da471ca4d84276dfb" }, + "which-key.nvim": { "branch": "main", "commit": "370ec46f710e058c9c1646273e6b225acf47cbed" } +} diff --git a/.config/nvim/lua/configs/conform.lua b/.config/nvim/lua/configs/conform.lua index 35ba6cf..9267fab 100644 --- a/.config/nvim/lua/configs/conform.lua +++ b/.config/nvim/lua/configs/conform.lua @@ -1,8 +1,9 @@ local options = { formatters_by_ft = { lua = { "stylua" }, - -- css = { "prettier" }, - -- html = { "prettier" }, + css = { "prettier" }, + html = { "prettier" }, + typescript = { "prettier" }, }, -- format_on_save = { diff --git a/.config/nvim/lua/configs/lspconfig.lua b/.config/nvim/lua/configs/lspconfig.lua index 478df01..1a48953 100644 --- a/.config/nvim/lua/configs/lspconfig.lua +++ b/.config/nvim/lua/configs/lspconfig.lua @@ -4,7 +4,7 @@ require("nvchad.configs.lspconfig").defaults() local lspconfig = require "lspconfig" -- EXAMPLE -local servers = { "html", "cssls" } +local servers = { "html", "cssls", "ts_ls" } local nvlsp = require "nvchad.configs.lspconfig" -- lsps with default config diff --git a/.config/nvim/lua/mappings.lua b/.config/nvim/lua/mappings.lua index f638e6f..8f47e6b 100644 --- a/.config/nvim/lua/mappings.lua +++ b/.config/nvim/lua/mappings.lua @@ -5,5 +5,7 @@ require "nvchad.mappings" local map = vim.keymap.set map("n", ";", ":", { desc = "CMD enter command mode" }) +map({ "n", "i", "v" }, "dg", " lua vim.diagnostic.open_float()", { desc = "Float diagnostic" }) + -- map({ "n", "i", "v" }, "", " w ") diff --git a/.config/nvim/lua/plugins/init.lua b/.config/nvim/lua/plugins/init.lua index 6474776..4e5f5bb 100644 --- a/.config/nvim/lua/plugins/init.lua +++ b/.config/nvim/lua/plugins/init.lua @@ -13,13 +13,18 @@ return { end, }, - -- { - -- "nvim-treesitter/nvim-treesitter", - -- opts = { - -- ensure_installed = { - -- "vim", "lua", "vimdoc", - -- "html", "css" - -- }, - -- }, - -- }, + { + "nvim-treesitter/nvim-treesitter", + opts = { + ensure_installed = { + "vim", + "lua", + "vimdoc", + "html", + "css", + "typescript", + "javascript", + }, + }, + }, } diff --git a/.config/pyradio/config b/.config/pyradio/config index 62fdcc4..43b39f0 100644 --- a/.config/pyradio/config +++ b/.config/pyradio/config @@ -1,6 +1,6 @@ # PyRadio User Configuration File # To get a full list of options execute: pyradio -pc -# or examine the file: /usr/lib/python3.12/site-packages/pyradio/config +# or examine the file: /usr/lib/python3.13/site-packages/pyradio/config # theme = blue-by-boxer use_transparency = True diff --git a/.config/swaylock/config b/.config/swaylock/config deleted file mode 100644 index 8490666..0000000 --- a/.config/swaylock/config +++ /dev/null @@ -1,38 +0,0 @@ -daemonize -show-failed-attempts -clock -screenshot -effect-blur=10x10 -effect-vignette=1:1 -color=1f1d2e80 -font="Inter" -indicator -indicator-radius=200 -indicator-thickness=20 -line-color=1f1d2e -ring-color=191724 -inside-color=1f1d2e -key-hl-color=eb6f92 -separator-color=00000000 -text-color=e0def4 -text-caps-lock-color="" -line-ver-color=eb6f92 -ring-ver-color=eb6f92 -inside-ver-color=1f1d2e -text-ver-color=e0def4 -ring-wrong-color=31748f -text-wrong-color=31748f -inside-wrong-color=1f1d2e -inside-clear-color=1f1d2e -text-clear-color=e0def4 -ring-clear-color=9ccfd8 -line-clear-color=1f1d2e -line-wrong-color=1f1d2e -bs-hl-color=31748f -grace=2 -grace-no-mouse -grace-no-touch -datestr=%a, %B %e -timestr=%I:%M %p -fade-in=0.5 -ignore-empty-password diff --git a/.config/xremap/config.yml b/.config/xremap/config.yml index c37391e..73e0231 100644 --- a/.config/xremap/config.yml +++ b/.config/xremap/config.yml @@ -5,16 +5,15 @@ modmap: held: leftctrl alone: esc alone_timeout_millis: 150 -keymap: - - name: Alt+hjkl to Arrows - remap: - # Alt-H: Alt+left #back - Alt-h: left - Alt-l: right - Alt-j: down - Alt-k: up - Alt-u: pageup - Alt-d: pagedown +# keymap: +# - name: Alt+hjkl to Arrows +# remap: +# Alt-h: left +# Alt-l: right +# Alt-j: down +# Alt-k: up +# Alt-u: pageup +# Alt-d: pagedown # keymap: # - name: Freetube remap # application: