mirror of
https://github.com/VectorKappa/dotfiles.git
synced 2025-12-19 16:26:10 +01:00
Hyprland config + touchscreen mode for my new laptop
This commit is contained in:
7
hyprland/.config/hypr/autostart.sh
Executable file
7
hyprland/.config/hypr/autostart.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/dash
|
||||
xhost + local: ;
|
||||
swww init;
|
||||
flameshot & disown;
|
||||
/usr/lib/mate-polkit/polkit-mate-authentication-agent-1 &
|
||||
wayvnc & disown;
|
||||
$HOME/.config/waybar/launcher.sh
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
monitor=DP-1,1920x1080@60,0x0,1
|
||||
monitor=DP-3,1920x1080@60,1920x0,1
|
||||
monitor=eDP-1,1920x1080@60,0x0,1
|
||||
#workspace=DP-1,1
|
||||
workspace=1, m:DP-1
|
||||
workspace=2, m:DP-1
|
||||
@@ -26,6 +27,9 @@ input {
|
||||
kb_rules=
|
||||
numlock_by_default=true
|
||||
follow_mouse=1
|
||||
touchpad {
|
||||
natural_scroll=true
|
||||
}
|
||||
}
|
||||
|
||||
general {
|
||||
@@ -67,12 +71,17 @@ dwindle {
|
||||
#windowrule=pseudo,abc
|
||||
#windowrule=monitor 0,xyz
|
||||
|
||||
exec-once=$HOME/.local/share/hyprload/hyprload.sh
|
||||
# example binds
|
||||
bind=SUPER,Z,exec,alacritty
|
||||
bind=SUPERSHIFT,Z,exec,kitty
|
||||
bind=SUPER,X,killactive,
|
||||
bind=SUPER_SHIFT,Q,exit,
|
||||
bind=SUPER,E,exec,nemo
|
||||
bind=SUPER,F,togglefloating,
|
||||
bind=SUPER,F,fullscreen,1
|
||||
bind=SUPERSHIFT,F,fullscreen,0
|
||||
bind=SUPERSHIFT,L,exec,gtklock
|
||||
bind=SUPER,T,togglefloating,
|
||||
bind=SUPER,R,exec,wofi --show drun -o DP-3
|
||||
bind=SUPER,P,pseudo,
|
||||
bind=SUPER,SPACE,exec,rofi -modi drun,run,window,calc -show drun
|
||||
@@ -86,6 +95,9 @@ bind=SUPER,right,movefocus,r
|
||||
bind=SUPER,up,movefocus,u
|
||||
bind=SUPER,down,movefocus,d
|
||||
|
||||
bindm = SUPER, mouse:272, movewindow
|
||||
bindm = SUPER, mouse:273, resizewindow
|
||||
|
||||
bind=SUPER,1,workspace,1
|
||||
bind=SUPER,2,workspace,2
|
||||
bind=SUPER,3,workspace,3
|
||||
@@ -108,13 +120,33 @@ bind=SUPER_SHIFT,8,movetoworkspace,8
|
||||
bind=SUPER_SHIFT,9,movetoworkspace,9
|
||||
bind=SUPER_SHIFT,0,movetoworkspace,10
|
||||
|
||||
exec-once=/usr/lib/mate-polkit/polkit-mate-authentication-agent-1
|
||||
exec-once=/bin/eww open bar
|
||||
bind=SUPERSHIFT,S,exec,flameshot gui
|
||||
|
||||
# T14gen2 FN KEYS
|
||||
|
||||
bind=,XF86AudioMicMute,exec,amixer set Capture toggle
|
||||
bind=,XF86AudioMute,exec,amixer set Master toggle
|
||||
bind=,XF86AudioRaiseVolume,exec,amixer set Master playback 5%+
|
||||
bind=,XF86AudioLowerVolume,exec,amixer set Master playback 5%-
|
||||
bind=,XF86MonBrightnessUp,exec,xbacklight -inc 5
|
||||
bind=,XF86MonBrightnessDown,exec,xbacklight -dec 5
|
||||
bind=,XF86Launch2,exec,touch-mode
|
||||
bind=CTRL,XF86Launch2,exec,hyprctl keyword monitor "eDP-1,1920x1080@60,0x0,1"
|
||||
bind=SHIFT,XF86Launch2,exec,hyprctl keyword monitor "eDP-1,1920x1080@60,0x0,1.5"
|
||||
bind=SHIFT,XF86MonBrightnessDown,exec,xbacklight -set 0.01
|
||||
bind=SHIFT,XF86MonBrightnessUp,exec,xbacklight -set 100
|
||||
|
||||
exec-once=dash $HOME/.config/hypr/autostart.sh
|
||||
exec-once=hyprctl setcursor Vimix-white-cursors 24
|
||||
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
|
||||
windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$
|
||||
windowrulev2 = nofocus,class:^(xwaylandvideobridge)$
|
||||
windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
|
||||
|
||||
windowrulev2 = pin,class:^(scrcpy)$
|
||||
windowrulev2 = move onscreen 100%-30,class:^(scrcpy)$
|
||||
|
||||
plugin:hyprfocus {
|
||||
enabled = yes
|
||||
|
||||
@@ -135,7 +167,7 @@ plugin:hyprfocus {
|
||||
}
|
||||
|
||||
shrink {
|
||||
shrink_percentage = 0.9
|
||||
shrink_percentage = 0.98
|
||||
|
||||
in_bezier = bezIn
|
||||
in_speed = 0.5
|
||||
@@ -145,4 +177,3 @@ plugin:hyprfocus {
|
||||
}
|
||||
}
|
||||
|
||||
exec-once=$HOME/.local/share/hyprload/hyprload.sh
|
||||
|
||||
Reference in New Issue
Block a user