Add wofi to hyprland

This commit is contained in:
Warren Hood 2023-12-06 01:04:33 +02:00
parent 19282115eb
commit 1748dac784
2 changed files with 10 additions and 7 deletions

View file

@ -15,7 +15,7 @@ exec-once = dunst & waybar & /usr/lib/polkit-kde-authentication-agent-1
$terminal = alacritty
$fileManager = thunar
$browser = firefox
$menu = dmenu_run
$menu = wofi --show drun
# Some default env vars.
env = XCURSOR_SIZE,24
@ -26,17 +26,20 @@ env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = WLR_NO_HARDWARE_CURSORS,1
# Set GTK Themes
env = GTK_THEME,Breeze:dark
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
kb_layout = us
kb_variant =
kb_variant =
kb_model =
kb_options =
kb_rules =
follow_mouse = 0
follow_mouse = 0
touchpad {
touchpad {
natural_scroll = false
}
@ -176,8 +179,8 @@ bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10
# Example special workspace (scratchpad)
bind = $mainMod, S, togglespecialworkspace, magic
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
# bind = $mainMod, S, togglespecialworkspace, magic
# bind = $mainMod SHIFT, S, movetoworkspace, special:magic
# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, RIGHT, workspace, e+1

2
setup
View file

@ -12,7 +12,7 @@ git submodule update
# Wayland + Hyprland seems cool
setup_hyprland_arch() {
echo "Setting up Hyprland..."
sudo pacman -S wayland hyprland waybar dmenu dunst pipewire wireplumber xdg-desktop-portal-hyprland polkit-kde-agent qt5-wayland qt6-wayland
sudo pacman -S wayland hyprland waybar wofi dunst pipewire wireplumber xdg-desktop-portal-hyprland polkit-kde-agent qt5-wayland qt6-wayland
# grim + slurp + swappy for screenshots
sudo pacman -S grim slurp swappy wl-clipboard