Renamed hyprland folder in /usr/share to hypr to override default hyprland configs
All checks were successful
bluebuild / Build Custom Image (recipe.yml) (push) Successful in 57s
All checks were successful
bluebuild / Build Custom Image (recipe.yml) (push) Successful in 57s
This commit is contained in:
31
files/system/usr/share/hypr/hyprland.conf.d/autostart.conf
Normal file
31
files/system/usr/share/hypr/hyprland.conf.d/autostart.conf
Normal file
@@ -0,0 +1,31 @@
|
||||
# autostart.conf
|
||||
|
||||
$polkit = /usr/libexec/kf6/polkit-kde-authentication-agent-1
|
||||
#$kwalletInit = exec --no-startup-id /usr/lib/pam_kwallet_init
|
||||
|
||||
# menu bar
|
||||
exec-once = /usr/bin/waybar
|
||||
|
||||
# hyprpaper
|
||||
# exec-once = hyprpaper
|
||||
|
||||
## services
|
||||
# polkit
|
||||
exec-once = $polkit
|
||||
|
||||
# notification system
|
||||
exec-once = /usr/bin/swaync
|
||||
|
||||
# unlock kwallet
|
||||
# exec-once = /usr/share/hyprland/scripts/load-kwallet.sh
|
||||
|
||||
# load kwallet dependent apps
|
||||
# exec-once = /usr/share/hyprland/scripts/load-kwallet-apps.sh
|
||||
|
||||
# dbus stuff
|
||||
exec-once = /usr/bin/dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
|
||||
# nextcloud
|
||||
# exec-once = sleep 1 && flatpak run --branch=stable --arch=x86_64 --command=nextcloud --file-forwarding com.nextcloud.desktopclient.nextcloud
|
||||
|
||||
# exec-once = akregator --hide-mainwindow
|
11
files/system/usr/share/hypr/hyprland.conf.d/browser.conf
Normal file
11
files/system/usr/share/hypr/hyprland.conf.d/browser.conf
Normal file
@@ -0,0 +1,11 @@
|
||||
# browser.conf
|
||||
|
||||
# floorp
|
||||
$browser = /usr/bin/flatpak run one.ablaze.floorp
|
||||
$mainMod = SUPER
|
||||
|
||||
## autostart
|
||||
exec-once = [workspace 1 silent] $browser
|
||||
|
||||
## keybind
|
||||
bind = $mainMod, F, exec, $browser
|
@@ -0,0 +1,26 @@
|
||||
# discord_workspace.conf
|
||||
|
||||
$discord = /usr/bin/flatpak run com.discordapp.Discord
|
||||
|
||||
$discord_class = class:^(vesktop)$|^(discord)$|^(com.discord.app.Discord)$|^(WebCord)$|^(equibop)$
|
||||
|
||||
# workspace
|
||||
workspace = special:discord
|
||||
|
||||
# window rule
|
||||
windowrule = workspace special:discord silent, $discord_class
|
||||
#windowrule = workspace special:discord silent, class:^(discord)$
|
||||
#windowrule = opacity 0.9 0.9, $discord_class
|
||||
windowrule = allowsinput on, $discord_class
|
||||
|
||||
# key binds
|
||||
$mainMod = SUPER
|
||||
#bind = $mainMod, D, focuswindow, vesktop
|
||||
bind = $mainMod, D, togglespecialworkspace, discord
|
||||
bind = $mainMod SHIFT, D, movetoworkspace, special:discord
|
||||
|
||||
# discord overlay
|
||||
#exec-once = discover-overlay
|
||||
|
||||
# launch discord
|
||||
exec-once = $discord
|
31
files/system/usr/share/hypr/hyprland.conf.d/env_vars.conf
Normal file
31
files/system/usr/share/hypr/hyprland.conf.d/env_vars.conf
Normal file
@@ -0,0 +1,31 @@
|
||||
# env_vars.conf
|
||||
|
||||
# hyprcursor
|
||||
env = HYPRCURSOR_THEME,Bibata-Modern-Classic
|
||||
env = HYPRCURSOR_SIZE,24
|
||||
|
||||
# Some default env vars.
|
||||
env = XCURSOR_THEME,Bibata-Modern-Classic
|
||||
env = XCURSOR_SIZE,24
|
||||
# Toolkit Backend Vars
|
||||
env = CLUTTER_BACKEND,wayland
|
||||
# QT Variables
|
||||
env = QT_QPA_PLATFORMTHEME,kde
|
||||
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
|
||||
env = QT_QPA_PLATFORM,wayland
|
||||
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
|
||||
# XDG specs vars
|
||||
env = XDG_CURRENT_DESKTOP,Hyprland
|
||||
env = XDG_SESSION_TYPE,wayland
|
||||
env = XDG_SESSION_DESKTOP,Hyprland
|
||||
# set gtk-theme
|
||||
env = QT_QUICK_CONTROLS_STYLE,org.kde.desktop
|
||||
|
||||
# copy some environments into systemctl
|
||||
exec = /usr/bin/systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP QT_QPA_PLATFORMTHEME
|
||||
|
||||
# set default editor
|
||||
env = EDITOR,/usr/bin/nvim
|
||||
|
||||
# for hdr games
|
||||
env = DXVK_HDR,1
|
@@ -0,0 +1,41 @@
|
||||
# game_workspace.conf
|
||||
|
||||
# workspace number
|
||||
$game-workspace-number = 5
|
||||
|
||||
exec-once = steam %U
|
||||
|
||||
# window rules
|
||||
windowrule = workspace 9 silent, title:^(Steam)$
|
||||
|
||||
# key binds
|
||||
$mainMod = SUPER
|
||||
bind = $mainMod, G, focuswindow, class:^(gamescope|steam)
|
||||
|
||||
# To put the window rules for the game workspace
|
||||
|
||||
# steam apps
|
||||
windowrule = workspace $game-workspace-number silent, class:^steam_app_\d+$
|
||||
|
||||
# gamescope
|
||||
windowrule = fullscreen, class:^(gamescope)$
|
||||
windowrule = workspace $game-workspace-number silent, class:^(gamescope)$
|
||||
|
||||
# Minecraft
|
||||
windowrule = workspace $game-workspace-number, class:^Minecraft.*
|
||||
|
||||
# factorio
|
||||
windowrule = workspace $game-workspace-number, class:^(factorio)$
|
||||
|
||||
# RetroArch flatpak
|
||||
windowrule = workspace $game-workspace-number, class:^(org.libretro.RetroArch)$
|
||||
|
||||
# dolphin emulator
|
||||
windowrule = workspace $game-workspace-number, class:^(dolphin-emu)$
|
||||
|
||||
# Slay the Spire
|
||||
windowrule = workspace $game-workspace-number, class:^(Slay the Spire)$
|
||||
|
||||
# Terraria
|
||||
windowrule = workspace $game-workspace-number, class:^(dotnet)$
|
||||
windowrule = fullscreen, class:^(dotnet)$
|
38
files/system/usr/share/hypr/hyprland.conf.d/keybinds.conf
Normal file
38
files/system/usr/share/hypr/hyprland.conf.d/keybinds.conf
Normal file
@@ -0,0 +1,38 @@
|
||||
# key_binds.conf
|
||||
|
||||
# Set programs that you use
|
||||
$fileManager = dolphin
|
||||
$menu = rofi -show drun
|
||||
#$menu = ags request -i launcher show
|
||||
$screenshot = grim -g "$(slurp -d)" - | wl-copy
|
||||
$powermenu = /usr/share/hypr/scripts/local-lua /usr/share/hypr/scripts/powermenu.lua
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
$mainMod = SUPER
|
||||
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
bind = $mainMod SHIFT, C, killactive,
|
||||
bind = $mainMod, M, exec, $powermenu
|
||||
bind = $mainMod, E, exec, $fileManager
|
||||
bind = $mainMod, V, togglefloating,
|
||||
bind = $mainMod, R, exec, $menu
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
bind = $mainMod, J, togglesplit, # dwindle
|
||||
bind = $mainMod SHIFT, F, fullscreen
|
||||
|
||||
# screenshots and screen recorder aylur dot files
|
||||
bind = $mainMod SHIFT, Print, exec, $screenshot
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mainMod SHIFT, mouse:272, movewindow
|
||||
bindm = $mainMod SHIFT, mouse:273, resizewindow
|
||||
|
||||
# global hotkeys
|
||||
# discord mute
|
||||
bind = CTRL SHIFT, M, pass, initialclass:^(discord)$
|
@@ -0,0 +1,7 @@
|
||||
# arrow_move_window.conf
|
||||
|
||||
# Move window with mainMod + Shift + arrow kyes
|
||||
bind = $mainMod SHIFT, left, movewindow, l
|
||||
bind = $mainMod SHIFT, right, movewindow, r
|
||||
bind = $mainMod SHIFT, up, movewindow, u
|
||||
bind = $mainMod SHIFT, down, movewindow, d
|
@@ -0,0 +1,16 @@
|
||||
# media_binds.conf
|
||||
$mainMod = SUPER
|
||||
|
||||
# media play-pause toggle
|
||||
bind = , XF86AudioPlay, exec, playerctl play-pause
|
||||
|
||||
# media volume up/down
|
||||
bind = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%-
|
||||
bind = , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 1%+
|
||||
|
||||
# media volume up/down
|
||||
bind = $mainMod, XF86AudioLowerVolume, exec, playerctl position 5-
|
||||
bind = $mainMod, XF86AudioRaiseVolume, exec, playerctl position 5+
|
||||
|
||||
# media pause
|
||||
bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
@@ -0,0 +1,34 @@
|
||||
# workspace_binds.conf
|
||||
$mainMod = SUPER
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
bind = $mainMod, 3, workspace, 3
|
||||
bind = $mainMod, 4, workspace, 4
|
||||
bind = $mainMod, 5, workspace, 5
|
||||
bind = $mainMod, 6, workspace, 6
|
||||
bind = $mainMod, 7, workspace, 7
|
||||
bind = $mainMod, 8, workspace, 8
|
||||
bind = $mainMod, 9, workspace, 9
|
||||
bind = $mainMod, 0, workspace, 10
|
||||
|
||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
||||
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
||||
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
||||
bind = $mainMod SHIFT, 8, movetoworkspace, 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
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
13
files/system/usr/share/hypr/hyprland.conf.d/terminal.conf
Normal file
13
files/system/usr/share/hypr/hyprland.conf.d/terminal.conf
Normal file
@@ -0,0 +1,13 @@
|
||||
# terminal.conf
|
||||
$terminal = kitty
|
||||
|
||||
# workspace
|
||||
workspace = special:terminal
|
||||
|
||||
# launch a terminal
|
||||
exec-once = [workspace special:terminal silent] $terminal
|
||||
|
||||
# key binds
|
||||
$mainMod = SUPER
|
||||
bind = $mainMod, T, togglespecialworkspace, terminal
|
||||
bind = $mainMod SHIFT, T, movetoworkspace, special:terminal
|
Reference in New Issue
Block a user