From 1748dac784fc92d6535a0ad596587609d12ac475 Mon Sep 17 00:00:00 2001 From: Warren Hood Date: Wed, 6 Dec 2023 01:04:33 +0200 Subject: [PATCH] Add wofi to hyprland --- hyprland/.config/hypr/hyprland.conf | 15 +++++++++------ setup | 2 +- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/hyprland/.config/hypr/hyprland.conf b/hyprland/.config/hypr/hyprland.conf index b113baf..8277405 100644 --- a/hyprland/.config/hypr/hyprland.conf +++ b/hyprland/.config/hypr/hyprland.conf @@ -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 diff --git a/setup b/setup index 15372d9..3ba496e 100755 --- a/setup +++ b/setup @@ -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