update to lua
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
hl.on("hyprland.start", function ()
|
||||
hl.exec_cmd("nm-applet")
|
||||
hl.exec_cmd("gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'")
|
||||
hl.exec_cmd("dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP")
|
||||
hl.exec_cmd("systemctl --user start hyprpolkitagent")
|
||||
hl.exec_cmd("tmux new-session -d -s keyring '/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh,gpg'")
|
||||
|
||||
hl.exec_cmd("hypridle")
|
||||
hl.exec_cmd("hyprpaper")
|
||||
if HOSTNAME == "archlinux-hypr" then
|
||||
hl.exec_cmd("tmux new-session -d -s ydotool 'ydotoold'")
|
||||
hl.exec_cmd("tmux new-session -d -s ollama '/usr/bin/ollama serve'")
|
||||
hl.exec_cmd("tmux new-session -d -s fah 'cd ~/.local/share/fah && fah-client'")
|
||||
hl.exec_cmd("tmux new-session -d -s carla 'carla -n /home/honney/Downloads/test.carxp'")
|
||||
hl.exec_cmd("bash -c '~/.config/hypr/scripts/goxlr/goxlr-start.sh > ~/.config/hypr/scripts/goxlr/goxlr-start.log'")
|
||||
hl.exec_cmd("bash -c 'sleep 2 && ~/.config/hypr/scripts/wallpapers/random_wallpaper.sh > ~/.config/hypr/scripts/wallpapers/random_wallpaper.log'")
|
||||
|
||||
hl.exec_cmd("nextcloud")
|
||||
hl.exec_cmd("librewolf")
|
||||
hl.exec_cmd("thunderbird")
|
||||
hl.exec_cmd("discord")
|
||||
elseif HOSTNAME == "hp-laptop" then
|
||||
hl.exec_cmd("bash -c 'sleep 2 && ~/.config/hypr/scripts/wallpapers/random_wallpaper.sh > ~/.config/hypr/scripts/wallpapers/random_wallpaper.log'")
|
||||
hl.exec_cmd("tmux new-session -d -s ydotool 'ydotoold'")
|
||||
hl.exec_cmd("tmux new-session -d -s ollama '/usr/bin/ollama serve'")
|
||||
hl.exec_cmd("nextcloud")
|
||||
hl.exec_cmd("discord")
|
||||
end
|
||||
|
||||
hl.exec_cmd("bash -c '~/.config/hypr/scripts/autostart/autostart.sh > ~/.config/hypr/scripts/autostart/autostart.log'")
|
||||
end)
|
||||
@@ -1,92 +0,0 @@
|
||||
# -- keybinds --
|
||||
$mod = SUPER
|
||||
|
||||
bind = $mod, RETURN, exec, $terminal
|
||||
bind = $mod, W, killactive, # "Quit"
|
||||
bind = $mod, Q, killactive, # "Quit"
|
||||
bind = $mod, F, fullscreen,
|
||||
bind = $mod, V, togglefloating,
|
||||
bind = $mod, D, exec, $menu # "Apps"
|
||||
bind = $mod SHIFT, D, pseudo, # dwindle
|
||||
# bind = $mod, J, togglesplit, # dwindle
|
||||
|
||||
# file manager
|
||||
bind = $mod, E, exec, $fileManager
|
||||
|
||||
# hyprlock
|
||||
bind = $mod, L, exec, hyprlock
|
||||
|
||||
# switch workspaces
|
||||
bind = $mod, 1, workspace, 1
|
||||
bind = $mod, 2, workspace, 2
|
||||
bind = $mod, 3, workspace, 3
|
||||
bind = $mod, 4, workspace, 4
|
||||
bind = $mod, 5, workspace, 5
|
||||
bind = $mod, 6, workspace, 6
|
||||
bind = $mod, 7, workspace, 7
|
||||
bind = $mod, 8, workspace, 8
|
||||
bind = $mod, 9, workspace, 9
|
||||
bind = $mod, 0, workspace, 10
|
||||
bind = $mod, TAB, workspace, e+1
|
||||
|
||||
bind = $mod, F1, workspace, 401
|
||||
|
||||
# move active window to a workspace
|
||||
bind = $mod SHIFT, 1, movetoworkspace, 1
|
||||
bind = $mod SHIFT, 2, movetoworkspace, 2
|
||||
bind = $mod SHIFT, 3, movetoworkspace, 3
|
||||
bind = $mod SHIFT, 4, movetoworkspace, 4
|
||||
bind = $mod SHIFT, 5, movetoworkspace, 5
|
||||
bind = $mod SHIFT, 6, movetoworkspace, 6
|
||||
bind = $mod SHIFT, 7, movetoworkspace, 7
|
||||
bind = $mod SHIFT, 8, movetoworkspace, 8
|
||||
bind = $mod SHIFT, 9, movetoworkspace, 9
|
||||
bind = $mod SHIFT, 0, movetoworkspace, 10
|
||||
|
||||
bind = $mod SHIFT, F1, movetoworkspace, 401
|
||||
|
||||
# move focus
|
||||
bind = $mod, left, movefocus, l
|
||||
bind = $mod, right, movefocus, r
|
||||
bind = $mod, up, movefocus, u
|
||||
bind = $mod, down, movefocus, d
|
||||
|
||||
# scroll through existing workspaces
|
||||
bind = $mod, mouse_down, workspace, e+1
|
||||
bind = $mod, mouse_up, workspace, e-1
|
||||
|
||||
# move/resize windows
|
||||
bindm = $mod, mouse:272, movewindow
|
||||
bindm = $mod SHIFT, mouse:272, resizewindow
|
||||
|
||||
bind = $mod SHIFT, right, resizeactive, 30 0
|
||||
bind = $mod SHIFT, left, resizeactive, -30 0
|
||||
bind = $mod SHIFT, up, resizeactive, 0 -30
|
||||
bind = $mod SHIFT, down, resizeactive, 0 30
|
||||
|
||||
bind = $mod SHIFT, L, moveactive, 30 0
|
||||
bind = $mod SHIFT, I, moveactive, -30 0
|
||||
bind = $mod SHIFT, O, moveactive, 0 -30
|
||||
bind = $mod SHIFT, K, moveactive, 0 30
|
||||
|
||||
# screenshots
|
||||
bind = $mod, P, exec, ~/.config/hypr/scripts/screenshot/screenshot_window.sh
|
||||
bind = $mod ALT, P, exec, ~/.config/hypr/scripts/screenshot/screenshot_monitor.sh
|
||||
bind = $mod SHIFT, P, exec, ~/.config/hypr/scripts/screenshot/screenshot_area.sh
|
||||
bind = $mod SHIFT, S, exec, ~/.config/hypr/scripts/screenshot/screenshot_area_2.sh
|
||||
|
||||
# Scrolling
|
||||
bind = $mod CTRL, left, layoutmsg, focus l
|
||||
bind = $mod CTRL, right, layoutmsg, focus r
|
||||
bind = $mod CTRL SHIFT, left, layoutmsg, swapcol l
|
||||
bind = $mod CTRL SHIFT, right, layoutmsg, swapcol r
|
||||
|
||||
# Audio keys
|
||||
bindel = , XF86AudioRaiseVolume, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ 0; wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||
bindel = , XF86AudioLowerVolume, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ 0; wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||
bindel = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
|
||||
# Video Keys
|
||||
bindel = , XF86AudioPlay, exec, playerctl play-pause || playerctl play-pause
|
||||
bindel = , XF86AudioNext, exec, playerctl next
|
||||
bindel = , XF86AudioPrev, exec, playerctl previous
|
||||
+105
@@ -0,0 +1,105 @@
|
||||
-- Set default applications
|
||||
local terminal = "kitty"
|
||||
local fileManager = "nautilus"
|
||||
local menu = "wofi --show drun, run"
|
||||
local lockscreen = "hyprlock"
|
||||
|
||||
-- open Software
|
||||
hl.bind("SUPER + SHIFT + Q", hl.dsp.exec_cmd("firefox"))
|
||||
hl.bind("SUPER+RETURN", hl.dsp.exec_cmd(terminal))
|
||||
hl.bind("SUPER+D", hl.dsp.exec_cmd(menu))
|
||||
hl.bind("SUPER+E", hl.dsp.exec_cmd(fileManager))
|
||||
hl.bind("SUPER+L", hl.dsp.exec_cmd(lockscreen), { locked = true })
|
||||
|
||||
-- Hyprland hl.binds
|
||||
|
||||
-- Manipulating Windows/Software
|
||||
hl.bind("SUPER+W", hl.dsp.window.close())
|
||||
hl.bind("SUPER+Q", hl.dsp.window.close())
|
||||
hl.bind("SUPER+F", hl.dsp.window.fullscreen)
|
||||
hl.bind("SUPER+V", hl.dsp.window.float({ action = "toggle" }))
|
||||
hl.bind("SUPER+SHIFT+D", hl.dsp.window.pseudo)
|
||||
|
||||
-- Interacting with Workspaces
|
||||
for i = 1, 9 do
|
||||
hl.bind("SUPER+" .. tostring(i), hl.dsp.focus({ workspace = tostring(i) }))
|
||||
hl.bind("SUPER+CTRL+" .. tostring(i), hl.dsp.window.move({workspace = tostring(i), follow = false}))
|
||||
hl.bind("SUPER+SHIFT+" .. tostring(i), hl.dsp.window.move({workspace = tostring(i), follow = true}))
|
||||
end
|
||||
|
||||
hl.bind("SUPER+0", hl.dsp.focus({ workspace = "10" }))
|
||||
hl.bind("SUPER+CTRL+0", hl.dsp.window.move({workspace = "10", follow = false}))
|
||||
hl.bind("SUPER+SHIFT+0", hl.dsp.window.move({workspace = "10", follow = true}))
|
||||
hl.bind("SUPER+F1", hl.dsp.focus({ workspace = "401" }))
|
||||
hl.bind("SUPER+CTRL+F1", hl.dsp.window.move({workspace = "401", follow = false}))
|
||||
hl.bind("SUPER+SHIFT+F1", hl.dsp.window.move({workspace = "401", follow = true}))
|
||||
|
||||
-- -- Scrolling
|
||||
-- hl.bind("SUPER+CTRL+left", hl.dsp.layout(move = "+col"))
|
||||
-- hl.bind("SUPER+CTRL+right", hl.dsp.layout(move = "-col"))
|
||||
-- hl.bind("SUPER+CTRL+SHIFT+left", hl.dsp.layout(swapcol = "l"))
|
||||
-- hl.bind("SUPER+CTRL+SHIFT+right", hl.dsp.layout(swapcol = "r"))
|
||||
|
||||
-- -- Resizing windows
|
||||
-- hl.bind("SUPER+SHIFT+right", "resizeactive", "30 0")
|
||||
-- hl.bind("SUPER+SHIFT+left", "resizeactive", "-30 0")
|
||||
-- hl.bind("SUPER+SHIFT+up", "resizeactive", "0 -30")
|
||||
-- hl.bind("SUPER+SHIFT+down", "resizeactive", "0 30")
|
||||
|
||||
-- Mouse Commands for moving windows
|
||||
-- hl.bind("SUPER+mouse_down", "workspace", "e+1")
|
||||
-- hl.bind("SUPER+mouse_up", "workspace", "e-1")
|
||||
hl.bind("SUPER + mouse:272", hl.dsp.window.drag(), { mouse = true })
|
||||
hl.bind("SUPER + mouse:273", hl.dsp.window.resize(), { mouse = true })
|
||||
hl.bind("SUPER + SHIFT + mouse:272", hl.dsp.window.resize(), { mouse = true })
|
||||
|
||||
-- Move between workspaces/screens
|
||||
hl.bind("SUPER+left" , hl.dsp.focus({ direction = "l" }))
|
||||
hl.bind("SUPER+right", hl.dsp.focus({ direction = "r" }))
|
||||
hl.bind("SUPER+up" , hl.dsp.focus({ direction = "u" }))
|
||||
hl.bind("SUPER+down" , hl.dsp.focus({ direction = "d" }))
|
||||
hl.bind("SUPER+TAB" , hl.dsp.focus({ workspace = "e+1", on_current_monitor = true }))
|
||||
|
||||
-- Screenshots
|
||||
hl.bind("SUPER+P", hl.dsp.exec_cmd("~/.config/hypr/scripts/screenshot/screenshot_window.sh"))
|
||||
hl.bind("SUPER+ALT+P", hl.dsp.exec_cmd("~/.config/hypr/scripts/screenshot/screenshot_monitor.sh"))
|
||||
hl.bind("SUPER+SHIFT+P", hl.dsp.exec_cmd("~/.config/hypr/scripts/screenshot/screenshot_area.sh"))
|
||||
hl.bind("SUPER+SHIFT+S", hl.dsp.exec_cmd("~/.config/hypr/scripts/screenshot/screenshot_area_2.sh"))
|
||||
|
||||
-- Audio Control
|
||||
hl.bind("XF86AudioRaiseVolume", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SINK@ 0; wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+"))
|
||||
hl.bind("XF86AudioLowerVolume", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SINK@ 0; wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"))
|
||||
hl.bind("XF86AudioMute", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"))
|
||||
|
||||
hl.bind("XF86AudioPlay", hl.dsp.exec_cmd("playerctl play-pause || playerctl play-pause"))
|
||||
hl.bind("XF86AudioNext", hl.dsp.exec_cmd("playerctl next"))
|
||||
hl.bind("XF86AudioPrev", hl.dsp.exec_cmd("playerctl previous"))
|
||||
|
||||
-- German Umlaute
|
||||
hl.bind("SUPER+a", hl.dsp.exec_cmd("wtype \"ä\""))
|
||||
hl.bind("SUPER+SHIFT+a", hl.dsp.exec_cmd("wtype \"Ä\""))
|
||||
hl.bind("SUPER+o", hl.dsp.exec_cmd("wtype \"ö\""))
|
||||
hl.bind("SUPER+SHIFT+o", hl.dsp.exec_cmd("wtype \"Ö\""))
|
||||
hl.bind("SUPER+u", hl.dsp.exec_cmd("wtype \"ü\""))
|
||||
hl.bind("SUPER+SHIFT+u", hl.dsp.exec_cmd("wtype \"Ü\""))
|
||||
hl.bind("SUPER+s", hl.dsp.exec_cmd("wtype \"ß\""))
|
||||
hl.bind("SUPER+SHIFT+e", hl.dsp.exec_cmd("wtype \"€\""))
|
||||
|
||||
-- Opening coder
|
||||
hl.bind("SUPER+SHIFT+C", hl.dsp.exec_cmd("code"))
|
||||
hl.bind("SUPER+SHIFT+V", hl.dsp.exec_cmd("vscodium"))
|
||||
|
||||
-- device specifics
|
||||
if HOSTNAME == "archlinux-hypr" then
|
||||
for i = 1, 12 do
|
||||
hl.bind("SUPER+SHIFT+CTRL+F"..tostring(i), hl.dsp.exec_cmd("~/.config/hypr/scripts/makropad/button"..string.format("%02d", i)..".sh"))
|
||||
end
|
||||
hl.bind("ALT+T", hl.dsp.exec_cmd("~/.config/hypr/scripts/writing/todo.sh"))
|
||||
hl.bind("ALT+Y", hl.dsp.exec_cmd("~/.config/hypr/scripts/writing/tmdb.sh"))
|
||||
end
|
||||
|
||||
-- Quickshell
|
||||
hl.bind("SUPER + SHIFT + W", hl.dsp.global("quickshell:Wallpaper"))
|
||||
hl.bind("SUPER + SHIFT + J", hl.dsp.global("quickshell:JLearner"))
|
||||
hl.bind("SUPER + SHIFT + L", hl.dsp.global("quickshell:WLogout"))
|
||||
hl.bind("escape", hl.dsp.global("quickshell:Closer"))
|
||||
@@ -1,69 +0,0 @@
|
||||
# /* ---- 💫 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,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,hyprqt6engine
|
||||
env = QT_STYLE_OVERRIDE,kvantum # Maybe qt5-fix?
|
||||
env = KVANTUM_THEME,ColloidDark
|
||||
env = QT_ENABLE_HIGHDPI_SCALING,1
|
||||
env = QT_QPA_PLATFORM,wayland
|
||||
|
||||
# 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
|
||||
|
||||
|
||||
|
||||
# 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.
|
||||
@@ -0,0 +1,37 @@
|
||||
-- Hyprland env
|
||||
-- https://wiki.hypr.land/Configuring/Advanced-and-Cool/Environment-variables/
|
||||
hl.env("HYPRLAND_TRACE", "1")
|
||||
|
||||
-- Toolkit Backend Variables
|
||||
hl.env("GDK_BACKEND", "wayland,x11,*")
|
||||
hl.env("QT_QPA_PLATFORM", "wayland;xcb")
|
||||
hl.env("SDL_VIDEODRIVER", "wayland") -- if older game fails set to x11
|
||||
hl.env("CLUTTER_BACKEND", "wayland")
|
||||
|
||||
-- XDG Specifications
|
||||
hl.env("XDG_CURRENT_DESKTOP", "Hyprland")
|
||||
hl.env("XDG_SESSION_TYPE", "wayland")
|
||||
hl.env("XDG_SESSION_DESKTOP", "Hyprland")
|
||||
|
||||
-- Qt Variables
|
||||
hl.env("QT_AUTO_SCREEN_SCALE_FACTOR", "1")
|
||||
hl.env("QT_WAYLAND_DISABLE_WINDOWDECORATION", "1")
|
||||
-- enable hyprqt6engine
|
||||
hl.env("QT_QPA_PLATFORMTHEME", "hyprqt6engine")
|
||||
hl.env("QT_STYLE_OVERRIDE", "kvantum")
|
||||
hl.env("QT_ENABLE_HIGHDPI_SCALING", "1")
|
||||
-- hyprland-qt-support
|
||||
hl.env("QT_ENABLE_HIGHDPI_SCALING", "1")
|
||||
|
||||
-- GDK Variables
|
||||
hl.env("GTK_USE_PORTAL", "1")
|
||||
hl.env("GDK_SCALE", "1")
|
||||
|
||||
-- Firefox
|
||||
hl.env("MOZ_ENABLE_WAYLAND", "1")
|
||||
|
||||
-- electron
|
||||
hl.env("ELECTRON_OZONE_PLATFORM_HINT", "auto")
|
||||
|
||||
-- -- set XDG
|
||||
-- hl.env("XDG_DATA_DIRS", "/usr/local/share:/usr/share:~/.local/share:~/.icons")
|
||||
@@ -0,0 +1,6 @@
|
||||
local f = io.popen("hostname 2>/dev/null")
|
||||
HOSTNAME = "unknown"
|
||||
if f then
|
||||
HOSTNAME = (f:read("*l") or "unknown"):gsub("%s+", "")
|
||||
f:close()
|
||||
end
|
||||
@@ -1,12 +0,0 @@
|
||||
# The config where the resolution, position and
|
||||
# other monitor Stuff is set up
|
||||
|
||||
# monitor = name, resolution, position, scale
|
||||
|
||||
misc {
|
||||
vrr = 2 # 0: off, 1: on, 2: fullscreen only
|
||||
}
|
||||
|
||||
render {
|
||||
cm_auto_hdr = 1 # 0: off, 1: on, 2: edid
|
||||
}
|
||||
@@ -1,76 +0,0 @@
|
||||
$GTK_THEME = "catppuccin-mocha-blue-standard+default"
|
||||
$CURSOR_THEME = "DJ-FOX-C"
|
||||
$ICON_THEME = "BeautyLine-Garuda"
|
||||
$KVANTUM_THEME = "Catppuccin-Mocha-Blue"
|
||||
|
||||
# GTK Theming
|
||||
env = GTK_THEME,Colloid-Dark
|
||||
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
|
||||
# in env.conf
|
||||
|
||||
# Icons:
|
||||
env = XDG_DATA_DIRS,/usr/local/share:/usr/share:~/.local/share:~/.icons
|
||||
env = GTK_ICON_THEME,BeautyLine-Garuda
|
||||
|
||||
# Icons & Cursor
|
||||
env = HYPRCURSOR_THEME,DJ-FOX-C
|
||||
env = HYPRCURSOR_SIZE,24
|
||||
env = XCURSOR_THEME,DJ-FOX-C
|
||||
env = XCURSOR_SIZE,24
|
||||
|
||||
cursor {
|
||||
no_hardware_cursors = true
|
||||
}
|
||||
|
||||
# Window management
|
||||
general {
|
||||
gaps_in = 5
|
||||
gaps_out = 8
|
||||
border_size = 0
|
||||
layout = dwindle
|
||||
allow_tearing = false
|
||||
}
|
||||
|
||||
decoration {
|
||||
rounding = 5
|
||||
active_opacity = 1
|
||||
# inactive_opacity = 0.75
|
||||
inactive_opacity = 1
|
||||
fullscreen_opacity = 1
|
||||
blur {
|
||||
enabled = false
|
||||
size = 3
|
||||
passes = 1
|
||||
}
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
misc {
|
||||
force_default_wallpaper = 0
|
||||
disable_hyprland_logo = true
|
||||
}
|
||||
|
||||
scrolling {
|
||||
column_width = 1
|
||||
follow_focus = true
|
||||
fullscreen_on_one_column = true
|
||||
# explicit_column_widths = 0.17,0.3
|
||||
}
|
||||
@@ -0,0 +1,132 @@
|
||||
hl.config({
|
||||
general = {
|
||||
border_size = 1,
|
||||
gaps_in = 5,
|
||||
gaps_out = 8,
|
||||
float_gaps = 0,
|
||||
gaps_workspaces = 0,
|
||||
col = {
|
||||
inactive_border = 0xff444444,
|
||||
active_border = 0xffffffff,
|
||||
nogroup_border = 0xffffaaff,
|
||||
nogroup_border_active = 0xffff00ff,
|
||||
},
|
||||
layout = "dwindle",
|
||||
no_focus_fallback = false,
|
||||
resize_on_border = false,
|
||||
extend_border_grab_area = 15,
|
||||
hover_icon_on_border = true,
|
||||
allow_tearing = false,
|
||||
resize_corner = 0,
|
||||
modal_parent_blocking = true,
|
||||
locale = "de",
|
||||
}
|
||||
})
|
||||
|
||||
hl.config({
|
||||
dwindle = {
|
||||
force_split = 0,
|
||||
preserve_split = false,
|
||||
smart_split = false,
|
||||
smart_resizing = true,
|
||||
permanent_direction_override = false,
|
||||
special_scale_factor = 1,
|
||||
split_width_multiplier = 1.0,
|
||||
use_active_for_splits = true,
|
||||
default_split_ratio = 1.0,
|
||||
split_bias = 0,
|
||||
precise_mouse_move = false,
|
||||
},
|
||||
})
|
||||
|
||||
hl.config({
|
||||
scrolling = {
|
||||
fullscreen_on_one_column = false,
|
||||
column_width = 0.8,
|
||||
focus_fit_method = 0,
|
||||
follow_focus = true,
|
||||
follow_min_visible = 1,
|
||||
explicit_column_widths = "0.333, 0.5, 0.667, 1.0",
|
||||
wrap_focus = true,
|
||||
wrap_swapcol = true,
|
||||
direction = "right",
|
||||
},
|
||||
})
|
||||
|
||||
hl.config({
|
||||
decoration = {
|
||||
rounding = 5,
|
||||
active_opacity = 1,
|
||||
inactive_opacity = 0.75,
|
||||
dim_modal = true,
|
||||
dim_inactive = true,
|
||||
dim_strength = 0.5,
|
||||
blur = {
|
||||
enabled = true,
|
||||
},
|
||||
}
|
||||
})
|
||||
|
||||
-- MISC
|
||||
hl.config({
|
||||
misc = {
|
||||
disable_hyprland_logo = true,
|
||||
font_family = "CodeNewRoman Nerd Font",
|
||||
splash_font_family = "CodeNewRoman Nerd Font",
|
||||
force_default_wallpaper = 0,
|
||||
vrr = 3,
|
||||
animate_manual_resizes = true,
|
||||
animate_mouse_windowdragging = true,
|
||||
background_color = 0x000000,
|
||||
on_focus_under_fullscreen = 0,
|
||||
middle_click_paste = false,
|
||||
}
|
||||
})
|
||||
|
||||
hl.config({
|
||||
render = {
|
||||
direct_scanout = 2,
|
||||
cm_enabled = true,
|
||||
cm_auto_hdr = 1,
|
||||
}
|
||||
})
|
||||
|
||||
hl.config({
|
||||
cursor ={
|
||||
no_hardware_cursors = 1,
|
||||
}
|
||||
})
|
||||
|
||||
if HOSTNAME == "archlinux-hypr" then
|
||||
hl.config({
|
||||
cursor ={
|
||||
default_monitor = "BNQ BenQ EX2710U Y8P00876019",
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
hl.config({
|
||||
quirks ={
|
||||
prefer_hdr = 1,
|
||||
}
|
||||
})
|
||||
|
||||
hl.config({
|
||||
debug={
|
||||
full_cm_proto = true,
|
||||
}
|
||||
})
|
||||
|
||||
-- Kvantum
|
||||
hl.env("KVANTUM_THEME", "ColloidDark")
|
||||
|
||||
-- GTK
|
||||
hl.env("GTK_THEME", "Colloid-Dark")
|
||||
hl.env("GTK_ICON_THEME", "BeautyLine-Garuda")
|
||||
hl.env("GTK_THEME_VARIANT", "dark")
|
||||
|
||||
--
|
||||
hl.env("HYPRCURSOR_THEME", "DJ-FOX-C")
|
||||
hl.env("HYPRCURSOR_SIZE", "24")
|
||||
hl.env("XCURSOR_THEME", "DJ-FOX-C")
|
||||
hl.env("XCURSOR_SIZE", "24")
|
||||
Reference in New Issue
Block a user