Nuke hyprland configs

This commit is contained in:
JeremyStar™ 2024-10-20 04:09:05 +02:00
parent c47aa40daa
commit f78c6a3928
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D
20 changed files with 0 additions and 479 deletions

View file

@ -1,24 +0,0 @@
# This section was stolen from https://wiki.hyprland.org/Hypr-Ecosystem/hypridle/
general {
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
before_sleep_cmd = loginctl lock-session # lock before suspend.
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
}
# Lock screen
listener {
timeout = 600
on-timeout = loginctl lock-session
}
# Turn on/off monitor
listener {
timeout = 600
on-timeout = hyprctl dispatch dpms off
on-resume = hyprctl dispatch dpms on
}
# Welcome back message
listener {
on-resume = hyprctl notify 2 5000 0 " Welcome back!"
}

View file

@ -1,3 +0,0 @@
[preferred]
default=hyprland;gtk
org.freedesktop.impl.portal.FileChooser=kde

View file

@ -1,272 +0,0 @@
# JeremyStarTM's Hyprland configuration
###############################
### CONFIGURATION VARIABLES ###
###############################
# User directory
$dirHome = /home/jeremystartm/
# Settings
# -> Keyboard
$settingsKeyboardNumlock = 0
$settingsKeyboardLayout = de
$settingsKeyboardVariant =
# -> Mouse
$settingsMouseLefthanded = 0
$settingsMouseSensitivity = 0
$settingsMouseFocusFollow = 1
# -> Tablet
$settingsTabletMonitor = DP-1
$settingsTabletRegionPosition = 0 0
$settingsTabletRegionSize = 2560 1440
$settingsTabletRelative = 0
$settingsTabletRotated = 0
# -> etc
$settingsCursorSize = 24
$settingsEnableResizeOnBorder = 0
$settingsEnableTearing = 1
$settingsEnableNoDirectScanout = 1
$settingsEnableShadows = 1
$settingsEnableBlur = 1
$settingsEnableAnimations = 1
# Programs
$programsTerminal = konsole
$programsFM = dolphin
$programsBrowser = librewolf
$programsMenu = $dirHome/.local/bin/launch-menu-apps
$programsMenuKill = bemenu
$programsNotiDaemon = fnott
$programsAuthAgent = /usr/lib/polkit-kde-authentication-agent-1
$programsBar = waybar
##############################
### HYPRLAND CONFIGURATION ###
##############################
# Internal variables
# Do not modify or things might break
$dirHypr = $dirHome/.config/hypr/
$programsJobrunner = $dirHome/.local/bin/jobrunner-runjob
$programsClipboard = $dirHypr/scripts.d/clipboard.sh
# Applications
# -> Jobrunner
exec=exec env JOBRUNNER_DISABLEOUTPUT=y $dirHome/.local/bin/jobrunner
# -> Essential programs
exec=pkill -9 $programsNotiDaemon; $programsNotiDaemon
exec=pkill -9 $programsAuthAgent; $programsAuthAgent
exec=pkill -9 $programsBar; $programsBar
# -> Clipboard
exec=pkill -9 wl-paste
exec=wl-paste --type text --watch cliphist store
exec=wl-paste --type image --watch cliphist store
# -> Screen sharing
exec=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
# -> Autostart scripts
exec-once=sleep 1s;$programsJobrunner "exec $dirHypr/scripts.d/commands-startup.sh"
exec=$programsJobrunner "exec $dirHypr/scripts.d/commands-reload.sh"
# Env
# -> Cursor
env = XCURSOR_SIZE,$settingsCursorSize
env = HYPRCURSOR_THEME,Posy_Cursor
env = HYPRCURSOR_SIZE,$settingsCursorSize
# -> XDG
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland
env = XDG_SESSION_DESKTOP,Hyprland
# -> Qt
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
env = QT_QPA_PLATFORMTHEME,qt6ct
# -> Enforce wayland backends
env = QT_QPA_PLATFORM,wayland;xcb
env = GTK_BACKEND,wayland,x11,*
env = SDL_VIDEODRIVER,wayland,x11
env = CLUTTER_BACKEND,wayland
env = ELECTRON_OZONE_PLATFORM_HINT=wayland
# Bindings
# -> Help
bind = SUPER, Escape, exec, $programsTerminal -e "$dirHypr/scripts.d/layout.sh"
# -> Menus
bind = SUPER, SUPER_L, exec, pkill -9 $programsMenuKill || $programsJobrunner $programsMenu
# -> Clipboard
bind = SUPER, V, exec, exec $programsJobrunner $programsClipboard
bind = SUPER_SHIFT, V, exec, cliphist wipe; hyprctl notify 5 5000 0 " Cleared clipboard"
# -> Programs
bind = SUPER, A, exec, exec $programsJobrunner $programsTerminal
bind = SUPER, S, exec, exec $programsJobrunner $programsFM
bind = SUPER, D, exec, exec $programsJobrunner $programsBrowser
# -> Window manipulation
bindm = SUPER, mouse:272, movewindow
bindm = SUPER, mouse:273, resizewindow
bind = SUPER, TAB, exec, hyprctl kill
bind = SUPER, Q, exec, $dirHypr/scripts.d/kill-active.sh
bind = SUPER, W, togglefloating
bind = SUPER, F, fullscreen
# -> Special workspace
bind = SUPER, E, togglespecialworkspace, magic
bind = SUPER, Y, movetoworkspace, special:magic
bind = SUPER_SHIFT, Y, movetoworkspace, 0
# -> Session management
bindt = SUPER_SHIFT, M, exec, hyprctl notify 2 5000 0 " Reloading configuration"; $programsJobrunner hyprctl reload
bindt = SUPER_SHIFT, L, exec, cd $dirHypr;hyprlock
bindt = SUPER_SHIFT, Q, exec, hyprctl notify 2 5000 0 " Exiting Hyprland, please wait"; $programsJobrunner EXIT; sleep 1s; pkill -9 jobrunner; rm -rf /tmp/jobrunner; hyprctl dispatch exit
bindt = SUPER_SHIFT, W, exec, poweroff
bindt = SUPER_SHIFT, E, exec, reboot
# -> Media keys
# --> Audio
# ---> Output
binde = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +1%
binde = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -1%
bind = , XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
# ---> Input
binde = SHIFT, XF86AudioRaiseVolume, exec, pactl set-source-volume @DEFAULT_SOURCE@ +1%
binde = SHIFT, XF86AudioLowerVolume, exec, pactl set-source-volume @DEFAULT_SOURCE@ -1%
bind = SHIFT, XF86AudioMute, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle
# --> Music
# ---> Playback
bind = , XF86AudioPlay, exec, playerctl play-pause
bind = , XF86AudioStop, exec, playerctl stop
# ---> Selection
bind = , XF86AudioNext, exec, playerctl next
bind = , XF86AudioPrev, exec, playerctl previous
# Window rules
# -> Supress 'maximize'
windowrulev2 = suppressevent maximize, class:.*
# -> Fix for XWaylandVideoBridge
windowrulev2 = opacity 0.0 override,class:^(xwaylandvideobridge)$
windowrulev2 = noanim,class:^(xwaylandvideobridge)$
windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
windowrulev2 = maxsize 1 1,class:^(xwaylandvideobridge)$
windowrulev2 = noblur,class:^(xwaylandvideobridge)$
# Hyprland configuration
general {
border_size = 2
no_border_on_floating = false
gaps_in = 10
gaps_out = 20
gaps_workspaces = 0
col.inactive_border = 0xffd60532 0xff6931fe 0
col.active_border = 0xffffffff
col.nogroup_border = 0xff000000
col.nogroup_border_active = 0xffffffff
layout = dwindle
no_focus_fallback = true
resize_on_border = $settingsEnableResizeOnBorder
allow_tearing = $settingsEnableTearing
}
decoration {
rounding = 8
active_opacity = 1
inactive_opacity = 0.95
fullscreen_opacity = 1
drop_shadow = $settingsEnableShadows
shadow_range = 4
dim_inactive = 1
dim_strength = 0.05
dim_special = 0.5
blur {
enabled = $settingsEnableBlur
ignore_opacity = 1
xray = 1
size = 6
noise = 0.03 # increased noise value for a slightly more "rough" look
}
}
animations {
enabled = $settingsEnableAnimations
bezier=plain, 0, 0, 1, 1 # straight curve
bezier=easeInSine, 0.12, 0, 0.39, 0 # slowest ease in
bezier=easeInQuart, 0.5, 0, 0.75, 0 # slow ease in
bezier=easeInQuint, 0.64, 0, 0.78, 0 # fast ease in
bezier=easeInExpo, 0.7, 0, 0.84, 0 # fastest ease in
bezier=easeOutSine, 0.61, 1, 0.88, 1 # slowest ease out
bezier=easeOutQuart, 0.25, 1, 0.5, 1 # slow ease out
bezier=easeOutQuint, 0.22, 1, 0.36, 1 # fast ease out
bezier=easeOutExpo, 0.16, 1, 0.3, 1 # fastest ease out
animation=windowsIn, 1, 4, easeOutSine # window open animation
animation=windowsOut, 1, 5, easeInSine # window close animation
#animation=windowsMove, 1, 6, easeOutExpo # window move/drag/resize animation
animation=fadeIn, 1, 4, easeOutSine # window open fade animation
animation=fadeOut, 1, 4, easeOutSine # window close fade animation
animation=fadeSwitch, 1, 10, easeOutQuart # focus switch opacity fade animation
animation=fadeShadow, 1, 10, easeOutQuart # focus switch shadow fade animation
animation=fadeDim, 1, 10, easeOutQuart # focus switch dim fade animation
animation=border, 1, 2, easeOutExpo # focus switch border animation
animation=borderangle, 1, 100, plain, loop # border color switch animation
#animation=workspaces, 1, 10, easeInQuart, slidefade # workspace switch animation
#animation=specialWorkspace, 1, 10, easeInQuart, slidefade # special workspace toggle animation
}
input {
kb_layout = $settingsKeyboardLayout
kb_variant = $settingsKeyboardVariant
follow_mouse = $settingsMouseFocusFollow
numlock_by_default = $settingsKeyboardNumlock
left_handed = $settingsMouseLefthanded
sensitivity = $settingsMouseSensitivity
touchpad {
disable_while_typing = false
}
tablet {
output = $settingsTabletMonitor
region_position = $settingsTabletRegionPosition
region_size = $settingsTabletRegionSize
relative_input = $settingsTabletRelative
left_handed = $settingsTabletRotated
}
}
gestures {
workspace_swipe = 0
}
misc {
disable_hyprland_logo = 0
disable_splash_rendering = 0
force_default_wallpaper = 2
font_family = Fira Code
splash_font_family = Jost
vrr = 0
animate_manual_resizes = 1
animate_mouse_windowdragging = 1
disable_autoreload = 1
focus_on_activate = 0
no_direct_scanout = $settingsEnableNoDirectScanout
}
# Issue (re)load success message
exec=hyprctl notify 5 5000 0 " Configuration loaded successfully"
# Include external configuration files
source=hyprland.conf.d/*.conf

View file

@ -1 +0,0 @@
monitor=,preferred,auto,auto

View file

@ -1,4 +0,0 @@
# NVIDIA Compatibility configuration file
# Execute this command for NVIDIA graphics card
# compatibility (will cause issues on non-NVIDIA):
# cp ~/.config/hypr/hyprland.conf.d/nvidia.conf.disabled ~/.config/hypr/hyprland.conf.d/nvidia.conf

View file

@ -1,9 +0,0 @@
# NVIDIA Compatibility configuration file
# See https://wiki.hyprland.org/Nvidia/ for what
# packages to install (or stuff might break!).
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = LIBVA_DRIVER_NAME,nvidia
env = __GL_VRR_ALLOWED,0
env = NVD_BACKEND,direct

View file

@ -1,3 +0,0 @@
# Plugin loader
exec-once=hyprpm enable csgo-vulkan-fix

View file

@ -1 +0,0 @@
env = GTK_THEME,Breeze-Dark

View file

@ -1,47 +0,0 @@
# old hyprland anime wallpaper
$wallpaper = old-hyprland-anime.png
$blur = 1
general {
disable_loading_bar=0
hide_cursor=1
ignore_empty_input=1
}
# Wallpaper
background {
path = wallpapers.d/$wallpaper
color = 0x1b1b1b
blur_passes = $blur
blur_size = 4
noise = 0.03 # increased noise value for a slightly more "rough" look
}
# Title
#label {
# text = Enter your password
# text_align = center
# color = 0xffffffff
#
# font_size = 36
# font_family = Jost
#
# position = 0, -10
# halign = center
# valign = top
#}
# Failure info
label {
text = $FAIL
text_align = center
color = 0xffffffff
font_size = 24
font_family = Jost
position = 0, 10
halign = center
valign = bottom
}

View file

@ -1,6 +0,0 @@
preload = wallpapers.d/bsod.png
wallpaper = ,wallpapers.d/bsod.png
splash = 0
ipc = 0

View file

@ -1,5 +0,0 @@
#!/bin/bash
# The only reason this script exists is because
# Hyprland, jobrunner, idk does not support piping.
cliphist list | ${HOME}/.local/bin/launch-menu "copy" | cliphist decode | wl-copy

View file

@ -1,18 +0,0 @@
#!/bin/bash
cd ${HOME}/.config/hypr
# This script will be executed on every Hyprland configuration reload & startup
# Programs here
# Append ' &' to all of them or this script won't work
# hyprpaper
pkill -9 hyprpaper
hyprpaper &
# hypridle
pkill -9 hypridle
hypridle &
# Wait for all tasks to finish
# Do not remove this.
wait

View file

@ -1,14 +0,0 @@
#!/bin/bash
cd ${HOME}/.config/hypr
# This script will be executed on every Hyprland startup
# Programs here
# Append ' &' to all of them or this script won't work
# Bitfocus Companion
# Useful if you have an Elgato Streamdeck
companion &
# Wait for all tasks to finish
# Do not remove this.
wait

View file

@ -1,6 +0,0 @@
#!/bin/bash
if [ "$(hyprctl activewindow -j | jq -r ".class")" = "Steam" ]; then
xdotool getactivewindow windowunmap
else
hyprctl dispatch killactive ""
fi

View file

@ -1,63 +0,0 @@
#!/usr/bin/env bash
# Create layout file
[[ ! -f /tmp/hyprland-layout.txt ]] && cat << EOF >> /tmp/hyprland-layout.txt
Hyprland Keybindings
Listed in order of appearance in hyprland.conf
Help
-> Display keybind layout -> SUPER + ESC
Menus
-> Display application list -> SUPER
Clipboard
-> Show clipboard contents -> SUPER + V
-> Clear clipboard -> SUPER + SHIFT + V
Programs
-> Start terminal emulator -> SUPER + A
-> Start file manager -> SUPER + S
-> Start web browser -> SUPER + D
Window manipulation
-> Move window -> SUPER + LMB
-> Resize window -> SUPER + RMB
-> Close active window -> SUPER + Q
-> Force kill window -> SUPER + TAB
-> Toggle floating mode -> SUPER + W
-> Toggle fullscreen mode -> SUPER + F
Special workspace
-> Toggle special workspace -> SUPER + E
-> Move to special workspace -> SUPER + Y
-> Move to normal workspace -> SUPER + SHIFT + Y
Session management
-> Reload configuration -> SUPER + SHIFT + M
-> Lock session -> SUPER + SHIFT + L
-> Exit Hyprland -> SUPER + SHIFT + Q
-> Shutdown computer -> SUPER + SHIFT + W
-> Restart computer -> SUPER + SHIFT + E
Media keys
-> Output
--> Raise volume -> Audio Raise Volume
--> Lower volume -> Audio Lower Volume
--> Mute -> Audio Mute
-> Input
--> Raise volume -> SHIFT + Audio Raise Volume
--> Lower volume -> SHIFT + Audio Lower Volume
--> Mute -> SHIFT + Audio Mute
-> Playback
--> Toggle playback -> Audio Play
--> Stop playback -> Audio stop
--> Play next track -> Audio Next
--> Play previous track -> Audio Previous
EOF
# Remove layout file
( sleep 1s; rm -rf /tmp/hyprland-layout.txt ) &
# Display layout file
less /tmp/hyprland-layout.txt

Binary file not shown.

Before

Width:  |  Height:  |  Size: 183 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

View file

@ -1,3 +0,0 @@
screencopy {
max_fps = 120
}