personal dotfiles: my Hyprland config
Diffstat (limited to '.config/hypr/hyprland.conf')
-rw-r--r--.config/hypr/hyprland.conf38
1 files changed, 27 insertions, 11 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf
index 1b0e964..9e65cae 100644
--- a/.config/hypr/hyprland.conf
+++ b/.config/hypr/hyprland.conf
@@ -1,35 +1,51 @@
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=,preferred,auto,auto
-monitor=DSI-1,preferred,auto,3
+monitor=DSI-1,preferred,auto,2.66666
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
# Execute your favorite apps at launch
# exec-once = waybar & hyprpaper & firefox
+exec-once = swaybg -i ~/Pictures/background.jpg -m center
exec-once = waybar
exec-once = mako
-exec-once = vte-2.91
+# config mako notifications with switch
+exec-once = switch.sh
# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf
# Set programs that you use
+env = SXMO_TERMINAL,vte-2.91 -T 30 --whole-window-transparent -n 300 --use-theme-colors --
+env = TERMINAL,sxmo_terminal.sh
$terminal = vte-2.91
-$fileManager = dolphin
+$terminal_opts = -T 30 --whole-window-transparent -n 300 --use-theme-colors
+exec-once = $terminal $terminal_opts
+$fileManager = dev.tchx84.Portfolio
# $menu = bemenu-run -s -n -w -c -l8 -M 40 -H 20
-$menu = rofi -show drun
+$dmenu = bemenu --scrollbar autohide -s -n -w -c -l12 -M 40 -H 20 #--cb 22222288 --cf bbbbbb --tb 005577 --tf eeeeee --fb 22222288 --ff bbbbbb --nb 22222288 --af bbbbbb --ab 22222288 --nf bbbbbb --hb 005577 --hf eeeeee --scb 005577 --scf eeeeee --fbb eeeeee --fbf 22222288
+#$menu = rofi -show drun
+#$menu = exec $(j4-dmenu-desktop --no-generic --dmenu="$dmenu" --term="$terminal" --no-exec |sed 's/ -e/ --/g')
+$menu = nwggrid
$keyboard = wvkbd-mobintl
-$keyboard_args = -l simple,specialpad -H 160 -O | swipeB
-exec-once = $keyboard $keyboard_args
-#wvkbd-mobintl -H 160 -O | swipeB
+$keyboard_args = -l simple,specialpad -H 160 -O --bg 22222288 | swipeB
+# starting the keyboard is bad because of a wvkbd bug where it burns CPU?
+# So kill the keyboard instead to workaround that bug.
+exec-once = killall $keyboard
+#exec-once = $keyboard $keyboard_args
+
+$lock = swaylock --grace 100000 --indicator --clock --datestr "%Y-%m-%d" --screenshots --effect-blur 10x10
+
+# fix kde apps
+env = QT_QPA_SYSTEM_ICON_THEME,breeze
# Some default env vars.
env = XCURSOR_SIZE,24
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
- kb_layout = us
+ #kb_layout = us
kb_variant =
kb_model =
kb_options =
@@ -110,7 +126,7 @@ gestures {
workspace_swipe_min_speed_to_force = 5
# https://github.com/hyprwm/Hyprland/pull/4489
# (not merged yet)
- workspace_swipe_touch = 1
+ workspace_swipe_touch = on
workspace_swipe_invert = off
workspace_swipe_forever = on
#workspace_swipe_direction_lock = on
@@ -127,7 +143,7 @@ misc {
# 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.
+# windowrulev2 = nomaximizerequest, class:.* # You'll probably like this.
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
@@ -188,7 +204,7 @@ bindm = $mainMod, mouse:273, resizewindow
bindi = , XF86AudioRaiseVolume, exec, $menu
# need a lock screen to avoid triggering this when screen is off.
#bindi = , XF86AudioRaiseVolume, exec, hyprctl dispatch submap menu; $menu; hyprctl dispatch submap reset
-bindi = , XF86AudioLowerVolume, exec, pkill -SIGRTMIN -f wvkbd-mobintl & pkill -SIGRTMIN suggpicker
+bindi = , XF86AudioLowerVolume, exec, pkill -SIGRTMIN -f wvkbd-mobintl & pkill -SIGRTMIN -f suggpicker
# if someone killed the keyboard, restart it
bindi =, XF86AudioLowerVolume, execr, pgrep $keyboard || $keyboard $keyboard_args