personal dotfiles: my Hyprland config
| -rw-r--r-- | .config/hypr/hyprland.conf | 38 | ||||
| -rw-r--r-- | .profile | 18 |
2 files changed, 45 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 @@ -4,3 +4,21 @@ export EDITOR="micro" export XDG_MUSIC_DIR="$HOME/Music" source .config/sxmo/profile export MPD_HOST=pine64-pinephone.lan + +# Change the used terminal command (rofi) +export SXMO_TERMINAL="vte-2.91 -T 30 --whole-window-transparent -n 300 --use-theme-colors --" +export TERMINAL="sxmo_terminal.sh" + +# waypipe? +export XDG_RUNTIME_DIR=/dev/shm/user/10000 +mkdir -p "$XDG_RUNTIME_DIR" + +# sxmo XDG vars +export XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}" +export XDG_CACHE_HOME="${XDG_CACHE_HOME:-$HOME/.cache}" +export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}" +export XDG_DATA_DIRS="${XDG_DATA_DIRS:-/usr/local/share:/usr/share}" +export XDG_STATE_HOME="${XDG_STATE_HOME:-$HOME/.local/state}" + +# for sxmo_vibrate +export SXMO_VIBRATE_DEV="/dev/input/by-path/platform-c440000.spmi-platform-c440000.spmi:pmic@3:haptics@c000-event" |