From dc30843cbdc10efa288a23c30494550690a8144e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Sat, 14 Oct 2023 15:33:15 +0200 Subject: [PATCH 1/4] Add roboto fonts --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 53ada3f..0fc29f4 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ pacman -S pipewire wireplumber pipewire-audio pipewire-alsa pipewire-pulse pipew pacman -S atril firefox gedit gimp handbrake kitty mpv openshot pcmanfm rhythmbox ristretto sweethome3d tumbler thunderbird vlc zathura pacman -S gvfs xarchiver # Fonts -pacman -S noto-fonts noto-fonts-emoji ttf-dejavu ttf-inconsolata ttf-liberation +pacman -S noto-fonts noto-fonts-emoji ttf-dejavu ttf-inconsolata ttf-liberation ttf-roboto # Archives pacman -S unrar p7zip zip unzip minizip # Command-line copy/paste utilities From d821425f8ca91585c3373defdcc4ea524743ec30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Sat, 14 Oct 2023 15:34:17 +0200 Subject: [PATCH 2/4] Remove sway from the waybar config --- .config/waybar/config | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.config/waybar/config b/.config/waybar/config index cd014cb..31bdf53 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -9,7 +9,7 @@ "modules-center": ["hyprland/window"], "modules-right": ["idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "battery", "battery#bat2", "clock", "tray"], // Modules configuration - // "sway/workspaces": { + // "hyprland/workspaces": { // "disable-scroll": true, // "all-outputs": true, // "warp-on-scroll": false, @@ -34,16 +34,6 @@ "unlocked": "" } }, - "sway/mode": { - "format": "{}" - }, - "sway/scratchpad": { - "format": "{icon} {count}", - "show-empty": false, - "format-icons": ["", ""], - "tooltip": true, - "tooltip-format": "{app}: {title}" - }, "mpd": { "format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ", "format-disconnected": "Disconnected ", From e828062b6d8e452ef45edbdf7db1f89495577ccd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Sun, 15 Oct 2023 12:03:54 +0200 Subject: [PATCH 3/4] Set new backlight icons --- .config/waybar/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/waybar/config b/.config/waybar/config index 31bdf53..94ad16d 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -94,7 +94,7 @@ "backlight": { // "device": "acpi_video1", "format": "{percent}% {icon}", - "format-icons": ["", "", "", "", "", "", "", "", ""] + "format-icons": ["🌑", "🌒", "🌓", "🌔", "🌕"] }, "battery": { "states": { From efbc2e572b66d85f05033fa4c8a86a1ba3a840d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Sun, 15 Oct 2023 12:04:36 +0200 Subject: [PATCH 4/4] Set media keys --- .config/hypr/hyprland.conf | 10 ++++++++++ README.md | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 2cfd6ca..1b8736d 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -163,3 +163,13 @@ bind = $mainMod, mouse_up, workspace, e-1 # Move/resize windows with mainMod + LMB/RMB and dragging bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow + +# Media keys +binde=, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+ +bindl=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- +bindl=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle +bindl=, XF86AudioPlay, exec, playerctl --player rhythmbox play-pause +bindl=, XF86AudioPrev, exec, playerctl --player rhythmbox previous +bindl=, XF86AudioNext, exec, playerctl --player rhythmbox next +bindl=, XF86MonBrightnessUp, exec, brightnessctl set +5% +bindl=, XF86MonBrightnessDown, exec, brightnessctl set 5%- diff --git a/README.md b/README.md index 0fc29f4..f87ba2c 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ pacman -S cargo-audit cargo-outdated cargo-release rustup # CLI software pacman -S dog exiv2 gnupg imagemagick mkcert ncdu nmap pass playerctl python-shodan qrencode rsync shellcheck sqlmap yt-dlp # Hyprland -pacman -S hyprland hyprpaper dunst xdg-desktop-portal-hyprland wofi wl-clipboard qt5-wayland qt6-wayland udiskie waybar otf-font-awesome +pacman -S hyprland hyprpaper dunst xdg-desktop-portal-hyprland wofi wl-clipboard qt5-wayland qt6-wayland udiskie waybar otf-font-awesome brightnessctl pacman -S pipewire wireplumber pipewire-audio pipewire-alsa pipewire-pulse pipewire-jack pipewire-x11-bell # Graphical software pacman -S atril firefox gedit gimp handbrake kitty mpv openshot pcmanfm rhythmbox ristretto sweethome3d tumbler thunderbird vlc zathura