# As your own user
sudo pacman -Sy hyprland kitty nemo wofi swaylock brightnessctl hyprshot mako hypridle
hyprland
# Exit hyprland with modifier key and M
vim ~/.config/hypr/hyprland.conf
autogenerated = 0
vim ~/.config/hypr/hyprland.conf
$fileManager = nemo
vim ~/.config/hypr/hyprland.conf
#E.g. Norwegian layout
input {
...
kb_layout = no
...
}
vim ~/.config/hypr/hyprland.conf
monitor=,preferred,auto,1
vim ~/.config/hypr/hyprland.conf
bind = $mainMod, L, exec, swaylock -f -c 000000
vim ~/.config/hypr/hyprland.conf
env = GTK_THEME,Adwaita:dark
gsettings set org.cinnamon.desktop.default-applications.terminal exec kitty
vim .config/kitty/kitty.conf
enable_audio_bell no
#Easy way to get ctrl+c and ctrl+v to wrk between applications
#No need to install xclip or wl-clipboard
#But middle click does not work yet, seems to be different clipboard
#Remember to hold down shift when marking text in vim to copy
map ctrl+c copy_and_clear_or_interrupt
map ctrl+v paste_from_clipboard
vim ~/.config/hypr/hyprland.conf
#List your monitors to get the names
hyprctl monitors all
#Default, use this when only laptop
#monitor=,preferred,auto,1
#Using only desktop monitor
monitor = HDMI-A-1, preferred, 0x0, 1
monitor = eDP-1, disable
#Replace last with this to also use laptop monitor to the right
#monitor = eDP-1, preferred, 3780x0, 1
vim ~/.config/hypr/hypridle.conf
general {
ignore_dbus_inhibit = false # whether to ignore dbus-sent idle-inhibit requests (used by e.g. firefox or steam)
ignore_systemd_inhibit = false # whether to ignore systemd-inhibit --what=idle inhibitors
}
listener {
timeout = 300 # in seconds
on-timeout = swaylock -f -c 000000 # lock screen when timeout has passed
}
vim ~/.config/hypr/hyprland.conf
exec-once = hypridle
Add keyboard shortcut, which I will never remember, and a desktop file so wofi finds it and it can be found with SUPER + R
vim ~/.config/hypr/hyprland.conf
bind = $mainMod ALT, S, exec, hyprshot -m region -o ~/Pictures/
vim ~/.local/share/applications/hyprshot.desktop
# Copy or link this file in ~/.local/share/applications/
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
NoDisplay=false
Exec=hyprshot -m region -o ~/Pictures/
Name=Screenshot
Comment=Custom definition for hyprshot
sudo pacman -Sy waybar
vim ~/.config/hypr/hyprland.conf
exec-once = waybar
mkdir ~/.config/waybar
cp /etc/xdg/waybar/config.jsonc ~/.config/waybar/
cp /etc/xdg/waybar/style.css ~/.config/waybar/
#Main changes in ~/.config/waybar/config.jsonc
#Remove reference to sway since I use hyprland
"modules-left": [
- "sway/workspaces",
- "sway/mode",
- "sway/scratchpad",
- "custom/media"
+ "hyprland/workspaces",
],
"modules-center": [
- "sway/window"
+ "hyprland/window"
],
#Remove clock since they crashes my waybar
- "clock": {
- // "timezone": "America/New_York",
- "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
- "format-alt": "{:%Y-%m-%d}"
- },
+ //"clock": {
+ // // "timezone": "America/New_York",
+ // "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
+ // "format-alt": "{:%Y-%m-%d}"
+ //},
#Add border-radius in style.css for rounded corners
* {
/* `otf-font-awesome` is required to be installed for icons */
font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;
font-size: 13px;
+ border-radius: 10;
}
sudo pacman -Sy noto-fonts noto-fonts-cjk noto-fonts-extra noto-fonts-emoji otf-font-awesome