Skip to content

Commit d1ca74a

Browse files
committed
stub hyprland conf (wip)
1 parent 2a16da4 commit d1ca74a

File tree

2 files changed

+245
-1
lines changed

2 files changed

+245
-1
lines changed

.config/hypr/hyprland.conf

+244
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,244 @@
1+
2+
# vim: set syntax=conf:
3+
4+
5+
# https://wiki.hyprland.org/Configuring/Configuring-Hyprland/
6+
7+
# You can split this configuration into multiple files
8+
# Create your files separately and then link them to this file like this:
9+
# source = ~/.config/hypr/myColors.conf
10+
11+
12+
################
13+
### MONITORS ###
14+
################
15+
16+
# See https://wiki.hyprland.org/Configuring/Monitors/
17+
monitor=,preferred,auto,auto
18+
19+
20+
###################
21+
### MY PROGRAMS ###
22+
###################
23+
24+
# See https://wiki.hyprland.org/Configuring/Keywords/
25+
26+
# Set programs that you use
27+
$terminal = kitty
28+
$fileManager = pcmanfm-qt
29+
$menu = wofi --show drun
30+
31+
32+
#################
33+
### AUTOSTART ###
34+
#################
35+
36+
# Autostart necessary processes (like notifications daemons, status bars, etc.)
37+
# Or execute your favorite apps at launch like this:
38+
39+
# exec-once = $terminal
40+
# exec-once = nm-applet &
41+
# exec-once = waybar & hyprpaper & firefox
42+
43+
44+
#############################
45+
### ENVIRONMENT VARIABLES ###
46+
#############################
47+
48+
# See https://wiki.hyprland.org/Configuring/Environment-variables/
49+
50+
env = XCURSOR_SIZE,24
51+
env = HYPRCURSOR_SIZE,24
52+
53+
54+
#####################
55+
### LOOK AND FEEL ###
56+
#####################
57+
58+
# Refer to https://wiki.hyprland.org/Configuring/Variables/
59+
60+
# https://wiki.hyprland.org/Configuring/Variables/#general
61+
general {
62+
gaps_in = 5
63+
gaps_out = 20
64+
65+
border_size = 2
66+
67+
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
68+
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
69+
col.inactive_border = rgba(595959aa)
70+
71+
# Set to true enable resizing windows by clicking and dragging on borders and gaps
72+
resize_on_border = false
73+
74+
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
75+
allow_tearing = false
76+
77+
layout = dwindle
78+
}
79+
80+
# https://wiki.hyprland.org/Configuring/Variables/#decoration
81+
decoration {
82+
rounding = 10
83+
84+
# Change transparency of focused and unfocused windows
85+
active_opacity = 1.0
86+
inactive_opacity = 1.0
87+
88+
drop_shadow = true
89+
shadow_range = 4
90+
shadow_render_power = 3
91+
col.shadow = rgba(1a1a1aee)
92+
93+
# https://wiki.hyprland.org/Configuring/Variables/#blur
94+
blur {
95+
enabled = true
96+
size = 3
97+
passes = 1
98+
99+
vibrancy = 0.1696
100+
}
101+
}
102+
103+
# https://wiki.hyprland.org/Configuring/Variables/#animations
104+
animations {
105+
enabled = true
106+
107+
# Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
108+
109+
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
110+
111+
animation = windows, 1, 7, myBezier
112+
animation = windowsOut, 1, 7, default, popin 80%
113+
animation = border, 1, 10, default
114+
animation = borderangle, 1, 8, default
115+
animation = fade, 1, 7, default
116+
animation = workspaces, 1, 6, default
117+
}
118+
119+
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
120+
dwindle {
121+
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
122+
preserve_split = true # You probably want this
123+
}
124+
125+
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
126+
master {
127+
new_status = master
128+
}
129+
130+
# https://wiki.hyprland.org/Configuring/Variables/#misc
131+
misc {
132+
force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers
133+
disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
134+
}
135+
136+
137+
#############
138+
### INPUT ###
139+
#############
140+
141+
# https://wiki.hyprland.org/Configuring/Variables/#input
142+
input {
143+
kb_layout = us
144+
kb_variant =
145+
kb_model =
146+
kb_options =
147+
kb_rules =
148+
149+
follow_mouse = 1
150+
151+
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
152+
153+
touchpad {
154+
natural_scroll = false
155+
}
156+
}
157+
158+
# https://wiki.hyprland.org/Configuring/Variables/#gestures
159+
gestures {
160+
workspace_swipe = false
161+
}
162+
163+
# Example per-device config
164+
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
165+
device {
166+
name = epic-mouse-v1
167+
sensitivity = -0.5
168+
}
169+
170+
171+
###################
172+
### KEYBINDINGS ###
173+
###################
174+
175+
# See https://wiki.hyprland.org/Configuring/Keywords/
176+
$mainMod = SUPER
177+
178+
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
179+
bind = $mainMod, Return, exec, $terminal
180+
bind = $mainMod, Q, killactive,
181+
bind = $mainMod, M, exit,
182+
#bind = $mainMod, E, exec, $fileManager
183+
bind = $mainMod, V, togglefloating,
184+
bind = $mainMod, D, exec, $menu
185+
bind = $mainMod, P, pseudo, # dwindle
186+
bind = $mainMod, E, togglesplit, # dwindle
187+
188+
# Move focus with mainMod + arrow keys
189+
bind = $mainMod, left, movefocus, l
190+
bind = $mainMod, right, movefocus, r
191+
bind = $mainMod, up, movefocus, u
192+
bind = $mainMod, down, movefocus, d
193+
194+
# Switch workspaces with mainMod + [0-9]
195+
bind = $mainMod, 1, workspace, 1
196+
bind = $mainMod, 2, workspace, 2
197+
bind = $mainMod, 3, workspace, 3
198+
bind = $mainMod, 4, workspace, 4
199+
bind = $mainMod, 5, workspace, 5
200+
bind = $mainMod, 6, workspace, 6
201+
bind = $mainMod, 7, workspace, 7
202+
bind = $mainMod, 8, workspace, 8
203+
bind = $mainMod, 9, workspace, 9
204+
bind = $mainMod, 0, workspace, 10
205+
206+
# Move active window to a workspace with mainMod + SHIFT + [0-9]
207+
bind = $mainMod SHIFT, 1, movetoworkspace, 1
208+
bind = $mainMod SHIFT, 2, movetoworkspace, 2
209+
bind = $mainMod SHIFT, 3, movetoworkspace, 3
210+
bind = $mainMod SHIFT, 4, movetoworkspace, 4
211+
bind = $mainMod SHIFT, 5, movetoworkspace, 5
212+
bind = $mainMod SHIFT, 6, movetoworkspace, 6
213+
bind = $mainMod SHIFT, 7, movetoworkspace, 7
214+
bind = $mainMod SHIFT, 8, movetoworkspace, 8
215+
bind = $mainMod SHIFT, 9, movetoworkspace, 9
216+
bind = $mainMod SHIFT, 0, movetoworkspace, 10
217+
218+
# Example special workspace (scratchpad)
219+
bind = $mainMod, S, togglespecialworkspace, magic
220+
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
221+
222+
# Scroll through existing workspaces with mainMod + scroll
223+
bind = $mainMod, mouse_down, workspace, e+1
224+
bind = $mainMod, mouse_up, workspace, e-1
225+
226+
# Move/resize windows with mainMod + LMB/RMB and dragging
227+
bindm = $mainMod, mouse:272, movewindow
228+
bindm = $mainMod, mouse:273, resizewindow
229+
230+
231+
##############################
232+
## WINDOWS AND WORKSPACES ##
233+
##############################
234+
235+
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
236+
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
237+
238+
# Example windowrule v1
239+
# windowrule = float, ^(kitty)$
240+
241+
# Example windowrule v2
242+
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
243+
244+
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.

.github/workflows/ShellCheck.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
name: Shellcheck
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
9+
- uses: actions/checkout@v4
1010
- name: Run ShellCheck
1111
env:
1212
SHELLCHECK_OPTS: -e SC1090 -e SC1091

0 commit comments

Comments
 (0)