Browse Source

My Config

pull/83/head
bigDnrg 2 years ago
parent
commit
d0291d25e0
  1. 18
      config/hypr/configs/ENVariables.conf
  2. 6
      config/hypr/configs/Execs.conf
  3. 36
      config/hypr/configs/Keybinds.conf
  4. 2
      config/hypr/configs/Monitors.conf
  5. 2
      config/hypr/configs/Settings.conf
  6. 18
      config/hypr/configs/WindowRules.conf
  7. 10
      config/hypr/hyprland.conf
  8. 14
      config/hypr/scripts/KeyHints.sh

18
config/hypr/configs/ENVariables.conf

@ -20,15 +20,15 @@ env = MOZ_ENABLE_WAYLAND,1
# NVIDIA # NVIDIA
# This is from Hyprland Wiki. As a start, WLR_NO_HARDWARE_CURSORS 1 will be activated if nvidia gpu detected # This is from Hyprland Wiki. As a start, WLR_NO_HARDWARE_CURSORS 1 will be activated if nvidia gpu detected
#env = WLR_NO_HARDWARE_CURSORS,1 env = WLR_NO_HARDWARE_CURSORS,1
#env = LIBVA_DRIVER_NAME,nvidia env = LIBVA_DRIVER_NAME,nvidia
#env = __GLX_VENDOR_LIBRARY_NAME,nvidia env = __GLX_VENDOR_LIBRARY_NAME,nvidia
#env = GBM_BACKEND,nvidia-drm env = GBM_BACKEND,nvidia-drm
#env = __NV_PRIME_RENDER_OFFLOAD,1 env = __NV_PRIME_RENDER_OFFLOAD,1
#env = __VK_LAYER_NV_optimus,NVIDIA_only env = __VK_LAYER_NV_optimus,NVIDIA_only
#env = WLR_DRM_NO_ATOMIC,1 env = WLR_DRM_NO_ATOMIC,1
#env = NVD_BACKEND,direct env = NVD_BACKEND,direct
# FOR VM and POSSIBLY NVIDIA # FOR VM and POSSIBLY NVIDIA
#env = WLR_RENDERER_ALLOW_SOFTWARE,1 #env = WLR_RENDERER_ALLOW_SOFTWARE,1
@ -37,4 +37,4 @@ env = MOZ_ENABLE_WAYLAND,1
# check this post https://github.com/elFarto/nvidia-vaapi-driver#configuration # check this post https://github.com/elFarto/nvidia-vaapi-driver#configuration
#env = MOZ_DISABLE_RDD_SANDBOX,1 #env = MOZ_DISABLE_RDD_SANDBOX,1
#env = NVD_BACKEND,direct #env = NVD_BACKEND,direct
#env = EGL_PLATFORM,wayland env = EGL_PLATFORM,wayland

6
config/hypr/configs/Execs.conf

@ -33,7 +33,7 @@ exec-once = dunst &
#exec-once = blueman-applet & #exec-once = blueman-applet &
exec-once = nm-applet --indicator & exec-once = nm-applet --indicator &
#exec-once = rog-control-center & #exec-once = rog-control-center &
#exec-once = dropbox &
#clipboard manager #clipboard manager
exec-once = wl-paste --type text --watch cliphist store exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store exec-once = wl-paste --type image --watch cliphist store
@ -48,8 +48,8 @@ exec-once = $scriptsDir/RainbowBorders.sh
# exec-once = $scriptsDir/AppAutoClose.sh # exec-once = $scriptsDir/AppAutoClose.sh
# sway-idle with lock only # sway-idle with lock only
exec-once = swayidle -w timeout 900 '$lock' # exec-once = swayidle -w timeout 900 '$lock'
# sway-idle with lock and sleep # sway-idle with lock and sleep
#exec-once = swayidle -w timeout 900 '$lock' timeout 1200 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep '$lock' exec-once = swayidle -w timeout 900 '$lock' timeout 1200 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep '$lock'
# sway idle without lock # sway idle without lock
#exec-once = swayidle -w timeout 900 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' #exec-once = swayidle -w timeout 900 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on'

36
config/hypr/configs/Keybinds.conf

@ -18,32 +18,36 @@ $volume = $scriptsDir/Volume.sh
# see https://wiki.hyprland.org/Configuring/Binds/ for more # see https://wiki.hyprland.org/Configuring/Binds/ for more
# rofi launcher # rofi launcher
bindr = $mainMod, $mainMod_L, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run #bindr = $mainMod, $mainMod_L, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run
bind = $mainMod, D, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run #bind = $mainMod, D, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run
bind = $mainMod CTRL, Space, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run
#bind = CTRL ALT, L, exec, $scriptsDir/LockScreen.sh
#bind = CTRL ALT, P, exec, $scriptsDir/Wlogout.sh
bind = CTRL ALT, Delete, exec, hyprctl dispatch exit 0 bind = CTRL ALT, Delete, exec, hyprctl dispatch exit 0
bind = $mainMod SHIFT, R, exec, hyprctl reload bind = $mainMod SHIFT, R, exec, hyprctl reload
bind = $mainMod SHIFT, Q, killactive, bind = $mainMod SHIFT, Q, killactive,
bind = $mainMod SHIFT, F, togglefloating,
bind = $mainMod ALT, F, exec, hyprctl dispatch workspaceopt allfloat
bind = $mainMod, F, fullscreen
bind = $mainMod, Q, killactive, bind = $mainMod, Q, killactive,
bind = $mainMod, Return, exec, $term bind = $mainMod, Return, exec, $term
bind = $mainMod, T, exec, $files bind = $mainMod, T, exec, $files
bind = CTRL ALT, L, exec, $scriptsDir/LockScreen.sh
bind = CTRL ALT, P, exec, $scriptsDir/Wlogout.sh
bind = $mainMod CTRL, S, exec, $scriptsDir/RofiBeats.sh bind = $mainMod CTRL, S, exec, $scriptsDir/RofiBeats.sh
bind = $mainMod ALT, E, exec, $scriptsDir/RofiEmoji.sh bind = $mainMod ALT, E, exec, $scriptsDir/RofiEmoji.sh
bind = $mainMod, H, exec, $scriptsDir/KeyHints.sh bind = $mainMod, H, exec, $scriptsDir/KeyHints.sh
bind = $mainMod, E, exec, $scriptsDir/QuickEdit.sh bind = $mainMod, E, exec, $scriptsDir/QuickEdit.sh
bind = $mainMod, B, exec, killall -SIGUSR1 waybar # Toggle hide/show waybar bind = $mainMod, B, exec, killall -SIGUSR1 waybar # Toggle hide/show waybar
bind = $mainMod SHIFT, G, exec, $scriptsDir/GameMode.sh bind = $mainMod SHIFT, G, exec, $scriptsDir/GameMode.sh
bind = CTRL SHIFT, W, exec, $scriptsDir/Refresh.sh
bind = CTRL ALT, W, exec, $scriptsDir/Wallpaper.sh bind = $mainMod CTRL SHIFT, W, exec, $scriptsDir/Refresh.sh
bind = CTRL, W, exec, $scriptsDir/WaybarStyles.sh bind = $mainMod CTRL ALT, W, exec, $scriptsDir/WaybarLayout.sh
bind = $mainMod, W, exec, $scriptsDir/WallpaperSelect.sh bind = $mainMod CTRL, W, exec, $scriptsDir/WaybarStyles.sh
bind = ALT, W, exec, $scriptsDir/WaybarLayout.sh bind = $mainMod ALT, W, exec, $scriptsDir/WallpaperSelect.sh
bind = ALT, K, exec, $scriptsDir/SwitchKeyboardLayout.sh bind = $mainMod, W, exec, $scriptsDir/Wallpaper.sh
#bind = ALT, K, exec, $scriptsDir/SwitchKeyboardLayout.sh
bind = $mainMod CTRL, D, layoutmsg, removemaster bind = $mainMod CTRL, D, layoutmsg, removemaster
bind = $mainMod, Escape, exec, hyprctl kill bind = $mainMod, Escape, exec, hyprctl kill
@ -53,7 +57,11 @@ bind = $mainMod, K, layoutmsg, cycleprev
bind = $mainMod, M, exec, hyprctl dispatch splitratio 0.3 bind = $mainMod, M, exec, hyprctl dispatch splitratio 0.3
bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod CTRL, Return, layoutmsg, swapwithmaster bind = $mainMod CTRL, Return, layoutmsg, swapwithmaster
bind = $mainMod, Space, exec, $scriptsDir/ChangeLayout.sh bind = $mainMod CTRL, Space, exec, $scriptsDir/ChangeLayout.sh
bind = $mainMod SHIFT, F, togglefloating,
bind = $mainMod ALT, F, exec, hyprctl dispatch workspaceopt allfloat
bind = $mainMod, F, fullscreen
bind = $mainMod ALT, V, exec, $scriptsDir/ClipManager.sh bind = $mainMod ALT, V, exec, $scriptsDir/ClipManager.sh
bind = $mainMod SHIFT, M, exec, hyprctl dispatch splitratio -0.3 bind = $mainMod SHIFT, M, exec, hyprctl dispatch splitratio -0.3

2
config/hypr/configs/Monitors.conf

@ -12,6 +12,8 @@ xwayland {
# Monitors # Monitors
monitor=,preferred,auto,1 monitor=,preferred,auto,1
monitor=HDMI-A-1, 2560x1440@59.951, auto, 2
monitor=DP-1,preferred,auto,2
# NOTE: for laptop, kindly check notes in Laptops.conf regarding display # NOTE: for laptop, kindly check notes in Laptops.conf regarding display
# Created this inorder for the monitor display to not wake up if not intended. # Created this inorder for the monitor display to not wake up if not intended.

2
config/hypr/configs/Settings.conf

@ -100,7 +100,7 @@ input {
repeat_delay=300 repeat_delay=300
numlock_by_default=1 numlock_by_default=1
left_handed=0 left_handed=0
follow_mouse=1 follow_mouse=2
float_switch_override_focus=0 float_switch_override_focus=0
touchpad { touchpad {

18
config/hypr/configs/WindowRules.conf

@ -24,21 +24,29 @@ windowrule = center,^(pavucontrol) # Make sure to delete this line if uncommen t
# windowrule v2 # windowrule v2
windowrulev2 = workspace 1, class:^(thunderbird)$ windowrulev2 = workspace 1, class:^(thunderbird)$
windowrulev2 = workspace 1, class:^([Tt]hunar)$
windowrulev2 = workspace 2, class:^(firefox)$ windowrulev2 = workspace 2, class:^(firefox)$
windowrulev2 = workspace 2, class:^(Firefox-esr)$
windowrulev2 = workspace 2, class:^(Microsoft-edge-beta)$
windowrulev2 = workspace 3, class:^([Tt]hunar)$
windowrulev2 = workspace 4, class:^(com.obsproject.Studio)$
windowrulev2 = workspace 5 silent, class:^([Ss]team)$,title:^([Ss]team)$ windowrulev2 = workspace 5 silent, class:^([Ss]team)$,title:^([Ss]team)$
windowrulev2 = workspace 5 silent, class:^(lutris)$ windowrulev2 = workspace 5 silent, class:^(lutris)$
windowrulev2 = workspace 6, class:^(virt-manager)$ windowrulev2 = workspace 6, class:^(virt-manager)$
windowrulev2 = workspace 7 silent, class:^(discord)$ windowrulev2 = workspace 7 silent, class:^(discord)$
windowrulev2 = workspace 7 silent, class:^(WebCord)$ windowrulev2 = workspace 7 silent, class:^(WebCord)$
windowrulev2 = workspace 9 silent, class:^(audacious)$ windowrulev2 = workspace 9 silent, class:^(audacious)$
#windowrulev2 = workspace 2, class:^(Firefox-esr)$
#windowrulev2 = workspace 2, class:^(Microsoft-edge-beta)$
#windowrulev2 = workspace 4, class:^(com.obsproject.Studio)$
#opacity (transparent) #enable as desired #opacity (transparent) #enable as desired
windowrulev2 = opacity 0.9 0.6, class:^([Rr]ofi)$ windowrulev2 = opacity 0.9 0.6, class:^([Rr]ofi)$
windowrulev2 = opacity 0.9 0.7, class:^(firefox)$ #windowrulev2 = opacity 0.9 0.7, class:^(firefox)$
windowrulev2 = opacity 0.9 0.7, class:^([Tt]hunar)$ windowrulev2 = opacity 0.9 0.7, class:^([Tt]hunar)$
windowrulev2 = opacity 0.8 0.6, class:^(pcmanfm-qt)$ windowrulev2 = opacity 0.8 0.6, class:^(pcmanfm-qt)$
windowrulev2 = opacity 0.9 0.7, class:^(gedit)$ windowrulev2 = opacity 0.9 0.7, class:^(gedit)$

10
config/hypr/hyprland.conf

@ -4,14 +4,8 @@ $configs = $HOME/.config/hypr/configs
source=$configs/ENVariables.conf source=$configs/ENVariables.conf
source=$configs/Execs.conf source=$configs/Execs.conf
source=$configs/Keybinds.conf source=$configs/Keybinds.conf
source=$configs/Laptops.conf #source=$configs/Laptops.conf
source=$configs/LaptopDisplay.conf #source=$configs/LaptopDisplay.conf
source=$configs/Monitors.conf source=$configs/Monitors.conf
source=$configs/WindowRules.conf source=$configs/WindowRules.conf
source=$configs/Settings.conf source=$configs/Settings.conf

14
config/hypr/scripts/KeyHints.sh

@ -38,15 +38,15 @@ yad --width=$dynamic_width --height=$dynamic_height \
--timeout-indicator=bottom \ --timeout-indicator=bottom \
"ESC" "close this app" "" "=" "SUPER KEY" "(SUPER KEY)" \ "ESC" "close this app" "" "=" "SUPER KEY" "(SUPER KEY)" \
" enter" "Terminal" "(kitty)" \ " enter" "Terminal" "(kitty)" \
" or D" "App Launcher" "(rofi)" \ " SPACE" "App Launcher" "(rofi)" \
" T" "Open File Manager" "(Thunar)" \ " T" "Open File Manager" "(Thunar)" \
" Q or Shift Q " "close focused app" "(kill)" \ " Q or Shift Q " "close focused app" "(kill)" \
" Alt V" "Clipboard Manager" "(cliphist)" \ " Alt V" "Clipboard Manager" "(cliphist)" \
" W" "Choose wallpaper" "(swww)" \ " ALT W" "Choose wallpaper" "(swww)" \
"CTRL ALT W" "Random wallpaper" "(swww)" \ " W" "Random wallpaper" "(swww)" \
"CTRL W" "Choose waybar styles" "(waybar styles)" \ " CTRL W" "Choose waybar styles" "(waybar styles)" \
"ALT W" "Choose waybar layout" "(waybar layout)" \ " CTRL ALT W" "Choose waybar layout" "(waybar layout)" \
"CTRL SHIFT W" "Reload Waybar and Dunst" "" \ " CTRL SHIFT W" "Reload Waybar and Dunst" "" \
" Print" "screenshot" "(grim)" \ " Print" "screenshot" "(grim)" \
" Shift Print" "screenshot region" "(grim + slurp)" \ " Shift Print" "screenshot region" "(grim + slurp)" \
" Shift S" "screenshot region" "(swappy)" \ " Shift S" "screenshot region" "(swappy)" \
@ -54,7 +54,7 @@ yad --width=$dynamic_width --height=$dynamic_height \
"CTRL ALT L" "screen lock" "(swaylock)" \ "CTRL ALT L" "screen lock" "(swaylock)" \
"CTRL ALT Del" "Hyprland Exit" "(SAVE YOUR WORK!!!)" \ "CTRL ALT Del" "Hyprland Exit" "(SAVE YOUR WORK!!!)" \
" F" "Fullscreen" "Toggles to full screen" \ " F" "Fullscreen" "Toggles to full screen" \
" Spacebar" "Toggle Dwindle | Master Layout" "Hyprland Layout" \ " CTRL Spacebar" "Toggle Dwindle | Master Layout" "Hyprland Layout" \
" Shift F" "Toggle float" "single window" \ " Shift F" "Toggle float" "single window" \
" ALT F" "Toggle all windows to float" "all windows" \ " ALT F" "Toggle all windows to float" "all windows" \
" SHIFT G" "Gamemode! All animations off" "" \ " SHIFT G" "Gamemode! All animations off" "" \

Loading…
Cancel
Save