updated hyprland config
BIN
.config/hypr/bg/koi-fishes.png
Normal file
After Width: | Height: | Size: 1.6 MiB |
BIN
.config/hypr/bg/minimal.png
Normal file
After Width: | Height: | Size: 44 KiB |
BIN
.config/hypr/bg/sea.jpg
Normal file
After Width: | Height: | Size: 229 KiB |
BIN
.config/hypr/bg/space.jpg
Executable file
After Width: | Height: | Size: 2.5 MiB |
BIN
.config/hypr/bg/tiger.png
Executable file
After Width: | Height: | Size: 8.2 MiB |
BIN
.config/hypr/bg/tron.jpg
Normal file
After Width: | Height: | Size: 202 KiB |
BIN
.config/hypr/bg/wallpaper.png
Normal file
After Width: | Height: | Size: 221 KiB |
21
.config/hypr/change/waybar-alt-1
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*
|
||||
cp -r ~/.config/hypr/waybar-alt-1/* ~/.config/hypr/waybar/
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-alt-10
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*
|
||||
cp -r ~/.config/hypr/waybar-alt-10/* ~/.config/hypr/waybar/
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-alt-2
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*
|
||||
cp -r ~/.config/hypr/waybar-alt-2/* ~/.config/hypr/waybar/
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-alt-3
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*
|
||||
cp -r ~/.config/hypr/waybar-alt-3/* ~/.config/hypr/waybar/
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-alt-4
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*
|
||||
cp -r ~/.config/hypr/waybar-alt-4/* ~/.config/hypr/waybar/
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-alt-5
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*
|
||||
cp -r ~/.config/hypr/waybar-alt-5/* ~/.config/hypr/waybar/
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-alt-6
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*
|
||||
cp -r ~/.config/hypr/waybar-alt-6/* ~/.config/hypr/waybar/
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-alt-7
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*
|
||||
cp -r ~/.config/hypr/waybar-alt-7/* ~/.config/hypr/waybar/
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-alt-8
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*
|
||||
cp -r ~/.config/hypr/waybar-alt-8/* ~/.config/hypr/waybar/
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-alt-9
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*
|
||||
cp -r ~/.config/hypr/waybar-alt-9/* ~/.config/hypr/waybar/
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-alt-css-1
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*.css
|
||||
cp -r ~/.config/hypr/waybar-alt-8/style/style-1.css ~/.config/hypr/waybar/style.css
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-alt-css-10
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*.css
|
||||
cp -r ~/.config/hypr/waybar-alt-8/style/style-10.css ~/.config/hypr/waybar/style.css
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-alt-css-11
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*.css
|
||||
cp -r ~/.config/hypr/waybar-alt-8/style/style-11.css ~/.config/hypr/waybar/style.css
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-alt-css-12
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*.css
|
||||
cp -r ~/.config/hypr/waybar-alt-8/style/style-12.css ~/.config/hypr/waybar/style.css
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-alt-css-13
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*.css
|
||||
cp -r ~/.config/hypr/waybar-alt-8/style/style-13.css ~/.config/hypr/waybar/style.css
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-alt-css-14
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*.css
|
||||
cp -r ~/.config/hypr/waybar-alt-8/style/style-14.css ~/.config/hypr/waybar/style.css
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-alt-css-15
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*.css
|
||||
cp -r ~/.config/hypr/waybar-alt-8/style/style-15.css ~/.config/hypr/waybar/style.css
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-alt-css-16
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*.css
|
||||
cp -r ~/.config/hypr/waybar-alt-8/style/style-16.css ~/.config/hypr/waybar/style.css
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-alt-css-17
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*.css
|
||||
cp -r ~/.config/hypr/waybar-alt-8/style/style-17.css ~/.config/hypr/waybar/style.css
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-alt-css-18
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*.css
|
||||
cp -r ~/.config/hypr/waybar-alt-8/style/style-18.css ~/.config/hypr/waybar/style.css
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-alt-css-19
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*.css
|
||||
cp -r ~/.config/hypr/waybar-alt-8/style/style-19.css ~/.config/hypr/waybar/style.css
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-alt-css-2
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*.css
|
||||
cp -r ~/.config/hypr/waybar-alt-8/style/style-2.css ~/.config/hypr/waybar/style.css
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-alt-css-20
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*.css
|
||||
cp -r ~/.config/hypr/waybar-alt-8/style/style-20.css ~/.config/hypr/waybar/style.css
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-alt-css-21
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*.css
|
||||
cp -r ~/.config/hypr/waybar-alt-8/style/style-21.css ~/.config/hypr/waybar/style.css
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-alt-css-22
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*.css
|
||||
cp -r ~/.config/hypr/waybar-alt-8/style/style-22.css ~/.config/hypr/waybar/style.css
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-alt-css-23
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*.css
|
||||
cp -r ~/.config/hypr/waybar-alt-8/style/style-23.css ~/.config/hypr/waybar/style.css
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-alt-css-24
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*.css
|
||||
cp -r ~/.config/hypr/waybar-alt-8/style/style-24.css ~/.config/hypr/waybar/style.css
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-alt-css-3
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*.css
|
||||
cp -r ~/.config/hypr/waybar-alt-8/style/style-3.css ~/.config/hypr/waybar/style.css
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-alt-css-4
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*.css
|
||||
cp -r ~/.config/hypr/waybar-alt-8/style/style-4.css ~/.config/hypr/waybar/style.css
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-alt-css-5
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*.css
|
||||
cp -r ~/.config/hypr/waybar-alt-8/style/style-5.css ~/.config/hypr/waybar/style.css
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-alt-css-6
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*.css
|
||||
cp -r ~/.config/hypr/waybar-alt-8/style/style-6.css ~/.config/hypr/waybar/style.css
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-alt-css-7
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*.css
|
||||
cp -r ~/.config/hypr/waybar-alt-8/style/style-7.css ~/.config/hypr/waybar/style.css
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-alt-css-8
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*.css
|
||||
cp -r ~/.config/hypr/waybar-alt-8/style/style-9.css ~/.config/hypr/waybar/style.css
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-alt-css-9
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*.css
|
||||
cp -r ~/.config/hypr/waybar-alt-8/style/style-9.css ~/.config/hypr/waybar/style.css
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-alt-css-arco
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*.css
|
||||
cp -r ~/.config/hypr/waybar-alt-8/style/style-arco.css ~/.config/hypr/waybar/style.css
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
21
.config/hypr/change/waybar-arco
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -r ~/.config/hypr/waybar/*
|
||||
cp -r ~/.config/hypr/waybar-arco/* ~/.config/hypr/waybar/
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
||||
|
54
.config/hypr/cheatsheet.md
Normal file
@ -0,0 +1,54 @@
|
||||
# Hyprland CheatSheet #
|
||||
|
||||
Super = Windows Key
|
||||
|
||||
# common operations
|
||||
Super Return *term* (`kitty`)
|
||||
Super q *quit* (kill focused window)
|
||||
Super Shift q *quit* (kill focused window)
|
||||
Super d *show app menu* (`wofi small`)
|
||||
Super Shift d *show app menu* (`wofi large`)
|
||||
Super x *show archlinux-logout* (lock/suspend/logout/reboot/shutdown)
|
||||
Super Shift r *reload config files* (`hyprland reload`)
|
||||
Super Escape *kill application*
|
||||
|
||||
# screenshot
|
||||
PrintSrc *full screenshot*
|
||||
Shift PrintSrc *active window screenshot*
|
||||
Ctrl PrintSrc *full screenshot + timer*
|
||||
|
||||
# application shortcuts
|
||||
Ctrl Alt U *pavucontrol*
|
||||
Ctrl ALT P *pamac-manager*
|
||||
Super Shift Return *file manager* (`thunar`)
|
||||
Super F1 *browser* (`firefox`)
|
||||
|
||||
# container layout
|
||||
|
||||
Super Shift Space *toggle tiling/floating mode*
|
||||
Super left mouse button *move window*
|
||||
Super right mouse button *resize window*
|
||||
|
||||
# workspaces
|
||||
Super 1 .. 0 *switch to workspace 1 .. 10*
|
||||
Super Shift 1 .. 0 *move container to workspace 1 .. 10*
|
||||
|
||||
# notes
|
||||
- *Hyprland* configuration files are in `~/.config/hypr/`.
|
||||
Read all the files with the editor of your choice.
|
||||
More keybindings are included in the config.
|
||||
- *Waybar* is documented through man pages - `man waybar`.
|
||||
- *Wofi* is documented through man pages - `man wofi`.
|
||||
- *Multimedia keys* - may not work for every keyboard
|
||||
may need to hold down the function (`fn`) key
|
||||
- Follow the wiki - https://wiki.hyprland.org/
|
||||
- Follow the github - https://github.com/hyprwm/Hyprland
|
||||
|
||||
# user githubs
|
||||
- https://github.com/eldermf/bspwm-hyprland
|
||||
- https://github.com/lauroro/hyprland-dotfiles
|
||||
- https://github.com/eneshecan/dotfiles
|
||||
|
||||
# share your own files on github
|
||||
- so we can all learn
|
||||
- and you have a backup
|
478
.config/hypr/hyprland-azerty.conf
Normal file
@ -0,0 +1,478 @@
|
||||
# This is an example Hyprland config file.
|
||||
#
|
||||
# Refer to the wiki for more information.
|
||||
|
||||
#
|
||||
# Please note not all available settings / options are set here.
|
||||
# For a full list, see the wiki
|
||||
#
|
||||
# info at https://wiki.hyprland.org/
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
# monitor=,preferred,auto,auto
|
||||
|
||||
# mirror two screens HDMI-A-1 to left of HDMI-A-2
|
||||
# monitor=HDMI-A-1,1920x1080@60,0x0,1,mirror,HDMI-A-2
|
||||
# monitor=,preferred,auto,1,mirror,HDMI-A-1
|
||||
|
||||
# Output
|
||||
# Configure your Display resolution, offset, scale and Monitors here, use `hyprctl monitors` to get the info.
|
||||
|
||||
#monitor=HDMI-A-1,1920x1080@60,0x0,1
|
||||
#workspace=HDMI-A-1,1
|
||||
#monitor=HDMI-A-2,1920x1080@60,1920x0,1
|
||||
#workspace=HDMI-A-2,2
|
||||
|
||||
# Example :
|
||||
#monitor=eDP-1,1920x1080@60,0x0,1
|
||||
#monitor=eDP-1,transform,0
|
||||
#monitor=eDP-1,addreserved,10,10,10,10
|
||||
#workspace=eDP-1,1
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
# Setting variables
|
||||
$mainMod = SUPER
|
||||
$localBin = $HOME/.local/bin
|
||||
$scriptsDir = $HOME/.config/hypr/scripts
|
||||
$hyprDir = $HOME/.config/hypr
|
||||
$term = kitty
|
||||
$menu = $scriptsDir/menu
|
||||
$fullmenu = $scriptsDir/fullmenu
|
||||
$volume = $scriptsDir/volume
|
||||
$backlight = $scriptsDir/brightness
|
||||
$screenshot = $scriptsDir/screenshot
|
||||
$lock = $scriptsDir/lockscreen
|
||||
$colorpicker = $scriptsDir/colorpicker
|
||||
$wofi_beats = $scriptsDir/wofi-beats
|
||||
$files = thunar
|
||||
$browser = firefox
|
||||
$editor = code
|
||||
|
||||
# Some default env vars
|
||||
env = XCURSOR_SIZE,24
|
||||
|
||||
# Startup
|
||||
exec-once = $scriptsDir/startup
|
||||
exec-once = swaybg -m fill -i $HOME/.config/hypr/bg/minimal.png
|
||||
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec-once = $scriptsDir/portal
|
||||
|
||||
# with lock - hyprctl
|
||||
# exec-once = swayidle -w timeout 1200 '$lock' timeout 1200 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep '$lock'
|
||||
|
||||
# with lock - swaylock
|
||||
# exec-once = swayidle -w timeout 1200 'swaylock -f -c 111111' timeout 1200 '' resume '' before-sleep 'swaylock -f -c 111111'
|
||||
|
||||
# without lock
|
||||
# exec-once = swayidle -w timeout 1200 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on'
|
||||
|
||||
|
||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||
input {
|
||||
# qwerty
|
||||
# kb_layout = us
|
||||
|
||||
# azerty
|
||||
kb_layout = be
|
||||
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options =
|
||||
kb_rules =
|
||||
|
||||
follow_mouse = 1
|
||||
numlock_by_default = 1
|
||||
|
||||
touchpad {
|
||||
natural_scroll = true
|
||||
tap-to-click = true
|
||||
drag_lock = true
|
||||
disable_while_typing = true
|
||||
}
|
||||
|
||||
#sensitivity = 0.0 # -1.0 - 1.0, 0 means no modification
|
||||
}
|
||||
|
||||
misc {
|
||||
disable_hyprland_logo = true
|
||||
disable_splash_rendering = true
|
||||
mouse_move_enables_dpms = true
|
||||
no_direct_scanout = true #for fullscreen games
|
||||
}
|
||||
|
||||
binds {
|
||||
workspace_back_and_forth = true
|
||||
}
|
||||
|
||||
general {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
gaps_in = 3
|
||||
gaps_out = 7
|
||||
border_size = 2
|
||||
|
||||
#one color
|
||||
#col.active_border = rgba(7aa2f7aa)
|
||||
|
||||
#two colors - gradient
|
||||
|
||||
col.active_border = rgba(7aa2f7aa) rgba(c4a7e7aa) 45deg
|
||||
col.inactive_border = rgba(414868aa)
|
||||
|
||||
layout = master
|
||||
#layout = dwindle
|
||||
}
|
||||
|
||||
decoration {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
rounding = 10
|
||||
|
||||
blur {
|
||||
enabled = true
|
||||
size = 3
|
||||
passes = 1
|
||||
}
|
||||
|
||||
drop_shadow = true
|
||||
shadow_range = 4
|
||||
shadow_render_power = 3
|
||||
col.shadow = rgba(1a1a1aee)
|
||||
}
|
||||
|
||||
blurls = waybar
|
||||
|
||||
animations {
|
||||
enabled = true
|
||||
|
||||
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
||||
|
||||
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 = fade, 1, 7, default
|
||||
animation = workspaces, 1, 6, default
|
||||
}
|
||||
|
||||
dwindle {
|
||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||
pseudotile = true
|
||||
preserve_split = true
|
||||
}
|
||||
|
||||
master {
|
||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||
new_is_master = true
|
||||
mfact = 0.5
|
||||
}
|
||||
|
||||
gestures {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
workspace_swipe = false
|
||||
workspace_swipe_fingers = 3
|
||||
}
|
||||
|
||||
# Example per-device config
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
|
||||
#device:epic mouse V1 {
|
||||
# sensitivity = -0.5
|
||||
#}
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||
# Example windowrule v1
|
||||
# windowrule = float, yad|nm-connection-editor|pavucontrol
|
||||
# windowrule = float, feh|Gimp|qt5ct
|
||||
|
||||
# Example windowrule v2
|
||||
windowrulev2 = tile, class:^(Spotify)$
|
||||
|
||||
# windowrulev2 = workspace 4, class:^(Apache Directory Studio)$
|
||||
# windowrulev2 = bordercolor rgb(EE4B55) rgb(880808), fullscreen:1
|
||||
# windowrulev2 = bordercolor rgb(282737) rgb(1E1D2D), floating:1
|
||||
# windowrulev2 = opacity 0.8 0.8, pinned:1
|
||||
# windowrulev2 = workspace 10, class:^(Microsoft-edge)$
|
||||
# windowrulev2 = workspace 8 silent, class^(Steam)$, title:^(Steam)$
|
||||
# windowrulev2 = float,class:^(firefox)$,title:^(Picture-in-Picture)$
|
||||
|
||||
# for waybar yay update click
|
||||
windowrulev2 = animation popin, class:^(update)$, title:^(update)$
|
||||
windowrulev2 = float, class:^(update)$, title:^(update)$
|
||||
windowrulev2 = size 60% 50%, class:^(update)$, title:^(update)$
|
||||
windowrulev2 = center, class:^(update)$, title:^(update)$
|
||||
|
||||
# for ttyclock
|
||||
windowrulev2 = float, class:^(clock)$, title:^(clock)$
|
||||
windowrulev2 = size 33% 27%, class:^(clock)$, title:^(clock)$
|
||||
windowrulev2 = center, class:^(clock)$, title:^(clock)$
|
||||
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
bind = $mainMod SHIFT, R, exec, hyprctl reload
|
||||
bind = $mainMod SHIFT, D, exec, $fullmenu
|
||||
bind = $mainMod, D, exec, $menu
|
||||
bind = $mainMod SHIFT, Q, killactive
|
||||
bind = $mainMod SHIFT, Return, exec, $files
|
||||
bind = $mainMod SHIFT, Space, togglefloating
|
||||
bind = $mainMod, C, exec, conky-toggle
|
||||
bind = $mainMod, E, exec, code
|
||||
bind = $mainMod, F, fullscreen
|
||||
bind = $mainMod, Q, killactive,
|
||||
bind = $mainMod, R, exec, rofi-theme-selector
|
||||
bind = $mainMod, Return, exec, $term
|
||||
bind = $mainMod, T, exec, $term
|
||||
bind = $mainMod, V, exec, pavucontrol
|
||||
|
||||
bind = CTRL ALT, A, exec, xfce4-appfinder
|
||||
bind = CTRL ALT, C, exec, catfish
|
||||
bind = CTRL ALT, B, exec, $files
|
||||
bind = CTRL ALT, E, exec, archlinux-tweak-tool
|
||||
bind = CTRL ALT, F, exec, firefox
|
||||
bind = CTRL ALT, G, exec, chromium -no-default-browser-check
|
||||
bind = CTRL ALT, I, exec, nitrogen
|
||||
bind = CTRL ALT, K, exec, $scriptsDir/lockscreen
|
||||
bind = CTRL ALT, L, exec, $scriptsDir/lockscreen
|
||||
bind = CTRL ALT, NEXT, exec, conky-rotate -n
|
||||
bind = CTRL ALT, P, exec, pamac-manager
|
||||
bind = CTRL ALT, PREVIOUS, exec, conky-rotate -p
|
||||
bind = CTRL ALT, R, exec, rofi-theme-selector
|
||||
bind = CTRL ALT, Return, exec, foot
|
||||
bind = CTRL ALT, S, exec, spotify
|
||||
bind = CTRL ALT, T, exec, $term
|
||||
bind = CTRL ALT, U, exec, pavucontrol
|
||||
bind = CTRL ALT, V, exec, vivaldi-stable
|
||||
bind = CTRL ALT, W, exec, arcolinux-welcome-app
|
||||
|
||||
bind = CTRL SHIFT, Escape, exec, $term --class btop -T btop -e btop
|
||||
bind = CTRL ALT, END, exec, $term --class btop -T btop -e btop
|
||||
|
||||
# change wallpaper
|
||||
# bind = ALT, n, exec, $scriptsDir/changeWallpaper
|
||||
# bind = ALT, p, exec, $scriptsDir/changeWallpaper
|
||||
# bind = ALT, left, exec, $scriptsDir/changeWallpaper
|
||||
# bind = ALT, right, exec, $scriptsDir/changeWallpaper
|
||||
# bind = ALT, up, exec, $scriptsDir/changeWallpaperDesktop
|
||||
# bind = ALT, down, exec, $scriptsDir/changeWallpaperDesktop
|
||||
|
||||
# Variety
|
||||
# trash wallpaper
|
||||
bind = ALT, t, exec, variety -t
|
||||
# next wallpaper
|
||||
bind = ALT, n, exec, variety -n
|
||||
bind = ALT SHIFT, n, exec, variety -n && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt) && ~/.config/hypr/scripts/statusbar &
|
||||
bind = ALT, right, exec, variety -n
|
||||
# previous wallpaper
|
||||
bind = ALT, p, exec, variety -p
|
||||
bind = ALT SHIFT, p, exec, variety -p && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt) && ~/.config/hypr/scripts/statusbar &
|
||||
bind = ALT, left, exec, variety -p
|
||||
# favorite wallpaper
|
||||
bind = ALT, f, exec, variety -f
|
||||
# pause wallpaper
|
||||
bind = ALT, up, exec, variety --toggle-pause
|
||||
# pause wallpaper + wal
|
||||
bind = ALT SHIFT, up, exec, variety --toggle-pause && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt) && ~/.config/hypr/scripts/statusbar &
|
||||
# resume wallpaper
|
||||
bind = ALT, down, exec, variety --resume
|
||||
|
||||
# effect
|
||||
bind = ALT, g, exec, $scriptsDir/glassmorphismToggle
|
||||
|
||||
bind = ALT, F3, exec, xfce4-appfinder
|
||||
|
||||
bind = , F12, exec, xfce4-terminal --drop-down
|
||||
|
||||
bind = $mainMod SHIFT, M, exec, hyprctl dispatch splitratio -0.1
|
||||
bind = $mainMod, M, exec, hyprctl dispatch splitratio 0.1
|
||||
|
||||
bind = $mainMod SHIFT, Y, exec, $term --class clock -T clock -e tty-clock -c -C 7 -r -s -f "%A, %B, %d"
|
||||
#bind = $mainMod, D, layoutmsg, removemaster
|
||||
bind = $mainMod, Escape, exec, hyprctl kill
|
||||
bind = $mainMod, I, layoutmsg, addmaster
|
||||
bind = $mainMod, J, layoutmsg, cyclenext
|
||||
bind = $mainMod, K, layoutmsg, cycleprev
|
||||
|
||||
bind = $mainMod, P, pseudo
|
||||
bind = $mainMod CTRL, Return, layoutmsg, swapwithmaster
|
||||
bind = $mainMod, Space, exec, $scriptsDir/changeLayout
|
||||
bind = $mainMod, X, exec, archlinux-logout
|
||||
bind = $mainMod SHIFT, X, exec, arcolinux-powermenu
|
||||
bind = $mainMod, Y, exec, $term --class update -T update -e cava # f to cycle through foreground colors
|
||||
|
||||
# Mainmod + Function keys
|
||||
bind = $mainMod, F1, exec, $browser
|
||||
bind = $mainMod, F2, exec, $editor
|
||||
bind = $mainMod, F3, exec, inkscape
|
||||
bind = $mainMod, F4, exec, gimp
|
||||
bind = $mainMod, F5, exec, meld
|
||||
bind = $mainMod, F6, exec, vlc
|
||||
bind = $mainMod, F7, exec, virtualbox
|
||||
bind = $mainMod, F8, exec, $files
|
||||
bind = $mainMod, F9, exec, lollypop
|
||||
bind = $mainMod, F10, exec, spotify
|
||||
bind = $mainMod, F11, exec, rofi -show drun
|
||||
bind = $mainMod, F12, exec, rofi -show drun
|
||||
|
||||
# Special Keys
|
||||
bind = , xf86audioraisevolume, exec, $volume --inc
|
||||
bind = , xf86audiolowervolume, exec, $volume --dec
|
||||
bind = , xf86audiomute, exec, $volume --toggle
|
||||
bind = , xf86audioplay, exec, playerctl play-pause
|
||||
bind = , xf86audionext, exec, playerctl next
|
||||
bind = , xf86audioprev, exec, playerctl previous
|
||||
bind = , xf86audiostop, exec, playerctl stop
|
||||
bind = , xf86monbrightnessup, exec, $brightness --inc
|
||||
bind = , xf86monbrightnessdown, exec, $brightness --dec
|
||||
|
||||
# Backlight control
|
||||
bind = $mainMod SHIFT, equal, submap, backlight
|
||||
submap = backlight
|
||||
bind = , equal, exec, $backlight --inc
|
||||
bind = , minus, exec, $backlight --dec
|
||||
bind = , escape, submap, reset
|
||||
submap = reset
|
||||
|
||||
# Volume control
|
||||
bind = $mainMod, equal, submap, volume
|
||||
submap = volume
|
||||
bind = , equal, exec, $volume --inc
|
||||
bind = , minus, exec, $volume --dec
|
||||
bind = , 0, exec, $volume --toggle
|
||||
bind = , 9, exec, $volume --toggle-mic
|
||||
bind = , escape, submap, reset
|
||||
submap = reset
|
||||
|
||||
# Resize
|
||||
binde = $mainMod SHIFT, H, resizeactive,-50 0
|
||||
binde = $mainMod SHIFT, L, resizeactive,50 0
|
||||
binde = $mainMod SHIFT, K, resizeactive,0 -50
|
||||
binde = $mainMod SHIFT, J, resizeactive,0 50
|
||||
|
||||
# Move
|
||||
bind = $mainMod CTRL, H, movewindow, l
|
||||
bind = $mainMod CTRL, L, movewindow, r
|
||||
bind = $mainMod CTRL, K, movewindow, u
|
||||
bind = $mainMod CTRL, J, movewindow, d
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
|
||||
# Special workspace
|
||||
bind = $mainMod SHIFT, U, movetoworkspace, special
|
||||
bind = $mainMod, U, togglespecialworkspace,
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
bind = $mainMod, period, workspace, e+1
|
||||
bind = $mainMod, comma, workspace, e-1
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
||||
bind = $mainMod, G, togglegroup
|
||||
bind = $mainMod, tab, workspace, m+1
|
||||
bind = $mainMod SHIFT, tab, workspace, m-1
|
||||
bind = ALT, tab, workspace, m+1
|
||||
bind = ALT SHIFT, tab, workspace, m-1
|
||||
|
||||
bind = $mainMod, O, exec, $colorpicker
|
||||
bind = $mainMod SHIFT, O, exec, $term --class hyprpicker --hold -e hyprpicker
|
||||
bind = $mainMod CTRL, S, exec, $wofi_beats
|
||||
|
||||
# Screenshot keybindings
|
||||
bind = , Print, exec, $screenshot --now
|
||||
bind = $mainMod, Print, exec, $screenshot --in5
|
||||
bind = SHIFT, Print, exec, $screenshot --in10
|
||||
bind = CTRL, Print, exec, $screenshot --win
|
||||
bind = $mainMod CTRL, Print, exec, flameshot gui
|
||||
|
||||
# Qwerty
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
# bind = $mainMod, 1, workspace, 1
|
||||
# bind = $mainMod, 2, workspace, 2
|
||||
# bind = $mainMod, 3, workspace, 3
|
||||
# bind = $mainMod, 4, workspace, 4
|
||||
# bind = $mainMod, 5, workspace, 5
|
||||
# bind = $mainMod, 6, workspace, 6
|
||||
# bind = $mainMod, 7, workspace, 7
|
||||
# bind = $mainMod, 8, workspace, 8
|
||||
# bind = $mainMod, 9, workspace, 9
|
||||
# bind = $mainMod, 0, workspace, 10
|
||||
|
||||
# Azerty
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, Ampersand, workspace, 1
|
||||
bind = $mainMod, Eacute, workspace, 2
|
||||
bind = $mainMod, Quotedbl, workspace, 3
|
||||
bind = $mainMod, Apostrophe, workspace, 4
|
||||
bind = $mainMod, Parenleft, workspace, 5
|
||||
bind = $mainMod, Section, workspace, 6
|
||||
bind = $mainMod, Egrave, workspace, 7
|
||||
bind = $mainMod, Exclam, workspace, 8
|
||||
bind = $mainMod, ccedilla, workspace, 9
|
||||
bind = $mainMod, agrave, workspace, 10
|
||||
|
||||
# Qwerty
|
||||
# Move active window and follow to workspace
|
||||
# bind = $mainMod CTRL, 1, movetoworkspace, 1
|
||||
# bind = $mainMod CTRL, 2, movetoworkspace, 2
|
||||
# bind = $mainMod CTRL, 3, movetoworkspace, 3
|
||||
# bind = $mainMod CTRL, 4, movetoworkspace, 4
|
||||
# bind = $mainMod CTRL, 5, movetoworkspace, 5
|
||||
# bind = $mainMod CTRL, 6, movetoworkspace, 6
|
||||
# bind = $mainMod CTRL, 7, movetoworkspace, 7
|
||||
# bind = $mainMod CTRL, 8, movetoworkspace, 8
|
||||
# bind = $mainMod CTRL, 9, movetoworkspace, 9
|
||||
# bind = $mainMod CTRL, 0, movetoworkspace, 10
|
||||
# bind = $mainMod CTRL, bracketleft, movetoworkspace, -1
|
||||
# bind = $mainMod CTRL, bracketright, movetoworkspace, +1
|
||||
|
||||
# Azerty
|
||||
# Move active window and follow to workspace
|
||||
bind = $mainMod CTRL, Ampersand, movetoworkspace, 1
|
||||
bind = $mainMod CTRL, Eacute, movetoworkspace, 2
|
||||
bind = $mainMod CTRL, Quotedbl, movetoworkspace, 3
|
||||
bind = $mainMod CTRL, Apostrophe, movetoworkspace, 4
|
||||
bind = $mainMod CTRL, Parenleft, movetoworkspace, 5
|
||||
bind = $mainMod CTRL, Section, movetoworkspace, 6
|
||||
bind = $mainMod CTRL, Egrave, movetoworkspace, 7
|
||||
bind = $mainMod CTRL, Exclam, movetoworkspace, 8
|
||||
bind = $mainMod CTRL, ccedilla, movetoworkspace, 9
|
||||
bind = $mainMod CTRL, agrave, movetoworkspace, 10
|
||||
bind = $mainMod CTRL, bracketleft, movetoworkspace, -1
|
||||
bind = $mainMod CTRL, bracketright, movetoworkspace, +1
|
||||
|
||||
# Qwerty
|
||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||
# bind = $mainMod SHIFT, 1, movetoworkspacesilent, 1
|
||||
# bind = $mainMod SHIFT, 2, movetoworkspacesilent, 2
|
||||
# bind = $mainMod SHIFT, 3, movetoworkspacesilent, 3
|
||||
# bind = $mainMod SHIFT, 4, movetoworkspacesilent, 4
|
||||
# bind = $mainMod SHIFT, 5, movetoworkspacesilent, 5
|
||||
# bind = $mainMod SHIFT, 6, movetoworkspacesilent, 6
|
||||
# bind = $mainMod SHIFT, 7, movetoworkspacesilent, 7
|
||||
# bind = $mainMod SHIFT, 8, movetoworkspacesilent, 8
|
||||
# bind = $mainMod SHIFT, 9, movetoworkspacesilent, 9
|
||||
# bind = $mainMod SHIFT, 0, movetoworkspacesilent, 10
|
||||
# bind = $mainMod SHIFT, bracketleft, movetoworkspacesilent, -1
|
||||
# bind = $mainMod SHIFT, bracketright, movetoworkspacesilent, +1
|
||||
|
||||
# Azerty
|
||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||
bind = $mainMod SHIFT, Ampersand, movetoworkspacesilent, 1
|
||||
bind = $mainMod SHIFT, Eacute, movetoworkspacesilent, 2
|
||||
bind = $mainMod SHIFT, Quotedbl, movetoworkspacesilent, 3
|
||||
bind = $mainMod SHIFT, Apostrophe, movetoworkspacesilent, 4
|
||||
bind = $mainMod SHIFT, Parenleft, movetoworkspacesilent, 5
|
||||
bind = $mainMod SHIFT, Section, movetoworkspacesilent, 6
|
||||
bind = $mainMod SHIFT, Egrave, movetoworkspacesilent, 7
|
||||
bind = $mainMod SHIFT, Exclam, movetoworkspacesilent, 8
|
||||
bind = $mainMod SHIFT, ccedilla, movetoworkspacesilent, 9
|
||||
bind = $mainMod SHIFT, agrave, movetoworkspacesilent, 10
|
||||
bind = $mainMod SHIFT, bracketleft, movetoworkspacesilent, -1
|
||||
bind = $mainMod SHIFT, bracketright, movetoworkspacesilent, +1
|
185
.config/hypr/hyprland-original.conf
Normal file
@ -0,0 +1,185 @@
|
||||
# This is an example Hyprland config file.
|
||||
#
|
||||
# Refer to the wiki for more information.
|
||||
|
||||
#
|
||||
# Please note not all available settings / options are set here.
|
||||
# For a full list, see the wiki
|
||||
#
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
monitor=,preferred,auto,auto
|
||||
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
|
||||
# Execute your favorite apps at launch
|
||||
# exec-once = waybar & hyprpaper & firefox
|
||||
|
||||
# Source a file (multi-file configs)
|
||||
# source = ~/.config/hypr/myColors.conf
|
||||
|
||||
# Set programs that you use
|
||||
$terminal = kitty
|
||||
$fileManager = dolphin
|
||||
$menu = wofi --show drun
|
||||
|
||||
# Some default env vars.
|
||||
env = XCURSOR_SIZE,24
|
||||
env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have that
|
||||
|
||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||
input {
|
||||
kb_layout = us
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options =
|
||||
kb_rules =
|
||||
|
||||
follow_mouse = 1
|
||||
|
||||
touchpad {
|
||||
natural_scroll = false
|
||||
}
|
||||
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
}
|
||||
|
||||
general {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
gaps_in = 5
|
||||
gaps_out = 20
|
||||
border_size = 2
|
||||
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
|
||||
col.inactive_border = rgba(595959aa)
|
||||
|
||||
layout = dwindle
|
||||
|
||||
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
|
||||
allow_tearing = false
|
||||
}
|
||||
|
||||
decoration {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
rounding = 10
|
||||
|
||||
blur {
|
||||
enabled = true
|
||||
size = 3
|
||||
passes = 1
|
||||
|
||||
vibrancy = 0.1696
|
||||
}
|
||||
|
||||
drop_shadow = true
|
||||
shadow_range = 4
|
||||
shadow_render_power = 3
|
||||
col.shadow = rgba(1a1a1aee)
|
||||
}
|
||||
|
||||
animations {
|
||||
enabled = true
|
||||
|
||||
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
dwindle {
|
||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||
pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
preserve_split = true # you probably want this
|
||||
}
|
||||
|
||||
master {
|
||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||
new_is_master = true
|
||||
}
|
||||
|
||||
gestures {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
workspace_swipe = false
|
||||
}
|
||||
|
||||
misc {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
force_default_wallpaper = -1 # Set to 0 to disable the anime mascot wallpapers
|
||||
}
|
||||
|
||||
# Example per-device config
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
|
||||
device:epic-mouse-v1 {
|
||||
sensitivity = -0.5
|
||||
}
|
||||
|
||||
# Example windowrule v1
|
||||
# windowrule = float, ^(kitty)$
|
||||
# Example windowrule v2
|
||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||
windowrulev2 = nomaximizerequest, class:.* # You'll probably like this.
|
||||
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
$mainMod = SUPER
|
||||
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
bind = $mainMod, Q, exec, $terminal
|
||||
bind = $mainMod, C, killactive,
|
||||
bind = $mainMod, M, exit,
|
||||
bind = $mainMod, E, exec, $fileManager
|
||||
bind = $mainMod, V, togglefloating,
|
||||
bind = $mainMod, R, exec, $menu
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
bind = $mainMod, J, togglesplit, # dwindle
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
bind = $mainMod, 3, workspace, 3
|
||||
bind = $mainMod, 4, workspace, 4
|
||||
bind = $mainMod, 5, workspace, 5
|
||||
bind = $mainMod, 6, workspace, 6
|
||||
bind = $mainMod, 7, workspace, 7
|
||||
bind = $mainMod, 8, workspace, 8
|
||||
bind = $mainMod, 9, workspace, 9
|
||||
bind = $mainMod, 0, workspace, 10
|
||||
|
||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
||||
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
||||
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||
|
||||
# Example special workspace (scratchpad)
|
||||
bind = $mainMod, S, togglespecialworkspace, magic
|
||||
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
478
.config/hypr/hyprland-qwerty.conf
Normal file
@ -0,0 +1,478 @@
|
||||
# This is an example Hyprland config file.
|
||||
#
|
||||
# Refer to the wiki for more information.
|
||||
|
||||
#
|
||||
# Please note not all available settings / options are set here.
|
||||
# For a full list, see the wiki
|
||||
#
|
||||
# info at https://wiki.hyprland.org/
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
# monitor=,preferred,auto,auto
|
||||
|
||||
# mirror two screens HDMI-A-1 to left of HDMI-A-2
|
||||
# monitor=HDMI-A-1,1920x1080@60,0x0,1,mirror,HDMI-A-2
|
||||
# monitor=,preferred,auto,1,mirror,HDMI-A-1
|
||||
|
||||
# Output
|
||||
# Configure your Display resolution, offset, scale and Monitors here, use `hyprctl monitors` to get the info.
|
||||
|
||||
#monitor=HDMI-A-1,1920x1080@60,0x0,1
|
||||
#workspace=HDMI-A-1,1
|
||||
#monitor=HDMI-A-2,1920x1080@60,1920x0,1
|
||||
#workspace=HDMI-A-2,2
|
||||
|
||||
# Example :
|
||||
#monitor=eDP-1,1920x1080@60,0x0,1
|
||||
#monitor=eDP-1,transform,0
|
||||
#monitor=eDP-1,addreserved,10,10,10,10
|
||||
#workspace=eDP-1,1
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
# Setting variables
|
||||
$mainMod = SUPER
|
||||
$localBin = $HOME/.local/bin
|
||||
$scriptsDir = $HOME/.config/hypr/scripts
|
||||
$hyprDir = $HOME/.config/hypr
|
||||
$term = kitty
|
||||
$menu = $scriptsDir/menu
|
||||
$fullmenu = $scriptsDir/fullmenu
|
||||
$volume = $scriptsDir/volume
|
||||
$backlight = $scriptsDir/brightness
|
||||
$screenshot = $scriptsDir/screenshot
|
||||
$lock = $scriptsDir/lockscreen
|
||||
$colorpicker = $scriptsDir/colorpicker
|
||||
$wofi_beats = $scriptsDir/wofi-beats
|
||||
$files = thunar
|
||||
$browser = firefox
|
||||
$editor = code
|
||||
|
||||
# Some default env vars
|
||||
env = XCURSOR_SIZE,24
|
||||
|
||||
# Startup
|
||||
exec-once = $scriptsDir/startup
|
||||
exec-once = swaybg -m fill -i $HOME/.config/hypr/bg/minimal.png
|
||||
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec-once = $scriptsDir/portal
|
||||
|
||||
# with lock - hyprctl
|
||||
# exec-once = swayidle -w timeout 1200 '$lock' timeout 1200 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep '$lock'
|
||||
|
||||
# with lock - swaylock
|
||||
# exec-once = swayidle -w timeout 1200 'swaylock -f -c 111111' timeout 1200 '' resume '' before-sleep 'swaylock -f -c 111111'
|
||||
|
||||
# without lock
|
||||
# exec-once = swayidle -w timeout 1200 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on'
|
||||
|
||||
|
||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||
input {
|
||||
# qwerty
|
||||
kb_layout = us
|
||||
|
||||
# azerty
|
||||
#kb_layout = be
|
||||
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options =
|
||||
kb_rules =
|
||||
|
||||
follow_mouse = 1
|
||||
numlock_by_default = 1
|
||||
|
||||
touchpad {
|
||||
natural_scroll = true
|
||||
tap-to-click = true
|
||||
drag_lock = true
|
||||
disable_while_typing = true
|
||||
}
|
||||
|
||||
#sensitivity = 0.0 # -1.0 - 1.0, 0 means no modification
|
||||
}
|
||||
|
||||
misc {
|
||||
disable_hyprland_logo = true
|
||||
disable_splash_rendering = true
|
||||
mouse_move_enables_dpms = true
|
||||
no_direct_scanout = true #for fullscreen games
|
||||
}
|
||||
|
||||
binds {
|
||||
workspace_back_and_forth = true
|
||||
}
|
||||
|
||||
general {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
gaps_in = 3
|
||||
gaps_out = 7
|
||||
border_size = 2
|
||||
|
||||
#one color
|
||||
#col.active_border = rgba(7aa2f7aa)
|
||||
|
||||
#two colors - gradient
|
||||
|
||||
col.active_border = rgba(7aa2f7aa) rgba(c4a7e7aa) 45deg
|
||||
col.inactive_border = rgba(414868aa)
|
||||
|
||||
layout = master
|
||||
#layout = dwindle
|
||||
}
|
||||
|
||||
decoration {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
rounding = 10
|
||||
|
||||
blur {
|
||||
enabled = true
|
||||
size = 3
|
||||
passes = 1
|
||||
}
|
||||
|
||||
drop_shadow = true
|
||||
shadow_range = 4
|
||||
shadow_render_power = 3
|
||||
col.shadow = rgba(1a1a1aee)
|
||||
}
|
||||
|
||||
blurls = waybar
|
||||
|
||||
animations {
|
||||
enabled = true
|
||||
|
||||
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
||||
|
||||
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 = fade, 1, 7, default
|
||||
animation = workspaces, 1, 6, default
|
||||
}
|
||||
|
||||
dwindle {
|
||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||
pseudotile = true
|
||||
preserve_split = true
|
||||
}
|
||||
|
||||
master {
|
||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||
new_is_master = true
|
||||
mfact = 0.5
|
||||
}
|
||||
|
||||
gestures {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
workspace_swipe = false
|
||||
workspace_swipe_fingers = 3
|
||||
}
|
||||
|
||||
# Example per-device config
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
|
||||
#device:epic mouse V1 {
|
||||
# sensitivity = -0.5
|
||||
#}
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||
# Example windowrule v1
|
||||
# windowrule = float, yad|nm-connection-editor|pavucontrol
|
||||
# windowrule = float, feh|Gimp|qt5ct
|
||||
|
||||
# Example windowrule v2
|
||||
windowrulev2 = tile, class:^(Spotify)$
|
||||
|
||||
# windowrulev2 = workspace 4, class:^(Apache Directory Studio)$
|
||||
# windowrulev2 = bordercolor rgb(EE4B55) rgb(880808), fullscreen:1
|
||||
# windowrulev2 = bordercolor rgb(282737) rgb(1E1D2D), floating:1
|
||||
# windowrulev2 = opacity 0.8 0.8, pinned:1
|
||||
# windowrulev2 = workspace 10, class:^(Microsoft-edge)$
|
||||
# windowrulev2 = workspace 8 silent, class^(Steam)$, title:^(Steam)$
|
||||
# windowrulev2 = float,class:^(firefox)$,title:^(Picture-in-Picture)$
|
||||
|
||||
# for waybar yay update click
|
||||
windowrulev2 = animation popin, class:^(update)$, title:^(update)$
|
||||
windowrulev2 = float, class:^(update)$, title:^(update)$
|
||||
windowrulev2 = size 60% 50%, class:^(update)$, title:^(update)$
|
||||
windowrulev2 = center, class:^(update)$, title:^(update)$
|
||||
|
||||
# for ttyclock
|
||||
windowrulev2 = float, class:^(clock)$, title:^(clock)$
|
||||
windowrulev2 = size 33% 27%, class:^(clock)$, title:^(clock)$
|
||||
windowrulev2 = center, class:^(clock)$, title:^(clock)$
|
||||
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
bind = $mainMod SHIFT, R, exec, hyprctl reload
|
||||
bind = $mainMod SHIFT, D, exec, $fullmenu
|
||||
bind = $mainMod, D, exec, $menu
|
||||
bind = $mainMod SHIFT, Q, killactive
|
||||
bind = $mainMod SHIFT, Return, exec, $files
|
||||
bind = $mainMod SHIFT, Space, togglefloating
|
||||
bind = $mainMod, C, exec, conky-toggle
|
||||
bind = $mainMod, E, exec, code
|
||||
bind = $mainMod, F, fullscreen
|
||||
bind = $mainMod, Q, killactive,
|
||||
bind = $mainMod, R, exec, rofi-theme-selector
|
||||
bind = $mainMod, Return, exec, $term
|
||||
bind = $mainMod, T, exec, $term
|
||||
bind = $mainMod, V, exec, pavucontrol
|
||||
|
||||
bind = CTRL ALT, A, exec, xfce4-appfinder
|
||||
bind = CTRL ALT, C, exec, catfish
|
||||
bind = CTRL ALT, B, exec, $files
|
||||
bind = CTRL ALT, E, exec, archlinux-tweak-tool
|
||||
bind = CTRL ALT, F, exec, firefox
|
||||
bind = CTRL ALT, G, exec, chromium -no-default-browser-check
|
||||
bind = CTRL ALT, I, exec, nitrogen
|
||||
bind = CTRL ALT, K, exec, $scriptsDir/lockscreen
|
||||
bind = CTRL ALT, L, exec, $scriptsDir/lockscreen
|
||||
bind = CTRL ALT, NEXT, exec, conky-rotate -n
|
||||
bind = CTRL ALT, P, exec, pamac-manager
|
||||
bind = CTRL ALT, PREVIOUS, exec, conky-rotate -p
|
||||
bind = CTRL ALT, R, exec, rofi-theme-selector
|
||||
bind = CTRL ALT, Return, exec, foot
|
||||
bind = CTRL ALT, S, exec, spotify
|
||||
bind = CTRL ALT, T, exec, $term
|
||||
bind = CTRL ALT, U, exec, pavucontrol
|
||||
bind = CTRL ALT, V, exec, vivaldi-stable
|
||||
bind = CTRL ALT, W, exec, arcolinux-welcome-app
|
||||
|
||||
bind = CTRL SHIFT, Escape, exec, $term --class btop -T btop -e btop
|
||||
bind = CTRL ALT, END, exec, $term --class btop -T btop -e btop
|
||||
|
||||
# change wallpaper
|
||||
# bind = ALT, n, exec, $scriptsDir/changeWallpaper
|
||||
# bind = ALT, p, exec, $scriptsDir/changeWallpaper
|
||||
# bind = ALT, left, exec, $scriptsDir/changeWallpaper
|
||||
# bind = ALT, right, exec, $scriptsDir/changeWallpaper
|
||||
# bind = ALT, up, exec, $scriptsDir/changeWallpaperDesktop
|
||||
# bind = ALT, down, exec, $scriptsDir/changeWallpaperDesktop
|
||||
|
||||
# Variety
|
||||
# trash wallpaper
|
||||
bind = ALT, t, exec, variety -t
|
||||
# next wallpaper
|
||||
bind = ALT, n, exec, variety -n
|
||||
bind = ALT SHIFT, n, exec, variety -n && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt) && ~/.config/hypr/scripts/statusbar &
|
||||
bind = ALT, right, exec, variety -n
|
||||
# previous wallpaper
|
||||
bind = ALT, p, exec, variety -p
|
||||
bind = ALT SHIFT, p, exec, variety -p && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt) && ~/.config/hypr/scripts/statusbar &
|
||||
bind = ALT, left, exec, variety -p
|
||||
# favorite wallpaper
|
||||
bind = ALT, f, exec, variety -f
|
||||
# pause wallpaper
|
||||
bind = ALT, up, exec, variety --toggle-pause
|
||||
# pause wallpaper + wal
|
||||
bind = ALT SHIFT, up, exec, variety --toggle-pause && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt) && ~/.config/hypr/scripts/statusbar &
|
||||
# resume wallpaper
|
||||
bind = ALT, down, exec, variety --resume
|
||||
|
||||
# effect
|
||||
bind = ALT, g, exec, $scriptsDir/glassmorphismToggle
|
||||
|
||||
bind = ALT, F3, exec, xfce4-appfinder
|
||||
|
||||
bind = , F12, exec, xfce4-terminal --drop-down
|
||||
|
||||
bind = $mainMod SHIFT, M, exec, hyprctl dispatch splitratio -0.1
|
||||
bind = $mainMod, M, exec, hyprctl dispatch splitratio 0.1
|
||||
|
||||
bind = $mainMod SHIFT, Y, exec, $term --class clock -T clock -e tty-clock -c -C 7 -r -s -f "%A, %B, %d"
|
||||
#bind = $mainMod, D, layoutmsg, removemaster
|
||||
bind = $mainMod, Escape, exec, hyprctl kill
|
||||
bind = $mainMod, I, layoutmsg, addmaster
|
||||
bind = $mainMod, J, layoutmsg, cyclenext
|
||||
bind = $mainMod, K, layoutmsg, cycleprev
|
||||
|
||||
bind = $mainMod, P, pseudo
|
||||
bind = $mainMod CTRL, Return, layoutmsg, swapwithmaster
|
||||
bind = $mainMod, Space, exec, $scriptsDir/changeLayout
|
||||
bind = $mainMod, X, exec, archlinux-logout
|
||||
bind = $mainMod SHIFT, X, exec, arcolinux-powermenu
|
||||
bind = $mainMod, Y, exec, $term --class update -T update -e cava # f to cycle through foreground colors
|
||||
|
||||
# Mainmod + Function keys
|
||||
bind = $mainMod, F1, exec, $browser
|
||||
bind = $mainMod, F2, exec, $editor
|
||||
bind = $mainMod, F3, exec, inkscape
|
||||
bind = $mainMod, F4, exec, gimp
|
||||
bind = $mainMod, F5, exec, meld
|
||||
bind = $mainMod, F6, exec, vlc
|
||||
bind = $mainMod, F7, exec, virtualbox
|
||||
bind = $mainMod, F8, exec, $files
|
||||
bind = $mainMod, F9, exec, lollypop
|
||||
bind = $mainMod, F10, exec, spotify
|
||||
bind = $mainMod, F11, exec, rofi -show drun
|
||||
bind = $mainMod, F12, exec, rofi -show drun
|
||||
|
||||
# Special Keys
|
||||
bind = , xf86audioraisevolume, exec, $volume --inc
|
||||
bind = , xf86audiolowervolume, exec, $volume --dec
|
||||
bind = , xf86audiomute, exec, $volume --toggle
|
||||
bind = , xf86audioplay, exec, playerctl play-pause
|
||||
bind = , xf86audionext, exec, playerctl next
|
||||
bind = , xf86audioprev, exec, playerctl previous
|
||||
bind = , xf86audiostop, exec, playerctl stop
|
||||
bind = , xf86monbrightnessup, exec, $brightness --inc
|
||||
bind = , xf86monbrightnessdown, exec, $brightness --dec
|
||||
|
||||
# Backlight control
|
||||
bind = $mainMod SHIFT, equal, submap, backlight
|
||||
submap = backlight
|
||||
bind = , equal, exec, $backlight --inc
|
||||
bind = , minus, exec, $backlight --dec
|
||||
bind = , escape, submap, reset
|
||||
submap = reset
|
||||
|
||||
# Volume control
|
||||
bind = $mainMod, equal, submap, volume
|
||||
submap = volume
|
||||
bind = , equal, exec, $volume --inc
|
||||
bind = , minus, exec, $volume --dec
|
||||
bind = , 0, exec, $volume --toggle
|
||||
bind = , 9, exec, $volume --toggle-mic
|
||||
bind = , escape, submap, reset
|
||||
submap = reset
|
||||
|
||||
# Resize
|
||||
binde = $mainMod SHIFT, H, resizeactive,-50 0
|
||||
binde = $mainMod SHIFT, L, resizeactive,50 0
|
||||
binde = $mainMod SHIFT, K, resizeactive,0 -50
|
||||
binde = $mainMod SHIFT, J, resizeactive,0 50
|
||||
|
||||
# Move
|
||||
bind = $mainMod CTRL, H, movewindow, l
|
||||
bind = $mainMod CTRL, L, movewindow, r
|
||||
bind = $mainMod CTRL, K, movewindow, u
|
||||
bind = $mainMod CTRL, J, movewindow, d
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
|
||||
# Special workspace
|
||||
bind = $mainMod SHIFT, U, movetoworkspace, special
|
||||
bind = $mainMod, U, togglespecialworkspace,
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
bind = $mainMod, period, workspace, e+1
|
||||
bind = $mainMod, comma, workspace, e-1
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
||||
bind = $mainMod, G, togglegroup
|
||||
bind = $mainMod, tab, workspace, m+1
|
||||
bind = $mainMod SHIFT, tab, workspace, m-1
|
||||
bind = ALT, tab, workspace, m+1
|
||||
bind = ALT SHIFT, tab, workspace, m-1
|
||||
|
||||
bind = $mainMod, O, exec, $colorpicker
|
||||
bind = $mainMod SHIFT, O, exec, $term --class hyprpicker --hold -e hyprpicker
|
||||
bind = $mainMod CTRL, S, exec, $wofi_beats
|
||||
|
||||
# Screenshot keybindings
|
||||
bind = , Print, exec, $screenshot --now
|
||||
bind = $mainMod, Print, exec, $screenshot --in5
|
||||
bind = SHIFT, Print, exec, $screenshot --in10
|
||||
bind = CTRL, Print, exec, $screenshot --win
|
||||
bind = $mainMod CTRL, Print, exec, flameshot gui
|
||||
|
||||
# Qwerty
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
bind = $mainMod, 3, workspace, 3
|
||||
bind = $mainMod, 4, workspace, 4
|
||||
bind = $mainMod, 5, workspace, 5
|
||||
bind = $mainMod, 6, workspace, 6
|
||||
bind = $mainMod, 7, workspace, 7
|
||||
bind = $mainMod, 8, workspace, 8
|
||||
bind = $mainMod, 9, workspace, 9
|
||||
bind = $mainMod, 0, workspace, 10
|
||||
|
||||
# Azerty
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
#bind = $mainMod, Ampersand, workspace, 1
|
||||
#bind = $mainMod, Eacute, workspace, 2
|
||||
#bind = $mainMod, Quotedbl, workspace, 3
|
||||
#bind = $mainMod, Apostrophe, workspace, 4
|
||||
#bind = $mainMod, Parenleft, workspace, 5
|
||||
#bind = $mainMod, Section, workspace, 6
|
||||
#bind = $mainMod, Egrave, workspace, 7
|
||||
#bind = $mainMod, Exclam, workspace, 8
|
||||
#bind = $mainMod, ccedilla, workspace, 9
|
||||
#bind = $mainMod, agrave, workspace, 10
|
||||
|
||||
# Qwerty
|
||||
# Move active window and follow to workspace
|
||||
bind = $mainMod CTRL, 1, movetoworkspace, 1
|
||||
bind = $mainMod CTRL, 2, movetoworkspace, 2
|
||||
bind = $mainMod CTRL, 3, movetoworkspace, 3
|
||||
bind = $mainMod CTRL, 4, movetoworkspace, 4
|
||||
bind = $mainMod CTRL, 5, movetoworkspace, 5
|
||||
bind = $mainMod CTRL, 6, movetoworkspace, 6
|
||||
bind = $mainMod CTRL, 7, movetoworkspace, 7
|
||||
bind = $mainMod CTRL, 8, movetoworkspace, 8
|
||||
bind = $mainMod CTRL, 9, movetoworkspace, 9
|
||||
bind = $mainMod CTRL, 0, movetoworkspace, 10
|
||||
bind = $mainMod CTRL, bracketleft, movetoworkspace, -1
|
||||
bind = $mainMod CTRL, bracketright, movetoworkspace, +1
|
||||
|
||||
# Azerty
|
||||
# Move active window and follow to workspace
|
||||
#bind = $mainMod CTRL, Ampersand, movetoworkspace, 1
|
||||
#bind = $mainMod CTRL, Eacute, movetoworkspace, 2
|
||||
#bind = $mainMod CTRL, Quotedbl, movetoworkspace, 3
|
||||
#bind = $mainMod CTRL, Apostrophe, movetoworkspace, 4
|
||||
#bind = $mainMod CTRL, Parenleft, movetoworkspace, 5
|
||||
#bind = $mainMod CTRL, Section, movetoworkspace, 6
|
||||
#bind = $mainMod CTRL, Egrave, movetoworkspace, 7
|
||||
#bind = $mainMod CTRL, Exclam, movetoworkspace, 8
|
||||
#bind = $mainMod CTRL, ccedilla, movetoworkspace, 9
|
||||
#bind = $mainMod CTRL, agrave, movetoworkspace, 10
|
||||
#bind = $mainMod CTRL, bracketleft, movetoworkspace, -1
|
||||
#bind = $mainMod CTRL, bracketright, movetoworkspace, +1
|
||||
|
||||
# Qwerty
|
||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||
bind = $mainMod SHIFT, 1, movetoworkspacesilent, 1
|
||||
bind = $mainMod SHIFT, 2, movetoworkspacesilent, 2
|
||||
bind = $mainMod SHIFT, 3, movetoworkspacesilent, 3
|
||||
bind = $mainMod SHIFT, 4, movetoworkspacesilent, 4
|
||||
bind = $mainMod SHIFT, 5, movetoworkspacesilent, 5
|
||||
bind = $mainMod SHIFT, 6, movetoworkspacesilent, 6
|
||||
bind = $mainMod SHIFT, 7, movetoworkspacesilent, 7
|
||||
bind = $mainMod SHIFT, 8, movetoworkspacesilent, 8
|
||||
bind = $mainMod SHIFT, 9, movetoworkspacesilent, 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspacesilent, 10
|
||||
bind = $mainMod SHIFT, bracketleft, movetoworkspacesilent, -1
|
||||
bind = $mainMod SHIFT, bracketright, movetoworkspacesilent, +1
|
||||
|
||||
# Azerty
|
||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||
#bind = $mainMod SHIFT, Ampersand, movetoworkspacesilent, 1
|
||||
#bind = $mainMod SHIFT, Eacute, movetoworkspacesilent, 2
|
||||
#bind = $mainMod SHIFT, Quotedbl, movetoworkspacesilent, 3
|
||||
#bind = $mainMod SHIFT, Apostrophe, movetoworkspacesilent, 4
|
||||
#bind = $mainMod SHIFT, Parenleft, movetoworkspacesilent, 5
|
||||
#bind = $mainMod SHIFT, Section, movetoworkspacesilent, 6
|
||||
#bind = $mainMod SHIFT, Egrave, movetoworkspacesilent, 7
|
||||
#bind = $mainMod SHIFT, Exclam, movetoworkspacesilent, 8
|
||||
#bind = $mainMod SHIFT, ccedilla, movetoworkspacesilent, 9
|
||||
#bind = $mainMod SHIFT, agrave, movetoworkspacesilent, 10
|
||||
#bind = $mainMod SHIFT, bracketleft, movetoworkspacesilent, -1
|
||||
#bind = $mainMod SHIFT, bracketright, movetoworkspacesilent, +1
|
@ -1,221 +1,391 @@
|
||||
|
||||
# #######################################################################################
|
||||
# AUTOGENERATED HYPR CONFIG.
|
||||
# PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT,
|
||||
# OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
|
||||
# #######################################################################################
|
||||
|
||||
#autogenerated = 1 # remove this line to remove the warning
|
||||
|
||||
# This is an example Hyprland config file.
|
||||
#
|
||||
# Refer to the wiki for more information.
|
||||
# https://wiki.hyprland.org/Configuring/Configuring-Hyprland/
|
||||
|
||||
#
|
||||
# Please note not all available settings / options are set here.
|
||||
# For a full list, see the wiki
|
||||
|
||||
# You can split this configuration into multiple files
|
||||
# Create your files separately and then link them to this file like this:
|
||||
# source = ~/.config/hypr/myColors.conf
|
||||
|
||||
|
||||
################
|
||||
### MONITORS ###
|
||||
################
|
||||
|
||||
#
|
||||
# info at https://wiki.hyprland.org/
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
monitor=,preferred,auto,auto
|
||||
monitor=HDMI-A-2,1920x1080, 0x0, 1
|
||||
monitor=HDMI-A-1,1920x1080@144Hz, 1920x0, 1
|
||||
# monitor=,preferred,auto,auto
|
||||
|
||||
# mirror two screens HDMI-A-1 to left of HDMI-A-2
|
||||
# monitor=HDMI-A-1,1920x1080@60,0x0,1,mirror,HDMI-A-2
|
||||
# monitor=,preferred,auto,1,mirror,HDMI-A-1
|
||||
|
||||
###################
|
||||
### MY PROGRAMS ###
|
||||
###################
|
||||
# Output
|
||||
# Configure your Display resolution, offset, scale and Monitors here, use `hyprctl monitors` to get the info.
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||
#monitor=HDMI-A-1,1920x1080@60,0x0,1
|
||||
#workspace=HDMI-A-1,1
|
||||
#monitor=HDMI-A-2,1920x1080@60,1920x0,1
|
||||
#workspace=HDMI-A-2,2
|
||||
|
||||
# Set programs that you use
|
||||
$terminal = kitty
|
||||
$fileManager = kitty -e ranger
|
||||
$menu = wofi --show drun
|
||||
# Example :
|
||||
#monitor=eDP-1,1920x1080@60,0x0,1
|
||||
#monitor=eDP-1,transform,0
|
||||
#monitor=eDP-1,addreserved,10,10,10,10
|
||||
#workspace=eDP-1,1
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
# Setting variables
|
||||
$mainMod = SUPER
|
||||
$localBin = $HOME/.local/bin
|
||||
$scriptsDir = $HOME/.config/hypr/scripts
|
||||
$hyprDir = $HOME/.config/hypr
|
||||
$term = kitty
|
||||
$menu = $scriptsDir/menu
|
||||
$fullmenu = $scriptsDir/fullmenu
|
||||
$volume = $scriptsDir/volume
|
||||
$backlight = $scriptsDir/brightness
|
||||
$screenshot = $scriptsDir/screenshot
|
||||
$lock = $scriptsDir/lockscreen
|
||||
$colorpicker = $scriptsDir/colorpicker
|
||||
$wofi_beats = $scriptsDir/wofi-beats
|
||||
$files = thunar
|
||||
$browser = firefox
|
||||
$editor = code
|
||||
|
||||
#################
|
||||
### AUTOSTART ###
|
||||
#################
|
||||
|
||||
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
||||
# Or execute your favorite apps at launch like this:
|
||||
|
||||
# exec-once = $terminal
|
||||
exec-once = nm-applet &
|
||||
exec-once = waybar & hyprpaper
|
||||
exec-once = hypridle &
|
||||
exec-once = dunst &
|
||||
|
||||
|
||||
#############################
|
||||
### ENVIRONMENT VARIABLES ###
|
||||
#############################
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Environment-variables/
|
||||
|
||||
# Some default env vars
|
||||
env = XCURSOR_SIZE,24
|
||||
env = HYPRCURSOR_SIZE,24
|
||||
env = XDG_CURRENT_DESKTOP,Hyprland
|
||||
env = XDG_SESSION_TYPE,wayland
|
||||
env = XDG_SESSION_DESKTOP,Hyprland
|
||||
|
||||
# Startup
|
||||
exec-once = $scriptsDir/startup
|
||||
exec-once = swaybg -m fill -i $HOME/.config/hypr/bg/minimal.png
|
||||
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec-once = $scriptsDir/portal
|
||||
|
||||
# with lock - hyprctl
|
||||
# exec-once = swayidle -w timeout 1200 '$lock' timeout 1200 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep '$lock'
|
||||
|
||||
# with lock - swaylock
|
||||
# exec-once = swayidle -w timeout 1200 'swaylock -f -c 111111' timeout 1200 '' resume '' before-sleep 'swaylock -f -c 111111'
|
||||
|
||||
# without lock
|
||||
# exec-once = swayidle -w timeout 1200 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on'
|
||||
|
||||
|
||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||
input {
|
||||
# qwerty
|
||||
kb_layout = us
|
||||
|
||||
#####################
|
||||
### LOOK AND FEEL ###
|
||||
#####################
|
||||
# azerty
|
||||
#kb_layout = be
|
||||
|
||||
# Refer to https://wiki.hyprland.org/Configuring/Variables/
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options =
|
||||
kb_rules =
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#general
|
||||
general {
|
||||
gaps_in = 5
|
||||
gaps_out = 20
|
||||
follow_mouse = 1
|
||||
numlock_by_default = 1
|
||||
|
||||
border_size = 2
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
|
||||
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
|
||||
col.inactive_border = rgba(595959aa)
|
||||
|
||||
# Set to true enable resizing windows by clicking and dragging on borders and gaps
|
||||
resize_on_border = false
|
||||
|
||||
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
|
||||
allow_tearing = false
|
||||
|
||||
layout = dwindle
|
||||
touchpad {
|
||||
natural_scroll = true
|
||||
tap-to-click = true
|
||||
drag_lock = true
|
||||
disable_while_typing = true
|
||||
}
|
||||
|
||||
#sensitivity = 0.0 # -1.0 - 1.0, 0 means no modification
|
||||
}
|
||||
|
||||
misc {
|
||||
disable_hyprland_logo = true
|
||||
disable_splash_rendering = true
|
||||
mouse_move_enables_dpms = true
|
||||
}
|
||||
|
||||
binds {
|
||||
workspace_back_and_forth = true
|
||||
}
|
||||
|
||||
general {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
gaps_in = 3
|
||||
gaps_out = 7
|
||||
border_size = 2
|
||||
|
||||
#one color
|
||||
#col.active_border = rgba(7aa2f7aa)
|
||||
|
||||
#two colors - gradient
|
||||
|
||||
col.active_border = rgba(7aa2f7aa) rgba(c4a7e7aa) 45deg
|
||||
col.inactive_border = rgba(414868aa)
|
||||
|
||||
layout = master
|
||||
#layout = dwindle
|
||||
}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#decoration
|
||||
decoration {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
rounding = 10
|
||||
|
||||
# Change transparency of focused and unfocused windows
|
||||
active_opacity = 1.0
|
||||
inactive_opacity = 1.0
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#blur
|
||||
blur {
|
||||
enabled = true
|
||||
size = 3
|
||||
passes = 1
|
||||
|
||||
vibrancy = 0.1696
|
||||
}
|
||||
}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#animations
|
||||
}
|
||||
|
||||
blurls = waybar
|
||||
|
||||
animations {
|
||||
enabled = true
|
||||
|
||||
# Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
||||
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||
dwindle {
|
||||
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
preserve_split = true # You probably want this
|
||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||
pseudotile = true
|
||||
preserve_split = true
|
||||
}
|
||||
|
||||
binds {
|
||||
allow_workspace_cycles = true
|
||||
}
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||
master {
|
||||
new_status = master
|
||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||
mfact = 0.5
|
||||
}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#misc
|
||||
misc {
|
||||
force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
|
||||
disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
|
||||
middle_click_paste = true
|
||||
}
|
||||
|
||||
|
||||
#############
|
||||
### INPUT ###
|
||||
#############
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#input
|
||||
input {
|
||||
kb_layout = us
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options =
|
||||
kb_rules =
|
||||
numlock_by_default = true
|
||||
|
||||
follow_mouse = 1
|
||||
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
|
||||
touchpad {
|
||||
natural_scroll = false
|
||||
}
|
||||
}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#gestures
|
||||
gestures {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
workspace_swipe = false
|
||||
workspace_swipe_fingers = 3
|
||||
}
|
||||
|
||||
# Example per-device config
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
|
||||
device {
|
||||
name = razer-razer-deathadder-v2
|
||||
sensitivity = -0.2
|
||||
accel_profile = flat
|
||||
}
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
|
||||
#device:epic mouse V1 {
|
||||
# sensitivity = -0.5
|
||||
#}
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||
# Example windowrule v1
|
||||
# windowrule = float, yad|nm-connection-editor|pavucontrol
|
||||
# windowrule = float, feh|Gimp|qt5ct
|
||||
|
||||
###################
|
||||
### KEYBINDINGS ###
|
||||
###################
|
||||
# Example windowrule v2
|
||||
windowrulev2 = tile, class:^(Spotify)$
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||
$mainMod = SUPER # Sets "Windows" key as main modifier
|
||||
# windowrulev2 = workspace 4, class:^(Apache Directory Studio)$
|
||||
# windowrulev2 = bordercolor rgb(EE4B55) rgb(880808), fullscreen:1
|
||||
# windowrulev2 = bordercolor rgb(282737) rgb(1E1D2D), floating:1
|
||||
# windowrulev2 = opacity 0.8 0.8, pinned:1
|
||||
# windowrulev2 = workspace 10, class:^(Microsoft-edge)$
|
||||
# windowrulev2 = workspace 8 silent, class^(Steam)$, title:^(Steam)$
|
||||
# windowrulev2 = float,class:^(firefox)$,title:^(Picture-in-Picture)$
|
||||
|
||||
# for waybar yay update click
|
||||
windowrulev2 = animation popin, class:^(update)$, title:^(update)$
|
||||
windowrulev2 = float, class:^(update)$, title:^(update)$
|
||||
windowrulev2 = size 60% 50%, class:^(update)$, title:^(update)$
|
||||
windowrulev2 = center, class:^(update)$, title:^(update)$
|
||||
|
||||
# for ttyclock
|
||||
windowrulev2 = float, class:^(clock)$, title:^(clock)$
|
||||
windowrulev2 = size 33% 27%, class:^(clock)$, title:^(clock)$
|
||||
windowrulev2 = center, class:^(clock)$, title:^(clock)$
|
||||
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
bind = $mainMod, Return, exec, $terminal
|
||||
bind = $mainMod, W, killactive,
|
||||
bind = $mainMod+Shift, E, exit,
|
||||
bind = $mainMod, E, exec, $fileManager
|
||||
bind = $mainMod, V, togglefloating,
|
||||
bind = $mainMod, Space, exec, $menu
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
bind = $mainMod, J, togglesplit, # dwindle
|
||||
bind = $mainMod, Escape, workspace, previous_per_monitor
|
||||
bind = $mainMod, x, exec, loginctl lock-session
|
||||
bind = $mainMod, Tab, swapactiveworkspaces, current -1
|
||||
bind = $mainMod+Shift, Tab, moveworkspacetomonitor, +0 -1
|
||||
bind = $mainMod SHIFT, R, exec, hyprctl reload
|
||||
bind = $mainMod SHIFT, D, exec, $fullmenu
|
||||
bind = $mainMod, D, exec, $menu
|
||||
bind = $mainMod SHIFT, Q, killactive
|
||||
bind = $mainMod SHIFT, Return, exec, $files
|
||||
bind = $mainMod SHIFT, Space, togglefloating
|
||||
bind = $mainMod, C, exec, conky-toggle
|
||||
bind = $mainMod, E, exec, code
|
||||
bind = $mainMod, F, fullscreen
|
||||
bind = $mainMod, Q, killactive,
|
||||
bind = $mainMod, R, exec, rofi-theme-selector
|
||||
bind = $mainMod, Return, exec, $term
|
||||
bind = $mainMod, T, exec, $term
|
||||
bind = $mainMod, V, exec, pavucontrol
|
||||
|
||||
bind = CTRL ALT, A, exec, xfce4-appfinder
|
||||
bind = CTRL ALT, C, exec, catfish
|
||||
bind = CTRL ALT, B, exec, $files
|
||||
bind = CTRL ALT, E, exec, archlinux-tweak-tool
|
||||
bind = CTRL ALT, F, exec, firefox
|
||||
bind = CTRL ALT, G, exec, chromium -no-default-browser-check
|
||||
bind = CTRL ALT, I, exec, nitrogen
|
||||
bind = CTRL ALT, K, exec, $scriptsDir/lockscreen
|
||||
bind = CTRL ALT, L, exec, $scriptsDir/lockscreen
|
||||
bind = CTRL ALT, NEXT, exec, conky-rotate -n
|
||||
bind = CTRL ALT, P, exec, pamac-manager
|
||||
bind = CTRL ALT, PREVIOUS, exec, conky-rotate -p
|
||||
bind = CTRL ALT, R, exec, rofi-theme-selector
|
||||
bind = CTRL ALT, Return, exec, foot
|
||||
bind = CTRL ALT, S, exec, spotify
|
||||
bind = CTRL ALT, T, exec, $term
|
||||
bind = CTRL ALT, U, exec, pavucontrol
|
||||
bind = CTRL ALT, V, exec, vivaldi-stable
|
||||
bind = CTRL ALT, W, exec, arcolinux-welcome-app
|
||||
|
||||
bind = CTRL SHIFT, Escape, exec, $term --class btop -T btop -e btop
|
||||
bind = CTRL ALT, END, exec, $term --class btop -T btop -e btop
|
||||
|
||||
# change wallpaper
|
||||
# bind = ALT, n, exec, $scriptsDir/changeWallpaper
|
||||
# bind = ALT, p, exec, $scriptsDir/changeWallpaper
|
||||
# bind = ALT, left, exec, $scriptsDir/changeWallpaper
|
||||
# bind = ALT, right, exec, $scriptsDir/changeWallpaper
|
||||
# bind = ALT, up, exec, $scriptsDir/changeWallpaperDesktop
|
||||
# bind = ALT, down, exec, $scriptsDir/changeWallpaperDesktop
|
||||
|
||||
# Variety
|
||||
# trash wallpaper
|
||||
bind = ALT, t, exec, variety -t
|
||||
# next wallpaper
|
||||
bind = ALT, n, exec, variety -n
|
||||
bind = ALT SHIFT, n, exec, variety -n && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt) && ~/.config/hypr/scripts/statusbar &
|
||||
bind = ALT, right, exec, variety -n
|
||||
# previous wallpaper
|
||||
bind = ALT, p, exec, variety -p
|
||||
bind = ALT SHIFT, p, exec, variety -p && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt) && ~/.config/hypr/scripts/statusbar &
|
||||
bind = ALT, left, exec, variety -p
|
||||
# favorite wallpaper
|
||||
bind = ALT, f, exec, variety -f
|
||||
# pause wallpaper
|
||||
bind = ALT, up, exec, variety --toggle-pause
|
||||
# pause wallpaper + wal
|
||||
bind = ALT SHIFT, up, exec, variety --toggle-pause && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt) && ~/.config/hypr/scripts/statusbar &
|
||||
# resume wallpaper
|
||||
bind = ALT, down, exec, variety --resume
|
||||
|
||||
# effect
|
||||
bind = ALT, g, exec, $scriptsDir/glassmorphismToggle
|
||||
|
||||
bind = ALT, F3, exec, xfce4-appfinder
|
||||
|
||||
bind = , F12, exec, xfce4-terminal --drop-down
|
||||
|
||||
bind = $mainMod SHIFT, M, exec, hyprctl dispatch splitratio -0.1
|
||||
bind = $mainMod, M, exec, hyprctl dispatch splitratio 0.1
|
||||
|
||||
bind = $mainMod SHIFT, Y, exec, $term --class clock -T clock -e tty-clock -c -C 7 -r -s -f "%A, %B, %d"
|
||||
#bind = $mainMod, D, layoutmsg, removemaster
|
||||
bind = $mainMod, Escape, exec, hyprctl kill
|
||||
bind = $mainMod, I, layoutmsg, addmaster
|
||||
bind = $mainMod, J, layoutmsg, cyclenext
|
||||
bind = $mainMod, K, layoutmsg, cycleprev
|
||||
|
||||
bind = $mainMod, P, pseudo
|
||||
bind = $mainMod CTRL, Return, layoutmsg, swapwithmaster
|
||||
bind = $mainMod, Space, exec, $scriptsDir/changeLayout
|
||||
bind = $mainMod, X, exec, archlinux-logout
|
||||
bind = $mainMod SHIFT, X, exec, arcolinux-powermenu
|
||||
bind = $mainMod, Y, exec, $term --class update -T update -e cava # f to cycle through foreground colors
|
||||
|
||||
# Mainmod + Function keys
|
||||
bind = $mainMod, F1, exec, $browser
|
||||
bind = $mainMod, F2, exec, $editor
|
||||
bind = $mainMod, F3, exec, inkscape
|
||||
bind = $mainMod, F4, exec, gimp
|
||||
bind = $mainMod, F5, exec, meld
|
||||
bind = $mainMod, F6, exec, vlc
|
||||
bind = $mainMod, F7, exec, virtualbox
|
||||
bind = $mainMod, F8, exec, $files
|
||||
bind = $mainMod, F9, exec, lollypop
|
||||
bind = $mainMod, F10, exec, spotify
|
||||
bind = $mainMod, F11, exec, rofi -show drun
|
||||
bind = $mainMod, F12, exec, rofi -show drun
|
||||
|
||||
# Special Keys
|
||||
bind = , xf86audioraisevolume, exec, $volume --inc
|
||||
bind = , xf86audiolowervolume, exec, $volume --dec
|
||||
bind = , xf86audiomute, exec, $volume --toggle
|
||||
bind = , xf86audioplay, exec, playerctl play-pause
|
||||
bind = , xf86audionext, exec, playerctl next
|
||||
bind = , xf86audioprev, exec, playerctl previous
|
||||
bind = , xf86audiostop, exec, playerctl stop
|
||||
bind = , xf86monbrightnessup, exec, $brightness --inc
|
||||
bind = , xf86monbrightnessdown, exec, $brightness --dec
|
||||
|
||||
# Backlight control
|
||||
bind = $mainMod SHIFT, equal, submap, backlight
|
||||
submap = backlight
|
||||
bind = , equal, exec, $backlight --inc
|
||||
bind = , minus, exec, $backlight --dec
|
||||
bind = , escape, submap, reset
|
||||
submap = reset
|
||||
|
||||
# Volume control
|
||||
bind = $mainMod, equal, submap, volume
|
||||
submap = volume
|
||||
bind = , equal, exec, $volume --inc
|
||||
bind = , minus, exec, $volume --dec
|
||||
bind = , 0, exec, $volume --toggle
|
||||
bind = , 9, exec, $volume --toggle-mic
|
||||
bind = , escape, submap, reset
|
||||
submap = reset
|
||||
|
||||
# Resize
|
||||
binde = $mainMod SHIFT, H, resizeactive,-50 0
|
||||
binde = $mainMod SHIFT, L, resizeactive,50 0
|
||||
binde = $mainMod SHIFT, K, resizeactive,0 -50
|
||||
binde = $mainMod SHIFT, J, resizeactive,0 50
|
||||
|
||||
# Move
|
||||
bind = $mainMod CTRL, H, movewindow, l
|
||||
bind = $mainMod CTRL, L, movewindow, r
|
||||
bind = $mainMod CTRL, K, movewindow, u
|
||||
bind = $mainMod CTRL, J, movewindow, d
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, h, movefocus, l
|
||||
bind = $mainMod, l, movefocus, r
|
||||
bind = $mainMod, k, movefocus, u
|
||||
bind = $mainMod, j, movefocus, d
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
|
||||
# Special workspace
|
||||
bind = $mainMod SHIFT, U, movetoworkspace, special
|
||||
bind = $mainMod, U, togglespecialworkspace,
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
bind = $mainMod, period, workspace, e+1
|
||||
bind = $mainMod, comma, workspace, e-1
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
||||
bind = $mainMod, G, togglegroup
|
||||
bind = $mainMod, tab, workspace, m+1
|
||||
bind = $mainMod SHIFT, tab, workspace, m-1
|
||||
bind = ALT, tab, workspace, m+1
|
||||
bind = ALT SHIFT, tab, workspace, m-1
|
||||
|
||||
bind = $mainMod, O, exec, $colorpicker
|
||||
bind = $mainMod SHIFT, O, exec, $term --class hyprpicker --hold -e hyprpicker
|
||||
bind = $mainMod CTRL, S, exec, $wofi_beats
|
||||
|
||||
# Screenshot keybindings
|
||||
bind = , Print, exec, $screenshot --now
|
||||
bind = $mainMod, Print, exec, $screenshot --in5
|
||||
bind = SHIFT, Print, exec, $screenshot --in10
|
||||
bind = CTRL, Print, exec, $screenshot --win
|
||||
bind = $mainMod CTRL, Print, exec, flameshot gui
|
||||
|
||||
# Qwerty
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
@ -228,59 +398,75 @@ bind = $mainMod, 8, workspace, 8
|
||||
bind = $mainMod, 9, workspace, 9
|
||||
bind = $mainMod, 0, workspace, 10
|
||||
|
||||
# Azerty
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
#bind = $mainMod, Ampersand, workspace, 1
|
||||
#bind = $mainMod, Eacute, workspace, 2
|
||||
#bind = $mainMod, Quotedbl, workspace, 3
|
||||
#bind = $mainMod, Apostrophe, workspace, 4
|
||||
#bind = $mainMod, Parenleft, workspace, 5
|
||||
#bind = $mainMod, Section, workspace, 6
|
||||
#bind = $mainMod, Egrave, workspace, 7
|
||||
#bind = $mainMod, Exclam, workspace, 8
|
||||
#bind = $mainMod, ccedilla, workspace, 9
|
||||
#bind = $mainMod, agrave, workspace, 10
|
||||
|
||||
# Qwerty
|
||||
# Move active window and follow to workspace
|
||||
bind = $mainMod CTRL, 1, movetoworkspace, 1
|
||||
bind = $mainMod CTRL, 2, movetoworkspace, 2
|
||||
bind = $mainMod CTRL, 3, movetoworkspace, 3
|
||||
bind = $mainMod CTRL, 4, movetoworkspace, 4
|
||||
bind = $mainMod CTRL, 5, movetoworkspace, 5
|
||||
bind = $mainMod CTRL, 6, movetoworkspace, 6
|
||||
bind = $mainMod CTRL, 7, movetoworkspace, 7
|
||||
bind = $mainMod CTRL, 8, movetoworkspace, 8
|
||||
bind = $mainMod CTRL, 9, movetoworkspace, 9
|
||||
bind = $mainMod CTRL, 0, movetoworkspace, 10
|
||||
bind = $mainMod CTRL, bracketleft, movetoworkspace, -1
|
||||
bind = $mainMod CTRL, bracketright, movetoworkspace, +1
|
||||
|
||||
# Azerty
|
||||
# Move active window and follow to workspace
|
||||
#bind = $mainMod CTRL, Ampersand, movetoworkspace, 1
|
||||
#bind = $mainMod CTRL, Eacute, movetoworkspace, 2
|
||||
#bind = $mainMod CTRL, Quotedbl, movetoworkspace, 3
|
||||
#bind = $mainMod CTRL, Apostrophe, movetoworkspace, 4
|
||||
#bind = $mainMod CTRL, Parenleft, movetoworkspace, 5
|
||||
#bind = $mainMod CTRL, Section, movetoworkspace, 6
|
||||
#bind = $mainMod CTRL, Egrave, movetoworkspace, 7
|
||||
#bind = $mainMod CTRL, Exclam, movetoworkspace, 8
|
||||
#bind = $mainMod CTRL, ccedilla, movetoworkspace, 9
|
||||
#bind = $mainMod CTRL, agrave, movetoworkspace, 10
|
||||
#bind = $mainMod CTRL, bracketleft, movetoworkspace, -1
|
||||
#bind = $mainMod CTRL, bracketright, movetoworkspace, +1
|
||||
|
||||
# Qwerty
|
||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
||||
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
||||
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||
bind = $mainMod SHIFT, 1, movetoworkspacesilent, 1
|
||||
bind = $mainMod SHIFT, 2, movetoworkspacesilent, 2
|
||||
bind = $mainMod SHIFT, 3, movetoworkspacesilent, 3
|
||||
bind = $mainMod SHIFT, 4, movetoworkspacesilent, 4
|
||||
bind = $mainMod SHIFT, 5, movetoworkspacesilent, 5
|
||||
bind = $mainMod SHIFT, 6, movetoworkspacesilent, 6
|
||||
bind = $mainMod SHIFT, 7, movetoworkspacesilent, 7
|
||||
bind = $mainMod SHIFT, 8, movetoworkspacesilent, 8
|
||||
bind = $mainMod SHIFT, 9, movetoworkspacesilent, 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspacesilent, 10
|
||||
bind = $mainMod SHIFT, bracketleft, movetoworkspacesilent, -1
|
||||
bind = $mainMod SHIFT, bracketright, movetoworkspacesilent, +1
|
||||
|
||||
# Example special workspace (scratchpad)
|
||||
bind = $mainMod, S, togglespecialworkspace, magic
|
||||
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
||||
# Laptop multimedia keys for volume and LCD brightness
|
||||
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
||||
bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+
|
||||
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-
|
||||
|
||||
# Requires playerctl
|
||||
bindl = , XF86AudioNext, exec, playerctl next
|
||||
bindl = , XF86AudioPause, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||
|
||||
##############################
|
||||
### WINDOWS AND WORKSPACES ###
|
||||
##############################
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
|
||||
|
||||
# Example windowrule v1
|
||||
# windowrule = float, ^(kitty)$
|
||||
|
||||
# Example windowrule v2
|
||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||
|
||||
# Ignore maximize requests from apps. You'll probably like this.
|
||||
windowrulev2 = suppressevent maximize, class:.*
|
||||
|
||||
# Fix some dragging issues with XWayland
|
||||
windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
|
||||
# Azerty
|
||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||
#bind = $mainMod SHIFT, Ampersand, movetoworkspacesilent, 1
|
||||
#bind = $mainMod SHIFT, Eacute, movetoworkspacesilent, 2
|
||||
#bind = $mainMod SHIFT, Quotedbl, movetoworkspacesilent, 3
|
||||
#bind = $mainMod SHIFT, Apostrophe, movetoworkspacesilent, 4
|
||||
#bind = $mainMod SHIFT, Parenleft, movetoworkspacesilent, 5
|
||||
#bind = $mainMod SHIFT, Section, movetoworkspacesilent, 6
|
||||
#bind = $mainMod SHIFT, Egrave, movetoworkspacesilent, 7
|
||||
#bind = $mainMod SHIFT, Exclam, movetoworkspacesilent, 8
|
||||
#bind = $mainMod SHIFT, ccedilla, movetoworkspacesilent, 9
|
||||
#bind = $mainMod SHIFT, agrave, movetoworkspacesilent, 10
|
||||
#bind = $mainMod SHIFT, bracketleft, movetoworkspacesilent, -1
|
||||
#bind = $mainMod SHIFT, bracketright, movetoworkspacesilent, +1
|
||||
|
286
.config/hypr/hyprland.conf.old
Normal file
@ -0,0 +1,286 @@
|
||||
|
||||
# #######################################################################################
|
||||
# AUTOGENERATED HYPR CONFIG.
|
||||
# PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT,
|
||||
# OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
|
||||
# #######################################################################################
|
||||
|
||||
#autogenerated = 1 # remove this line to remove the warning
|
||||
|
||||
# This is an example Hyprland config file.
|
||||
# Refer to the wiki for more information.
|
||||
# https://wiki.hyprland.org/Configuring/Configuring-Hyprland/
|
||||
|
||||
# Please note not all available settings / options are set here.
|
||||
# For a full list, see the wiki
|
||||
|
||||
# You can split this configuration into multiple files
|
||||
# Create your files separately and then link them to this file like this:
|
||||
# source = ~/.config/hypr/myColors.conf
|
||||
|
||||
|
||||
################
|
||||
### MONITORS ###
|
||||
################
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
monitor=,preferred,auto,auto
|
||||
monitor=HDMI-A-2,1920x1080, 0x0, 1
|
||||
monitor=HDMI-A-1,1920x1080@144Hz, 1920x0, 1
|
||||
|
||||
|
||||
###################
|
||||
### MY PROGRAMS ###
|
||||
###################
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||
|
||||
# Set programs that you use
|
||||
$terminal = kitty
|
||||
$fileManager = kitty -e ranger
|
||||
$menu = wofi --show drun
|
||||
|
||||
|
||||
#################
|
||||
### AUTOSTART ###
|
||||
#################
|
||||
|
||||
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
||||
# Or execute your favorite apps at launch like this:
|
||||
|
||||
# exec-once = $terminal
|
||||
exec-once = nm-applet &
|
||||
exec-once = waybar & hyprpaper
|
||||
exec-once = hypridle &
|
||||
exec-once = dunst &
|
||||
|
||||
|
||||
#############################
|
||||
### ENVIRONMENT VARIABLES ###
|
||||
#############################
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Environment-variables/
|
||||
|
||||
env = XCURSOR_SIZE,24
|
||||
env = HYPRCURSOR_SIZE,24
|
||||
env = XDG_CURRENT_DESKTOP,Hyprland
|
||||
env = XDG_SESSION_TYPE,wayland
|
||||
env = XDG_SESSION_DESKTOP,Hyprland
|
||||
|
||||
|
||||
|
||||
#####################
|
||||
### LOOK AND FEEL ###
|
||||
#####################
|
||||
|
||||
# Refer to https://wiki.hyprland.org/Configuring/Variables/
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#general
|
||||
general {
|
||||
gaps_in = 5
|
||||
gaps_out = 20
|
||||
|
||||
border_size = 2
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
|
||||
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
|
||||
col.inactive_border = rgba(595959aa)
|
||||
|
||||
# Set to true enable resizing windows by clicking and dragging on borders and gaps
|
||||
resize_on_border = false
|
||||
|
||||
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
|
||||
allow_tearing = false
|
||||
|
||||
layout = dwindle
|
||||
}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#decoration
|
||||
decoration {
|
||||
rounding = 10
|
||||
|
||||
# Change transparency of focused and unfocused windows
|
||||
active_opacity = 1.0
|
||||
inactive_opacity = 1.0
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#blur
|
||||
blur {
|
||||
enabled = true
|
||||
size = 3
|
||||
passes = 1
|
||||
|
||||
vibrancy = 0.1696
|
||||
}
|
||||
}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#animations
|
||||
animations {
|
||||
enabled = true
|
||||
|
||||
# Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||
dwindle {
|
||||
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
preserve_split = true # You probably want this
|
||||
}
|
||||
|
||||
binds {
|
||||
allow_workspace_cycles = true
|
||||
}
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||
master {
|
||||
new_status = master
|
||||
}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#misc
|
||||
misc {
|
||||
force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
|
||||
disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
|
||||
middle_click_paste = true
|
||||
}
|
||||
|
||||
|
||||
#############
|
||||
### INPUT ###
|
||||
#############
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#input
|
||||
input {
|
||||
kb_layout = us
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options =
|
||||
kb_rules =
|
||||
numlock_by_default = true
|
||||
|
||||
follow_mouse = 1
|
||||
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
|
||||
touchpad {
|
||||
natural_scroll = false
|
||||
}
|
||||
}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#gestures
|
||||
gestures {
|
||||
workspace_swipe = false
|
||||
}
|
||||
|
||||
# Example per-device config
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
|
||||
device {
|
||||
name = razer-razer-deathadder-v2
|
||||
sensitivity = -0.2
|
||||
accel_profile = flat
|
||||
}
|
||||
|
||||
|
||||
###################
|
||||
### KEYBINDINGS ###
|
||||
###################
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||
$mainMod = SUPER # Sets "Windows" key as main modifier
|
||||
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
bind = $mainMod, Return, exec, $terminal
|
||||
bind = $mainMod, W, killactive,
|
||||
bind = $mainMod+Shift, E, exit,
|
||||
bind = $mainMod, E, exec, $fileManager
|
||||
bind = $mainMod, V, togglefloating,
|
||||
bind = $mainMod, Space, exec, $menu
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
bind = $mainMod, J, togglesplit, # dwindle
|
||||
bind = $mainMod, Escape, workspace, previous_per_monitor
|
||||
bind = $mainMod, x, exec, loginctl lock-session
|
||||
bind = $mainMod, Tab, swapactiveworkspaces, current -1
|
||||
bind = $mainMod+Shift, Tab, moveworkspacetomonitor, +0 -1
|
||||
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, h, movefocus, l
|
||||
bind = $mainMod, l, movefocus, r
|
||||
bind = $mainMod, k, movefocus, u
|
||||
bind = $mainMod, j, movefocus, d
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
bind = $mainMod, 3, workspace, 3
|
||||
bind = $mainMod, 4, workspace, 4
|
||||
bind = $mainMod, 5, workspace, 5
|
||||
bind = $mainMod, 6, workspace, 6
|
||||
bind = $mainMod, 7, workspace, 7
|
||||
bind = $mainMod, 8, workspace, 8
|
||||
bind = $mainMod, 9, workspace, 9
|
||||
bind = $mainMod, 0, workspace, 10
|
||||
|
||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
||||
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
||||
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||
|
||||
# Example special workspace (scratchpad)
|
||||
bind = $mainMod, S, togglespecialworkspace, magic
|
||||
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
||||
# Laptop multimedia keys for volume and LCD brightness
|
||||
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
||||
bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+
|
||||
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-
|
||||
|
||||
# Requires playerctl
|
||||
bindl = , XF86AudioNext, exec, playerctl next
|
||||
bindl = , XF86AudioPause, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||
|
||||
##############################
|
||||
### WINDOWS AND WORKSPACES ###
|
||||
##############################
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
|
||||
|
||||
# Example windowrule v1
|
||||
# windowrule = float, ^(kitty)$
|
||||
|
||||
# Example windowrule v2
|
||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||
|
||||
# Ignore maximize requests from apps. You'll probably like this.
|
||||
windowrulev2 = suppressevent maximize, class:.*
|
||||
|
||||
# Fix some dragging issues with XWayland
|
||||
windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
|
53
.config/hypr/mako/config
Normal file
@ -0,0 +1,53 @@
|
||||
max-history=100
|
||||
sort=-time
|
||||
|
||||
# BINDING OPTIONS
|
||||
on-button-left=dismiss
|
||||
on-button-middle=none
|
||||
on-button-right=dismiss-all
|
||||
on-touch=dismiss
|
||||
#on-notify=exec mpv /usr/share/sounds/freedesktop/stereo/message.oga
|
||||
|
||||
# STYLE OPTIONS
|
||||
font=Noto Sans 11
|
||||
width=300
|
||||
height=100
|
||||
margin=10
|
||||
padding=15
|
||||
border-size=2
|
||||
border-radius=0
|
||||
icons=1
|
||||
max-icon-size=48
|
||||
icon-location=left
|
||||
markup=1
|
||||
actions=1
|
||||
history=1
|
||||
text-alignment=left
|
||||
default-timeout=5000
|
||||
ignore-timeout=0
|
||||
max-visible=5
|
||||
layer=overlay
|
||||
anchor=top-right
|
||||
|
||||
background-color=#1e1e2e
|
||||
text-color=#d9e0ee
|
||||
border-color=#313244
|
||||
progress-color=over #89b4fa
|
||||
|
||||
[urgency=low]
|
||||
border-color=#313244
|
||||
default-timeout=2000
|
||||
|
||||
[urgency=normal]
|
||||
border-color=#313244
|
||||
default-timeout=5000
|
||||
|
||||
[urgency=high]
|
||||
border-color=#f38ba8
|
||||
text-color=#f38ba8
|
||||
default-timeout=0
|
||||
|
||||
[category=mpd]
|
||||
border-color=#f9e2af
|
||||
default-timeout=2000
|
||||
group-by=category
|
BIN
.config/hypr/mako/icons/backup.png
Normal file
After Width: | Height: | Size: 19 KiB |
1
.config/hypr/mako/icons/battery-quarter-solid.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><!--! Font Awesome Pro 6.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M0 176c0-44.2 35.8-80 80-80H464c44.2 0 80 35.8 80 80v16c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32v16c0 44.2-35.8 80-80 80H80c-44.2 0-80-35.8-80-80V176zm80-16c-8.8 0-16 7.2-16 16V336c0 8.8 7.2 16 16 16H464c8.8 0 16-7.2 16-16V176c0-8.8-7.2-16-16-16H80zm112 32V320H96V192h96z"/></svg>
|
After Width: | Height: | Size: 523 B |
BIN
.config/hypr/mako/icons/battery-status.png
Normal file
After Width: | Height: | Size: 8.5 KiB |
BIN
.config/hypr/mako/icons/brightness-100.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
.config/hypr/mako/icons/brightness-20.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
.config/hypr/mako/icons/brightness-40.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
.config/hypr/mako/icons/brightness-60.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
.config/hypr/mako/icons/brightness-80.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
.config/hypr/mako/icons/dropper.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
.config/hypr/mako/icons/microphone-mute.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
.config/hypr/mako/icons/microphone.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
.config/hypr/mako/icons/music.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
.config/hypr/mako/icons/palette.png
Normal file
After Width: | Height: | Size: 34 KiB |
BIN
.config/hypr/mako/icons/picture.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
.config/hypr/mako/icons/timer.png
Normal file
After Width: | Height: | Size: 33 KiB |
BIN
.config/hypr/mako/icons/uptime.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
.config/hypr/mako/icons/volume-high.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
.config/hypr/mako/icons/volume-low.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
.config/hypr/mako/icons/volume-mid.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
.config/hypr/mako/icons/volume-mute.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
.config/hypr/mako/icons/vpn.png
Normal file
After Width: | Height: | Size: 42 KiB |
52
.config/hypr/scripts/brightness
Executable file
@ -0,0 +1,52 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
iDIR="$HOME/.config/hypr/mako/icons"
|
||||
|
||||
# Get brightness
|
||||
get_backlight() {
|
||||
LIGHT=$(printf "%.0f\n" $(xbacklight -get))
|
||||
echo "${LIGHT}%"
|
||||
}
|
||||
|
||||
# Get icons
|
||||
get_icon() {
|
||||
backlight="$(get_backlight)"
|
||||
current="${backlight%%%}"
|
||||
if [[ ("$current" -ge "0") && ("$current" -le "20") ]]; then
|
||||
icon="$iDIR/brightness-20.png"
|
||||
elif [[ ("$current" -ge "20") && ("$current" -le "40") ]]; then
|
||||
icon="$iDIR/brightness-40.png"
|
||||
elif [[ ("$current" -ge "40") && ("$current" -le "60") ]]; then
|
||||
icon="$iDIR/brightness-60.png"
|
||||
elif [[ ("$current" -ge "60") && ("$current" -le "80") ]]; then
|
||||
icon="$iDIR/brightness-80.png"
|
||||
elif [[ ("$current" -ge "80") && ("$current" -le "100") ]]; then
|
||||
icon="$iDIR/brightness-100.png"
|
||||
fi
|
||||
}
|
||||
|
||||
# Notify
|
||||
notify_user() {
|
||||
notify-send -h string:x-canonical-private-synchronous:sys-notify -u low -i "$icon" "Brightness : $(get_backlight)"
|
||||
}
|
||||
|
||||
# Increase brightness
|
||||
inc_backlight() {
|
||||
xbacklight -inc 5 && get_icon && notify_user
|
||||
}
|
||||
|
||||
# Decrease brightness
|
||||
dec_backlight() {
|
||||
xbacklight -dec 5 && get_icon && notify_user
|
||||
}
|
||||
|
||||
# Execute accordingly
|
||||
if [[ "$1" == "--get" ]]; then
|
||||
get_backlight
|
||||
elif [[ "$1" == "--inc" ]]; then
|
||||
inc_backlight
|
||||
elif [[ "$1" == "--dec" ]]; then
|
||||
dec_backlight
|
||||
else
|
||||
get_backlight
|
||||
fi
|
26
.config/hypr/scripts/changeLayout
Executable file
@ -0,0 +1,26 @@
|
||||
#!/bin/bash
|
||||
|
||||
LAYOUT=$(hyprctl -j getoption general:layout | jq '.str' | sed 's/"//g')
|
||||
|
||||
case $LAYOUT in
|
||||
"master")
|
||||
hyprctl keyword general:layout dwindle
|
||||
hyprctl keyword unbind SUPER,J
|
||||
hyprctl keyword unbind SUPER,K
|
||||
hyprctl keyword bind SUPER,J,cyclenext
|
||||
hyprctl keyword bind SUPER,K,cyclenext,prev
|
||||
hyprctl keyword bind SUPER,O,togglesplit
|
||||
notify-send "Master Layout"
|
||||
;;
|
||||
"dwindle")
|
||||
hyprctl keyword general:layout master
|
||||
hyprctl keyword unbind SUPER,J
|
||||
hyprctl keyword unbind SUPER,K
|
||||
hyprctl keyword unbind SUPER,O
|
||||
hyprctl keyword bind SUPER,J,layoutmsg,cyclenext
|
||||
hyprctl keyword bind SUPER,K,layoutmsg,cycleprev
|
||||
notify-send "Dwindle Layout"
|
||||
;;
|
||||
*) ;;
|
||||
|
||||
esac
|
13
.config/hypr/scripts/changewallpaper
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
DIR=$HOME/.config/hypr/bg
|
||||
random_wallpaper=$(find $DIR -type f | sort -R | head -1)
|
||||
|
||||
# Terminate already running bar instances
|
||||
killall -q swaybg
|
||||
|
||||
# Wait until the processes have been shut down
|
||||
while pgrep -x swaybg >/dev/null; do sleep 1; done
|
||||
|
||||
swaybg -m fill -i $random_wallpaper &
|
||||
notify-send "$random_wallpaper" &
|
12
.config/hypr/scripts/changewallpaperdesktop
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Terminate already running instances
|
||||
killall -q swaybg
|
||||
|
||||
# Wait until the processes have been shut down
|
||||
while pgrep -x swaybg >/dev/null; do sleep 1; done
|
||||
|
||||
random_wallpaper=$(find /usr/share/backgrounds/arcolinux-wayfire/ -type f | sort -R | head -1)
|
||||
|
||||
swaybg -m fill -i $random_wallpaper &
|
||||
notify-send "$random_wallpaper" &
|
20
.config/hypr/scripts/colorpicker
Executable file
@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
|
||||
## Simple Script To Pick Color Quickly.
|
||||
|
||||
color=$(grim -g "$(slurp -b 1B1F2800 -p)" -t ppm - | convert - -format '%[pixel:p{0,0}]' txt:- | tail -n1 | cut -d' ' -f4)
|
||||
image=/tmp/${color}.png
|
||||
|
||||
main() {
|
||||
if [[ "$color" ]]; then
|
||||
# copy color code to clipboard
|
||||
echo $color | tr -d "\n" | wl-copy
|
||||
# generate preview
|
||||
convert -size 48x48 xc:"$color" ${image}
|
||||
# notify about it
|
||||
notify-send -h string:x-canonical-private-synchronous:sys-notify -u low -i ${image} "$color, copied to clipboard."
|
||||
fi
|
||||
}
|
||||
|
||||
# Run the script
|
||||
main
|
11
.config/hypr/scripts/fullmenu
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
CONFIG="$HOME/.config/hypr/wofifull/config"
|
||||
STYLE="$HOME/.config/hypr/wofifull/style.css"
|
||||
COLORS="$HOME/.config/hypr/wofifull/colors"
|
||||
|
||||
if [[ ! $(pidof wofi) ]]; then
|
||||
wofi --show drun --prompt 'Search...' --conf ${CONFIG} --style ${STYLE} --color ${COLORS}
|
||||
else
|
||||
pkill wofi
|
||||
fi
|
13
.config/hypr/scripts/glassmorphismToggle
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
STATE=$(hyprctl -j getoption decoration:blur:passes | jq ".int")
|
||||
|
||||
if [ "${STATE}" == "2" ]; then
|
||||
hyprctl keyword decoration:blur:size 3
|
||||
hyprctl keyword decoration:blur:passes 1
|
||||
notify-send "Normal blur"
|
||||
else
|
||||
hyprctl keyword decoration:blur:size 7.8
|
||||
hyprctl keyword decoration:blur:passes 2
|
||||
notify-send "Glassmorphism activated"
|
||||
fi
|
31
.config/hypr/scripts/gtkthemes
Executable file
@ -0,0 +1,31 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Copyright (C) 2020-2022 Aditya Shakya <adi1090x@gmail.com>
|
||||
## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3
|
||||
|
||||
## Set GTK Themes, Icons, Cursor and Fonts
|
||||
|
||||
# you can set your icons, themes and cursor via
|
||||
# dconf editor
|
||||
|
||||
# cursor is also in wayfire.ini
|
||||
|
||||
# /org/gnome/desktop/interface
|
||||
|
||||
# or run these commands
|
||||
|
||||
# https://github.com/WayfireWM/wayfire/wiki/Tips-&-Tricks#gtk-theme-not-working
|
||||
|
||||
# usage: import-gsettings
|
||||
config="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-3.0/settings.ini"
|
||||
if [ ! -f "$config" ]; then exit 1; fi
|
||||
|
||||
gnome_schema="org.gnome.desktop.interface"
|
||||
gtk_theme="$(grep 'gtk-theme-name' "$config" | sed 's/.*\s*=\s*//')"
|
||||
icon_theme="$(grep 'gtk-icon-theme-name' "$config" | sed 's/.*\s*=\s*//')"
|
||||
cursor_theme="$(grep 'gtk-cursor-theme-name' "$config" | sed 's/.*\s*=\s*//')"
|
||||
font_name="$(grep 'gtk-font-name' "$config" | sed 's/.*\s*=\s*//')"
|
||||
gsettings set "$gnome_schema" gtk-theme "$gtk_theme"
|
||||
gsettings set "$gnome_schema" icon-theme "$icon_theme"
|
||||
gsettings set "$gnome_schema" cursor-theme "$cursor_theme"
|
||||
gsettings set "$gnome_schema" font-name "$font_name"
|
19
.config/hypr/scripts/gtkthemes-manual
Executable file
@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
## Set GTK Themes, Icons, Cursor and Fonts
|
||||
|
||||
THEME='Arc-Dark'
|
||||
ICONS='a-candy-beauty-icon-theme'
|
||||
FONT='Noto Sans 11'
|
||||
CURSOR='Bibata-Modern-Ice'
|
||||
|
||||
SCHEMA='gsettings set org.gnome.desktop.interface'
|
||||
|
||||
apply_themes() {
|
||||
${SCHEMA} gtk-theme "$THEME"
|
||||
${SCHEMA} icon-theme "$ICONS"
|
||||
${SCHEMA} cursor-theme "$CURSOR"
|
||||
${SCHEMA} font-name "$FONT"
|
||||
}
|
||||
|
||||
apply_themes
|
2
.config/hypr/scripts/keyhint
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
kitty -e micro ~/.config/hypr/cheatsheet.md
|
58
.config/hypr/scripts/lockscreen
Executable file
@ -0,0 +1,58 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Colors
|
||||
bg='1e1e2e' bgl='313244' fg='d9e0ee'
|
||||
red='f38ba8' green='a6e3a1' yellow='f9e2af'
|
||||
blue='89b4fa' magenta='cba6f7' cyan='89dceb'
|
||||
alpha='00000000'
|
||||
|
||||
# CMD
|
||||
swaylock -f \
|
||||
`# General` \
|
||||
--ignore-empty-password \
|
||||
--show-failed-attempts \
|
||||
--hide-keyboard-layout \
|
||||
--indicator-caps-lock \
|
||||
`# Appearance - change CC to your desired transparency` \
|
||||
--color ${bg}FF \
|
||||
`#--image ${IMAGE} --scaling fill` \
|
||||
--font 'Noto Sans' --font-size 30 \
|
||||
`# Backspace Key` \
|
||||
--key-hl-color ${green} \
|
||||
--caps-lock-key-hl-color ${blue} \
|
||||
--bs-hl-color ${red} \
|
||||
--caps-lock-bs-hl-color ${red} \
|
||||
`# Indicator` \
|
||||
--indicator-radius 120 \
|
||||
--indicator-thickness 10 \
|
||||
`# Inside Circle Colors` \
|
||||
--inside-color ${alpha} \
|
||||
--inside-clear-color ${alpha} \
|
||||
--inside-caps-lock-color ${alpha} \
|
||||
--inside-ver-color ${blue} \
|
||||
--inside-wrong-color ${red} \
|
||||
`# Layout Colors` \
|
||||
--layout-bg-color ${cyan} \
|
||||
--layout-border-color ${cyan} \
|
||||
--layout-text-color ${bg} \
|
||||
`# Line Colors` \
|
||||
--line-color ${bg} \
|
||||
--line-clear-color ${red} \
|
||||
--line-caps-lock-color ${bg} \
|
||||
--line-ver-color ${bg} \
|
||||
--line-wrong-color ${bg} \
|
||||
`# Ring Colors` \
|
||||
--ring-color ${cyan} \
|
||||
--ring-clear-color ${bg} \
|
||||
--ring-caps-lock-color ${magenta} \
|
||||
--ring-ver-color ${blue} \
|
||||
--ring-wrong-color ${red} \
|
||||
`# Separator Color` \
|
||||
--separator-color ${bg} \
|
||||
`# Text Colors` \
|
||||
--text-color ${fg} \
|
||||
--text-clear-color ${fg} \
|
||||
--text-caps-lock-color ${fg} \
|
||||
--text-ver-color ${bg} \
|
||||
--text-wrong-color ${bg} \
|
||||
--indicator-caps-lock
|
11
.config/hypr/scripts/menu
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
CONFIG="$HOME/.config/hypr/wofi/config"
|
||||
STYLE="$HOME/.config/hypr/wofi/style.css"
|
||||
COLORS="$HOME/.config/hypr/wofi/colors"
|
||||
|
||||
if [[ ! $(pidof wofi) ]]; then
|
||||
wofi --show drun --prompt 'Search...' --conf ${CONFIG} --style ${STYLE} --color ${COLORS}
|
||||
else
|
||||
pkill wofi
|
||||
fi
|
7
.config/hypr/scripts/notifications
Executable file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
CONFIG="$HOME/.config/hypr/mako/config"
|
||||
|
||||
if [[ ! $(pidof mako) ]]; then
|
||||
mako --config ${CONFIG}
|
||||
fi
|
8
.config/hypr/scripts/portal
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
sleep 4
|
||||
killall xdg-desktop-portal-hyprland
|
||||
killall xdg-desktop-portal
|
||||
/usr/lib/xdg-desktop-portal-hyprland &
|
||||
sleep 4
|
||||
/usr/lib/xdg-desktop-portal &
|
77
.config/hypr/scripts/screenshot
Executable file
@ -0,0 +1,77 @@
|
||||
#!/bin/bash
|
||||
|
||||
iDIR="$HOME/.config/hypr/mako/icons"
|
||||
|
||||
time=$(date +%Y-%m-%d-%H-%M-%S)
|
||||
dir="$(xdg-user-dir PICTURES)/Screenshots"
|
||||
file="Screenshot_${time}_${RANDOM}.png"
|
||||
|
||||
# notify and view screenshot
|
||||
notify_cmd_shot="notify-send -h string:x-canonical-private-synchronous:shot-notify -u low -i ${iDIR}/picture.png"
|
||||
notify_view() {
|
||||
${notify_cmd_shot} "Copied to clipboard."
|
||||
viewnior ${dir}/"$file"
|
||||
if [[ -e "$dir/$file" ]]; then
|
||||
${notify_cmd_shot} "Screenshot Saved."
|
||||
else
|
||||
${notify_cmd_shot} "Screenshot Deleted."
|
||||
fi
|
||||
}
|
||||
|
||||
# countdown
|
||||
countdown() {
|
||||
for sec in $(seq $1 -1 1); do
|
||||
notify-send -h string:x-canonical-private-synchronous:shot-notify -t 1000 -i "$iDIR"/timer.png "Taking shot in : $sec"
|
||||
sleep 1
|
||||
done
|
||||
}
|
||||
|
||||
# take shots
|
||||
shotnow() {
|
||||
cd ${dir} && grim - | tee "$file" | wl-copy
|
||||
notify_view
|
||||
}
|
||||
|
||||
shot5() {
|
||||
countdown '5'
|
||||
sleep 1 && cd ${dir} && grim - | tee "$file" | wl-copy
|
||||
notify_view
|
||||
}
|
||||
|
||||
shot10() {
|
||||
countdown '10'
|
||||
sleep 1 && cd ${dir} && grim - | tee "$file" | wl-copy
|
||||
notify_view
|
||||
}
|
||||
|
||||
shotwin() {
|
||||
w_pos=$(hyprctl activewindow | grep 'at:' | cut -d':' -f2 | tr -d ' ' | tail -n1)
|
||||
w_size=$(hyprctl activewindow | grep 'size:' | cut -d':' -f2 | tr -d ' ' | tail -n1 | sed s/,/x/g)
|
||||
cd ${dir} && grim -g "$w_pos $w_size" - | tee "$file" | wl-copy
|
||||
notify_view
|
||||
}
|
||||
|
||||
shotarea() {
|
||||
cd ${dir} && grim -g "$(slurp -b 1B1F28CC -c E06B74ff -s C778DD0D -w 2)" - | tee "$file" | wl-copy
|
||||
notify_view
|
||||
}
|
||||
|
||||
if [[ ! -d "$dir" ]]; then
|
||||
mkdir -p "$dir"
|
||||
fi
|
||||
|
||||
if [[ "$1" == "--now" ]]; then
|
||||
shotnow
|
||||
elif [[ "$1" == "--in5" ]]; then
|
||||
shot5
|
||||
elif [[ "$1" == "--in10" ]]; then
|
||||
shot10
|
||||
elif [[ "$1" == "--win" ]]; then
|
||||
shotwin
|
||||
elif [[ "$1" == "--area" ]]; then
|
||||
shotarea
|
||||
else
|
||||
echo -e "Available Options : --now --in5 --in10 --win --area"
|
||||
fi
|
||||
|
||||
exit 0
|
40
.config/hypr/scripts/startup
Executable file
@ -0,0 +1,40 @@
|
||||
#!/bin/bash
|
||||
|
||||
#wallpaper fetcher and wallpaper rotator
|
||||
#type "var" in a terminal to change settings - example
|
||||
#variety &
|
||||
|
||||
SCRIPTSDIR=$HOME/.config/hypr/scripts
|
||||
|
||||
# Kill already running process
|
||||
_ps=(waybar mako)
|
||||
for _prs in "${_ps[@]}"; do
|
||||
if [[ $(pidof ${_prs}) ]]; then
|
||||
killall -9 ${_prs}
|
||||
fi
|
||||
done
|
||||
|
||||
# polkit agent
|
||||
if [[ ! 'pidof polkit-gnome-authentication-agent-1' ]];then
|
||||
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
||||
fi
|
||||
|
||||
# Apply themes
|
||||
${SCRIPTSDIR}/gtkthemes &
|
||||
|
||||
# Lauch notification daemon (mako)
|
||||
${SCRIPTSDIR}/notifications &
|
||||
|
||||
# Lauch statusbar (waybar)
|
||||
${SCRIPTSDIR}/statusbar &
|
||||
|
||||
# Xauthority
|
||||
${SCRIPTSDIR}/xauthority &
|
||||
|
||||
dex $HOME/.config/autostart/arcolinux-welcome-app.desktop &
|
||||
|
||||
#insync start &
|
||||
#dropbox &
|
||||
#telegram-desktop &
|
||||
#discord &
|
||||
#nm-applet --indicator
|
14
.config/hypr/scripts/statusbar
Executable file
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
# Terminate already running bar instances
|
||||
killall -q waybar
|
||||
|
||||
# Wait until the processes have been shut down
|
||||
while pgrep -x waybar >/dev/null; do sleep 1; done
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE}
|
||||
fi
|
73
.config/hypr/scripts/volume
Executable file
@ -0,0 +1,73 @@
|
||||
#!/bin/bash
|
||||
|
||||
iDIR="$HOME/.config/hypr/mako/icons"
|
||||
|
||||
# Get Volume
|
||||
get_volume() {
|
||||
volume=$(pamixer --get-volume)
|
||||
echo "$volume"
|
||||
}
|
||||
|
||||
# Get icons
|
||||
get_icon() {
|
||||
current=$(get_volume)
|
||||
if [[ "$current" -eq "0" ]]; then
|
||||
echo "$iDIR/volume-mute.png"
|
||||
elif [[ ("$current" -ge "0") && ("$current" -le "30") ]]; then
|
||||
echo "$iDIR/volume-low.png"
|
||||
elif [[ ("$current" -ge "30") && ("$current" -le "60") ]]; then
|
||||
echo "$iDIR/volume-mid.png"
|
||||
elif [[ ("$current" -ge "60") && ("$current" -le "100") ]]; then
|
||||
echo "$iDIR/volume-high.png"
|
||||
fi
|
||||
}
|
||||
|
||||
# Notify
|
||||
notify_user() {
|
||||
notify-send -h string:x-canonical-private-synchronous:sys-notify -u low -i "$(get_icon)" "Volume : $(get_volume)"
|
||||
}
|
||||
|
||||
# Increase Volume
|
||||
inc_volume() {
|
||||
pamixer -i 5 && notify_user
|
||||
}
|
||||
|
||||
# Decrease Volume
|
||||
dec_volume() {
|
||||
pamixer -d 5 && notify_user
|
||||
}
|
||||
|
||||
# Toggle Mute
|
||||
toggle_mute() {
|
||||
if [ "$(pamixer --get-mute)" == "false" ]; then
|
||||
pamixer -m && notify-send -h string:x-canonical-private-synchronous:sys-notify -u low -i "$iDIR/volume-mute.png" "Volume Switched OFF"
|
||||
elif [ "$(pamixer --get-mute)" == "true" ]; then
|
||||
pamixer -u && notify-send -h string:x-canonical-private-synchronous:sys-notify -u low -i "$(get_icon)" "Volume Switched ON"
|
||||
fi
|
||||
}
|
||||
|
||||
# Toggle Mic
|
||||
toggle_mic() {
|
||||
if [ "$(pamixer --source 66 --get-mute)" == "false" ]; then
|
||||
pamixer -m --source 66 && notify-send -h string:x-canonical-private-synchronous:sys-notify -u low -i "$iDIR/microphone-mute.png" "Microphone Switched OFF"
|
||||
elif [ "$(pamixer --source 66 --get-mute)" == "true" ]; then
|
||||
pamixer -u --source 66 && notify-send -h string:x-canonical-private-synchronous:sys-notify -u low -i "$iDIR/microphone.png" "Microphone Switched ON"
|
||||
fi
|
||||
}
|
||||
|
||||
# Execute accordingly
|
||||
if [[ "$1" == "--get" ]]; then
|
||||
get_volume
|
||||
elif [[ "$1" == "--inc" ]]; then
|
||||
inc_volume
|
||||
elif [[ "$1" == "--dec" ]]; then
|
||||
dec_volume
|
||||
elif [[ "$1" == "--toggle" ]]; then
|
||||
toggle_mute
|
||||
elif [[ "$1" == "--toggle-mic" ]]; then
|
||||
toggle_mic
|
||||
elif [[ "$1" == "--get-icon" ]]; then
|
||||
get_icon
|
||||
else
|
||||
get_volume
|
||||
fi
|
79
.config/hypr/scripts/weather.sh
Executable file
@ -0,0 +1,79 @@
|
||||
#!/bin/bash
|
||||
|
||||
cachedir=~/.cache/rbn
|
||||
cachefile=${0##*/}-$1
|
||||
|
||||
if [ ! -d $cachedir ]; then
|
||||
mkdir -p $cachedir
|
||||
fi
|
||||
|
||||
if [ ! -f $cachedir/$cachefile ]; then
|
||||
touch $cachedir/$cachefile
|
||||
fi
|
||||
|
||||
# Save current IFS
|
||||
SAVEIFS=$IFS
|
||||
# Change IFS to new line.
|
||||
IFS=$'\n'
|
||||
|
||||
cacheage=$(($(date +%s) - $(stat -c '%Y' "$cachedir/$cachefile")))
|
||||
if [ $cacheage -gt 1740 ] || [ ! -s $cachedir/$cachefile ]; then
|
||||
data=($(curl -s https://en.wttr.in/$1\?0qnT 2>&1))
|
||||
echo ${data[0]} | cut -f1 -d, > $cachedir/$cachefile
|
||||
echo ${data[1]} | sed -E 's/^.{15}//' >> $cachedir/$cachefile
|
||||
echo ${data[2]} | sed -E 's/^.{15}//' >> $cachedir/$cachefile
|
||||
fi
|
||||
|
||||
weather=($(cat $cachedir/$cachefile))
|
||||
|
||||
# Restore IFSClear
|
||||
IFS=$SAVEIFS
|
||||
|
||||
temperature=$(echo ${weather[2]} | sed -E 's/([[:digit:]])+\.\./\1 to /g')
|
||||
|
||||
#echo ${weather[1]##*,}
|
||||
|
||||
# https://fontawesome.com/icons?s=solid&c=weather
|
||||
case $(echo ${weather[1]##*,} | tr '[:upper:]' '[:lower:]') in
|
||||
"clear" | "sunny")
|
||||
condition=""
|
||||
;;
|
||||
"partly cloudy")
|
||||
condition="杖"
|
||||
;;
|
||||
"cloudy")
|
||||
condition=""
|
||||
;;
|
||||
"overcast")
|
||||
condition=""
|
||||
;;
|
||||
"mist" | "fog" | "freezing fog")
|
||||
condition=""
|
||||
;;
|
||||
"patchy rain possible" | "patchy light drizzle" | "light drizzle" | "patchy light rain" | "light rain" | "light rain shower" | "rain")
|
||||
condition=""
|
||||
;;
|
||||
"moderate rain at times" | "moderate rain" | "heavy rain at times" | "heavy rain" | "moderate or heavy rain shower" | "torrential rain shower" | "rain shower")
|
||||
condition=""
|
||||
;;
|
||||
"patchy snow possible" | "patchy sleet possible" | "patchy freezing drizzle possible" | "freezing drizzle" | "heavy freezing drizzle" | "light freezing rain" | "moderate or heavy freezing rain" | "light sleet" | "ice pellets" | "light sleet showers" | "moderate or heavy sleet showers")
|
||||
condition="ﭽ"
|
||||
;;
|
||||
"blowing snow" | "moderate or heavy sleet" | "patchy light snow" | "light snow" | "light snow showers")
|
||||
condition="流"
|
||||
;;
|
||||
"blizzard" | "patchy moderate snow" | "moderate snow" | "patchy heavy snow" | "heavy snow" | "moderate or heavy snow with thunder" | "moderate or heavy snow showers")
|
||||
condition="ﰕ"
|
||||
;;
|
||||
"thundery outbreaks possible" | "patchy light rain with thunder" | "moderate or heavy rain with thunder" | "patchy light snow with thunder")
|
||||
condition=""
|
||||
;;
|
||||
*)
|
||||
condition=""
|
||||
echo -e "{\"text\":\""$condition"\", \"alt\":\""${weather[0]}"\", \"tooltip\":\""${weather[0]}: $temperature ${weather[1]}"\"}"
|
||||
;;
|
||||
esac
|
||||
|
||||
#echo $temp $condition
|
||||
|
||||
echo -e "{\"text\":\""$temperature $condition"\", \"alt\":\""${weather[0]}"\", \"tooltip\":\""${weather[0]}: $temperature ${weather[1]}"\"}"
|
85
.config/hypr/scripts/wofi-beats
Executable file
@ -0,0 +1,85 @@
|
||||
#!/bin/bash
|
||||
|
||||
## Files
|
||||
CONFIG="$HOME/.config/hypr/wofi/config"
|
||||
STYLE="$HOME/.config/hypr/wofi/style.css"
|
||||
COLORS="$HOME/.config/hypr/wofi/colors"
|
||||
|
||||
## Wofi Command
|
||||
wofi_command="wofi --show dmenu \
|
||||
--conf ${CONFIG} --style ${STYLE} --color ${COLORS} \
|
||||
--width=350 --height=380 \
|
||||
--cache-file=/dev/null \
|
||||
--hide-scroll --no-actions \
|
||||
--define=matching=fuzzy"
|
||||
|
||||
|
||||
notification(){
|
||||
notify-send "Now Playing: Lofi Radio"
|
||||
}
|
||||
|
||||
menu(){
|
||||
printf "1. Lofi Girl\n"
|
||||
printf "2. Chillhop\n"
|
||||
printf "3. Box Lofi\n"
|
||||
printf "4. The Bootleg Boy\n"
|
||||
printf "5. Radio Spinner\n"
|
||||
printf "6. SmoothChill\n"
|
||||
printf "7. Little Soul\n"
|
||||
printf "8. Fasetya\n"
|
||||
printf "9. Lofi Zone"
|
||||
}
|
||||
|
||||
main() {
|
||||
choice=$(menu | ${wofi_command} | cut -d. -f1)
|
||||
|
||||
case $choice in
|
||||
1)
|
||||
notification
|
||||
mpv "https://play.streamafrica.net/lofiradio"
|
||||
return
|
||||
;;
|
||||
2)
|
||||
notification
|
||||
mpv "http://stream.zeno.fm/fyn8eh3h5f8uv"
|
||||
return
|
||||
;;
|
||||
3)
|
||||
notification
|
||||
mpv "http://stream.zeno.fm/f3wvbbqmdg8uv"
|
||||
return
|
||||
;;
|
||||
4)
|
||||
notification ;
|
||||
mpv "http://stream.zeno.fm/0r0xa792kwzuv"
|
||||
return
|
||||
;;
|
||||
5)
|
||||
notification ;
|
||||
mpv "https://live.radiospinner.com/lofi-hip-hop-64"
|
||||
return
|
||||
;;
|
||||
6)
|
||||
notification ;
|
||||
mpv "https://media-ssl.musicradio.com/SmoothChill"
|
||||
return
|
||||
;;
|
||||
7)
|
||||
notification ;
|
||||
mpv --vid=no "https://www.youtube.com/watch?v=NiOxSuEJaTI"
|
||||
return
|
||||
;;
|
||||
8)
|
||||
notification ;
|
||||
mpv --shuffle --ytdl-raw-options="cookies=/tmp/cookies.txt" --vid=no https://www.youtube.com/playlist\?list\=PLusoefCj_Mkn6dRQMc3MxUGFHLeYT4y49
|
||||
return
|
||||
;;
|
||||
9)
|
||||
notification ;
|
||||
mpv --shuffle --ytdl-raw-options="cookies=/tmp/cookies.txt" --vid=no https://www.youtube.com/watch?v=GaW13eDQO6s
|
||||
return
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
pkill -f http && notify-send "Lofi Radio stopped" || main
|
120
.config/hypr/scripts/wttr.py
Executable file
@ -0,0 +1,120 @@
|
||||
#!/usr/bin/env python
|
||||
# From https://raw.githubusercontent.com/rxyhn/dotfiles/main/home/rxyhn/modules/desktop/waybar/scripts/waybar-wttr.py
|
||||
|
||||
import json
|
||||
import requests
|
||||
from datetime import datetime
|
||||
|
||||
WEATHER_CODES = {
|
||||
'113': '☀️',
|
||||
'116': '⛅',
|
||||
'119': '☁️',
|
||||
'122': '☁️',
|
||||
'143': '☁️',
|
||||
'176': '🌧️',
|
||||
'179': '🌧️',
|
||||
'182': '🌧️',
|
||||
'185': '🌧️',
|
||||
'200': '⛈️',
|
||||
'227': '🌨️',
|
||||
'230': '🌨️',
|
||||
'248': '☁️ ',
|
||||
'260': '☁️',
|
||||
'263': '🌧️',
|
||||
'266': '🌧️',
|
||||
'281': '🌧️',
|
||||
'284': '🌧️',
|
||||
'293': '🌧️',
|
||||
'296': '🌧️',
|
||||
'299': '🌧️',
|
||||
'302': '🌧️',
|
||||
'305': '🌧️',
|
||||
'308': '🌧️',
|
||||
'311': '🌧️',
|
||||
'314': '🌧️',
|
||||
'317': '🌧️',
|
||||
'320': '🌨️',
|
||||
'323': '🌨️',
|
||||
'326': '🌨️',
|
||||
'329': '❄️',
|
||||
'332': '❄️',
|
||||
'335': '❄️',
|
||||
'338': '❄️',
|
||||
'350': '🌧️',
|
||||
'353': '🌧️',
|
||||
'356': '🌧️',
|
||||
'359': '🌧️',
|
||||
'362': '🌧️',
|
||||
'365': '🌧️',
|
||||
'368': '🌧️',
|
||||
'371': '❄️',
|
||||
'374': '🌨️',
|
||||
'377': '🌨️',
|
||||
'386': '🌨️',
|
||||
'389': '🌨️',
|
||||
'392': '🌧️',
|
||||
'395': '❄️'
|
||||
}
|
||||
|
||||
data = {}
|
||||
|
||||
|
||||
weather = requests.get("https://wttr.in/?format=j1").json()
|
||||
|
||||
|
||||
def format_time(time):
|
||||
return time.replace("00", "").zfill(2)
|
||||
|
||||
|
||||
def format_temp(temp):
|
||||
return (hour['FeelsLikeC']+"°").ljust(3)
|
||||
|
||||
|
||||
def format_chances(hour):
|
||||
chances = {
|
||||
"chanceoffog": "Fog",
|
||||
"chanceoffrost": "Frost",
|
||||
"chanceofovercast": "Overcast",
|
||||
"chanceofrain": "Rain",
|
||||
"chanceofsnow": "Snow",
|
||||
"chanceofsunshine": "Sunshine",
|
||||
"chanceofthunder": "Thunder",
|
||||
"chanceofwindy": "Wind"
|
||||
}
|
||||
|
||||
conditions = []
|
||||
for event in chances.keys():
|
||||
if int(hour[event]) > 0:
|
||||
conditions.append(chances[event]+" "+hour[event]+"%")
|
||||
return ", ".join(conditions)
|
||||
|
||||
tempint = int(weather['current_condition'][0]['FeelsLikeC'])
|
||||
extrachar = ''
|
||||
if tempint > 0 and tempint < 10:
|
||||
extrachar = '+'
|
||||
|
||||
|
||||
data['text'] = ' '+WEATHER_CODES[weather['current_condition'][0]['weatherCode']] + \
|
||||
" "+extrachar+weather['current_condition'][0]['FeelsLikeC']+"°"
|
||||
|
||||
data['tooltip'] = f"<b>{weather['current_condition'][0]['weatherDesc'][0]['value']} {weather['current_condition'][0]['temp_C']}°</b>\n"
|
||||
data['tooltip'] += f"Feels like: {weather['current_condition'][0]['FeelsLikeC']}°\n"
|
||||
data['tooltip'] += f"Wind: {weather['current_condition'][0]['windspeedKmph']}Km/h\n"
|
||||
data['tooltip'] += f"Humidity: {weather['current_condition'][0]['humidity']}%\n"
|
||||
for i, day in enumerate(weather['weather']):
|
||||
data['tooltip'] += f"\n<b>"
|
||||
if i == 0:
|
||||
data['tooltip'] += "Today, "
|
||||
if i == 1:
|
||||
data['tooltip'] += "Tomorrow, "
|
||||
data['tooltip'] += f"{day['date']}</b>\n"
|
||||
data['tooltip'] += f"⬆️{day['maxtempC']}° ⬇️{day['mintempC']}° "
|
||||
data['tooltip'] += f"🌅{day['astronomy'][0]['sunrise']} 🌇{day['astronomy'][0]['sunset']}\n"
|
||||
for hour in day['hourly']:
|
||||
if i == 0:
|
||||
if int(format_time(hour['time'])) < datetime.now().hour-2:
|
||||
continue
|
||||
data['tooltip'] += f"{format_time(hour['time'])} {WEATHER_CODES[hour['weatherCode']]} {format_temp(hour['FeelsLikeC'])} {hour['weatherDesc'][0]['value']}, {format_chances(hour)}\n"
|
||||
|
||||
|
||||
print(json.dumps(data))
|
5
.config/hypr/waybar-alt-1/CREDITS
Executable file
@ -0,0 +1,5 @@
|
||||
code is coming from
|
||||
|
||||
https://github.com/yurihikari/garuda-sway-config
|
||||
|
||||
waybar-alt-1
|
19
.config/hypr/waybar-alt-1/colors.css
Executable file
@ -0,0 +1,19 @@
|
||||
/*
|
||||
* Copyright (C) 2020-2023 Aditya Shakya <adi1090x@gmail.com>
|
||||
*/
|
||||
|
||||
/** ********** Colors ********** **/
|
||||
@define-color background #20262C;
|
||||
@define-color background-alt1 #343A40;
|
||||
@define-color background-alt2 #3E444A;
|
||||
@define-color foreground #f1fcf9;
|
||||
@define-color black #000000;
|
||||
@define-color red #DB86BA;
|
||||
@define-color green #74DD91;
|
||||
@define-color yellow #E49186;
|
||||
@define-color blue #75DBE1;
|
||||
@define-color magenta #B4A1DB;
|
||||
@define-color cyan #9EE9EA;
|
||||
@define-color pink #D04E9D;
|
||||
@define-color orange #DB695B;
|
||||
@define-color white #FFFFFF;
|
264
.config/hypr/waybar-alt-1/config-background.ini
Executable file
@ -0,0 +1,264 @@
|
||||
// Edited for Garuda Linux by yurihikari
|
||||
{
|
||||
"layer": "top", // Waybar at top layer
|
||||
"position": "top", // Waybar position (top|bottom|left|right)
|
||||
"height": 30,
|
||||
"margin": "0 0 0 0",
|
||||
//"width": 1350, // Waybar width
|
||||
// Choose the order of the modules idle_inhibitor
|
||||
"modules-left": [
|
||||
"custom/launcher",
|
||||
"hyprland/workspaces",
|
||||
"custom/swap",
|
||||
"custom/changewaybar",
|
||||
"tray",
|
||||
],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": [
|
||||
"backlight",
|
||||
"pulseaudio",
|
||||
"hyprland/language",
|
||||
"temperature",
|
||||
"memory",
|
||||
"battery",
|
||||
"network",
|
||||
"custom/power"
|
||||
],
|
||||
|
||||
// Modules configuration
|
||||
|
||||
"hyprland/workspaces": {
|
||||
"format": "{icon}",
|
||||
"on-click": "activate",
|
||||
"all-outputs": true,
|
||||
"format-icons": {
|
||||
"1": "1",
|
||||
"2": "2",
|
||||
"3": "3",
|
||||
"4": "4",
|
||||
"5": "5",
|
||||
"6": "6",
|
||||
"7": "7",
|
||||
"8": "8",
|
||||
"9": "9",
|
||||
"10": "10",
|
||||
"urgent": "",
|
||||
"default": ""
|
||||
},
|
||||
"sort-by-number": true
|
||||
},
|
||||
"mpd": {
|
||||
"tooltip": true,
|
||||
"tooltip-format": "{artist} - {album} - {title} - Total Time : {totalTime:%M:%S}",
|
||||
"format": " {elapsedTime:%M:%S}",
|
||||
"format-disconnected": "⚠ Disconnected",
|
||||
"format-stopped": " Not Playing",
|
||||
"on-click": "mpc toggle",
|
||||
"state-icons": {
|
||||
"playing": "",
|
||||
"paused": ""
|
||||
}
|
||||
},
|
||||
"mpd#2": {
|
||||
"format": "",
|
||||
"format-disconnected": "",
|
||||
"format-paused": "",
|
||||
"format-stopped": "",
|
||||
// Commands to execute on events
|
||||
"on-click": "mpc -q pause && mpc -q prev && mpc -q start"
|
||||
},
|
||||
"mpd#3": {
|
||||
"interval": 1,
|
||||
"format": "{stateIcon}",
|
||||
"format-disconnected": "",
|
||||
"format-paused": "{stateIcon}",
|
||||
"format-stopped": "",
|
||||
"state-icons": {
|
||||
"paused": "",
|
||||
"playing": ""
|
||||
},
|
||||
// Commands to execute on events
|
||||
"on-click": "mpc toggle"
|
||||
},
|
||||
"mpd#4": {
|
||||
"format": "",
|
||||
"format-disconnected": "",
|
||||
"format-paused": "",
|
||||
"format-stopped": "",
|
||||
// Commands to execute on events
|
||||
"on-click": "mpc -q pause && mpc -q next && mpc -q start"
|
||||
},
|
||||
"custom/swap": {
|
||||
"on-click": "~/.config/hypr/waybar/scripts/swap.sh",
|
||||
"tooltip": true,
|
||||
"tooltip-format": "Swap between waybar configs",
|
||||
"format": "BG"
|
||||
},
|
||||
"custom/mpd": {
|
||||
"format": " {title} - {artist}",
|
||||
"interval": 5,
|
||||
"exec": "mpc current --format='\"title\":\"%title%\",\"artist\":\"%artist%\"'"
|
||||
},
|
||||
"custom/cava-internal": {
|
||||
"exec": "sh ~/.config/waybar/scripts/Cava.sh",
|
||||
"format": "{}",
|
||||
"on-click": "sh ~/.config/hypr/scripts/statusbar &",
|
||||
"tooltip": false,
|
||||
"layer": "below",
|
||||
"output": "all"
|
||||
},
|
||||
"sway/mode": {
|
||||
"format": "<span style=\"italic\">{}</span>"
|
||||
},
|
||||
"sway/window": {
|
||||
"format": "~ {app_id}"
|
||||
},
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
}
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 14,
|
||||
"spacing": 5
|
||||
},
|
||||
"clock": {
|
||||
"interval": 60,
|
||||
"align": 0,
|
||||
"rotate": 0,
|
||||
"tooltip-format": "<big>{:%B %Y}</big>\n<tt><small>{calendar}</small></tt>",
|
||||
"format": "{:%d %b, %H:%M}",
|
||||
"format-alt": " {:%a %b %d, %G}",
|
||||
"on-click-right": "~/.config/hypr/scripts/changeWallpaper",
|
||||
},
|
||||
"cpu": {
|
||||
// "interval": 5,
|
||||
// "format": " {usage}%",
|
||||
"interval": 1,
|
||||
"format": "{icon0}{icon1}{icon2}{icon3} {usage:>2}% ",
|
||||
"format-icons": [
|
||||
"▁",
|
||||
"▂",
|
||||
"▃",
|
||||
"▄",
|
||||
"▅",
|
||||
"▆",
|
||||
"▇",
|
||||
"█"
|
||||
],
|
||||
},
|
||||
"cpu": {
|
||||
"format": " {usage: >3}%",
|
||||
"on-click": "alacritty -e htop"
|
||||
},
|
||||
"memory": {
|
||||
"format": " {: >1}%",
|
||||
"on-click": "alacritty -e htop"
|
||||
},
|
||||
"temperature": {
|
||||
// "thermal-zone": 2,
|
||||
"hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input",
|
||||
"critical-threshold": 80,
|
||||
// "format-critical": "{temperatureC}°C ",
|
||||
"format": " {temperatureC}°C"
|
||||
},
|
||||
"backlight": {
|
||||
// "device": "acpi_video1",
|
||||
"format": "{icon} {percent: >3}%",
|
||||
"format-icons": ["", ""],
|
||||
// "on-scroll-down": "brightnessctl -c backlight set 5%-",
|
||||
"on-scroll-down": "~/.config/hypr/scripts/brightness --dec",
|
||||
// "on-scroll-up": "brightnessctl -c backlight set +5%"
|
||||
"on-scroll-up": "~/.config/hypr/scripts/brightness --inc"
|
||||
},
|
||||
"battery": {
|
||||
"states": {
|
||||
// "good": 95,
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{icon} {capacity: >3}%",
|
||||
// "format-good": "", // An empty format will hide the module
|
||||
// "format-full": "",
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
//"format-icons": ["", "", "", "", "", "", "", "", "", ""]
|
||||
},
|
||||
"network": {
|
||||
// "interface": "wlp2s0", // (Optional) To force the use of this interface
|
||||
"format": "⚠ Disabled",
|
||||
"format-wifi": " {essid}",
|
||||
// "format-ethernet": " {ifname}: {ipaddr}/{cidr}",
|
||||
"format-ethernet": " Wired",
|
||||
"format-disconnected": "⚠ Disconnected",
|
||||
// "on-click": "alacritty -e nmtui"
|
||||
"on-click": "nm-connection-editor"
|
||||
},
|
||||
"pulseaudio": {
|
||||
/* "format": "{icon} {volume}% {format_source}", */
|
||||
"format": "{icon} {volume}",
|
||||
"format-muted": " Mute",
|
||||
"format-bluetooth": " {volume}% {format_source}",
|
||||
"format-bluetooth-muted": " Mute",
|
||||
"format-source": " {volume}",
|
||||
"format-source-muted": "",
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": [
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
},
|
||||
"scroll-step": 5.0,
|
||||
"on-click": "pamixer -t",
|
||||
"on-click-right": "pavucontrol",
|
||||
"on-scroll-up": "~/.config/hypr/scripts/volume --inc",
|
||||
"on-scroll-down": "~/.config/hypr/scripts/volume --dec",
|
||||
"smooth-scrolling-threshold": 1,
|
||||
},
|
||||
"custom/pacman": {
|
||||
"format": " {}",
|
||||
"interval": 7200, // every two hours
|
||||
"exec": "i=$(checkupdates); echo \"$i\" |wc -l; echo \"$i\" |column -t |tr '\n' '\r'", // # of updates and tooltip details
|
||||
"exec-if": "exit 0", // always run; consider advanced run conditions
|
||||
"on-click": "alacritty -e sudo pacman -Syu", // update system
|
||||
"signal": 8
|
||||
},
|
||||
"custom/power": {
|
||||
"format": "⏻",
|
||||
"on-click": "archlinux-logout",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/keyboard-layout": {
|
||||
"exec": "~/.config/hypr/waybar/scripts/getInputLayout.sh",
|
||||
// Interval set only as a fallback, as the value is updated by signal
|
||||
"interval": 1,
|
||||
"format": " {}", // Icon: keyboard
|
||||
// Signal sent by Sway key binding (~/.config/sway/key-bindings)
|
||||
"signal": 1, // SIGHUP
|
||||
"tooltip": false,
|
||||
"on-click": "~/.config/waybar/scripts/keyhint.sh"
|
||||
},
|
||||
"hyprland/language": {
|
||||
"format": " {}"
|
||||
},
|
||||
"custom/launcher": {
|
||||
"format": "",
|
||||
//"format": " ",
|
||||
"on-click": "~/.config/hypr/scripts/fullmenu",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/changewaybar": {
|
||||
"on-click": "~/.bin/change-waybar-hyprland",
|
||||
"tooltip": true,
|
||||
"tooltip-format": "Swap between waybar configs",
|
||||
"format": "CW "
|
||||
},
|
||||
}
|
264
.config/hypr/waybar-alt-1/config.ini
Executable file
@ -0,0 +1,264 @@
|
||||
// Edited for Garuda Linux by yurihikari
|
||||
{
|
||||
"layer": "top", // Waybar at top layer
|
||||
"position": "top", // Waybar position (top|bottom|left|right)
|
||||
"height": 30,
|
||||
"margin": "0 0 0 0",
|
||||
//"width": 1350, // Waybar width
|
||||
// Choose the order of the modules idle_inhibitor
|
||||
"modules-left": [
|
||||
"custom/launcher",
|
||||
"hyprland/workspaces",
|
||||
"custom/swap",
|
||||
"custom/changewaybar",
|
||||
"tray",
|
||||
],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": [
|
||||
"backlight",
|
||||
"pulseaudio",
|
||||
"hyprland/language",
|
||||
"temperature",
|
||||
"memory",
|
||||
"battery",
|
||||
"network",
|
||||
"custom/power"
|
||||
],
|
||||
|
||||
// Modules configuration
|
||||
|
||||
"hyprland/workspaces": {
|
||||
"format": "{icon}",
|
||||
"on-click": "activate",
|
||||
"all-outputs": true,
|
||||
"format-icons": {
|
||||
"1": "1",
|
||||
"2": "2",
|
||||
"3": "3",
|
||||
"4": "4",
|
||||
"5": "5",
|
||||
"6": "6",
|
||||
"7": "7",
|
||||
"8": "8",
|
||||
"9": "9",
|
||||
"10": "10",
|
||||
"urgent": "",
|
||||
"default": ""
|
||||
},
|
||||
"sort-by-number": true
|
||||
},
|
||||
"mpd": {
|
||||
"tooltip": true,
|
||||
"tooltip-format": "{artist} - {album} - {title} - Total Time : {totalTime:%M:%S}",
|
||||
"format": " {elapsedTime:%M:%S}",
|
||||
"format-disconnected": "⚠ Disconnected",
|
||||
"format-stopped": " Not Playing",
|
||||
"on-click": "mpc toggle",
|
||||
"state-icons": {
|
||||
"playing": "",
|
||||
"paused": ""
|
||||
}
|
||||
},
|
||||
"mpd#2": {
|
||||
"format": "",
|
||||
"format-disconnected": "",
|
||||
"format-paused": "",
|
||||
"format-stopped": "",
|
||||
// Commands to execute on events
|
||||
"on-click": "mpc -q pause && mpc -q prev && mpc -q start"
|
||||
},
|
||||
"mpd#3": {
|
||||
"interval": 1,
|
||||
"format": "{stateIcon}",
|
||||
"format-disconnected": "",
|
||||
"format-paused": "{stateIcon}",
|
||||
"format-stopped": "",
|
||||
"state-icons": {
|
||||
"paused": "",
|
||||
"playing": ""
|
||||
},
|
||||
// Commands to execute on events
|
||||
"on-click": "mpc toggle"
|
||||
},
|
||||
"mpd#4": {
|
||||
"format": "",
|
||||
"format-disconnected": "",
|
||||
"format-paused": "",
|
||||
"format-stopped": "",
|
||||
// Commands to execute on events
|
||||
"on-click": "mpc -q pause && mpc -q next && mpc -q start"
|
||||
},
|
||||
"custom/swap": {
|
||||
"on-click": "~/.config/hypr/waybar/scripts/swap.sh",
|
||||
"tooltip": true,
|
||||
"tooltip-format": "Swap between waybar configs",
|
||||
"format": "BG"
|
||||
},
|
||||
"custom/mpd": {
|
||||
"format": " {title} - {artist}",
|
||||
"interval": 5,
|
||||
"exec": "mpc current --format='\"title\":\"%title%\",\"artist\":\"%artist%\"'"
|
||||
},
|
||||
"custom/cava-internal": {
|
||||
"exec": "sh ~/.config/waybar/scripts/Cava.sh",
|
||||
"format": "{}",
|
||||
"on-click": "sh ~/.config/hypr/scripts/statusbar &",
|
||||
"tooltip": false,
|
||||
"layer": "below",
|
||||
"output": "all"
|
||||
},
|
||||
"sway/mode": {
|
||||
"format": "<span style=\"italic\">{}</span>"
|
||||
},
|
||||
"sway/window": {
|
||||
"format": "~ {app_id}"
|
||||
},
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
}
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 14,
|
||||
"spacing": 5
|
||||
},
|
||||
"clock": {
|
||||
"interval": 60,
|
||||
"align": 0,
|
||||
"rotate": 0,
|
||||
"tooltip-format": "<big>{:%B %Y}</big>\n<tt><small>{calendar}</small></tt>",
|
||||
"format": "{:%d %b, %H:%M}",
|
||||
"format-alt": " {:%a %b %d, %G}",
|
||||
"on-click-right": "~/.config/hypr/scripts/changeWallpaper",
|
||||
},
|
||||
"cpu": {
|
||||
// "interval": 5,
|
||||
// "format": " {usage}%",
|
||||
"interval": 1,
|
||||
"format": "{icon0}{icon1}{icon2}{icon3} {usage:>2}% ",
|
||||
"format-icons": [
|
||||
"▁",
|
||||
"▂",
|
||||
"▃",
|
||||
"▄",
|
||||
"▅",
|
||||
"▆",
|
||||
"▇",
|
||||
"█"
|
||||
],
|
||||
},
|
||||
"cpu": {
|
||||
"format": " {usage: >3}%",
|
||||
"on-click": "alacritty -e htop"
|
||||
},
|
||||
"memory": {
|
||||
"format": " {: >1}%",
|
||||
"on-click": "alacritty -e htop"
|
||||
},
|
||||
"temperature": {
|
||||
// "thermal-zone": 2,
|
||||
"hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input",
|
||||
"critical-threshold": 80,
|
||||
// "format-critical": "{temperatureC}°C ",
|
||||
"format": " {temperatureC}°C"
|
||||
},
|
||||
"backlight": {
|
||||
// "device": "acpi_video1",
|
||||
"format": "{icon} {percent: >3}%",
|
||||
"format-icons": ["", ""],
|
||||
// "on-scroll-down": "brightnessctl -c backlight set 5%-",
|
||||
"on-scroll-down": "~/.config/hypr/scripts/brightness --dec",
|
||||
// "on-scroll-up": "brightnessctl -c backlight set +5%"
|
||||
"on-scroll-up": "~/.config/hypr/scripts/brightness --inc"
|
||||
},
|
||||
"battery": {
|
||||
"states": {
|
||||
// "good": 95,
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{icon} {capacity: >3}%",
|
||||
// "format-good": "", // An empty format will hide the module
|
||||
// "format-full": "",
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
//"format-icons": ["", "", "", "", "", "", "", "", "", ""]
|
||||
},
|
||||
"network": {
|
||||
// "interface": "wlp2s0", // (Optional) To force the use of this interface
|
||||
"format": "⚠ Disabled",
|
||||
"format-wifi": " {essid}",
|
||||
// "format-ethernet": " {ifname}: {ipaddr}/{cidr}",
|
||||
"format-ethernet": " Wired",
|
||||
"format-disconnected": "⚠ Disconnected",
|
||||
// "on-click": "alacritty -e nmtui"
|
||||
"on-click": "nm-connection-editor"
|
||||
},
|
||||
"pulseaudio": {
|
||||
/* "format": "{icon} {volume}% {format_source}", */
|
||||
"format": "{icon} {volume}",
|
||||
"format-muted": " Mute",
|
||||
"format-bluetooth": " {volume}% {format_source}",
|
||||
"format-bluetooth-muted": " Mute",
|
||||
"format-source": " {volume}",
|
||||
"format-source-muted": "",
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": [
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
},
|
||||
"scroll-step": 5.0,
|
||||
"on-click": "pamixer -t",
|
||||
"on-click-right": "pavucontrol",
|
||||
"on-scroll-up": "~/.config/hypr/scripts/volume --inc",
|
||||
"on-scroll-down": "~/.config/hypr/scripts/volume --dec",
|
||||
"smooth-scrolling-threshold": 1,
|
||||
},
|
||||
"custom/pacman": {
|
||||
"format": " {}",
|
||||
"interval": 7200, // every two hours
|
||||
"exec": "i=$(checkupdates); echo \"$i\" |wc -l; echo \"$i\" |column -t |tr '\n' '\r'", // # of updates and tooltip details
|
||||
"exec-if": "exit 0", // always run; consider advanced run conditions
|
||||
"on-click": "alacritty -e sudo pacman -Syu", // update system
|
||||
"signal": 8
|
||||
},
|
||||
"custom/power": {
|
||||
"format": "⏻",
|
||||
"on-click": "archlinux-logout",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/keyboard-layout": {
|
||||
"exec": "~/.config/hypr/waybar/scripts/getInputLayout.sh",
|
||||
// Interval set only as a fallback, as the value is updated by signal
|
||||
"interval": 1,
|
||||
"format": " {}", // Icon: keyboard
|
||||
// Signal sent by Sway key binding (~/.config/sway/key-bindings)
|
||||
"signal": 1, // SIGHUP
|
||||
"tooltip": false,
|
||||
"on-click": "~/.config/waybar/scripts/keyhint.sh"
|
||||
},
|
||||
"hyprland/language": {
|
||||
"format": " {}"
|
||||
},
|
||||
"custom/launcher": {
|
||||
"format": "",
|
||||
//"format": " ",
|
||||
"on-click": "~/.config/hypr/scripts/fullmenu",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/changewaybar": {
|
||||
"on-click": "~/.bin/change-waybar-hyprland",
|
||||
"tooltip": true,
|
||||
"tooltip-format": "Swap between waybar configs",
|
||||
"format": "CW "
|
||||
},
|
||||
}
|
37
.config/hypr/waybar-alt-1/machiatto.css
Executable file
@ -0,0 +1,37 @@
|
||||
/*
|
||||
*
|
||||
* Catppuccin Macchiato palette
|
||||
* Maintainer: rubyowo
|
||||
*
|
||||
*/
|
||||
|
||||
@define-color base #24273a;
|
||||
@define-color mantle #1e2030;
|
||||
@define-color crust #181926;
|
||||
|
||||
@define-color text #cad3f5;
|
||||
@define-color subtext0 #a5adcb;
|
||||
@define-color subtext1 #b8c0e0;
|
||||
|
||||
@define-color surface0 #363a4f;
|
||||
@define-color surface1 #494d64;
|
||||
@define-color surface2 #5b6078;
|
||||
|
||||
@define-color overlay0 #6e738d;
|
||||
@define-color overlay1 #8087a2;
|
||||
@define-color overlay2 #939ab7;
|
||||
|
||||
@define-color blue #8aadf4;
|
||||
@define-color lavender #b7bdf8;
|
||||
@define-color sapphire #7dc4e4;
|
||||
@define-color sky #91d7e3;
|
||||
@define-color teal #8bd5ca;
|
||||
@define-color green #a6da95;
|
||||
@define-color yellow #eed49f;
|
||||
@define-color peach #f5a97f;
|
||||
@define-color maroon #ee99a0;
|
||||
@define-color red #ed8796;
|
||||
@define-color mauve #c6a0f6;
|
||||
@define-color pink #f5bde6;
|
||||
@define-color flamingo #f0c6c6;
|
||||
@define-color rosewater #f4dbd6;
|
293
.config/hypr/waybar-alt-1/modules
Executable file
@ -0,0 +1,293 @@
|
||||
// Copyright (C) 2020-2023 Aditya Shakya <adi1090x@gmail.com>
|
||||
//
|
||||
// Waybar modules configuration
|
||||
{
|
||||
// waybar-backlight
|
||||
"backlight": {
|
||||
"interval": 2,
|
||||
//"device": "amdgpu_bl0",
|
||||
"format": "{icon}",
|
||||
"format-icons": ["", "", "", "", "", "", ""],
|
||||
// Commands to execute on events
|
||||
"on-scroll-up": "light -A 5%",
|
||||
"on-scroll-down": "light -U 5%",
|
||||
"smooth-scrolling-threshold": 1,
|
||||
},
|
||||
"backlight#2": {
|
||||
"interval": 2,
|
||||
//"device": "amdgpu_bl0",
|
||||
"format": "{percent}%",
|
||||
// Commands to execute on events
|
||||
"on-scroll-up": "light -A 5%",
|
||||
"on-scroll-down": "light -U 5%",
|
||||
"smooth-scrolling-threshold": 1,
|
||||
},
|
||||
|
||||
// waybar-battery
|
||||
"battery": {
|
||||
"interval": 60,
|
||||
//"bat": "BAT1",
|
||||
//"adapter": "ACAD",
|
||||
"full-at": 100,
|
||||
"design-capacity": false,
|
||||
"states": {
|
||||
"good": 95,
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{icon}",
|
||||
"format-charging": "",
|
||||
"format-plugged": "ﮣ",
|
||||
"format-full": "",
|
||||
"format-icons": ["", "", "", "", "", "", "", "", ""],
|
||||
"format-time": "{H}h {M}min",
|
||||
"tooltip": true,
|
||||
},
|
||||
"battery#2": {
|
||||
"interval": 60,
|
||||
//"bat": "BAT1",
|
||||
//"adapter": "ACAD",
|
||||
"full-at": 100,
|
||||
"design-capacity": false,
|
||||
"states": {
|
||||
"good": 95,
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{capacity}%",
|
||||
"format-charging": "{capacity}%",
|
||||
"format-plugged": "{capacity}%",
|
||||
"format-full": "Full",
|
||||
"format-alt": "{time}",
|
||||
"format-time": "{H}h {M}min",
|
||||
"tooltip": true,
|
||||
},
|
||||
|
||||
// waybar-clock
|
||||
"clock": {
|
||||
"tooltip-format": "<big>{:%B %Y}</big>\n<tt><small>{calendar}</small></tt>",
|
||||
"format": "",
|
||||
},
|
||||
"clock#2": {
|
||||
"interval": 60,
|
||||
"tooltip-format": "<big>{:%B %Y}</big>\n<tt><small>{calendar}</small></tt>",
|
||||
"format": "{:%I:%M %p}",
|
||||
"format-alt": "{:%a %b %d, %G}"
|
||||
},
|
||||
|
||||
// waybar-cpu
|
||||
"cpu": {
|
||||
"interval": 5,
|
||||
"format": "",
|
||||
},
|
||||
"cpu#2": {
|
||||
"interval": 5,
|
||||
"format": "{usage}%",
|
||||
},
|
||||
|
||||
// waybar-custom
|
||||
"custom/menu": {
|
||||
"format": "Arco",
|
||||
"tooltip": false,
|
||||
"on-click": "$HOME/.config/hypr/scripts/menu",
|
||||
// "on-click": "sleep 0.1; $HOME/.config/hypr/scripts/rofi_launcher",
|
||||
// "on-click-right": "sleep 0.1; $HOME/.config/hypr/scripts/rofi_runner",
|
||||
},
|
||||
|
||||
"custom/power": {
|
||||
"format": "⏻",
|
||||
"tooltip": false,
|
||||
"on-click": "archlinux-logout",
|
||||
//"on-click": "$HOME/.config/hypr/scripts/wlogout",
|
||||
//"on-click": "$HOME/.config/hypr/scripts/wofi_powermenu",
|
||||
//"on-click": "sleep 0.1; $HOME/.config/hypr/scripts/rofi_powermenu",
|
||||
},
|
||||
|
||||
// waybar-disk
|
||||
"disk": {
|
||||
"interval": 30,
|
||||
"format": "",
|
||||
},
|
||||
"disk#2": {
|
||||
"interval": 30,
|
||||
"format": "{free}",
|
||||
},
|
||||
|
||||
// waybar-memory
|
||||
"memory": {
|
||||
"interval": 10,
|
||||
"format": "",
|
||||
},
|
||||
"memory#2": {
|
||||
"interval": 10,
|
||||
"format": "{used:0.1f}G",
|
||||
},
|
||||
|
||||
// waybar-spotify
|
||||
"custom/spotify": {
|
||||
"exec": "$HOME/.config/hypr/waybar/spotify",
|
||||
"interval": 1,
|
||||
"format": "{}",
|
||||
"tooltip": true,
|
||||
"max-length": 40,
|
||||
"on-click": "playerctl play-pause",
|
||||
"on-click-middle": "playerctl previous",
|
||||
"on-click-right": "playerctl next",
|
||||
"on-scroll-up": "playerctl position 05+",
|
||||
"on-scroll-down": "playerctl position 05-",
|
||||
"smooth-scrolling-threshold": 1,
|
||||
},
|
||||
|
||||
// waybar-mpd
|
||||
"mpd": {
|
||||
"interval": 2,
|
||||
"unknown-tag": "N/A",
|
||||
"format": "{artist} - {title} | 祥 {elapsedTime:%M:%S}",
|
||||
"format-disconnected": "Disconnected",
|
||||
"format-paused": "{artist} - {title}",
|
||||
"format-stopped": "Stopped",
|
||||
"tooltip-format": "MPD (connected)",
|
||||
"tooltip-format-disconnected": "MPD (disconnected)",
|
||||
// Commands to execute on events
|
||||
"on-click": "mpc toggle",
|
||||
"on-scroll-up": "mpc seek +00:00:01",
|
||||
"on-scroll-down": "mpc seek -00:00:01",
|
||||
"smooth-scrolling-threshold": 1,
|
||||
},
|
||||
"mpd#2": {
|
||||
"format": "玲",
|
||||
"format-disconnected": "玲",
|
||||
"format-paused": "玲",
|
||||
"format-stopped": "玲",
|
||||
// Commands to execute on events
|
||||
"on-click": "mpc prev",
|
||||
},
|
||||
"mpd#3": {
|
||||
"interval": 1,
|
||||
"format": "{stateIcon}",
|
||||
"format-disconnected": "",
|
||||
"format-paused": "{stateIcon}",
|
||||
"format-stopped": "",
|
||||
"state-icons": {
|
||||
"paused": "",
|
||||
"playing": ""
|
||||
},
|
||||
// Commands to execute on events
|
||||
"on-click": "mpc toggle",
|
||||
},
|
||||
"mpd#4": {
|
||||
"format": "怜",
|
||||
"format-disconnected": "怜",
|
||||
"format-paused": "怜",
|
||||
"format-stopped": "怜",
|
||||
// Commands to execute on events
|
||||
"on-click": "mpc next",
|
||||
},
|
||||
|
||||
// waybar-network
|
||||
"network": {
|
||||
"interval": 5,
|
||||
//"interface": "wlan*", // (Optional) To force the use of this interface, set it for netspeed to work
|
||||
"format-wifi": "",
|
||||
"format-ethernet": "",
|
||||
"format-linked": "",
|
||||
"format-disconnected": "⚠",
|
||||
"format-disabled": "⚠",
|
||||
"tooltip-format": " {ifname} via {gwaddr}",
|
||||
"on-click": "[[ ! `pidof nm-connection-editor` ]] && nm-connection-editor || pkill nm-connection-e",
|
||||
},
|
||||
"network#2": {
|
||||
"interval": 5,
|
||||
//"interface": "wlan*", // (Optional) To force the use of this interface, set it for netspeed to work
|
||||
"format-wifi": "{essid}",
|
||||
"format-ethernet": "{ipaddr}/{cidr}",
|
||||
"format-linked": "{ifname} (No IP)",
|
||||
"format-disconnected": "Disconnected",
|
||||
"format-disabled": "Disabled",
|
||||
"format-alt": " {bandwidthUpBits} | {bandwidthDownBits}",
|
||||
"tooltip-format": " {ifname} via {gwaddr}",
|
||||
},
|
||||
|
||||
// waybar-pulseaudio
|
||||
"pulseaudio": {
|
||||
//"format": "{volume}% {icon} {format_source}",
|
||||
"format": "{icon}",
|
||||
"format-muted": "",
|
||||
"format-bluetooth": "",
|
||||
"format-bluetooth-muted": "",
|
||||
"format-source": "",
|
||||
"format-source-muted": "",
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "ﳌ",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", "", ""]
|
||||
},
|
||||
"scroll-step": 5.0,
|
||||
// Commands to execute on events
|
||||
"on-click": "pulsemixer --toggle-mute",
|
||||
"on-click-right": "pulsemixer --toggle-mute",
|
||||
"smooth-scrolling-threshold": 1,
|
||||
},
|
||||
"pulseaudio#2": {
|
||||
//"format": "{volume}% {icon} {format_source}",
|
||||
"format": "{volume}%",
|
||||
"format-muted": "Mute",
|
||||
"format-bluetooth": "{volume}%",
|
||||
"format-bluetooth-muted": "Mute",
|
||||
"format-source": "{volume}%",
|
||||
"scroll-step": 5.0,
|
||||
// Commands to execute on events
|
||||
"on-click": "pulsemixer --toggle-mute",
|
||||
"on-click-right": "pulsemixer --toggle-mute",
|
||||
"smooth-scrolling-threshold": 1,
|
||||
},
|
||||
|
||||
// waybar-idle-inhibitor
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
},
|
||||
"timeout": 30
|
||||
},
|
||||
|
||||
// waybar-wlr-workspaces
|
||||
"wlr/workspaces": {
|
||||
"format": "{icon}",
|
||||
"sort-by-number": true,
|
||||
"active-only": false,
|
||||
"format-icons": {
|
||||
"1": "",
|
||||
"2": "",
|
||||
"3": "",
|
||||
"4": "",
|
||||
"5": "",
|
||||
"6": "漣",
|
||||
"7": "",
|
||||
"8": "",
|
||||
"9": "",
|
||||
"10": "ﳴ",
|
||||
"urgent": "",
|
||||
"focused": "",
|
||||
"default": ""
|
||||
},
|
||||
"on-click": "activate",
|
||||
},
|
||||
|
||||
// waybar-tray
|
||||
"tray": {
|
||||
"icon-size": 16,
|
||||
"spacing": 10
|
||||
},
|
||||
"custom/changewaybar": {
|
||||
"on-click": "~/.bin/change-waybar-hyprland",
|
||||
"tooltip": true,
|
||||
"tooltip-format": "Swap between waybar configs",
|
||||
"format": "CW "
|
||||
},
|
||||
}
|
35
.config/hypr/waybar-alt-1/scripts/swap.sh
Executable file
@ -0,0 +1,35 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Set the path to the config and style files
|
||||
config_file="${HOME}/.config/hypr/waybar/config"
|
||||
config_background_file="${HOME}/.config/hypr/waybar/config-background"
|
||||
style_file="${HOME}/.config/hypr/waybar/style.css"
|
||||
style_background_file="${HOME}/.config/hypr/waybar/style-background.css"
|
||||
|
||||
# Swap names of config files
|
||||
mv "${config_file}" "${config_file}.temp"
|
||||
mv "${config_background_file}" "${config_file}"
|
||||
mv "${config_file}.temp" "${config_background_file}"
|
||||
|
||||
# Swap names of style files
|
||||
mv "${style_file}" "${style_file}.temp"
|
||||
mv "${style_background_file}" "${style_file}"
|
||||
mv "${style_file}.temp" "${style_background_file}"
|
||||
|
||||
echo "File names swapped successfully!"
|
||||
|
||||
# kill first
|
||||
if [[ $(pidof waybar) ]]; then
|
||||
killall -q waybar
|
||||
fi
|
||||
|
||||
while pgrep -u $UID -x waybar > /dev/null;do sleep 1;done
|
||||
|
||||
|
||||
# start up again
|
||||
CONFIG="$HOME/.config/hypr/waybar/config.ini"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ ! $(pidof waybar) ]]; then
|
||||
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
|
||||
fi
|
15
.config/hypr/waybar-alt-1/spotify
Executable file
@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Copyright (C) 2020-2023 Aditya Shakya <adi1090x@gmail.com>
|
||||
##
|
||||
## Script for spotify for waybar
|
||||
|
||||
player_status=$(playerctl status 2> /dev/null)
|
||||
|
||||
if [ "$player_status" = "Playing" ]; then
|
||||
echo -e " $(playerctl metadata artist) - $(playerctl metadata title)\nPlaying: $(playerctl metadata artist) - $(playerctl metadata title)\nplaying"
|
||||
elif [ "$player_status" = "Paused" ]; then
|
||||
echo -e " $(playerctl metadata artist) - $(playerctl metadata title)\nPaused: $(playerctl metadata artist) - $(playerctl metadata title)\npaused"
|
||||
else
|
||||
echo -e " Spotify Offline!\nSpotify Offline.\noffline"
|
||||
fi
|