summaryrefslogtreecommitdiff
path: root/hypr/hyprland.conf
blob: 6177c392351f22966051b2af5da5ef06870fecd3 (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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
# 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
}

# 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


# Monitors
#        Name       Resolution  Position  Scale
monitor = HDMI-A-1, 1920x1080,  1920x0,   1
monitor = DP-2,     1920x1080,  0x0,      1

# Workspaces
workspace = DP-2,     1
workspace = HDMI-A-1, 11

# HDMI-A-1 Workspaces
workspace=11,monitor:HDMI-A-1,default:true
workspace=12,monitor:HDMI-A-1
workspace=13,monitor:HDMI-A-1
workspace=14,monitor:HDMI-A-1
workspace=15,monitor:HDMI-A-1
workspace=16,monitor:HDMI-A-1
workspace=17,monitor:HDMI-A-1
workspace=18,monitor:HDMI-A-1
workspace=19,monitor:HDMI-A-1

# DP-1 Workspaces
workspace=1,monitor:DP-2,default:true
workspace=2,monitor:DP-2
workspace=3,monitor:DP-2
workspace=4,monitor:DP-2
workspace=5,monitor:DP-2
workspace=6,monitor:DP-2
workspace=7,monitor:DP-2
workspace=8,monitor:DP-2
workspace=9,monitor:DP-2

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

bind=SUPER_SHIFT, 1, exec,  hyprsome move 1
bind=SUPER_SHIFT, 2, exec,  hyprsome move 2
bind=SUPER_SHIFT, 3, exec,  hyprsome move 3
bind=SUPER_SHIFT, 4, exec,  hyprsome move 4
bind=SUPER_SHIFT, 5, exec,  hyprsome move 5
bind=SUPER_SHIFT, 6, exec,  hyprsome move 6
bind=SUPER_SHIFT, 7, exec,  hyprsome move 7
bind=SUPER_SHIFT, 8, exec,  hyprsome move 8
bind=SUPER_SHIFT, 9, exec,  hyprsome move 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