From 920dcbf389c5c81cea878b34c24a75197f0e5238 Mon Sep 17 00:00:00 2001 From: Gaurav Bankar Date: Fri, 12 Jul 2024 22:30:06 +0530 Subject: [PATCH] updated config --- configs/hypr/hyprland.conf | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/configs/hypr/hyprland.conf b/configs/hypr/hyprland.conf index c78439f..839ef95 100644 --- a/configs/hypr/hyprland.conf +++ b/configs/hypr/hyprland.conf @@ -34,10 +34,11 @@ monitor=,preferred,auto,1,mirror,DP-1 # Set programs that you use $terminal = kitty $fileManager = nautilus -$menu = tofi-drun -c /home/gaurav/.config/tofi/configA --drun-launch=true -$browser = thorium-browser +$menu = tofi-drun -c ~/.config/tofi/configA --drun-launch=true +$browser = thorium-browser --enable-features=UseOzonePlatform --ozone-platform=wayland $notes = obsidian $editor = code +$editor-alt = subl $colorPicker = hyprpicker # --enable-features=UseOzonePlatform --ozone-platform=wayland use this flag to launch CEF/Electron apps in wayland @@ -53,7 +54,7 @@ exec-once=/usr/lib/polkit-kde-authentication-agent-1 #Polkit to manage passwords exec-once=/usr/bin/dunst exec-once=waybar # topbar exec-once = swww-daemon # wallpaper -exec-once = swww img /home/gaurav/.config/assets/backgrounds/cat_leaves.png --transition-fps 255 --transition-type outer --transition-duration 0.8 +exec-once = swww img ~/.config/assets/backgrounds/cat_leaves.png --transition-fps 255 --transition-type outer --transition-duration 0.8 exec-once = wl-paste --type text --watch cliphist store # clipboard exec-once = wl-paste --type image --watch cliphist store #exec-once = rm "$HOME/.cache/cliphist/db" #it'll delete history at every restart @@ -86,8 +87,8 @@ env = NVD_BACKEND,direct env = ELECTRON_OZONE_PLATFORM_HINT,auto # QT -env = QT_QPA_PLATFORM,wayland;xcb -env = QT_QPA_PLATFORMTHEME,qt6ct +env = QT_QPA_PLATFORM,wayland +env = QT_QPA_PLATFORMTHEME,qt5ct env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 env = QT_AUTO_SCREEN_SCALE_FACTOR,1 env = QT_STYLE_OVERRIDE,kvantum @@ -190,7 +191,7 @@ dwindle { # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more master { - new_is_master = true + } # https://wiki.hyprland.org/Configuring/Variables/#misc @@ -250,6 +251,7 @@ bind = $mainMod, T, exec, $terminal bind = $mainMod, B, exec, $browser bind = $mainMod, O, exec, $notes bind = $mainMod, C, exec, $editor +bind = $mainMod, S, exec, $editor-alt bind = $mainMod, Q, killactive, bind = $mainMod, M, exit, bind = $mainMod, F, exec, $fileManager @@ -291,7 +293,7 @@ bind = $mainMod SHIFT, 9, movetoworkspace, 9 bind = $mainMod SHIFT, 0, movetoworkspace, 10 # Example special workspace (scratchpad) -bind = $mainMod, S, togglespecialworkspace, magic +#bind = $mainMod, S, togglespecialworkspace, magic bind = $mainMod SHIFT, S, movetoworkspace, special:magic # Scroll through existing workspaces with mainMod + scroll @@ -314,7 +316,7 @@ binde = $mainMod+Shift, Down, resizeactive, 0 30 # Clipboard -bind = SUPER, V, exec, cliphist list | tofi -c /home/gaurav/.config/tofi/configV | cliphist decode | wl-copy +bind = SUPER, V, exec, cliphist list | tofi -c ~/.config/tofi/configV | cliphist decode | wl-copy # Colour Picker bind = $mainMod, P, exec, $colorPicker | wl-copy