aboutsummaryrefslogtreecommitdiff
path: root/hypr/hyprland.conf
blob: 3e0e2475840a2592232340374dd9efdef12163e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
general {
  border_size = 2
  col.active_border = rgba(799df6ff)
  col.inactive_border = rgba(dfdfdfff)
  gaps_in = 0
  gaps_out = 0
  layout = master
}

input {
  touchpad {
    natural_scroll = true
  }
  follow_mouse = 2
  kb_layout = br,us
  kb_options = compose:ralt,grp:win_space_toggle
  repeat_delay = 250
  repeat_rate = 40
}

xwayland {
  force_zero_scaling = true
}

master {
  mfact = 0.600000
  new_on_top = true
  new_status = inherit
}

$mod = SUPER
$terminal = kitty

# pro xwayland-satellite funcionar
env = DISPLAY, :0
env = GRIM_DEFAULT_DIR, "$HOME/Imagens/screenshots";
env = LIBVA_DRIVER_NAME,nvidia
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = NVD_BACKEND,direct

exec-once = anyrun daemon
exec-once = ashell
exec-once = dbus-update-activation-environment --systemd --all WAYLAND_DISPLAY XDG_CURRENT_DESKTOP MOZ_ENABLE_WAYLAND PASSWORD_STORE_DIR && systemctl --user stop hyprland-session.target && systemctl --user start hyprland-session.target
exec-once = hyprctl setcursor LyraB-cursors 32
exec-once = hypridle
exec-once = hyprsunset
exec-once = kanshi
exec-once = systemctl --user start opentabletdriver.service
exec-once = wl-paste -t text --watch cliphist store
exec-once = wpaperd
exec-once = xwayland-satellite
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
bind = $mod ALT  , q                          , exec                 , hyprshutdown
bind = $mod      , TAB                        , workspace            , previous
bind = $mod      , q                          , killactive
bind = $mod      , f                          , fullscreen
bind = $mod SHIFT, f                          , togglefloating
bind = $mod SHIFT, f                          , pin
bind = $mod ALT  , l                          , exec                 , hyprlock
bind = $mod      , j                          , cyclenext            , none
bind = $mod      , k                          , cyclenext            , prev
bind = $mod SHIFT, j                          , swapnext             , none
bind = $mod SHIFT, k                          , swapnext             , prev
bind = $mod      , Period                     , focusmonitor         , +1
bind = $mod      , Comma                      , focusmonitor         , -1
bind = $mod SHIFT, Period                     , movewindow           , mon:+1 silent
bind = $mod SHIFT, Comma                      , movewindow           , mon:-1 silent
bind = $mod      , h                          , layoutmsg            , mfact, -0.1
bind = $mod      , l                          , layoutmsg            , mfact, +0.1
bind = $mod      , m                          , layoutmsg            , swapwithmaster
bind = $mod      , e                          , exec                 , $terminal
bind = $mod SHIFT, e                          , exec                 , [float] $terminal
bind =           , F24                        , exec                 , kitten quick-access-terminal
bind = CTRL SHIFT, space                      , exec                 , anyrun
bind = $mod SHIFT, c                          , exec                 , cliphist wipe
bind = $mod      , v                          , exec                 , cliphist list | anyrun --plugins libstdin.so | cliphist decode | wl-copy
bind =           , Print                      , exec                 , slurp | grim -g -
bind = ALT       , Print                      , exec                 , grim
bind =           , XF86AudioMute              , exec                 , wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bind =           , XF86AudioLowerVolume       , exec                 , wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.05-
bind =           , XF86AudioRaiseVolume       , exec                 , wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.05+
bind =           , XF86AudioMicMute           , exec                 , wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bind =           , XF86AudioStop              , exec                 , playerctl stop
bind =           , XF86AudioPlay              , exec                 , playerctl play-pause
bind =           , XF86AudioPrev              , exec                 , playerctl previous
bind =           , XF86AudioNext              , exec                 , playerctl next
bind =           , XF86MonBrightnessDown      , exec                 , brightnessctl s 10%-
bind =           , XF86MonBrightnessUp        , exec                 , brightnessctl s 10%+
bind = SHIFT     , F11                        , exec                 , brightnessctl s 10%-
bind = SHIFT     , F12                        , exec                 , brightnessctl s 10%+
bind = $mod      , code:10                    , workspace            , 1
bind = $mod      , code:11                    , workspace            , 2
bind = $mod      , code:12                    , workspace            , 3
bind = $mod      , code:13                    , workspace            , 4
bind = $mod SHIFT, code:10                    , movetoworkspacesilent, 1
bind = $mod SHIFT, code:11                    , movetoworkspacesilent, 2
bind = $mod SHIFT, code:12                    , movetoworkspacesilent, 3
bind = $mod SHIFT, code:13                    , movetoworkspacesilent, 4

bindm = $mod     , mouse:272            , movewindow
bindm = $mod     , mouse:273            , resizewindow
bindm = $mod     , mouse:274            , togglefloating

windowrule = workspace 2 silent, match:class FreeTube
windowrule = workspace 2 silent, match:class org.nicotine_plus.Nicotine
windowrule = workspace 3 silent, match:class steam
windowrule = workspace 3 silent, match:class vesktop
windowrule = workspace 3 silent, match:class FreeTube
windowrule = workspace 4 silent, match:class firefox
windowrule = workspace 4 silent, match:class org.qutebrowser.qutebrowser
windowrule = workspace 3 silent, match:title ^Steam
windowrule = workspace 2 silent, match:title ^PEAK.exe