-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhyprland.html
More file actions
234 lines (158 loc) · 6.2 KB
/
hyprland.html
File metadata and controls
234 lines (158 loc) · 6.2 KB
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/x-icon" href="assets/images/favicon.png">
<title>Archup - Hyprland</title>
<link rel="stylesheet" href="styles/body.css">
<link rel="stylesheet" href="styles/text.css">
<link rel="stylesheet" href="styles/header.css">
<link rel="stylesheet" href="styles/containers.css">
</head>
<body>
<a target="_blank" href="https://github.com/o7q/archup"><img src="assets/images/arch.png" class="center" style="width: 100px;"></a>
<p class="text text--h1 center" style="line-height: 0px;">Archup</p>
<p class="text center">A straight to the point Arch Linux installation guide for beginners.</p>
<div class="section">
<p class="text text--h2">Hyprland Cheat Sheet</p>
<p class="text">Setting up Hyprland is quite an involved process. This section is not a guide as it will only provide useful packages and basic configurations, it does not hold your hand in any way and will require you to do your own research.</p>
<p class="text"><strong>If you run into issues, consult the <a target="_blank" class="text" href="https://wiki.hypr.land">Hyprland Wiki</a>!</strong></p>
<div class="textarea">
<span class="textarea-text">Hyprland Configuration Cheat Sheet
- This is my own personal Hyprland cheat sheet, it contains recommend programs and my own configurations. It's up to you to choose what you want.
======== PACKAGES ========
sddm
hyprland
hyprpaper - for wallpapers
hyprshot - for screenshots
hyprpicker - for color picking
hypridle - for idle sleeping
kitty - terminal
fish - shell
rofi
waybar
cliphist - for clipboard history
mako - desktop notification daemon
pavucontrol - gui for pulseaudio
mousepad - text editor
thunar - file browser
gvfs - file browser extension (removeable drives, trash, etc.)
tumbler - file browser extension (image thumbnails)
ffmpegthumbnailer - file browser extension (video thumbnails)
xarchiver - gui archiver
feh - image viewer
btop - task viewer
mpv - media player
f3d - 3d viewer
nwg-look - for GTK theming
kvantum - for QT theming
ufw - firewall
noto-fonts
noto-fonts-cjk - asian characters
noto-fonts-emoji
noto-fonts-extra
ttf-noto-nerd - nerd font, fixes some missing characters, such as for waybar
hyprpolkitagent - polkit authentication agent
==========================
======== START THE FOLLOWING SERVICES ========
> fixes audio and screenshare issues
pipewire [user]
pipewire-pulse [user]
wireplumber [user]
xdg-desktop-portal-hyprland [user]
hyprpolkitagent [user]
==============================================
======== SETUP FISH SHELL ========
chsh -s /bin/fish
nano ~/.config/fish/config.fish
set fish_greeting
==================================
======== OH MY POSH FISH ========
nano ~/.config/fish/config.fish
oh-my-posh init fish --config <THEME> | source
=================================
======== CHANGE WALLPAPER ========
nano ~/.config/hypr/hyprpaper.conf
preload=/path/to/image.png
wallpaper=<MONITOR>,/path/to/image.png
==================================
======== ENABLE MONITOR IDLE ========
nano ~/.config/hypr/hypridle.conf
listener {
timeout = 60
on-timeout = hyprctl dispatch dpms off
on-resume = hyprctl dispatch dpms on
}
=====================================
======== MONITOR CONFIG TEMPLATE ========
monitor=<MONITOR>,1920x1080@60,0x0,1 # (use "hyprctl monitors" to get IDs)
=========================================
======== KITTY STYLING ========
nano ~/.config/kitty/kitty.conf
background_opacity 0.9
background #15191a
foreground #b8faff
===============================
======== CLIPBOARD HISTORY ========
nano ~/.config/hypr/hyprland.conf
exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store
bind = $mainMod, V, exec, cliphist list | rofi -dmenu -display-columns 2 | cliphist decode | wl-copy
===================================
======== SCREENSHOTS ========
nano ~/.config/hypr/hyprland.conf
bind = , PRINT, exec, hyprshot -m region --clipboard-only
=============================
======== DISABLE MOUSE ACCELERATION ========
nano ~/.config/hypr/hyprland.conf
accel_profile = flat
============================================
======== HYPRPICKER ========
nano ~/.config/hypr/hyprland.conf
bind = CTRL, PRINT, exec, hyprpicker -a
============================
======== DISABLE GRUB BOOT MENU ========
sudo nano /etc/default/grub
GRUB_TIMEOUT=0
GRUB_TIMEOUT_STYLE=hidden
sudo grub-mkconfig -o /boot/grub/grub.cfg
========================================
======== FIX TIME AUTO-SYNC ========
sudo timedatectl set-ntp true
====================================
======== SDDM AUTOLOGIN ========
sudo nano /etc/sddm.conf
[Autologin]
User=jame
Session=hyprland.desktop
================================
======== FIX THUNAR TERMINAL OPEN ========
Edit Custom Actions: kitty -d %f
==========================================
======== FIX DIRECTORY OPEN ========
xdg-mime default thunar.desktop inode/directory
====================================
======== WAYBAR PRESETS ========
https://github.com/Alexays/Waybar/wiki/Examples
> Put in ~/.config/waybar
================================
======== KVANTUM CONFIG ========
nano ~/.config/hypr/hyprland.conf
# force Kvantum if you want consistent theming across apps
env = QT_STYLE_OVERRIDE,Kvantum
================================
======== GTK DARK THEME ========
gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"
================================
======== FIREWALL ========
sudo ufw <MODE (allow or limit)> <PORT>/tcp
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw enable
sudo ufw status verbose
================================
</span>
</div>
</body>
</html>