aboutsummaryrefslogtreecommitdiff
path: root/hypr/hyprland.conf
blob: 8e2813d83238f6e939b97f8dcf9f99ab6ebe3ba5 (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
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

exec-once = xwayland-satellite
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 = wpaperd
exec-once = wl-paste -t text --watch cliphist store
exec-once = ulauncher --hide-window
exec-once = kanshi
exec-once = ashell
exec-once = hyprsunset

bind = $mod ALT  , q                    , exec           , hyprshutdown
bind = $mod      , TAB                  , workspace      , previous
bind = $mod      , BackSpace            , killactive
bind = $mod      , f                    , fullscreen
bind = $mod SHIFT, space                , togglefloating
bind = $mod SHIFT, space                , pin
bind = $mod ALT  , l                    , exec           , sleep 1 && swaylock -i $(wpaperctl get eDP-1) && swaylock -i $(wpaperctl get eDP-1)
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
bind = $mod SHIFT, Comma                , movewindow     , mon:-1
bind = $mod      , h                    , layoutmsg      , mfact, -0.1
bind = $mod      , l                    , layoutmsg      , mfact, +0.1
bind = $mod      , m                    , layoutmsg      , swapwithmaster
bind = $mod      , Return               , exec           , $terminal
bind = $mod SHIFT, Return               , exec           , [float] $terminal
bind = $mod CTRL , Return               , exec           , kitten quick-access-terminal
bind = $mod      , D                    , exec           , ulauncher --toggle
bind = $mod      , C                    , exec           , cliphist wipe
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 SHIFT, code:10              , movetoworkspace, 1
bind = $mod      , code:11              , workspace      , 2
bind = $mod SHIFT, code:11              , movetoworkspace, 2
bind = $mod      , code:12              , workspace      , 3
bind = $mod SHIFT, code:12              , movetoworkspace, 3
bind = $mod      , code:13              , workspace      , 4
bind = $mod SHIFT, code:13              , movetoworkspace, 4

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

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