summaryrefslogtreecommitdiff
path: root/hypr/hyprland.conf
blob: 70479a2dec9153dba1807c25f495f4076b52e8cf (plain) (blame)
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
# Authentication
exec-once = systemctl --user start hyprpolkitagent

# Status Bar
exec-once = waybar

# Wallpaper
exec-once = hyprpaper

# Notification
exec-once = dunst

# Mouse Input
exec-once = solaar --window=hide

# Wireless
exec-once = nm-applet
exec-once = blueman-applet

general {
  # Border Colors
  col.active_border = rgb(a5222f)
  border_size = 4
  gaps_out = 5
}

misc {
  enable_swallow = true
  swallow_regex = kitty
}

# Input Configuration
input {
  # Repeat configuration
  repeat_rate  = 50
  repeat_delay = 300
  # Num lock
  numlock_by_default = true
}

# Split monitor setup
plugin {
  split-monitor-workspaces {
    count = 9
    keep_focused = 1
    enable_notifications = 0
    enable_persistent_workspaces  = 1
  }
}

# Volume Configuration
bind=SUPER, equal, exec,  pamixer --allow-boost -i 3
bind=SUPER, minus, exec,  pamixer --allow-boost -d 3
bind=SUPER, m,     exec,  pamixer -t

bind=SUPER, space, togglefloating

# Workspace hotkeys
bind=SUPER, 1, split-workspace, 1
bind=SUPER, 2, split-workspace, 2
bind=SUPER, 3, split-workspace, 3
bind=SUPER, 4, split-workspace, 4
bind=SUPER, 5, split-workspace, 5
bind=SUPER, 6, split-workspace, 6
bind=SUPER, 7, split-workspace, 7
bind=SUPER, 8, split-workspace, 8
bind=SUPER, 9, split-workspace, 9

bind=SUPER_SHIFT, 1, split-movetoworkspacesilent, 1
bind=SUPER_SHIFT, 2, split-movetoworkspacesilent, 2
bind=SUPER_SHIFT, 3, split-movetoworkspacesilent, 3
bind=SUPER_SHIFT, 4, split-movetoworkspacesilent, 4
bind=SUPER_SHIFT, 5, split-movetoworkspacesilent, 5
bind=SUPER_SHIFT, 6, split-movetoworkspacesilent, 6
bind=SUPER_SHIFT, 7, split-movetoworkspacesilent, 7
bind=SUPER_SHIFT, 8, split-movetoworkspacesilent, 8
bind=SUPER_SHIFT, 9, split-movetoworkspacesilent, 9

# Windows control
bind = SUPER,       Q,     killactive
bind = SUPER,       K,     cyclenext
bind = SUPER,       J,     cyclenext, prev
bind = SUPER_SHIFT, Comma, movewindow, mon:+1

# Floating window control
bindm = SUPER, mouse:272, movewindow
bindm = SUPER, mouse:273, resizewindow

# Compositor Control
bind = SUPER_SHIFT, Q, exit

# Monitor Control
bind = SUPER, Comma, focusmonitor, +1

# App Launcher
bind = SUPER, D,      exec, wmenu-run

# Applications
bind = SUPER, W,      exec, firefox
bind = SUPER, Return, exec, kitty