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

2
setup
View file

@ -12,7 +12,7 @@ git submodule update
# Wayland + Hyprland seems cool # Wayland + Hyprland seems cool
setup_hyprland_arch() { setup_hyprland_arch() {
echo "Setting up Hyprland..." 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 # grim + slurp + swappy for screenshots
sudo pacman -S grim slurp swappy wl-clipboard sudo pacman -S grim slurp swappy wl-clipboard