Compare commits
2 Commits
694f81ee2c
...
178bff8856
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
178bff8856 | ||
|
|
3add98f7bb |
@@ -3,97 +3,26 @@
|
|||||||
# | |_ _| __| -| |__| | | | | | |
|
# | |_ _| __| -| |__| | | | | | |
|
||||||
# |__|__| |_| |__| |__|__|_____|__|__|_|___|____/
|
# |__|__| |_| |__| |__|__|_____|__|__|_|___|____/
|
||||||
#
|
#
|
||||||
# by Bina & Honney
|
# by Bina & edited by Honney
|
||||||
|
|
||||||
source = ~/.config/hypr/hyprland/env.conf
|
|
||||||
source = ~/.config/hypr/hyprland/theme.conf
|
|
||||||
|
|
||||||
# -- execute at launch --
|
# -- execute at launch --
|
||||||
source = ~/.config/hypr/hyprland/autostart.conf
|
source = ~/.config/hypr/hyprland/autostart.conf
|
||||||
|
|
||||||
|
|
||||||
|
# -- monitor --
|
||||||
|
source = ~/.config/hypr/hyprland/monitor.conf
|
||||||
|
monitor=,preferred,auto,auto
|
||||||
|
|
||||||
# -- pywal colors --
|
# -- pywal colors --
|
||||||
source = ~/.config/wal/templates/colors-hyprland
|
source = ~/.config/wal/templates/colors-hyprland
|
||||||
|
|
||||||
# -- monitor --
|
|
||||||
monitor=,preferred,auto,auto
|
|
||||||
monitor=DP-4,3840x2160@60,-3840x0,1
|
|
||||||
monitor=DP-5,3840x2160@60,-3840x0,1
|
|
||||||
monitor=DP-1,3840x2160@60,-3840x0,1
|
|
||||||
monitor=DP-7,3840x2160@60,-3840x0,1
|
|
||||||
monitor=DP-3,3840x2160@144,0x0,1
|
|
||||||
monitor=HDMI-A-1,1920x1080@60,-1920x-1080,1,transform,2
|
|
||||||
monitor=DP-2,1920x1080@144,0x-1080,1,transform,2
|
|
||||||
|
|
||||||
# -- programs --
|
# -- programs --
|
||||||
$terminal = kitty
|
$terminal = kitty
|
||||||
$fileManager = nemo # put your preffered fileManager here, choose keybind
|
$fileManager = nemo # put your preffered fileManager here, choose keybind
|
||||||
$menu = wofi --show drun
|
$menu = wofi --show drun, run
|
||||||
|
|
||||||
# Cursor
|
|
||||||
env = HYPRCURSOR_THEME,DJ-FOX-C
|
|
||||||
env = HYPRCURSOR_SIZE,48
|
|
||||||
|
|
||||||
# -- environment variables --
|
# -- environment variables --
|
||||||
|
source = ~/.config/hypr/hyprland/env.conf
|
||||||
general {
|
|
||||||
gaps_in = 5
|
|
||||||
gaps_out = 8
|
|
||||||
border_size = 0
|
|
||||||
layout = dwindle
|
|
||||||
allow_tearing = false
|
|
||||||
}
|
|
||||||
|
|
||||||
decoration {
|
|
||||||
rounding = 5
|
|
||||||
active_opacity = 0.92
|
|
||||||
inactive_opacity = 0.92
|
|
||||||
fullscreen_opacity = 1
|
|
||||||
blur {
|
|
||||||
enabled = false
|
|
||||||
size = 3
|
|
||||||
passes = 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
input {
|
|
||||||
kb_layout = us
|
|
||||||
kb_variant =
|
|
||||||
kb_model =
|
|
||||||
kb_options =
|
|
||||||
kb_rules =
|
|
||||||
follow_mouse = 1
|
|
||||||
touchpad {
|
|
||||||
natural_scroll = no
|
|
||||||
}
|
|
||||||
sensitivity = 0 # -1.0 to 1.0; 0 means no modification.
|
|
||||||
numlock_by_default = true
|
|
||||||
}
|
|
||||||
|
|
||||||
animations {
|
|
||||||
enabled = yes
|
|
||||||
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
|
||||||
animation = windows, 1, 7, myBezier
|
|
||||||
animation = windowsOut, 1, 7, default, popin 80%
|
|
||||||
animation = border, 1, 10, default
|
|
||||||
animation = borderangle, 1, 8, default
|
|
||||||
animation = fade, 1, 7, default
|
|
||||||
animation = workspaces, 1, 6, default
|
|
||||||
}
|
|
||||||
|
|
||||||
dwindle {
|
|
||||||
pseudotile = yes
|
|
||||||
preserve_split = yes
|
|
||||||
}
|
|
||||||
|
|
||||||
#gestures {
|
|
||||||
# workspace_swipe = off
|
|
||||||
#}
|
|
||||||
|
|
||||||
misc {
|
|
||||||
force_default_wallpaper = 0
|
|
||||||
disable_hyprland_logo = true
|
|
||||||
}
|
|
||||||
|
|
||||||
source = ~/.config/hypr/hyprland/bind.conf
|
source = ~/.config/hypr/hyprland/bind.conf
|
||||||
source = ~/.config/hypr/hyprland/workspaces.conf
|
source = ~/.config/hypr/hyprland/workspaces.conf
|
||||||
|
source = ~/.config/hypr/hyprland/theme.conf
|
||||||
|
|||||||
34
.config/hypr/hyprland/autostart.conf
Executable file
@@ -0,0 +1,34 @@
|
|||||||
|
# Needs To start first
|
||||||
|
exec-once = waybar
|
||||||
|
#exec-once = hypridle
|
||||||
|
exec-once = hyprpaper
|
||||||
|
exec-once = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
|
||||||
|
exec-once = bash /usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh,gpg
|
||||||
|
exec-once = sleep 1 && ~/.config/hypr/scripts/wallpapers/wallpaper.sh
|
||||||
|
exec-once = ~/.config/hypr/scripts/goxlr/goxlr-start.sh
|
||||||
|
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||||
|
exec-once = systemctl --user start hyprpolkitagent
|
||||||
|
exec-once = carla -n ~/Music/1Player.carxp
|
||||||
|
# exec-once = udiskie -t
|
||||||
|
|
||||||
|
# Monitor LT
|
||||||
|
exec-once = discord
|
||||||
|
exec-once = nextcloud
|
||||||
|
exec-once = keepassxc
|
||||||
|
|
||||||
|
# Monitor RT
|
||||||
|
exec-once = floorp
|
||||||
|
exec-once = librewolf
|
||||||
|
exec-once = thunderbird
|
||||||
|
exec-once = alacritty -e /usr/bin/ollama serve
|
||||||
|
|
||||||
|
# Monitor LB
|
||||||
|
|
||||||
|
# Monitor RB
|
||||||
|
|
||||||
|
|
||||||
|
# Reset to default workspaces
|
||||||
|
exec-once = sleep 5 && hyprctl dispatch workspace 4
|
||||||
|
exec-once = sleep 5 && hyprctl dispatch workspace 3
|
||||||
|
exec-once = sleep 5 && hyprctl dispatch workspace 2
|
||||||
|
exec-once = sleep 5 && hyprctl dispatch workspace 1
|
||||||
111
.config/hypr/hyprland/bind.conf
Executable file
@@ -0,0 +1,111 @@
|
|||||||
|
# -- keybinds --
|
||||||
|
|
||||||
|
$mainMod = SUPER
|
||||||
|
|
||||||
|
bind = $mainMod, RETURN, exec, $terminal
|
||||||
|
bind = $mainMod, W, killactive, # "Quit"
|
||||||
|
bind = $mainMod, F, fullscreen,
|
||||||
|
bind = $mainMod, V, togglefloating,
|
||||||
|
bind = $mainMod, D, exec, $menu # "Apps"
|
||||||
|
bind = $mainMod SHIFT, D, pseudo, # dwindle
|
||||||
|
bind = $mainMod, J, togglesplit, # dwindle
|
||||||
|
|
||||||
|
|
||||||
|
# waybar
|
||||||
|
bind = $mainMod SHIFT, B, exec, ~/.config/waybar/launch.sh
|
||||||
|
bind = $mainMod, B, exec, killall -SIGUSR1 waybar
|
||||||
|
|
||||||
|
# wallpaper/swww
|
||||||
|
bind = $mainMod SHIFT, W, exec, ~/.config/hypr/scripts/wallpapers/wallpaper.sh
|
||||||
|
|
||||||
|
# wlogout
|
||||||
|
bind = $mainMod, M, exec, wlogout -b 2
|
||||||
|
|
||||||
|
# file manager
|
||||||
|
bind = $mainMod, E, exec, $fileManager
|
||||||
|
|
||||||
|
# hyprlock
|
||||||
|
bind = $mainMod, L, exec, hyprlock
|
||||||
|
|
||||||
|
# hyprpaper
|
||||||
|
bind = $mainMod SHIFT, H, exec, hyprpaper
|
||||||
|
|
||||||
|
# switch workspaces
|
||||||
|
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
|
||||||
|
bind = $mainMod, TAB, workspace, e+1
|
||||||
|
|
||||||
|
# move active window to a workspace
|
||||||
|
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
|
||||||
|
|
||||||
|
# move focus
|
||||||
|
bind = $mainMod, left, movefocus, l
|
||||||
|
bind = $mainMod, right, movefocus, r
|
||||||
|
bind = $mainMod, up, movefocus, u
|
||||||
|
bind = $mainMod, down, movefocus, d
|
||||||
|
|
||||||
|
# scroll through existing workspaces
|
||||||
|
bind = $mainMod, mouse_down, workspace, e+1
|
||||||
|
bind = $mainMod, mouse_up, workspace, e-1
|
||||||
|
|
||||||
|
# move/resize windows
|
||||||
|
bindm = $mainMod, mouse:272, movewindow
|
||||||
|
bindm = $mainMod SHIFT, mouse:272, resizewindow
|
||||||
|
|
||||||
|
bind = $mainMod SHIFT, right, resizeactive, 30 0
|
||||||
|
bind = $mainMod SHIFT, left, resizeactive, -30 0
|
||||||
|
bind = $mainMod SHIFT, up, resizeactive, 0 -30
|
||||||
|
bind = $mainMod SHIFT, down, resizeactive, 0 30
|
||||||
|
|
||||||
|
bind = $mainMod SHIFT, L, moveactive, 30 0
|
||||||
|
bind = $mainMod SHIFT, I, moveactive, -30 0
|
||||||
|
bind = $mainMod SHIFT, O, moveactive, 0 -30
|
||||||
|
bind = $mainMod SHIFT, K, moveactive, 0 30
|
||||||
|
|
||||||
|
# screenshots
|
||||||
|
bind = $mainMod, P, exec, ~/.config/hypr/scripts/screenshot/screenshot_window.sh
|
||||||
|
bind = $mainMod ALT, P, exec, ~/.config/hypr/scripts/screenshot/screenshot_monitor.sh
|
||||||
|
bind = $mainMod SHIFT, P, exec, ~/.config/hypr/scripts/screenshot/screenshot_area.sh
|
||||||
|
bind = $mainMod SHIFT, S, exec, ~/.config/hypr/scripts/screenshot/screenshot_area_2.sh
|
||||||
|
|
||||||
|
# Umlaute / German compatability on english Keyboard
|
||||||
|
bind = $mainMod, a, exec, bash -c 'wtype "ä"; xdotool type "ä"'
|
||||||
|
bind = $mainMod SHIFT, a, exec, wtype "Ä"
|
||||||
|
bind = $mainMod, o, exec, wtype "ö"
|
||||||
|
bind = $mainMod SHIFT, o, exec, wtype "Ö"
|
||||||
|
bind = $mainMod, u, exec, wtype "ü"
|
||||||
|
bind = $mainMod SHIFT, u, exec, wtype "Ü"
|
||||||
|
bind = $mainMod, s, exec, wtype "ß"
|
||||||
|
bind = $mainMod SHIFT, e, exec, wtype "€"
|
||||||
|
|
||||||
|
# Makro Pad
|
||||||
|
bind = $mainMod SHIFT CTRL, F1, exec, ~/.config/hypr/scripts/makropad/button01.sh
|
||||||
|
bind = $mainMod SHIFT CTRL, F2, exec, ~/.config/hypr/scripts/makropad/button02.sh
|
||||||
|
bind = $mainMod SHIFT CTRL, F3, exec, ~/.config/hypr/scripts/makropad/button03.sh
|
||||||
|
bind = $mainMod SHIFT CTRL, F4, exec, ~/.config/hypr/scripts/makropad/button04.sh
|
||||||
|
bind = $mainMod SHIFT CTRL, F5, exec, ~/.config/hypr/scripts/makropad/button05.sh
|
||||||
|
bind = $mainMod SHIFT CTRL, F6, exec, ~/.config/hypr/scripts/makropad/button06.sh
|
||||||
|
bind = $mainMod SHIFT CTRL, F7, exec, ~/.config/hypr/scripts/makropad/button07.sh
|
||||||
|
bind = $mainMod SHIFT CTRL, F8, exec, ~/.config/hypr/scripts/makropad/button08.sh
|
||||||
|
bind = $mainMod SHIFT CTRL, F9, exec, ~/.config/hypr/scripts/makropad/button09.sh
|
||||||
|
bind = $mainMod SHIFT CTRL, F10, exec, ~/.config/hypr/scripts/makropad/button10.sh
|
||||||
|
bind = $mainMod SHIFT CTRL, F11, exec, ~/.config/hypr/scripts/makropad/button11.sh
|
||||||
|
bind = $mainMod SHIFT CTRL, F12, exec, ~/.config/hypr/scripts/makropad/button12.sh
|
||||||
|
|
||||||
90
.config/hypr/hyprland/env.conf
Executable file
@@ -0,0 +1,90 @@
|
|||||||
|
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ #
|
||||||
|
# Environment variables. See https://wiki.hyprland.org/Configuring/Environment-variables/
|
||||||
|
|
||||||
|
env = GTK_USE_PORTAL,1
|
||||||
|
|
||||||
|
# Set your defaults editor through ENV in ~/.config/hypr/UserConfigs/01-UserDefaults.conf
|
||||||
|
|
||||||
|
# environment-variables
|
||||||
|
# Toolkit Backend Variables
|
||||||
|
env = GDK_BACKEND,wayland,x11,*
|
||||||
|
env = QT_QPA_PLATFORM,wayland;xcb
|
||||||
|
env = CLUTTER_BACKEND,wayland
|
||||||
|
|
||||||
|
#Run SDL2 applications on Wayland.
|
||||||
|
#Remove or set to x11 if games that provide older versions of SDL cause compatibility issues
|
||||||
|
#env = SDL_VIDEODRIVER,wayland
|
||||||
|
|
||||||
|
# xdg Specifications
|
||||||
|
env = XDG_CURRENT_DESKTOP,Hyprland
|
||||||
|
env = XDG_SESSION_DESKTOP,Hyprland
|
||||||
|
env = XDG_SESSION_TYPE,wayland
|
||||||
|
|
||||||
|
# QT Variables
|
||||||
|
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
|
||||||
|
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
|
||||||
|
env = QT_QPA_PLATFORMTHEME,qt5ct
|
||||||
|
env = QT_QPA_PLATFORMTHEME,qt6ct
|
||||||
|
|
||||||
|
# hyprland-qt-support
|
||||||
|
env = QT_QUICK_CONTROLS_STYLE,org.hyprland.style
|
||||||
|
|
||||||
|
# xwayland apps scale fix (useful if you are use monitor scaling).
|
||||||
|
# Set same value if you use scaling in Monitors.conf
|
||||||
|
# 1 is 100% 1.5 is 150%
|
||||||
|
# see https://wiki.hyprland.org/Configuring/XWayland/
|
||||||
|
env = GDK_SCALE,1
|
||||||
|
env = QT_SCALE_FACTOR,1
|
||||||
|
|
||||||
|
# Bibata-Modern-Ice-Cursor
|
||||||
|
# NOTE! You must have the hyprcursor version to activate this.
|
||||||
|
# https://wiki.hyprland.org/Hypr-Ecosystem/hyprcursor/
|
||||||
|
#env = HYPRCURSOR_THEME,Bibata-Modern-Ice
|
||||||
|
#env = HYPRCURSOR_SIZE,24
|
||||||
|
|
||||||
|
# firefox
|
||||||
|
env = MOZ_ENABLE_WAYLAND,1
|
||||||
|
|
||||||
|
# electron >28 apps (may help) ##
|
||||||
|
# https://www.electronjs.org/docs/latest/api/environment-variables
|
||||||
|
env = ELECTRON_OZONE_PLATFORM_HINT,auto # auto selects Wayland if possible, X11 otherwise
|
||||||
|
|
||||||
|
# NVIDIA
|
||||||
|
# This is from Hyprland Wiki. Below will be activated nvidia gpu detected
|
||||||
|
# See hyprland wiki https://wiki.hyprland.org/Nvidia/#environment-variables
|
||||||
|
|
||||||
|
#env = LIBVA_DRIVER_NAME,nvidia
|
||||||
|
#env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
||||||
|
#env = NVD_BACKEND,direct
|
||||||
|
|
||||||
|
# additional ENV's for nvidia. Caution, activate with care
|
||||||
|
#env = GBM_BACKEND,nvidia-drm
|
||||||
|
|
||||||
|
#env = __GL_GSYNC_ALLOWED,1 #adaptive Vsync
|
||||||
|
#env = __NV_PRIME_RENDER_OFFLOAD,1
|
||||||
|
#env = __VK_LAYER_NV_optimus,NVIDIA_only
|
||||||
|
#env = WLR_DRM_NO_ATOMIC,1
|
||||||
|
|
||||||
|
# FOR VM and POSSIBLY NVIDIA
|
||||||
|
# LIBGL_ALWAYS_SOFTWARE software mesa rendering
|
||||||
|
#env = LIBGL_ALWAYS_SOFTWARE,1 # Warning. May cause hyprland to crash
|
||||||
|
#env = WLR_RENDERER_ALLOW_SOFTWARE,1
|
||||||
|
|
||||||
|
# nvidia firefox (for hardware acceleration on FF)?
|
||||||
|
# check this post https://github.com/elFarto/nvidia-vaapi-driver#configuration
|
||||||
|
#env = MOZ_DISABLE_RDD_SANDBOX,1
|
||||||
|
#env = EGL_PLATFORM,wayland
|
||||||
|
|
||||||
|
#### Aquamarine Environment Variables #### ( Hyprland > 0.45 )
|
||||||
|
# https://wiki.hyprland.org/Configuring/Environment-variables/#aquamarine-environment-variables----ref-httpsgithubcomhyprwmaquamarineblobmaindocsenvmd---
|
||||||
|
# env = AQ_TRACE,1 # Enables more verbose logging.
|
||||||
|
# env = AQ_DRM_DEVICES,/dev/dri/card1:/dev/dri/card0 # Set an explicit list of DRM devices (GPUs) to use. It’s a colon-separated list of paths, with the first being the primary. E.g. /dev/dri/card1:/dev/dri/card0
|
||||||
|
# env = AQ_MGPU_NO_EXPLICIT,1 # Disables explicit syncing on mgpu buffers
|
||||||
|
# env = AQ_NO_MODIFIERS,1 # Disables modifiers for DRM buffers
|
||||||
|
|
||||||
|
#### Hyprland Environment Variables ####
|
||||||
|
# https://wiki.hyprland.org/Configuring/Environment-variables/#hyprland-environment-variables
|
||||||
|
# env = HYPRLAND_TRACE,1 # Enables more verbose logging.
|
||||||
|
# env = HYPRLAND_NO_RT,1 # Disables realtime priority setting by Hyprland.
|
||||||
|
# env = HYPRLAND_NO_SD_NOTIFY,1 # If systemd, disables the 'sd_notify' calls.
|
||||||
|
# env = HYPRLAND_NO_SD_VARS,1 # Disables management of variables in systemd and dbus activation environments.
|
||||||
28
.config/hypr/hyprland/monitor.conf
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
# The config where the resolution, position and
|
||||||
|
# other monitor Stuff is set up
|
||||||
|
|
||||||
|
# monitor = name, resolution, position, scale
|
||||||
|
monitor = desc:ASUSTek COMPUTER INC PA279CRV S5LMSB007609, 3840x2160@60, -3840x0, 1
|
||||||
|
|
||||||
|
monitor = desc:BNQ BenQ EX2710U Y8P00876019, 3840x2160@144, 0x0, 1
|
||||||
|
|
||||||
|
monitor= desc:Dell Inc. DELL P2419H D4CN3Q2, 1920x1080@60, -1920x-1080, 1, transform, 2v
|
||||||
|
|
||||||
|
monitor= desc:LG Electronics LG ULTRAGEAR 0x0004D8E1, 1920x1080@144, 0x-1080, 1, transform, 2
|
||||||
|
|
||||||
|
# Workspaces on Monitor 1
|
||||||
|
workspace = 1, monitor:desc:BNQ BenQ EX2710U Y8P00876019
|
||||||
|
|
||||||
|
# Workspaces on Monitor 2
|
||||||
|
workspace = 2, monitor:desc:ASUSTek COMPUTER INC PA279CRV S5LMSB007609
|
||||||
|
|
||||||
|
# Workspaces on Monitor 3
|
||||||
|
workspace = 3, monitor:desc:LG Electronics LG ULTRAGEAR 0x0004D8E1
|
||||||
|
workspace = 300, monitor:desc:LG Electronics LG ULTRAGEAR 0x0004D8E1
|
||||||
|
workspace = 301, monitor:desc:LG Electronics LG ULTRAGEAR 0x0004D8E1
|
||||||
|
workspace = 302, monitor:desc:LG Electronics LG ULTRAGEAR 0x0004D8E1
|
||||||
|
|
||||||
|
# Workspaces on Monitor 4
|
||||||
|
workspace = 4, monitor:desc:Dell Inc. DELL P2419H D4CN3Q2
|
||||||
|
workspace = 400, monitor:desc:Dell Inc. DELL P2419H D4CN3Q2
|
||||||
|
workspace = 401, monitor:desc:Dell Inc. DELL P2419H D4CN3Q2
|
||||||
97
.config/hypr/hyprland/theme.conf
Normal file
@@ -0,0 +1,97 @@
|
|||||||
|
$GTK_THEME = "catppuccin-mocha-blue-standard+default"
|
||||||
|
$CURSOR_THEME = "DJ-FOX-C"
|
||||||
|
$ICON_THEME = "BeautyLine-Garuda"
|
||||||
|
$KVANTUM_THEME = "Catppuccin-Mocha-Blue"
|
||||||
|
|
||||||
|
# Experimental HDR (optional)
|
||||||
|
experimental:xx_color_management_v4 = true
|
||||||
|
debug:full_cm_proto=true
|
||||||
|
|
||||||
|
# GTK Theming
|
||||||
|
env = GTK_THEME,catppuccin-mocha-blue-standard+default
|
||||||
|
env = GTK_ICON_THEME,BeautyLine-Garuda
|
||||||
|
env = GTK_THEME_VARIANT,dark
|
||||||
|
env = XDG_CURRENT_DESKTOP,Hyprland
|
||||||
|
env = GDK_BACKEND,wayland,x11
|
||||||
|
env = GTK_USE_PORTAL,1
|
||||||
|
env = GTK_THEME_VARIANT,dark
|
||||||
|
|
||||||
|
|
||||||
|
# Qt/Kvantum Theming
|
||||||
|
env = QT_QPA_PLATFORMTHEME,qt5ct
|
||||||
|
#env = QT_STYLE_OVERRIDE,kvantum
|
||||||
|
env = KVANTUM_THEME,Catppuccin-Mocha-Blue
|
||||||
|
env = QT_ENABLE_HIGHDPI_SCALING,1
|
||||||
|
env = QT_QPA_PLATFORM,wayland
|
||||||
|
|
||||||
|
# Icons:
|
||||||
|
env = XDG_DATA_DIRS,/usr/local/share:/usr/share:/home/honney/.local/share:/home/honney/.icons
|
||||||
|
env = GTK_ICON_THEME,BeautyLine-Garuda
|
||||||
|
|
||||||
|
# Icons & Cursor
|
||||||
|
env = XCURSOR_THEME,DJ-FOX-C
|
||||||
|
env = XCURSOR_SIZE,48
|
||||||
|
env = HYPRCURSOR_THEME,DJ-FOX-C
|
||||||
|
env = HYPRCURSOR_SIZE,48
|
||||||
|
|
||||||
|
# Font
|
||||||
|
|
||||||
|
# Window management
|
||||||
|
general {
|
||||||
|
gaps_in = 5
|
||||||
|
gaps_out = 8
|
||||||
|
border_size = 0
|
||||||
|
layout = dwindle
|
||||||
|
allow_tearing = false
|
||||||
|
}
|
||||||
|
|
||||||
|
decoration {
|
||||||
|
rounding = 5
|
||||||
|
active_opacity = 0.92
|
||||||
|
inactive_opacity = 0.92
|
||||||
|
fullscreen_opacity = 1
|
||||||
|
blur {
|
||||||
|
enabled = false
|
||||||
|
size = 3
|
||||||
|
passes = 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
input {
|
||||||
|
kb_layout = us
|
||||||
|
kb_variant =
|
||||||
|
kb_model =
|
||||||
|
kb_options =
|
||||||
|
kb_rules =
|
||||||
|
follow_mouse = 1
|
||||||
|
touchpad {
|
||||||
|
natural_scroll = no
|
||||||
|
}
|
||||||
|
sensitivity = 0 # -1.0 to 1.0; 0 means no modification.
|
||||||
|
numlock_by_default = true
|
||||||
|
}
|
||||||
|
|
||||||
|
animations {
|
||||||
|
enabled = yes
|
||||||
|
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
||||||
|
animation = windows, 1, 7, myBezier
|
||||||
|
animation = windowsOut, 1, 7, default, popin 80%
|
||||||
|
animation = border, 1, 10, default
|
||||||
|
animation = borderangle, 1, 8, default
|
||||||
|
animation = fade, 1, 7, default
|
||||||
|
animation = workspaces, 1, 6, default
|
||||||
|
}
|
||||||
|
|
||||||
|
dwindle {
|
||||||
|
pseudotile = yes
|
||||||
|
preserve_split = yes
|
||||||
|
}
|
||||||
|
|
||||||
|
#gestures {
|
||||||
|
# workspace_swipe = off
|
||||||
|
#}
|
||||||
|
|
||||||
|
misc {
|
||||||
|
force_default_wallpaper = 0
|
||||||
|
disable_hyprland_logo = true
|
||||||
|
}
|
||||||
23
.config/hypr/hyprland/workspaces.conf
Executable file
@@ -0,0 +1,23 @@
|
|||||||
|
# The config for to which workspace which window goes
|
||||||
|
|
||||||
|
### Apps windows to Workspaces
|
||||||
|
# Recommended Command: sleep 2 && hyprctl activewindow
|
||||||
|
|
||||||
|
# Apps on Monitor 1
|
||||||
|
|
||||||
|
# Apps on Monitor 2
|
||||||
|
|
||||||
|
# Apps on Monitor 3
|
||||||
|
windowrulev2 = workspace 3, class:^(floorp)$
|
||||||
|
windowrulev2 = workspace 300, class:^(librewolf)$
|
||||||
|
windowrulev2 = workspace 301, class:^(thunderbird)$
|
||||||
|
windowrulev2 = workspace 302, class:^(Alacritty)$
|
||||||
|
|
||||||
|
# Apps on Monitor 4
|
||||||
|
windowrulev2 = workspace 4, class:^(discord)$
|
||||||
|
windowrulev2 = workspace 4, class:^(Signal)$
|
||||||
|
windowrulev2 = workspace 400, class:^(com.nextcloud.desktopclient.nextcloud)$
|
||||||
|
windowrulev2 = workspace 401, class:^(org.keepassxc.KeePassXC)$
|
||||||
|
|
||||||
|
|
||||||
|
#windowrulev2 = tile,xwayland:1 # Grayjay and other xWayland fix but can also break
|
||||||
7
.config/hypr/scripts/audio/1player.sh
Executable file
@@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# kill old carla
|
||||||
|
killall carla
|
||||||
|
|
||||||
|
# start new session
|
||||||
|
nohup carla -n ~/Music/1Player.carxp &
|
||||||
7
.config/hypr/scripts/audio/2player.sh
Executable file
@@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# kill old carla
|
||||||
|
killall carla
|
||||||
|
|
||||||
|
# start new session
|
||||||
|
nohup carla -n ~/Music/2Player.carxp &
|
||||||
26
.config/hypr/scripts/audio/nohup.out
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
[carla] Plugin requested value for 'http://lsp-plug.in/plugins/lv2/mixer_x4_mono/KVT' which is not available
|
||||||
|
libjack.so.0 loaded successfully!
|
||||||
|
[carla] Will use LV2 X11 UI for 'LSP Mixer x4 Mono'
|
||||||
|
[carla] Previously saved client 'Mixer x8 Stereo' not found
|
||||||
|
[carla] Previously saved client 'LSP Mixer x4 Mono' not found
|
||||||
|
[carla] Previously saved client 'Simple Low Pass Filter' not found
|
||||||
|
Carla ready!
|
||||||
|
[carla] Plugin requested value for 'http://lsp-plug.in/plugins/lv2/mixer_x4_mono/KVT' which is not available
|
||||||
|
libjack.so.0 loaded successfully!
|
||||||
|
[carla] Will use LV2 X11 UI for 'LSP Mixer x4 Mono'
|
||||||
|
[carla] Previously saved client 'Mixer x8 Stereo' not found
|
||||||
|
[carla] Previously saved client 'LSP Mixer x4 Mono' not found
|
||||||
|
[carla] Previously saved client 'Simple Low Pass Filter' not found
|
||||||
|
Carla ready!
|
||||||
|
[31m[carla] Carla assertion failure: "newFrames > 0" in file CarlaEngineInternal.cpp, line 260[0m
|
||||||
|
[carla] Plugin requested value for 'http://lsp-plug.in/plugins/lv2/mixer_x4_mono/KVT' which is not available
|
||||||
|
[carla] Plugin requested value for 'http://lsp-plug.in/plugins/lv2/mixer_x4_mono/KVT' which is not available
|
||||||
|
libjack.so.0 loaded successfully!
|
||||||
|
[carla] Will use LV2 X11 UI for 'LSP Mixer x4 Mono'
|
||||||
|
[carla] Previously saved client 'spotify' not found
|
||||||
|
[carla] Previously saved client 'Mixer x8 Stereo' not found
|
||||||
|
[carla] Previously saved client 'LSP Mixer x4 Mono' not found
|
||||||
|
[carla] Previously saved client 'Simple Low Pass Filter' not found
|
||||||
|
Carla ready!
|
||||||
|
[31m[carla] Carla assertion failure: "newFrames > 0" in file CarlaEngineInternal.cpp, line 260[0m
|
||||||
|
[carla] Plugin requested value for 'http://lsp-plug.in/plugins/lv2/mixer_x4_mono/KVT' which is not available
|
||||||
13
.config/hypr/scripts/gnome-keyring/gnome-keyring-start.sh
Executable file
@@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Start DBus if not already started
|
||||||
|
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
|
||||||
|
eval "$(dbus-launch --sh-syntax)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Start gnome-keyring-daemon
|
||||||
|
eval "$(/usr/bin/gnome-keyring-daemon --start --components=secrets)"
|
||||||
|
|
||||||
|
# Dump environment to file for Fish to import
|
||||||
|
env | grep -E '^(DBUS_SESSION_BUS_ADDRESS|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|SSH_AUTH_SOCK)=' \
|
||||||
|
| sed "s/^/set -gx /; s/=/ '/; s/$/'/" > /tmp/gnome-keyring-env.fish
|
||||||
9
.config/hypr/scripts/goxlr/goxlr-settings-start.sh
Executable file
@@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Source the functions file
|
||||||
|
notify-send "GoXLR inteface is starting"
|
||||||
|
|
||||||
|
# nohup goxlr-daemon &
|
||||||
|
sleep 10
|
||||||
|
goxlr-client profiles device load 'Default'
|
||||||
|
notify-send "GoXLR start complete"
|
||||||
11
.config/hypr/scripts/goxlr/goxlr-start.sh
Executable file
@@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Source the functions file
|
||||||
|
source "$HOME/.config/function_helper.sh"
|
||||||
|
|
||||||
|
SCRIPT="goxlr-daemon"
|
||||||
|
SCRIPT2="$HOME/.config/hypr/scripts/goxlr/goxlr-settings-start.sh"
|
||||||
|
|
||||||
|
nohup "$SCRIPT" &
|
||||||
|
send_notification "normal" "GOXLR daemon Started" "Launched the GOXLR Daemon to control the Audio" "$HOME/.icons/BeautyLine-Garuda/apps/scalable/goxlr-utility.svg"
|
||||||
|
nohup "$SCRIPT2" &
|
||||||
11
.config/hypr/scripts/goxlr/headphones.sh
Executable file
@@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Source the functions file
|
||||||
|
source "$HOME/.config/function_helper.sh"
|
||||||
|
|
||||||
|
SCRIPT="goxlr-client volume line-out 0"
|
||||||
|
SCRIPT2="goxlr-client volume headphones 60"
|
||||||
|
|
||||||
|
$SCRIPT
|
||||||
|
$SCRIPT2
|
||||||
|
send_notification "normal" "Switched to Headphones" "Muted the Speaker and set the Headphones to a appropiate Volume." "$HOME/.icons/BeautyLine-Garuda/apps/scalable/goxlr-utility.svg"
|
||||||
11
.config/hypr/scripts/goxlr/speaker.sh
Executable file
@@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Source the functions file
|
||||||
|
source "$HOME/.config/function_helper.sh"
|
||||||
|
|
||||||
|
SCRIPT="goxlr-client volume line-out 100"
|
||||||
|
SCRIPT2="goxlr-client volume headphones 0"
|
||||||
|
|
||||||
|
$SCRIPT
|
||||||
|
$SCRIPT2
|
||||||
|
send_notification "normal" "Switched to Speaker" "Muted the Headphones and set the Speaker to a appropiate Volume." "$HOME/.icons/BeautyLine-Garuda/apps/scalable/goxlr-utility.svg"
|
||||||
36
.config/hypr/scripts/makropad/button01.sh
Executable file
@@ -0,0 +1,36 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Dependencies: hyprctl, jq, wtype
|
||||||
|
# Make sure Discord is running
|
||||||
|
if ! pgrep -x "Discord" > /dev/null; then
|
||||||
|
echo "Discord is not running."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Get the active window before switching (optional)
|
||||||
|
ACTIVE_WIN=$(hyprctl activewindow -j | jq -r '.address')
|
||||||
|
|
||||||
|
# Find the address of the Discord window
|
||||||
|
DISCORD_WIN=$(hyprctl clients -j | jq -r '.[] | select(.class == "discord") | .address')
|
||||||
|
|
||||||
|
if [ -z "$DISCORD_WIN" ]; then
|
||||||
|
echo "Could not find Discord window."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Focus Discord
|
||||||
|
hyprctl dispatch focuswindow address:$DISCORD_WIN
|
||||||
|
|
||||||
|
# Give it a moment to receive focus
|
||||||
|
sleep 0.1
|
||||||
|
|
||||||
|
# Send Ctrl+Shift+M to toggle mute
|
||||||
|
wtype -M ctrl -M shift -k M -m shift -m ctrl
|
||||||
|
|
||||||
|
# (Optional) Return to previous window
|
||||||
|
if [ -n "$ACTIVE_WIN" ]; then
|
||||||
|
sleep 0.1
|
||||||
|
hyprctl dispatch focuswindow address:$ACTIVE_WIN
|
||||||
|
fi
|
||||||
|
|
||||||
|
hyprctl notify 1 500 0 "Row 1, Colums 1"
|
||||||
8
.config/hypr/scripts/makropad/button02.sh
Executable file
@@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
playerctl previous
|
||||||
|
|
||||||
|
# Add shared script Functions
|
||||||
|
source "$HOME/.config/function_helper.sh"
|
||||||
|
|
||||||
|
send_notification "low" "Pressed Makropad Button" "Row 1, Colums 2" "$HOME/.icons/BeautyLine-Garuda/apps/scalable/keyboard.svg"
|
||||||
8
.config/hypr/scripts/makropad/button03.sh
Executable file
@@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
playerctl play-pause
|
||||||
|
|
||||||
|
# Add shared script Functions
|
||||||
|
source "$HOME/.config/function_helper.sh"
|
||||||
|
|
||||||
|
send_notification "low" "Pressed Makropad Button" "Row 1, Colums 3" "$HOME/.icons/BeautyLine-Garuda/apps/scalable/keyboard.svg"
|
||||||
9
.config/hypr/scripts/makropad/button04.sh
Executable file
@@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
playerctl next
|
||||||
|
|
||||||
|
# Add shared script Functions
|
||||||
|
source "$HOME/.config/function_helper.sh"
|
||||||
|
|
||||||
|
send_notification "low" "Pressed Makropad Button" "Row 1, Colums 4" "$HOME/.icons/BeautyLine-Garuda/apps/scalable/keyboard.svg"
|
||||||
|
|
||||||
41
.config/hypr/scripts/makropad/button05.sh
Executable file
@@ -0,0 +1,41 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Toggle Discord "Deafen" (mutes mic and audio output)
|
||||||
|
# Dependencies: hyprctl, jq, wtype
|
||||||
|
|
||||||
|
# Check if Discord is running
|
||||||
|
if ! pgrep -x "Discord" > /dev/null; then
|
||||||
|
echo "Discord is not running."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Get currently active window address
|
||||||
|
ACTIVE_WIN=$(hyprctl activewindow -j | jq -r '.address')
|
||||||
|
|
||||||
|
# Find Discord's window address
|
||||||
|
DISCORD_WIN=$(hyprctl clients -j | jq -r '.[] | select(.class == "discord") | .address')
|
||||||
|
|
||||||
|
if [ -z "$DISCORD_WIN" ]; then
|
||||||
|
echo "Discord window not found."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Focus the Discord window
|
||||||
|
hyprctl dispatch focuswindow address:$DISCORD_WIN
|
||||||
|
|
||||||
|
# Give Discord time to focus
|
||||||
|
sleep 0.1
|
||||||
|
|
||||||
|
# Send Ctrl + Shift + D to toggle "Deafen"
|
||||||
|
wtype -M ctrl -M shift -k D -m shift -m ctrl
|
||||||
|
|
||||||
|
# Optional: Restore focus to the previous window
|
||||||
|
if [ -n "$ACTIVE_WIN" ]; then
|
||||||
|
sleep 0.1
|
||||||
|
hyprctl dispatch focuswindow address:$ACTIVE_WIN
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Add shared script Functions
|
||||||
|
source "$HOME/.config/function_helper.sh"
|
||||||
|
|
||||||
|
send_notification "low" "Pressed Makropad Button" "Row 2, Colums 1" "$HOME/.icons/BeautyLine-Garuda/apps/scalable/keyboard.svg"
|
||||||
6
.config/hypr/scripts/makropad/button06.sh
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Add shared script Functions
|
||||||
|
source "$HOME/.config/function_helper.sh"
|
||||||
|
|
||||||
|
send_notification "low" "Pressed Makropad Button" "Row 2, Colums 2" "$HOME/.icons/BeautyLine-Garuda/apps/scalable/keyboard.svg"
|
||||||
6
.config/hypr/scripts/makropad/button07.sh
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Add shared script Functions
|
||||||
|
source "$HOME/.config/function_helper.sh"
|
||||||
|
|
||||||
|
send_notification "low" "Pressed Makropad Button" "Row 2, Colums 3" "$HOME/.icons/BeautyLine-Garuda/apps/scalable/keyboard.svg"
|
||||||
6
.config/hypr/scripts/makropad/button08.sh
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Add shared script Functions
|
||||||
|
source "$HOME/.config/function_helper.sh"
|
||||||
|
|
||||||
|
send_notification "low" "Pressed Makropad Button" "Row 2, Colums 4" "$HOME/.icons/BeautyLine-Garuda/apps/scalable/keyboard.svg"
|
||||||
6
.config/hypr/scripts/makropad/button09.sh
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Add shared script Functions
|
||||||
|
source "$HOME/.config/function_helper.sh"
|
||||||
|
|
||||||
|
send_notification "low" "Pressed Makropad Button" "Row 3, Colums 1" "$HOME/.icons/BeautyLine-Garuda/apps/scalable/keyboard.svg"
|
||||||
6
.config/hypr/scripts/makropad/button10.sh
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Add shared script Functions
|
||||||
|
source "$HOME/.config/function_helper.sh"
|
||||||
|
|
||||||
|
send_notification "low" "Pressed Makropad Button" "Row 3, Colums 2" "$HOME/.icons/BeautyLine-Garuda/apps/scalable/keyboard.svg"
|
||||||
6
.config/hypr/scripts/makropad/button11.sh
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Add shared script Functions
|
||||||
|
source "$HOME/.config/function_helper.sh"
|
||||||
|
|
||||||
|
send_notification "low" "Pressed Makropad Button" "Row 3, Colums 3" "$HOME/.icons/BeautyLine-Garuda/apps/scalable/keyboard.svg"
|
||||||
6
.config/hypr/scripts/makropad/button12.sh
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Add shared script Functions
|
||||||
|
source "$HOME/.config/function_helper.sh"
|
||||||
|
|
||||||
|
send_notification "low" "Pressed Makropad Button" "Row 3, Colums 4" "$HOME/.icons/BeautyLine-Garuda/apps/scalable/keyboard.svg"
|
||||||
18
.config/hypr/scripts/screenshot/screenshot_area.sh
Executable file
@@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
###
|
||||||
|
### ~/.config/hypr/scripts/screenshot/screenshot_area.sh
|
||||||
|
###
|
||||||
|
|
||||||
|
time=`date +%Y-%m-%d-%I-%M-%S`
|
||||||
|
geometry=$(hyprctl monitors -j | jq -r '.[] | select(.focused) | "\(.width)x\(.height)"')
|
||||||
|
dir="`xdg-user-dir PICTURES`/Screenshots"
|
||||||
|
file="Screenshot_${time}_${geometry}.png"
|
||||||
|
|
||||||
|
if [[ ! -d "$dir" ]]; then
|
||||||
|
mkdir -p "$dir"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Take Screenshot
|
||||||
|
cd "$dir" && grim -g "$(slurp)" "$file" && wl-copy < "$file"
|
||||||
|
# Open Screenshot
|
||||||
|
viewnior ${dir}/"$file"
|
||||||
16
.config/hypr/scripts/screenshot/screenshot_area_2.sh
Executable file
@@ -0,0 +1,16 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
###
|
||||||
|
### ~/.config/hypr/scripts/screenshot/screenshot_area.sh
|
||||||
|
###
|
||||||
|
|
||||||
|
time=`date +%Y-%m-%d-%I-%M-%S`
|
||||||
|
geometry=$(hyprctl monitors -j | jq -r '.[] | select(.focused) | "\(.width)x\(.height)"')
|
||||||
|
dir="`xdg-user-dir PICTURES`/Screenshots"
|
||||||
|
file="Screenshot_${time}_${geometry}.png"
|
||||||
|
|
||||||
|
if [[ ! -d "$dir" ]]; then
|
||||||
|
mkdir -p "$dir"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Take Screenshot
|
||||||
|
cd "$dir" && grim -g "$(slurp)" "$file" && wl-copy < "$file"
|
||||||
13
.config/hypr/scripts/screenshot/screenshot_monitor.sh
Executable file
@@ -0,0 +1,13 @@
|
|||||||
|
time=`date +%Y-%m-%d-%I-%M-%S`
|
||||||
|
geometry=$(swaymsg -t get_outputs | jq -r '.[] | select(.focused) | .current_mode.width, .current_mode.height' | tr '\n' 'x')
|
||||||
|
dir="`xdg-user-dir PICTURES`/Screenshots"
|
||||||
|
file="Screenshot_${time}_${geometry}.png"
|
||||||
|
|
||||||
|
if [[ ! -d "$dir" ]]; then
|
||||||
|
mkdir -p "$dir"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Take Screenshot
|
||||||
|
cd "$dir" && sleep 0.5 && grim "$file" && wl-copy < "$file"
|
||||||
|
# Open Screenshot
|
||||||
|
viewnior ${dir}/"$file"
|
||||||
15
.config/hypr/scripts/screenshot/screenshot_window.sh
Executable file
@@ -0,0 +1,15 @@
|
|||||||
|
time=`date +%Y-%m-%d-%I-%M-%S`
|
||||||
|
geometry=$(hyprctl monitors -j | jq -r '.[] | select(.focused) | "\(.width)x\(.height)"')
|
||||||
|
dir="`xdg-user-dir PICTURES`/Screenshots"
|
||||||
|
file="Screenshot_${time}_${geometry}.png"
|
||||||
|
|
||||||
|
if [[ ! -d "$dir" ]]; then
|
||||||
|
mkdir -p "$dir"
|
||||||
|
fi
|
||||||
|
|
||||||
|
focused_window=$(hyprctl activewindow -j | jq -r '"\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"')
|
||||||
|
|
||||||
|
# Take Screenshot
|
||||||
|
cd "$dir" && grim -g "$focused_window" "$file" && wl-copy < "$file"
|
||||||
|
# Open Screenshot
|
||||||
|
viewnior ${dir}/"$file"
|
||||||
1
.config/hypr/scripts/theming/theming.sh
Normal file
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
31
.config/hypr/scripts/tiling-helper/move-grayjay.sh
Executable file
@@ -0,0 +1,31 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
timeout=50 # 10 seconds max (50 * 0.2s)
|
||||||
|
count=0
|
||||||
|
|
||||||
|
while (( count < timeout )); do
|
||||||
|
# Grab both address and floating status
|
||||||
|
read -r win_addr floating <<< $(hyprctl -j clients | jq -r '.[] | select(.title == "Grayjay") | "\(.address) \(.floating)"')
|
||||||
|
|
||||||
|
if [[ -n "$win_addr" ]]; then
|
||||||
|
# Add 0x prefix if missing
|
||||||
|
if [[ "$win_addr" != 0x* ]]; then
|
||||||
|
win_addr="0x$win_addr"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# If the window is floating, toggle to make it tiled
|
||||||
|
if [[ "$floating" == "true" ]]; then
|
||||||
|
hyprctl dispatch togglefloating address:$win_addr
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Move to workspace 2 silently
|
||||||
|
hyprctl dispatch movetoworkspacesilent 2,address:$win_addr
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
sleep 0.2
|
||||||
|
((count++))
|
||||||
|
done
|
||||||
|
|
||||||
|
echo "Grayjay window not found within timeout." >&2
|
||||||
|
exit 1
|
||||||
39
.config/hypr/scripts/tiling-helper/toggle-goxlr-fullscreen.sh
Executable file
@@ -0,0 +1,39 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
timeout=50 # 10 seconds max (50 * 0.2s)
|
||||||
|
count=0
|
||||||
|
|
||||||
|
while (( count < timeout )); do
|
||||||
|
win_addr=$(hyprctl clients | awk '
|
||||||
|
/^Window/ { addr=$2 }
|
||||||
|
/title: GoXLR Utility/ { print addr }
|
||||||
|
')
|
||||||
|
|
||||||
|
if [[ -n "$win_addr" ]]; then
|
||||||
|
# Add 0x prefix if missing
|
||||||
|
if [[ "$win_addr" != 0x* ]]; then
|
||||||
|
win_addr="0x$win_addr"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Get fullscreen state (1 or 0)
|
||||||
|
fullscreen_state=$(hyprctl clients | awk -v addr="${win_addr#0x}" '
|
||||||
|
$1 == "Window" && $2 == addr { found=1 }
|
||||||
|
found && /^fullscreen:/ { print $2; exit }
|
||||||
|
')
|
||||||
|
|
||||||
|
if [[ "$fullscreen_state" == "1" ]]; then
|
||||||
|
hyprctl dispatch fullscreen address:$win_addr
|
||||||
|
echo "Fullscreen disabled for GoXLR Utility."
|
||||||
|
else
|
||||||
|
echo "GoXLR Utility is not fullscreen."
|
||||||
|
fi
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
sleep 0.2
|
||||||
|
((count++))
|
||||||
|
done
|
||||||
|
|
||||||
|
echo "GoXLR Utility window not found within timeout." >&2
|
||||||
|
exit 1
|
||||||
1
.config/hypr/scripts/wallpapers/current_wallpaper
Executable file
@@ -0,0 +1 @@
|
|||||||
|
/home/honney/.config/hypr/scripts/wallpapers/wallpapers/moody-flowers.png
|
||||||
BIN
.config/hypr/scripts/wallpapers/current_wallpaper_blurred.png
Executable file
|
After Width: | Height: | Size: 2.1 MiB |
73
.config/hypr/scripts/wallpapers/wallpaper.sh
Executable file
@@ -0,0 +1,73 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# _ _ _ _____ __ __ _____ _____ _____ _____ _____
|
||||||
|
# | | | | _ | | | | | _ | _ | _ | __| __ |
|
||||||
|
# | | | | | |__| |__| __| | __| __| -|
|
||||||
|
# |_____|__|__|_____|_____|__| |__|__|__| |_____|__|__|
|
||||||
|
#
|
||||||
|
|
||||||
|
current_wp="$HOME/.config/hypr/scripts/wallpapers/current_wallpaper"
|
||||||
|
blurred_wp="$HOME/.config/hypr/scripts/wallpapers/current_wallpaper_blurred.png"
|
||||||
|
wallpapers_dir="$HOME/.config/hypr/scripts/wallpapers/wallpapers"
|
||||||
|
blur="50x30"
|
||||||
|
|
||||||
|
# write path to wp into file
|
||||||
|
if [ ! -f $current_wp ]; then
|
||||||
|
touch $current_wp
|
||||||
|
echo "$HOME/wallpapers/default.png" > "$current_wp"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# current wallpaper path
|
||||||
|
current_wallpaper=$(cat "$current_wp")
|
||||||
|
|
||||||
|
# echo "$current_wallpaper"
|
||||||
|
|
||||||
|
wallpapers=$(ls "$wallpapers_dir"/*.png "$wallpapers_dir"/*.jpg 2>/dev/null)
|
||||||
|
|
||||||
|
# Convert the wallpapers list into an array
|
||||||
|
wallpapers_array=($wallpapers)
|
||||||
|
|
||||||
|
# Get the index of the current wallpaper in the array
|
||||||
|
current_index=-1
|
||||||
|
for i in "${!wallpapers_array[@]}"; do
|
||||||
|
if [ "${wallpapers_array[$i]}" == "$current_wallpaper" ]; then
|
||||||
|
current_index=$i
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
# If current wallpaper is not found in the list, set it to the first wallpaper
|
||||||
|
if [ "$current_index" -eq -1 ]; then
|
||||||
|
current_index=0
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Determine the next wallpaper (loop back to the start if we're at the end)
|
||||||
|
next_index=$(( (current_index + 1) % ${#wallpapers_array[@]} ))
|
||||||
|
next_wallpaper="${wallpapers_array[$next_index]}"
|
||||||
|
|
||||||
|
# Update the current wallpaper path in the file
|
||||||
|
echo "$next_wallpaper" > "$current_wp"
|
||||||
|
|
||||||
|
# echo "Current wallpaper is now: $next_wallpaper"
|
||||||
|
|
||||||
|
wal -q -i $next_wallpaper
|
||||||
|
|
||||||
|
# launch waybar based on new wallpaper colors
|
||||||
|
source "$HOME/.cache/wal/colors.sh"
|
||||||
|
~/.config/waybar/launch.sh &
|
||||||
|
|
||||||
|
# update soft link to cava colors based on wallpaper colors
|
||||||
|
# (cava needs to manually be restarted)
|
||||||
|
ln -sf "$HOME/.cache/wal/cava-colors" "$HOME/.config/cava/config"
|
||||||
|
|
||||||
|
hyprctl hyprpaper preload "$next_wallpaper"
|
||||||
|
hyprctl hyprpaper wallpaper ",$next_wallpaper"
|
||||||
|
|
||||||
|
# Create Blurred Wallpaper
|
||||||
|
magick $next_wallpaper -resize 3840x2160\! $next_wallpaper
|
||||||
|
echo ":: Resized"
|
||||||
|
echo "Next wallpaper path: $next_wallpaper"
|
||||||
|
echo "Blurred wallpaper path: $blurred_wp"
|
||||||
|
if [ ! "$blur" == "0x0" ] ; then
|
||||||
|
magick $next_wallpaper -blur $blur $blurred_wp
|
||||||
|
echo ":: Blurred"
|
||||||
|
fi
|
||||||
BIN
.config/hypr/scripts/wallpapers/wallpapers/AZVE1386.png
Executable file
|
After Width: | Height: | Size: 50 MiB |
BIN
.config/hypr/scripts/wallpapers/wallpapers/HZVE1401.png.bak
Executable file
|
After Width: | Height: | Size: 48 MiB |
BIN
.config/hypr/scripts/wallpapers/wallpapers/ZVE1408.png.bak
Executable file
|
After Width: | Height: | Size: 49 MiB |
BIN
.config/hypr/scripts/wallpapers/wallpapers/forest-sun.png
Executable file
|
After Width: | Height: | Size: 5.8 MiB |
BIN
.config/hypr/scripts/wallpapers/wallpapers/moody-flowers.png
Executable file
|
After Width: | Height: | Size: 3.2 MiB |
BIN
.config/hypr/scripts/wallpapers/wallpapers/penrose-triangle-forest.png
Executable file
|
After Width: | Height: | Size: 3.2 MiB |
BIN
.config/hypr/scripts/wallpapers/wallpapers/penrose-triangle-sky.png
Executable file
|
After Width: | Height: | Size: 4.7 MiB |
BIN
.config/hypr/scripts/wallpapers/wallpapers/rose.png.bak
Executable file
|
After Width: | Height: | Size: 8.7 MiB |
BIN
.config/hypr/scripts/wallpapers/wallpapers/tree-alone-dark-evening.png
Executable file
|
After Width: | Height: | Size: 4.4 MiB |
BIN
.config/hypr/scripts/wallpapers/wallpapers/tropical-leaves.png
Executable file
|
After Width: | Height: | Size: 8.2 MiB |
BIN
.config/hypr/scripts/wallpapers/wallpapers/vibrant-colors.png
Executable file
|
After Width: | Height: | Size: 1.8 MiB |