Adds hyprland setup
This commit is contained in:
parent
fdc4564316
commit
adfc0d05b0
10 changed files with 27 additions and 87 deletions
|
|
@ -5,47 +5,7 @@
|
|||
# https://wiki.hyprland.org/Configuring/Monitors/
|
||||
# Configure your Display resolution, offset, scale and Monitors here, use `hyprctl monitors` to get the info.
|
||||
|
||||
# Monitors
|
||||
monitor=,preferred,auto,1
|
||||
|
||||
# High Refresh Rate
|
||||
monitor=,highrr,auto,1
|
||||
|
||||
# High Resolution
|
||||
monitor=,highres,auto,1
|
||||
|
||||
# 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.
|
||||
# See here: https://github.com/hyprwm/Hyprland/issues/4090
|
||||
|
||||
# Some examples to set your own monitor
|
||||
#monitor = eDP-1, preferred, auto, 1
|
||||
#monitor = eDP-1, 2560x1440@165, 0x0, 1 #own screen
|
||||
#monitor = DP-3, 1920x1080@240, auto, 1
|
||||
#monitor = DP-1, preferred, auto, 1
|
||||
#monitor = HDMI-A-1, preferred,auto,1
|
||||
|
||||
# QEMU-KVM, virtual box or vmware
|
||||
#monitor = Virtual-1, 1920x1080@60,auto,1
|
||||
|
||||
# to disable a monitor
|
||||
#monitor=name,disable
|
||||
|
||||
# Mirror samples
|
||||
#monitor=DP-3,1920x1080@60,0x0,1,mirror,DP-2
|
||||
#monitor=,preferred,auto,1,mirror,eDP-1
|
||||
#monitor=HDMI-A-1,2560x1440@144,0x0,1,mirror,eDP-1
|
||||
|
||||
# 10 bit monitor support - See wiki https://wiki.hyprland.org/Configuring/Monitors/#10-bit-support - See NOTES below
|
||||
# NOTE: Colors registered in Hyprland (e.g. the border color) do not support 10 bit.
|
||||
# NOTE: Some applications do not support screen capture with 10 bit enabled. (Screen captures like OBS may render black screen)
|
||||
# monitor=,preferred,auto,1,bitdepth,10
|
||||
|
||||
#monitor=eDP-1,transform,0
|
||||
#monitor=eDP-1,addreserved,10,10,10,49
|
||||
|
||||
# workspaces - Monitor rules
|
||||
# https://wiki.hyprland.org/Configuring/Workspace-Rules/
|
||||
# SUPER E - Workspace-Rules
|
||||
# See ~/.config/hypr/UserConfigs/WorkspaceRules.conf
|
||||
monitor=DP-4, preferred, 0x0, 1
|
||||
monitor=DP-2, preferred, auto-left, 1
|
||||
|
||||
exec=xrandr --output DP-4 --primary
|
||||
|
|
|
|||
|
|
@ -24,9 +24,10 @@ exec-once = waybar &
|
|||
exec-once = nm-applet --indicator &
|
||||
exec-once = swaync &
|
||||
exec-once = ags &
|
||||
exec-once = blueman-applet &
|
||||
exec-once = blueman-applet &
|
||||
exec-once = kdeconnect-indicator &
|
||||
#exec-once = rog-control-center &
|
||||
exec-once = sleep 5 && nwg-dock-hyprland -a start -f -nolauncher -x -i 30 -o "DP-4" &
|
||||
|
||||
# Rainbow borders
|
||||
exec-once = $UserScripts/RainbowBorders.sh &
|
||||
|
|
@ -37,6 +38,11 @@ exec-once = hypridle &
|
|||
# Start pyprland daemon
|
||||
exec-once = pypr &
|
||||
|
||||
exec-once = wl-paste --type text --watch cliphist store # Stores only text data
|
||||
exec-once = wl-paste --type image --watch cliphist store # Stores only image data
|
||||
|
||||
exec-once = hyprswitch init --show-title --size-factor 5.5 --workspaces-per-row 5 &
|
||||
|
||||
# Here are list of features available but disabled by default
|
||||
# exec-once = swww-daemon --format xrgb && swww img $HOME/Pictures/wallpapers/mecha-nostalgia.png # persistent wallpaper
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,8 @@ $UserScripts = $HOME/.config/hypr/UserScripts
|
|||
|
||||
# rofi App launcher
|
||||
#bindr = $mainMod, $mainMod_L, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run,window # Super Key to Launch rofi menu
|
||||
bind = $mainMod, Tab, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run,window #Main Menu
|
||||
bind = $mainMod, Tab, exec, nwg-drawer
|
||||
bind = ALT, Tab, exec, hyprswitch gui --mod-key alt --key tab
|
||||
|
||||
bind = $mainMod, Return, exec, $term #terminal
|
||||
bind = $mainMod, T, exec, $files #file manager
|
||||
|
|
@ -26,5 +27,3 @@ bind = $mainMod, Z, exec, pypr zoom # Toggle Desktop Zoom
|
|||
|
||||
# User Added Keybinds
|
||||
bindn = ALT_L, SHIFT_L, exec, $scriptsDir/SwitchKeyboardLayout.sh # Change keyboard layout
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@ windowrulev2 = workspace 3, class:^([Ww]hatsapp-for-linux)$
|
|||
windowrulev2 = workspace 3, class:^(teams-for-linux)$
|
||||
windowrulev2 = workspace 4, class:^([Ss]team)$
|
||||
windowrulev2 = workspace 4, class:^([Ll]utris)$
|
||||
windowrulev2 = workspace 4, class:^([Hh]eroic)$
|
||||
windowrulev2 = workspace 5, class:^(com.github.th_ch.youtube_music)$
|
||||
|
||||
# windowrule v2 - float
|
||||
|
|
@ -73,39 +74,6 @@ windowrulev2 = float, title:^(ROG Control)$
|
|||
windowrulev2 = float, title:^(hyprgui)$
|
||||
windowrulev2 = float, class:^(io.ente.auth)$
|
||||
|
||||
# windowrule v2 - opacity #enable as desired
|
||||
windowrulev2 = opacity 0.9 0.6, class:^([Rr]ofi)$
|
||||
windowrulev2 = opacity 0.9 0.7, class:^(Brave-browser(-beta|-dev)?)$
|
||||
windowrulev2 = opacity 0.9 0.7, class:^([Ff]irefox|org.mozilla.firefox|[Ff]irefox-esr)$
|
||||
windowrulev2 = opacity 0.9 0.7, class:^(zen-beta)$ # zen browser
|
||||
windowrulev2 = opacity 0.9 0.6, class:^([Tt]horium-browser|[Cc]achy-browser)$
|
||||
windowrulev2 = opacity 0.9 0.8, class:^([Mm]icrosoft-edge(-stable|-beta|-dev|-unstable)?)$
|
||||
windowrulev2 = opacity 0.9 0.8, class:^(google-chrome(-beta|-dev|-unstable)?)$
|
||||
windowrulev2 = opacity 0.94 0.86, class:^(chrome-.+-Default)$ # Chrome PWAs
|
||||
windowrulev2 = opacity 0.9 0.8, class:^([Tt]hunar|org.gnome.Nautilus)$
|
||||
windowrulev2 = opacity 0.8 0.6, class:^(pcmanfm-qt)$
|
||||
windowrulev2 = opacity 0.8 0.7, class:^(gedit|org.gnome.TextEditor|mousepad)$
|
||||
windowrulev2 = opacity 0.9 0.8, class:^(deluge)$
|
||||
windowrulev2 = opacity 0.8 0.7, class:^(Alacritty|kitty|kitty-dropterm)$ # Terminals
|
||||
windowrulev2 = opacity 0.9 0.7, class:^(VSCodium|codium-url-handler|code-oss)$
|
||||
windowrulev2 = opacity 0.9 0.8, class:^(nwg-look|qt5ct|qt6ct|[Yy]ad)$
|
||||
windowrulev2 = opacity 0.9 0.8, title:(Kvantum Manager)
|
||||
windowrulev2 = opacity 0.9 0.7, class:^(com.obsproject.Studio)$
|
||||
windowrulev2 = opacity 0.9 0.7, class:^([Aa]udacious)$
|
||||
windowrulev2 = opacity 0.9 0.8, class:^(VSCode|code-url-handler)$
|
||||
windowrulev2 = opacity 0.9 0.8, class:^(jetbrains-.+)$ # JetBrains IDEs
|
||||
windowrulev2 = opacity 0.94 0.86, class:^([Dd]iscord|[Vv]esktop)$
|
||||
windowrulev2 = opacity 0.9 0.8, class:^(org.telegram.desktop|io.github.tdesktop_x64.TDesktop)$
|
||||
windowrulev2 = opacity 0.9 0.8, class:^(im.riot.Riot)$ # Element matrix client
|
||||
windowrulev2 = opacity 0.94 0.86, class:^(gnome-disks|evince|wihotspot(-gui)?|org.gnome.baobab)$
|
||||
windowrulev2 = opacity 0.9 0.8, class:^(file-roller|org.gnome.FileRoller)$ # archive manager
|
||||
windowrulev2 = opacity 0.8 0.7, class:^(app.drey.Warp)$ # Warp file transfer
|
||||
windowrulev2 = opacity 0.9 0.8, class:^(seahorse)$ # gnome-keyring gui
|
||||
windowrulev2 = opacity 0.82 0.75, class:^(gnome-system-monitor|org.gnome.SystemMonitor|io.missioncenter.MissionCenter)$
|
||||
windowrulev2 = opacity 0.9 0.8, class:^(xdg-desktop-portal-gtk)$ # gnome-keyring gui
|
||||
windowrulev2 = opacity 0.9 0.7, class:^([Ww]hatsapp-for-linux)$
|
||||
windowrulev2 = opacity 0.9 0.7, class:^([Ff]erdium)$
|
||||
windowrulev2 = opacity 0.95 0.75, title:^(Picture-in-Picture)$
|
||||
|
||||
# windowrule v2 - size
|
||||
windowrulev2 = size 70% 70%, class:^(gnome-system-monitor|org.gnome.SystemMonitor|io.missioncenter.MissionCenter)$
|
||||
|
|
|
|||
|
|
@ -95,3 +95,6 @@ bind = $mainMod SHIFT, N, exec, swaync-client -t -sw # swayNC notification panel
|
|||
|
||||
bind = $mainMod SHIFT, A, movecurrentworkspacetomonitor, l
|
||||
bind = $mainMod SHIFT, D, movecurrentworkspacetomonitor, r
|
||||
|
||||
bind = $mainMod, F, fullscreen, 0
|
||||
bind = $mainMod SHIFT, F, fullscreen, 1
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ bind = $mainMod, M, exec, hyprctl dispatch splitratio 0.3
|
|||
bind = $mainMod, G, togglegroup # toggle group
|
||||
bind = $mainMod CTRL, tab, changegroupactive # change focus to another window
|
||||
|
||||
# Cycle windows if floating bring to top
|
||||
# Cycle windows if floating bring to top
|
||||
bind = ALT, tab, cyclenext
|
||||
bind = ALT, tab, bringactivetotop
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue