The previous commit and this one are the start of the new Hyprland LUA config files.
This commit is contained in:
parent
7ea5908365
commit
f96ce627bf
@ -1,91 +0,0 @@
|
|||||||
bind = SUPER,Return,exec,ghostty
|
|
||||||
bind = SUPERALT,Return,exec,st
|
|
||||||
bind = SUPERSHIFT,Return,exec,urxvt
|
|
||||||
bind = SUPERCTRLSHIFT,Return,exec,urxvt -bg 0 -fg 2 -cr blue -vb -sb -sr -st -bc -sl 5000 -fn "xft:Bitstream Vera Sans Mono:size=14, xft:Hack Nerd Font Mono:size=12, xft:Font Awesome 6 Free:style=Solid"
|
|
||||||
#bind = SUPERSHIFT,Return,exec,urxvt -bg 0 -fg 2 -cr blue -vb -sb -sr -st -bc -sl 5000 -fn "xft:Font Awesome:size=12"
|
|
||||||
#bind = SUPERSHIFT,Return,exec,urxvt -bg 0 -fg 2 -cr blue -vb -sb -sr -st -bc -sl 5000
|
|
||||||
bind = SUPER,P,exec,rofi -show drun --with-images
|
|
||||||
bind = SUPERSHIFT,W,exec,librewolf
|
|
||||||
# bind = SUPER,W,exec,[workspace 3 silent] vivaldi
|
|
||||||
|
|
||||||
bind = SUPER,E,exec,emopicker9000
|
|
||||||
bind = SUPER,D,exec,discord
|
|
||||||
bind = SUPERSHIFT,D,exec,vesktop-bin
|
|
||||||
bind = SUPER,M,exec,[workspace 8 silent] spotify
|
|
||||||
bind = SUPERCTRL,N,exec, "/usr/bin/swaync-client -op",
|
|
||||||
bind = SUPERSHIFT,Q,killactive,
|
|
||||||
#bind = SUPER,P,pseudo,
|
|
||||||
#bind = SUPERSHIFT,I,togglesplit,
|
|
||||||
bind = SUPER,F,fullscreen,
|
|
||||||
bind = SUPERSHIFT,SPACE,togglefloating,
|
|
||||||
bind = SUPERSHIFT,E,exec, uwsm stop -r
|
|
||||||
|
|
||||||
# Waybar
|
|
||||||
bind = SUPER, B, exec, pkill -10 waybar
|
|
||||||
bind = SUPERSHIFT, B, exec, $HOME/.local/bin/reset-waybar
|
|
||||||
|
|
||||||
# Notification
|
|
||||||
bind = SUPERSHIFT,T, exec, swaync-client -op
|
|
||||||
|
|
||||||
# Screen Shots
|
|
||||||
bind = SHIFT, PRINT, exec,grimshot --notify save area ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%M).png
|
|
||||||
|
|
||||||
# Special Workspaces - like scrathpad, but named
|
|
||||||
bind = SUPERSHIFT,GRAVE,movetoworkspace,special
|
|
||||||
bind = SUPER,GRAVE,togglespecialworkspace, special
|
|
||||||
|
|
||||||
# Background Selection
|
|
||||||
bind = SUPERSHIFT,N,exec,newbg
|
|
||||||
|
|
||||||
# Navigation
|
|
||||||
bind = SUPER,1,split-workspace,1
|
|
||||||
bind = SUPER,2,split-workspace,2
|
|
||||||
bind = SUPER,3,split-workspace,3
|
|
||||||
bind = SUPER,4,split-workspace,4
|
|
||||||
bind = SUPER,5,split-workspace,5
|
|
||||||
bind = SUPER,6,split-workspace,6
|
|
||||||
bind = SUPER,7,split-workspace,7
|
|
||||||
bind = SUPER,8,split-workspace,8
|
|
||||||
bind = SUPER,9,split-workspace,9
|
|
||||||
bind = SUPER,0,split-workspace,10
|
|
||||||
bind = SUPERSHIFT,1,split-movetoworkspace,1
|
|
||||||
bind = SUPERSHIFT,2,split-movetoworkspace,2
|
|
||||||
bind = SUPERSHIFT,3,split-movetoworkspace,3
|
|
||||||
bind = SUPERSHIFT,4,split-movetoworkspace,4
|
|
||||||
bind = SUPERSHIFT,5,split-movetoworkspace,5
|
|
||||||
bind = SUPERSHIFT,6,split-movetoworkspace,6
|
|
||||||
bind = SUPERSHIFT,7,split-movetoworkspace,7
|
|
||||||
bind = SUPERSHIFT,8,split-movetoworkspace,8
|
|
||||||
bind = SUPERSHIFT,9,split-movetoworkspace,9
|
|
||||||
bind = SUPERSHIFT,0,split-movetoworkspace,10
|
|
||||||
bind = SUPERSHIFT, right, split-changemonitor, next #Move active workspace to other monitor
|
|
||||||
bind = SUPERSHIFT, left, split-changemonitor, prev
|
|
||||||
bind = SUPER, right, focusmonitor, +1 #Switch monitor focus
|
|
||||||
bind = SUPER, left, focusmonitor, -1 #Switch monitor focus
|
|
||||||
bind = SUPER,mouse_down,workspace, e+1
|
|
||||||
bind = SUPER,mouse_up,workspace, e-1
|
|
||||||
bindm = SUPER,mouse:272,movewindow
|
|
||||||
bindm = SUPER,mouse:273,resizewindow
|
|
||||||
bind = ALT,Tab,cyclenext
|
|
||||||
bind = ALT,Tab,bringactivetotop
|
|
||||||
|
|
||||||
# Volume Control
|
|
||||||
bind = ,XF86AudioRaiseVolume,exec,wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
|
||||||
bind = ,XF86AudioLowerVolume,exec,wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
|
||||||
binde = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
|
||||||
bind = ,XF86AudioPlay, exec, playerctl play-pause
|
|
||||||
bind = ,XF86AudioPause, exec, playerctl play-pause
|
|
||||||
bind = ,XF86AudioNext, exec, playerctl next
|
|
||||||
bind = ,XF86AudioPrev, exec, playerctl previous
|
|
||||||
bind = SUPERSHIFT, C, exec, kitty -c "/home/ganome/.config/kitty/kittybg.conf" --class="kitty-bg" "/home/ganome/.local/bin/cava-float"
|
|
||||||
|
|
||||||
# Clipboard Shortcuts
|
|
||||||
bind = SUPER, V, exec, cliphist list | wofi --dmenu | cliphist decode | wl-copy
|
|
||||||
|
|
||||||
# Monitor Brightness
|
|
||||||
bind = ,XF86MonBrightnessDown,exec,brightnessctl set 5%-
|
|
||||||
bind = ,XF86MonBrightnessUp,exec,brightnessctl set +5%
|
|
||||||
|
|
||||||
# Keyboard Brightness
|
|
||||||
bind = ,XF86KbdBrightnessUp, exec, brightnessctl -d *::kbd_backlight set +20%
|
|
||||||
bind = ,XF86KbdBrightnessDown, exec, brightnessctl -d *::kbd_backlight set 20%-
|
|
||||||
@ -1,15 +0,0 @@
|
|||||||
exec-once = swaync
|
|
||||||
#exec-once = xrdb /home/ganome/.Xresources
|
|
||||||
#exec-once = urxvtd --quiet --opendisplay --fork
|
|
||||||
exec-once = swayidle -w timeout 720 'swaylock -f' timeout 800 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep 'swaylock -f -c 000000'
|
|
||||||
#exec-once = /home/ganome/.local/bin/reset-hyprpm
|
|
||||||
#exec-once = dbus-update-activation-environment --systemd --all #This line os from hyprland wiki
|
|
||||||
#exec-once = systemctl --user import-environment QT_QPA_PLATFORMTHEME WAYLAND_DISPLAY XDG_CURRENT_DESKTOP #This also comes from hyprland wiki and both involved themes for the share picker
|
|
||||||
#exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP QT_QPA_PLATFORMTHEME #This is mirrored from two lines above - but the previous line does all the environment variables.
|
|
||||||
|
|
||||||
# REMOTE DESKTOP
|
|
||||||
#exec-once = wayvnc -g -o DP-1 0.0.0.0
|
|
||||||
|
|
||||||
# Clipboard history with Super+V
|
|
||||||
exec-once = wl-paste --type text --watch cliphist store
|
|
||||||
exec-once = wl-paste --type image --watch cliphist store
|
|
||||||
@ -1,125 +0,0 @@
|
|||||||
# WINDOW RULES
|
|
||||||
|
|
||||||
# XWayland Video Bridge
|
|
||||||
# windowrule = workspace 10 silent,class:^(xwaylandvideobridge)$
|
|
||||||
# windowrule = opacity 0.0 override,class:^(xwaylandvideobridge)$
|
|
||||||
# windowrule = noanim,class:^(xwaylandvideobridge)$
|
|
||||||
# windowrule = noinitialfocus,class:^(xwaylandvideobridge)$
|
|
||||||
# windowrule = maxsize 1 1,class:^(xwaylandvideobridge)$
|
|
||||||
# windowrule = noblur,class:^(xwaylandvideobridge)$
|
|
||||||
# windowrule = move 2000 1100,class:^(xwaylandvideobridge)$
|
|
||||||
|
|
||||||
#Blanket Rule to avoid screenlock if an app is fullscreen
|
|
||||||
#windowrule = idle_inhibit on, match:fullscreen 1
|
|
||||||
|
|
||||||
windowrule {
|
|
||||||
name = "Cava_Rules"
|
|
||||||
match:class = ^^(kitty-bg)$
|
|
||||||
|
|
||||||
opacity = 1.0
|
|
||||||
float = on
|
|
||||||
workspace = 10
|
|
||||||
fullscreen = on
|
|
||||||
}
|
|
||||||
|
|
||||||
windowrule {
|
|
||||||
name = "Rofi_Rules"
|
|
||||||
match:class = ^(Rofi)$
|
|
||||||
|
|
||||||
float = true
|
|
||||||
}
|
|
||||||
|
|
||||||
windowrule {
|
|
||||||
name = "POLKIT_Rules"
|
|
||||||
match:class = ^(org.kde.polkit-kde-authentication-agent-1)$
|
|
||||||
|
|
||||||
float = on
|
|
||||||
opacity = 1
|
|
||||||
}
|
|
||||||
|
|
||||||
windowrule {
|
|
||||||
name = "Hyprland_Picker_Rules"
|
|
||||||
match:class = ^(hyprland-share-picker)$
|
|
||||||
|
|
||||||
float = on
|
|
||||||
size = 400 250
|
|
||||||
center = on
|
|
||||||
}
|
|
||||||
|
|
||||||
windowrule {
|
|
||||||
name = "Discord_Rules"
|
|
||||||
match:class = ^(vesktop||vesktop-bin|discord)$
|
|
||||||
|
|
||||||
opaque = true
|
|
||||||
no_initial_focus = on
|
|
||||||
workspace = 14
|
|
||||||
fullscreen= on
|
|
||||||
}
|
|
||||||
|
|
||||||
windowrule {
|
|
||||||
name = "Browser_Rules"
|
|
||||||
match:class = ^(LibreWolf)$
|
|
||||||
|
|
||||||
workspace = 3
|
|
||||||
idle_inhibit = fullscreen
|
|
||||||
fullscreen = on
|
|
||||||
}
|
|
||||||
|
|
||||||
windowrule {
|
|
||||||
name = "Special_Rules"
|
|
||||||
match:class=^(URxvt|kitty|com.mitchellh.ghostty)$
|
|
||||||
|
|
||||||
workspace = special
|
|
||||||
float = on
|
|
||||||
size = 1520 800
|
|
||||||
center = on
|
|
||||||
}
|
|
||||||
|
|
||||||
windowrule {
|
|
||||||
name = "FragPunk Game"
|
|
||||||
match:title=^(FragPunk)$
|
|
||||||
|
|
||||||
allows_input = on
|
|
||||||
no_max_size = on
|
|
||||||
float = on
|
|
||||||
center = on
|
|
||||||
size = 1920 1080
|
|
||||||
stay_focused = on
|
|
||||||
}
|
|
||||||
|
|
||||||
windowrule {
|
|
||||||
name = "Minecraft"
|
|
||||||
match:class=^(Minecraft)$
|
|
||||||
|
|
||||||
allows_input = on
|
|
||||||
stay_focused = on
|
|
||||||
}
|
|
||||||
|
|
||||||
windowrule {
|
|
||||||
name = "Ark Ascended"
|
|
||||||
match:class=^(steam_app_2399830)$
|
|
||||||
|
|
||||||
fullscreen = off
|
|
||||||
workspace = 2
|
|
||||||
stay_focused = on
|
|
||||||
}
|
|
||||||
|
|
||||||
windowrule {
|
|
||||||
name = "Steam Window"
|
|
||||||
match:class=^(steam)$
|
|
||||||
|
|
||||||
float = on
|
|
||||||
center = on
|
|
||||||
workspace = 1
|
|
||||||
}
|
|
||||||
|
|
||||||
### RULES FOR GAMES ###
|
|
||||||
#RULE VALE DEFINITION
|
|
||||||
#allows_input [on] Forces an XWayland window to receive input, even if it requests not to do so. (Might fix issues like Game Launchers not receiving focus for some reason)
|
|
||||||
#####
|
|
||||||
# Special Workspace Rules
|
|
||||||
#windowrule = workspace special,class:^(com.mitchellh.ghostty)$
|
|
||||||
#windowrule = float,class:^(com.mitchellh.ghostty)$
|
|
||||||
#windowrule = workspace special,class:^(kitty)$
|
|
||||||
#windowrule = float,class:^(kitty)$
|
|
||||||
# windowrule = workspace 5,class:^(kitty)$
|
|
||||||
Loading…
x
Reference in New Issue
Block a user