use Hyprland as first option with alacritty and master layout

This commit is contained in:
Łukasz Pankowski 2024-09-09 21:45:56 +02:00
parent 9e9ccd0fde
commit 00a77bf58a
2 changed files with 8 additions and 8 deletions

View File

@ -8,7 +8,7 @@ input {
general {
gaps_in = 3
gaps_out = 4
layout = dwindle
layout = master
border_size = 3
col.inactive_border = 0xff5387ac
col.active_border = 0xffac7853
@ -24,7 +24,7 @@ decoration {
}
animations {
enabled = true
enabled = false
}
misc {
@ -39,14 +39,14 @@ binds {
}
$menu = wofi -S run
$terminal = kitty || alacritty
$terminal = alacritty || kitty
$mainMod = SUPER
bind = $mainMod, P, exec, $menu
bind = $mainMod SHIFT, Return, exec, $terminal
bind = $mainMod, Return, exec, $terminal
bind = $mainMod ALT, Return, layoutmsg,swapwithmaster master
bind = $mainMod ALT, Return, exec, $terminal
bind = $mainMod, Return, layoutmsg,swapwithmaster master
bind = $mainMod CONTROL SHIFT, Q, exit
bind = $mainMod, Q, exec, hyprctl reload
bind = $mainMod CONTROL SHIFT, C, killactive

View File

@ -29,10 +29,10 @@ export PATH
# start X or Hyprland at login
if [[ -z "$DISPLAY" && -z "$WAYLAND_DISPLAY" && "$XDG_VTNR" -eq 1 ]]; then
if which river > /dev/null && [ -d ~/.config/river ]; then
exec river
elif which Hyprland > /dev/null && [ -d ~/.config/hypr ]; then
if which Hyprland > /dev/null && [ -d ~/.config/hypr ]; then
exec Hyprland
elif which river > /dev/null && [ -d ~/.config/river ]; then
exec river
elif which /usr/bin/sx > /dev/null; then
exec /usr/bin/sx ~/.xsession
fi