Compare commits
2 Commits
59c8a994bf
...
multi
| Author | SHA1 | Date | |
|---|---|---|---|
| 24a7513e69 | |||
| 44b9c40c44 |
@@ -1,2 +0,0 @@
|
||||
privatesettings.lua
|
||||
monitors.lua
|
||||
@@ -0,0 +1,3 @@
|
||||
privatesettings.lua
|
||||
monitors.lua
|
||||
settings.txt
|
||||
@@ -26,12 +26,15 @@ hl.on("hyprland.start", function()
|
||||
-- hl.exec_cmd("blueman-tray")
|
||||
|
||||
-- For keyboard
|
||||
hl.exec_cmd("fcitx5 -D")
|
||||
-- hl.exec_cmd("fcitx5 -D")
|
||||
|
||||
-- Start plugins
|
||||
hl.exec_cmd("hyprpm reload")
|
||||
hl.exec_cmd("kded6")
|
||||
hl.exec_cmd("kbuildsycoca6")
|
||||
hl.exec_cmd("qs -c noctalia-shell")
|
||||
|
||||
|
||||
|
||||
-- quickshell profile
|
||||
hl.env("qsConfig", "end4-pC")
|
||||
hl.exec_cmd("qs")
|
||||
end)
|
||||
@@ -0,0 +1,25 @@
|
||||
NUM_KEYS = {
|
||||
{code = "87"}, -- 1
|
||||
{code = "88"}, -- 2
|
||||
{code = "89"}, -- 3
|
||||
{code = "83"}, -- 4
|
||||
{code = "84"}, -- 5
|
||||
{code = "85"}, -- 6
|
||||
{code = "79"}, -- 7
|
||||
{code = "80"}, -- 8
|
||||
{code = "81"}, -- 9
|
||||
{code = "90"} -- 0
|
||||
}
|
||||
|
||||
Terminal = "kitty"
|
||||
FileManager = "dolphin"
|
||||
Browser = "vivaldi"
|
||||
Editor = "code"
|
||||
Spotify = "spotify"
|
||||
|
||||
Instagram="vivaldi --app-id=akpamiohjfcnimfljfndmaldlcfphjmp"
|
||||
X="vivaldi --app-id=lodlkdfmihgonocnmddehnfgiljnadcf"
|
||||
Whatsapp="vivaldi --app-id=hnpfjngllnobngcgfapefoaidbinmjnm"
|
||||
Discord="vesktop"
|
||||
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
local reset = "reset"
|
||||
local hub = "hub"
|
||||
|
||||
local social = "hub_social"
|
||||
local mail = "hub_mail"
|
||||
local music = "hub_music"
|
||||
|
||||
|
||||
hl.bind(mainMod .. " + code:" .. NUM_KEYS[10].code, hl.dsp.submap(hub))
|
||||
|
||||
hl.define_submap(hub, function ()
|
||||
hl.bind("S", hl.dsp.submap(social))
|
||||
-- hl.bind("G", hl.dsp.submap(mail))
|
||||
hl.bind("M", hl.dsp.submap(music))
|
||||
hl.bind("Escape", hl.dsp.submap(reset))
|
||||
end)
|
||||
|
||||
-- Social
|
||||
|
||||
hl.define_submap(social, function ()
|
||||
hl.bind("I", hl.dsp.exec_cmd(Instagram))
|
||||
hl.bind("I", hl.dsp.submap(reset))
|
||||
|
||||
hl.bind("X", hl.dsp.exec_cmd(X))
|
||||
hl.bind("X", hl.dsp.submap(reset))
|
||||
|
||||
hl.bind("D", hl.dsp.exec_cmd(Discord))
|
||||
hl.bind("D", hl.dsp.submap(reset))
|
||||
|
||||
hl.bind("W", hl.dsp.exec_cmd(Whatsapp))
|
||||
hl.bind("W", hl.dsp.submap(reset))
|
||||
|
||||
|
||||
hl.bind("Escape", hl.dsp.submap(reset))
|
||||
end)
|
||||
|
||||
hl.define_submap(music, function ()
|
||||
hl.bind("S", hl.dsp.exec_cmd(Spotify))
|
||||
hl.bind("Escape", hl.dsp.submap(reset))
|
||||
|
||||
end)
|
||||
@@ -0,0 +1,122 @@
|
||||
require("config")
|
||||
require("privatesettings")
|
||||
|
||||
-- Setup gestures
|
||||
hl.gesture({
|
||||
fingers = 3,
|
||||
direction = "horizontal",
|
||||
action = "workspace"
|
||||
})
|
||||
|
||||
-- Some config
|
||||
hl.config({
|
||||
dwindle = {
|
||||
-- force_split = 0,
|
||||
preserve_split = true,
|
||||
-- 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,
|
||||
},
|
||||
})
|
||||
|
||||
-- Load monitors config
|
||||
require("monitors")
|
||||
|
||||
-- Nvidia settings
|
||||
hl.env("LIBVA_DRIVER_NAME.nvidia", "true")
|
||||
hl.env("__GLX_VENDOR_LIBRARY_NAME.nvidia", "true")
|
||||
|
||||
require("autostart")
|
||||
|
||||
|
||||
-- #############################
|
||||
-- ### ENVIRONMENT VARIABLES ###
|
||||
-- #############################
|
||||
|
||||
-- # See https://wiki.hyprland.org/Configuring/Environment-variables/
|
||||
hl.env("XCURSOR_SIZE", 24)
|
||||
hl.env("HYPRCURSOR_SIZE", 24)
|
||||
hl.env("QT_QPA_PLATFORMTHEME","qt6ct")
|
||||
hl.env("XDG_MENU_PREFIX","arch- kbuildsycoca6")
|
||||
|
||||
-- # 01-xdg-base.conf
|
||||
--hl.env("XDG_CONFIG_HOME", "/home/domenico/.config")
|
||||
--hl.env("XDG_DATA_HOME", "/home/domenico/.local/share")
|
||||
--hl.env("XDG_CACHE_HOME", "/home/domenco/.cache")
|
||||
--hl.env("XDG_STATE_HOME", "/home/domenico/.local/state")
|
||||
|
||||
--hl.env("XDG_DATA_DIRS", "/home/domenico/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share")
|
||||
|
||||
-- # 10-kde-on-niri/hyprland
|
||||
|
||||
--hl.env("QT_QPA_PLATFORM", "wayland")
|
||||
|
||||
-- # REQUIRED: make sure portal uses KDE Qt platform theme
|
||||
--hl.env("QT_QPA_PLATFORMTHEME","kde")
|
||||
--hl.env("QT_QPA_PLATFORMTHEME_QT6","kde")
|
||||
|
||||
-- # REQUIRED: helps fixing Dolphin default applications issue
|
||||
--hl.env("XDG_MENU_PREFIX","plasma-")
|
||||
|
||||
--hl.env("QT_AUTO_SCREEN_SCALE_FACTOR","1")
|
||||
--hl.env("QT_ENABLE_HIGHDPI_SCALING","1")
|
||||
--hl.env("QT_SCALE_FACTOR_ROUNDING_POLICY","RoundPreferFloor")
|
||||
|
||||
-- 80-gtk-no-btn.conf
|
||||
--hl.env("GTK_DECORATION_LAYOUT","")
|
||||
|
||||
-- 99-electron.conf
|
||||
--hl.env("ELECTRON_OZONE_PLATFORM_HINT", "auto")
|
||||
|
||||
-- #####################
|
||||
-- ### LOOK AND FEEL ###
|
||||
-- #####################
|
||||
require("hyprcolors")
|
||||
require("animation")
|
||||
|
||||
hl.config({
|
||||
misc = {
|
||||
force_default_wallpaper = -1, -- # Set to 0 or 1 to disable the anime mascot wallpapers
|
||||
disable_hyprland_logo = true -- # If true disables the random hyprland logo / anime girl background. :(
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
-- #############
|
||||
-- ### INPUT ###
|
||||
-- #############
|
||||
require("input")
|
||||
require("keybinds")
|
||||
|
||||
-- ##############################
|
||||
-- ### WINDOWS AND WORKSPACES ###
|
||||
-- ##############################
|
||||
-- # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||
-- # See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
|
||||
require("windowrule")
|
||||
require("workspace")
|
||||
|
||||
|
||||
|
||||
-- ###########
|
||||
-- ### HUB ###
|
||||
-- ###########
|
||||
require("hub")
|
||||
|
||||
|
||||
-- ##################
|
||||
-- ### EXTENSIONS ###
|
||||
-- ##################
|
||||
-- require("vicinae")
|
||||
|
||||
-- This loads Noctalia-generated Hyprland colors.
|
||||
dofile("/home/domenico/.config/hypr/noctalia/noctalia-colors.lua")
|
||||
|
||||
-- For Noctalia Color templates
|
||||
require("noctalia").apply_theme()
|
||||
@@ -0,0 +1,11 @@
|
||||
max-gamma = 150
|
||||
profile {
|
||||
time = 7:00
|
||||
identity = true
|
||||
}
|
||||
|
||||
profile {
|
||||
time = 01:00
|
||||
temperature = 5000
|
||||
gamma = 0.65
|
||||
}
|
||||
@@ -1,17 +1,17 @@
|
||||
local terminal = "kitty"
|
||||
local fileManager = "dolphin"
|
||||
local browser = "vivaldi"
|
||||
local editor = "code"
|
||||
|
||||
noctalia = "qs -c noctalia-shell ipc call "
|
||||
|
||||
--noctalia = "qs -c noctalia-shell ipc call "
|
||||
noctalia = "noctalia msg "
|
||||
mainMod = "SUPER"
|
||||
|
||||
-- Exec
|
||||
hl.bind(mainMod .. " + RETURN", hl.dsp.exec_cmd(terminal), { description = "Open terminal" })
|
||||
hl.bind(mainMod .. " + E", hl.dsp.exec_cmd(fileManager), { description = "Open file manager" })
|
||||
hl.bind(mainMod .. " + B", hl.dsp.exec_cmd(browser), { description = "Open browser" })
|
||||
hl.bind(mainMod .. " + C", hl.dsp.exec_cmd(editor), { description = "Open editor" })
|
||||
hl.bind(mainMod .. " + V", hl.dsp.exec_cmd(noctalia .. "plugin:clipper toggle"), {description = "Open Clipboard history"})
|
||||
hl.bind(mainMod .. " + RETURN", hl.dsp.exec_cmd(Terminal), { description = "Open terminal" })
|
||||
hl.bind(mainMod .. " + SHIFT + RETURN", hl.dsp.exec_cmd(Terminal .. " --title \"Floating\""), {description = "Open a floating terminal"})
|
||||
hl.bind(mainMod .. " + E", hl.dsp.exec_cmd("kitty bash -c yazi"), { description = "Open file manager" })
|
||||
hl.bind(mainMod .. " + B", hl.dsp.exec_cmd(Browser), { description = "Open browser" })
|
||||
hl.bind(mainMod .. " + C", hl.dsp.exec_cmd(Editor), { description = "Open editor" })
|
||||
hl.bind(mainMod .. " + V", hl.dsp.exec_cmd(noctalia .. "panel-toggle clipboard"), {description = "Open Clipboard history"})
|
||||
hl.bind(mainMod .. " + D", hl.dsp.exec_cmd(FileManager), {description = "Open file manager"})
|
||||
hl.bind("ALT + L", hl.dsp.exec_cmd("hyprlock --grace 5"), { description = "Lock screen" })
|
||||
|
||||
hl.bind("SUPER + SHIFT + C", hl.dsp.exec_cmd("bash ~/.config/hypr/scripts/hyprPicker.sh"),
|
||||
@@ -98,10 +98,12 @@ hl.bind("SUPER + SHIFT + M", hl.dsp.exec_cmd("bash ~/.config/hypr/scripts/nightm
|
||||
|
||||
|
||||
-- Noctalia shortcut
|
||||
hl.bind(mainMod .. " + Backslash", hl.dsp.exec_cmd(noctalia .. "launcher toggle"), { description = "Toggle quickshell bar" })
|
||||
hl.bind(mainMod .. " + Backslash", hl.dsp.exec_cmd(noctalia .. "panel-toggle launcher"), { description = "Toggle quickshell bar" })
|
||||
--hl.bind(mainMod .. " + N", hl.dsp.global(noctalia .. ""), { description = "Toggle quickshell hub" })
|
||||
hl.bind(mainMod .. " + W", hl.dsp.exec_cmd(noctalia .. "plugin:wallcards toggle"), { description = "Toggle wall picker" })
|
||||
hl.bind(mainMod .. " + K", hl.dsp.global("quickshell:keybindingsToggle"), { description = "Toggle keybindings" })
|
||||
hl.bind(mainMod .. " + L", hl.dsp.global("quickshell:changeBarLayout"), { description = "Change bar layout" })
|
||||
|
||||
|
||||
--hl.bind(mainMod .. " + W", hl.dsp.exec_cmd(noctalia .. "plugin wallcards toggle"), { description = "Toggle wall picker" })
|
||||
--hl.bind(mainMod .. " + K", hl.dsp.global("quickshell:keybindingsToggle"), { description = "Toggle keybindings" })
|
||||
--hl.bind(mainMod .. " + L", hl.dsp.global("quickshell:changeBarLayout"), { description = "Change bar layout" })
|
||||
hl.bind("ALT + Tab", hl.dsp.exec_cmd(noctalia .. "window-switcher"))
|
||||
hl.bind(mainMod .. " + SHIFT + N", hl.dsp.exec_cmd(noctalia .. "notification-dnd-toggle"))
|
||||
hl.bind(mainMod .. " + N", hl.dsp.exec_cmd(noctalia .. "panel-toggle control-center notifications"))
|
||||
hl.bind(mainMod .. " + W", hl.dsp.exec_cmd(noctalia .. "panel-toggle wallpaper"))
|
||||
@@ -0,0 +1,45 @@
|
||||
-- Generated by Noctalia
|
||||
|
||||
local primary = "rgb(e0b6ff)"
|
||||
local surface = "rgb(1d1013)"
|
||||
local secondary = "rgb(ddb9f8)"
|
||||
local error = "rgb(ffb4ab)"
|
||||
|
||||
local function apply_theme()
|
||||
hl.config({
|
||||
general = {
|
||||
col = {
|
||||
active_border = primary,
|
||||
inactive_border = surface,
|
||||
},
|
||||
},
|
||||
|
||||
group = {
|
||||
col = {
|
||||
border_active = secondary,
|
||||
border_inactive = surface,
|
||||
border_locked_active = error,
|
||||
border_locked_inactive = surface,
|
||||
},
|
||||
|
||||
groupbar = {
|
||||
col = {
|
||||
active = secondary,
|
||||
inactive = surface,
|
||||
locked_active = error,
|
||||
locked_inactive = surface,
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
end
|
||||
|
||||
return {
|
||||
colors = {
|
||||
primary = primary,
|
||||
surface = surface,
|
||||
secondary = secondary,
|
||||
error = error,
|
||||
},
|
||||
apply_theme = apply_theme
|
||||
}
|
||||
@@ -0,0 +1,741 @@
|
||||
{
|
||||
"settingsVersion": 59,
|
||||
"bar": {
|
||||
"barType": "simple",
|
||||
"position": "top",
|
||||
"monitors": [],
|
||||
"density": "default",
|
||||
"showOutline": false,
|
||||
"showCapsule": true,
|
||||
"capsuleOpacity": 1,
|
||||
"capsuleColorKey": "none",
|
||||
"widgetSpacing": 6,
|
||||
"contentPadding": 2,
|
||||
"fontScale": 1,
|
||||
"enableExclusionZoneInset": true,
|
||||
"backgroundOpacity": 0.93,
|
||||
"useSeparateOpacity": false,
|
||||
"marginVertical": 4,
|
||||
"marginHorizontal": 4,
|
||||
"frameThickness": 8,
|
||||
"frameRadius": 12,
|
||||
"outerCorners": true,
|
||||
"hideOnOverview": false,
|
||||
"displayMode": "always_visible",
|
||||
"autoHideDelay": 500,
|
||||
"autoShowDelay": 150,
|
||||
"showOnWorkspaceSwitch": true,
|
||||
"widgets": {
|
||||
"left": [
|
||||
{
|
||||
"colorizeSystemIcon": "none",
|
||||
"colorizeSystemText": "none",
|
||||
"customIconPath": "",
|
||||
"enableColorization": false,
|
||||
"icon": "rocket",
|
||||
"iconColor": "none",
|
||||
"id": "Launcher",
|
||||
"useDistroLogo": false
|
||||
},
|
||||
{
|
||||
"clockColor": "primary",
|
||||
"customFont": "",
|
||||
"formatHorizontal": "HH:mm ddd, MMM dd",
|
||||
"formatVertical": "HH mm - dd MM",
|
||||
"id": "Clock",
|
||||
"tooltipFormat": "HH:mm ddd, MMM dd",
|
||||
"useCustomFont": false
|
||||
},
|
||||
{
|
||||
"compactMode": true,
|
||||
"diskPath": "/",
|
||||
"iconColor": "none",
|
||||
"id": "SystemMonitor",
|
||||
"showCpuCores": false,
|
||||
"showCpuFreq": false,
|
||||
"showCpuTemp": true,
|
||||
"showCpuUsage": true,
|
||||
"showDiskAvailable": false,
|
||||
"showDiskUsage": false,
|
||||
"showDiskUsageAsPercent": false,
|
||||
"showGpuTemp": false,
|
||||
"showLoadAverage": false,
|
||||
"showMemoryAsPercent": false,
|
||||
"showMemoryUsage": true,
|
||||
"showNetworkStats": true,
|
||||
"showSwapUsage": false,
|
||||
"textColor": "none",
|
||||
"useMonospaceFont": true,
|
||||
"usePadding": false
|
||||
},
|
||||
{
|
||||
"colorizeIcons": false,
|
||||
"hideMode": "hidden",
|
||||
"id": "ActiveWindow",
|
||||
"maxWidth": 145,
|
||||
"scrollingMode": "hover",
|
||||
"showIcon": true,
|
||||
"showText": true,
|
||||
"textColor": "none",
|
||||
"useFixedWidth": false
|
||||
}
|
||||
],
|
||||
"center": [
|
||||
{
|
||||
"characterCount": 4,
|
||||
"colorizeIcons": false,
|
||||
"emptyColor": "secondary",
|
||||
"enableScrollWheel": true,
|
||||
"focusedColor": "primary",
|
||||
"followFocusedScreen": false,
|
||||
"fontWeight": "bold",
|
||||
"groupedBorderOpacity": 1,
|
||||
"hideUnoccupied": false,
|
||||
"iconScale": 0.8,
|
||||
"id": "Workspace",
|
||||
"labelMode": "name",
|
||||
"occupiedColor": "secondary",
|
||||
"pillSize": 0.6,
|
||||
"showApplications": true,
|
||||
"showApplicationsHover": true,
|
||||
"showBadge": true,
|
||||
"showLabelsOnlyWhenOccupied": true,
|
||||
"unfocusedIconsOpacity": 1
|
||||
}
|
||||
],
|
||||
"right": [
|
||||
{
|
||||
"compactMode": false,
|
||||
"hideMode": "hidden",
|
||||
"hideWhenIdle": false,
|
||||
"id": "MediaMini",
|
||||
"maxWidth": 145,
|
||||
"panelShowAlbumArt": true,
|
||||
"scrollingMode": "hover",
|
||||
"showAlbumArt": true,
|
||||
"showArtistFirst": true,
|
||||
"showProgressRing": true,
|
||||
"showVisualizer": false,
|
||||
"textColor": "none",
|
||||
"useFixedWidth": false,
|
||||
"visualizerType": "linear"
|
||||
},
|
||||
{
|
||||
"blacklist": [
|
||||
"nm-applet"
|
||||
],
|
||||
"chevronColor": "none",
|
||||
"colorizeIcons": false,
|
||||
"drawerEnabled": true,
|
||||
"hidePassive": false,
|
||||
"id": "Tray",
|
||||
"pinned": []
|
||||
},
|
||||
{
|
||||
"hideWhenZero": false,
|
||||
"hideWhenZeroUnread": false,
|
||||
"iconColor": "none",
|
||||
"id": "NotificationHistory",
|
||||
"showUnreadBadge": true,
|
||||
"unreadBadgeColor": "primary"
|
||||
},
|
||||
{
|
||||
"deviceNativePath": "__default__",
|
||||
"displayMode": "graphic-clean",
|
||||
"hideIfIdle": false,
|
||||
"hideIfNotDetected": true,
|
||||
"id": "Battery",
|
||||
"showNoctaliaPerformance": false,
|
||||
"showPowerProfiles": false
|
||||
},
|
||||
{
|
||||
"displayMode": "onhover",
|
||||
"iconColor": "none",
|
||||
"id": "Volume",
|
||||
"middleClickCommand": "pwvucontrol || pavucontrol",
|
||||
"textColor": "none"
|
||||
},
|
||||
{
|
||||
"applyToAllMonitors": false,
|
||||
"displayMode": "onhover",
|
||||
"iconColor": "none",
|
||||
"id": "Brightness",
|
||||
"textColor": "none"
|
||||
},
|
||||
{
|
||||
"colorizeDistroLogo": false,
|
||||
"colorizeSystemIcon": "none",
|
||||
"colorizeSystemText": "none",
|
||||
"customIconPath": "",
|
||||
"enableColorization": false,
|
||||
"icon": "noctalia",
|
||||
"id": "ControlCenter",
|
||||
"useDistroLogo": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"mouseWheelAction": "none",
|
||||
"reverseScroll": false,
|
||||
"mouseWheelWrap": true,
|
||||
"middleClickAction": "none",
|
||||
"middleClickFollowMouse": false,
|
||||
"middleClickCommand": "",
|
||||
"rightClickAction": "controlCenter",
|
||||
"rightClickFollowMouse": true,
|
||||
"rightClickCommand": "",
|
||||
"screenOverrides": []
|
||||
},
|
||||
"general": {
|
||||
"avatarImage": "/home/domenico/.face",
|
||||
"dimmerOpacity": 0.2,
|
||||
"showScreenCorners": false,
|
||||
"forceBlackScreenCorners": false,
|
||||
"scaleRatio": 1,
|
||||
"radiusRatio": 1,
|
||||
"iRadiusRatio": 1,
|
||||
"boxRadiusRatio": 1,
|
||||
"screenRadiusRatio": 1,
|
||||
"animationSpeed": 1,
|
||||
"animationDisabled": false,
|
||||
"compactLockScreen": false,
|
||||
"lockScreenAnimations": false,
|
||||
"lockOnSuspend": true,
|
||||
"showSessionButtonsOnLockScreen": true,
|
||||
"showHibernateOnLockScreen": false,
|
||||
"enableLockScreenMediaControls": false,
|
||||
"enableShadows": true,
|
||||
"enableBlurBehind": true,
|
||||
"shadowDirection": "bottom_right",
|
||||
"shadowOffsetX": 2,
|
||||
"shadowOffsetY": 3,
|
||||
"language": "",
|
||||
"allowPanelsOnScreenWithoutBar": true,
|
||||
"showChangelogOnStartup": true,
|
||||
"telemetryEnabled": true,
|
||||
"enableLockScreenCountdown": true,
|
||||
"lockScreenCountdownDuration": 10000,
|
||||
"autoStartAuth": false,
|
||||
"allowPasswordWithFprintd": false,
|
||||
"clockStyle": "custom",
|
||||
"clockFormat": "hh\\nmm",
|
||||
"passwordChars": false,
|
||||
"lockScreenMonitors": [],
|
||||
"lockScreenBlur": 0,
|
||||
"lockScreenTint": 0,
|
||||
"keybinds": {
|
||||
"keyUp": [
|
||||
"Up"
|
||||
],
|
||||
"keyDown": [
|
||||
"Down"
|
||||
],
|
||||
"keyLeft": [
|
||||
"Left"
|
||||
],
|
||||
"keyRight": [
|
||||
"Right"
|
||||
],
|
||||
"keyEnter": [
|
||||
"Return",
|
||||
"Enter"
|
||||
],
|
||||
"keyEscape": [
|
||||
"Esc"
|
||||
],
|
||||
"keyRemove": [
|
||||
"Del"
|
||||
]
|
||||
},
|
||||
"reverseScroll": false,
|
||||
"smoothScrollEnabled": true
|
||||
},
|
||||
"ui": {
|
||||
"fontDefault": "Noto Sans",
|
||||
"fontFixed": "monospace",
|
||||
"fontDefaultScale": 1,
|
||||
"fontFixedScale": 1,
|
||||
"tooltipsEnabled": true,
|
||||
"scrollbarAlwaysVisible": true,
|
||||
"boxBorderEnabled": false,
|
||||
"panelBackgroundOpacity": 0.93,
|
||||
"translucentWidgets": false,
|
||||
"panelsAttachedToBar": true,
|
||||
"settingsPanelMode": "attached",
|
||||
"settingsPanelSideBarCardStyle": false
|
||||
},
|
||||
"location": {
|
||||
"name": "Mercato San Severino",
|
||||
"weatherEnabled": true,
|
||||
"weatherShowEffects": true,
|
||||
"weatherTaliaMascotAlways": false,
|
||||
"useFahrenheit": false,
|
||||
"use12hourFormat": false,
|
||||
"showWeekNumberInCalendar": false,
|
||||
"showCalendarEvents": true,
|
||||
"showCalendarWeather": true,
|
||||
"analogClockInCalendar": false,
|
||||
"firstDayOfWeek": -1,
|
||||
"hideWeatherTimezone": false,
|
||||
"hideWeatherCityName": false,
|
||||
"autoLocate": false
|
||||
},
|
||||
"calendar": {
|
||||
"cards": [
|
||||
{
|
||||
"enabled": true,
|
||||
"id": "calendar-header-card"
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"id": "calendar-month-card"
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"id": "weather-card"
|
||||
}
|
||||
]
|
||||
},
|
||||
"wallpaper": {
|
||||
"enabled": true,
|
||||
"overviewEnabled": true,
|
||||
"directory": "/home/domenico/Immagini/Wallpapers",
|
||||
"monitorDirectories": [],
|
||||
"enableMultiMonitorDirectories": false,
|
||||
"showHiddenFiles": false,
|
||||
"viewMode": "single",
|
||||
"setWallpaperOnAllMonitors": true,
|
||||
"linkLightAndDarkWallpapers": true,
|
||||
"fillMode": "crop",
|
||||
"fillColor": "#000000",
|
||||
"useSolidColor": false,
|
||||
"solidColor": "#1a1a2e",
|
||||
"automationEnabled": false,
|
||||
"wallpaperChangeMode": "random",
|
||||
"randomIntervalSec": 300,
|
||||
"transitionDuration": 1500,
|
||||
"transitionType": [
|
||||
"fade",
|
||||
"disc",
|
||||
"stripes",
|
||||
"wipe",
|
||||
"pixelate",
|
||||
"honeycomb"
|
||||
],
|
||||
"skipStartupTransition": false,
|
||||
"transitionEdgeSmoothness": 0.05,
|
||||
"panelPosition": "center",
|
||||
"hideWallpaperFilenames": false,
|
||||
"useOriginalImages": false,
|
||||
"overviewBlur": 0.15,
|
||||
"overviewTint": 0.6,
|
||||
"useWallhaven": false,
|
||||
"wallhavenQuery": "",
|
||||
"wallhavenSorting": "relevance",
|
||||
"wallhavenOrder": "desc",
|
||||
"wallhavenCategories": "111",
|
||||
"wallhavenPurity": "100",
|
||||
"wallhavenRatios": "",
|
||||
"wallhavenApiKey": "",
|
||||
"wallhavenResolutionMode": "atleast",
|
||||
"wallhavenResolutionWidth": "",
|
||||
"wallhavenResolutionHeight": "",
|
||||
"sortOrder": "name",
|
||||
"favorites": []
|
||||
},
|
||||
"appLauncher": {
|
||||
"enableClipboardHistory": true,
|
||||
"autoPasteClipboard": false,
|
||||
"enableClipPreview": true,
|
||||
"clipboardWrapText": true,
|
||||
"enableClipboardSmartIcons": true,
|
||||
"enableClipboardChips": true,
|
||||
"clipboardWatchTextCommand": "wl-paste --type text --watch cliphist store",
|
||||
"clipboardWatchImageCommand": "wl-paste --type image --watch cliphist store",
|
||||
"position": "center",
|
||||
"pinnedApps": [],
|
||||
"sortByMostUsed": true,
|
||||
"terminalCommand": "kitty -e",
|
||||
"customLaunchPrefixEnabled": false,
|
||||
"customLaunchPrefix": "",
|
||||
"viewMode": "list",
|
||||
"showCategories": true,
|
||||
"iconMode": "tabler",
|
||||
"showIconBackground": false,
|
||||
"enableSettingsSearch": true,
|
||||
"enableWindowsSearch": true,
|
||||
"enableSessionSearch": true,
|
||||
"ignoreMouseInput": false,
|
||||
"screenshotAnnotationTool": "",
|
||||
"overviewLayer": false,
|
||||
"density": "default"
|
||||
},
|
||||
"controlCenter": {
|
||||
"position": "close_to_bar_button",
|
||||
"diskPath": "/",
|
||||
"shortcuts": {
|
||||
"left": [
|
||||
{
|
||||
"id": "Network"
|
||||
},
|
||||
{
|
||||
"defaultSettings": {
|
||||
"connectedColor": "primary",
|
||||
"disableToastNotifications": false,
|
||||
"disconnectedColor": "none",
|
||||
"displayMode": "onhover"
|
||||
},
|
||||
"id": "plugin:network-manager-vpn"
|
||||
},
|
||||
{
|
||||
"id": "Bluetooth"
|
||||
},
|
||||
{
|
||||
"id": "NoctaliaPerformance"
|
||||
}
|
||||
],
|
||||
"right": [
|
||||
{
|
||||
"id": "Notifications"
|
||||
},
|
||||
{
|
||||
"id": "PowerProfile"
|
||||
},
|
||||
{
|
||||
"id": "KeepAwake"
|
||||
},
|
||||
{
|
||||
"id": "NightLight"
|
||||
}
|
||||
]
|
||||
},
|
||||
"cards": [
|
||||
{
|
||||
"enabled": true,
|
||||
"id": "profile-card"
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"id": "shortcuts-card"
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"id": "audio-card"
|
||||
},
|
||||
{
|
||||
"enabled": false,
|
||||
"id": "brightness-card"
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"id": "weather-card"
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"id": "media-sysmon-card"
|
||||
}
|
||||
]
|
||||
},
|
||||
"systemMonitor": {
|
||||
"cpuWarningThreshold": 80,
|
||||
"cpuCriticalThreshold": 90,
|
||||
"tempWarningThreshold": 80,
|
||||
"tempCriticalThreshold": 90,
|
||||
"gpuWarningThreshold": 80,
|
||||
"gpuCriticalThreshold": 90,
|
||||
"memWarningThreshold": 80,
|
||||
"memCriticalThreshold": 90,
|
||||
"swapWarningThreshold": 80,
|
||||
"swapCriticalThreshold": 90,
|
||||
"diskWarningThreshold": 80,
|
||||
"diskCriticalThreshold": 90,
|
||||
"diskAvailWarningThreshold": 20,
|
||||
"diskAvailCriticalThreshold": 10,
|
||||
"batteryWarningThreshold": 20,
|
||||
"batteryCriticalThreshold": 5,
|
||||
"enableDgpuMonitoring": false,
|
||||
"useCustomColors": false,
|
||||
"warningColor": "#94e2d5",
|
||||
"criticalColor": "#f38ba8",
|
||||
"externalMonitor": "resources || missioncenter || jdsystemmonitor || corestats || system-monitoring-center || gnome-system-monitor || plasma-systemmonitor || mate-system-monitor || ukui-system-monitor || deepin-system-monitor || pantheon-system-monitor"
|
||||
},
|
||||
"noctaliaPerformance": {
|
||||
"disableWallpaper": true,
|
||||
"disableDesktopWidgets": true
|
||||
},
|
||||
"dock": {
|
||||
"enabled": false,
|
||||
"position": "bottom",
|
||||
"displayMode": "auto_hide",
|
||||
"dockType": "floating",
|
||||
"backgroundOpacity": 1,
|
||||
"floatingRatio": 1,
|
||||
"size": 1,
|
||||
"onlySameOutput": true,
|
||||
"monitors": [],
|
||||
"pinnedApps": [],
|
||||
"colorizeIcons": false,
|
||||
"showLauncherIcon": false,
|
||||
"launcherPosition": "end",
|
||||
"launcherUseDistroLogo": false,
|
||||
"launcherIcon": "",
|
||||
"launcherIconColor": "none",
|
||||
"pinnedStatic": false,
|
||||
"inactiveIndicators": false,
|
||||
"groupApps": false,
|
||||
"groupContextMenuMode": "extended",
|
||||
"groupClickAction": "cycle",
|
||||
"groupIndicatorStyle": "dots",
|
||||
"deadOpacity": 0.6,
|
||||
"animationSpeed": 1,
|
||||
"sitOnFrame": false,
|
||||
"showDockIndicator": false,
|
||||
"indicatorThickness": 3,
|
||||
"indicatorColor": "primary",
|
||||
"indicatorOpacity": 0.6
|
||||
},
|
||||
"network": {
|
||||
"bluetoothRssiPollingEnabled": false,
|
||||
"bluetoothRssiPollIntervalMs": 60000,
|
||||
"networkPanelView": "ethernet",
|
||||
"wifiDetailsViewMode": "grid",
|
||||
"bluetoothDetailsViewMode": "list",
|
||||
"bluetoothHideUnnamedDevices": false,
|
||||
"disableDiscoverability": false,
|
||||
"bluetoothAutoConnect": true
|
||||
},
|
||||
"sessionMenu": {
|
||||
"enableCountdown": true,
|
||||
"countdownDuration": 10000,
|
||||
"position": "center",
|
||||
"showHeader": true,
|
||||
"showKeybinds": true,
|
||||
"largeButtonsStyle": true,
|
||||
"largeButtonsLayout": "single-row",
|
||||
"powerOptions": [
|
||||
{
|
||||
"action": "lock",
|
||||
"command": "",
|
||||
"countdownEnabled": true,
|
||||
"enabled": true,
|
||||
"keybind": "1"
|
||||
},
|
||||
{
|
||||
"action": "suspend",
|
||||
"command": "",
|
||||
"countdownEnabled": true,
|
||||
"enabled": true,
|
||||
"keybind": "2"
|
||||
},
|
||||
{
|
||||
"action": "hibernate",
|
||||
"command": "",
|
||||
"countdownEnabled": true,
|
||||
"enabled": true,
|
||||
"keybind": "3"
|
||||
},
|
||||
{
|
||||
"action": "reboot",
|
||||
"command": "",
|
||||
"countdownEnabled": true,
|
||||
"enabled": true,
|
||||
"keybind": "4"
|
||||
},
|
||||
{
|
||||
"action": "logout",
|
||||
"command": "",
|
||||
"countdownEnabled": true,
|
||||
"enabled": true,
|
||||
"keybind": "5"
|
||||
},
|
||||
{
|
||||
"action": "shutdown",
|
||||
"command": "",
|
||||
"countdownEnabled": true,
|
||||
"enabled": true,
|
||||
"keybind": "6"
|
||||
},
|
||||
{
|
||||
"action": "rebootToUefi",
|
||||
"command": "",
|
||||
"countdownEnabled": true,
|
||||
"enabled": true,
|
||||
"keybind": "7"
|
||||
},
|
||||
{
|
||||
"action": "userspaceReboot",
|
||||
"command": "",
|
||||
"countdownEnabled": true,
|
||||
"enabled": false,
|
||||
"keybind": ""
|
||||
}
|
||||
]
|
||||
},
|
||||
"notifications": {
|
||||
"enabled": true,
|
||||
"enableMarkdown": true,
|
||||
"density": "default",
|
||||
"monitors": [],
|
||||
"location": "top_right",
|
||||
"overlayLayer": true,
|
||||
"backgroundOpacity": 0.75,
|
||||
"respectExpireTimeout": false,
|
||||
"lowUrgencyDuration": 3,
|
||||
"normalUrgencyDuration": 8,
|
||||
"criticalUrgencyDuration": 15,
|
||||
"clearDismissed": true,
|
||||
"saveToHistory": {
|
||||
"low": true,
|
||||
"normal": true,
|
||||
"critical": true
|
||||
},
|
||||
"sounds": {
|
||||
"enabled": false,
|
||||
"volume": 0.5,
|
||||
"separateSounds": false,
|
||||
"criticalSoundFile": "",
|
||||
"normalSoundFile": "",
|
||||
"lowSoundFile": "",
|
||||
"excludedApps": "discord,firefox,chrome,chromium,edge"
|
||||
},
|
||||
"enableMediaToast": false,
|
||||
"enableKeyboardLayoutToast": true,
|
||||
"enableBatteryToast": true
|
||||
},
|
||||
"osd": {
|
||||
"enabled": true,
|
||||
"location": "top_right",
|
||||
"autoHideMs": 2000,
|
||||
"overlayLayer": true,
|
||||
"backgroundOpacity": 1,
|
||||
"enabledTypes": [
|
||||
0,
|
||||
1,
|
||||
2
|
||||
],
|
||||
"monitors": []
|
||||
},
|
||||
"audio": {
|
||||
"volumeStep": 5,
|
||||
"volumeOverdrive": false,
|
||||
"spectrumFrameRate": 30,
|
||||
"visualizerType": "linear",
|
||||
"spectrumMirrored": true,
|
||||
"mprisBlacklist": [],
|
||||
"preferredPlayer": "spotify",
|
||||
"volumeFeedback": false,
|
||||
"volumeFeedbackSoundFile": ""
|
||||
},
|
||||
"brightness": {
|
||||
"brightnessStep": 5,
|
||||
"enforceMinimum": true,
|
||||
"enableDdcSupport": false,
|
||||
"backlightDeviceMappings": [
|
||||
{
|
||||
"device": "/sys/class/backlight/intel_backlight",
|
||||
"output": "eDP-1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"colorSchemes": {
|
||||
"useWallpaperColors": false,
|
||||
"predefinedScheme": "Catppuccin",
|
||||
"darkMode": true,
|
||||
"schedulingMode": "off",
|
||||
"manualSunrise": "06:30",
|
||||
"manualSunset": "18:30",
|
||||
"generationMethod": "tonal-spot",
|
||||
"monitorForColors": "",
|
||||
"syncGsettings": true
|
||||
},
|
||||
"templates": {
|
||||
"activeTemplates": [
|
||||
{
|
||||
"enabled": true,
|
||||
"id": "btop"
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"id": "discord"
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"id": "hyprland"
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"id": "hyprtoolkit"
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"id": "kitty"
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"id": "starship"
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"id": "code"
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"id": "telegram"
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"id": "qt"
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"id": "steam"
|
||||
}
|
||||
],
|
||||
"enableUserTheming": false
|
||||
},
|
||||
"nightLight": {
|
||||
"enabled": false,
|
||||
"forced": false,
|
||||
"autoSchedule": true,
|
||||
"nightTemp": "4000",
|
||||
"dayTemp": "6500",
|
||||
"manualSunrise": "06:30",
|
||||
"manualSunset": "18:30"
|
||||
},
|
||||
"hooks": {
|
||||
"enabled": false,
|
||||
"wallpaperChange": "",
|
||||
"darkModeChange": "",
|
||||
"screenLock": "",
|
||||
"screenUnlock": "",
|
||||
"performanceModeEnabled": "",
|
||||
"performanceModeDisabled": "",
|
||||
"startup": "",
|
||||
"session": "",
|
||||
"colorGeneration": ""
|
||||
},
|
||||
"plugins": {
|
||||
"autoUpdate": false,
|
||||
"notifyUpdates": true
|
||||
},
|
||||
"idle": {
|
||||
"enabled": false,
|
||||
"screenOffTimeout": 600,
|
||||
"lockTimeout": 660,
|
||||
"suspendTimeout": 1800,
|
||||
"fadeDuration": 5,
|
||||
"screenOffCommand": "",
|
||||
"lockCommand": "",
|
||||
"suspendCommand": "",
|
||||
"resumeScreenOffCommand": "",
|
||||
"resumeLockCommand": "",
|
||||
"resumeSuspendCommand": "",
|
||||
"customCommands": "[]"
|
||||
},
|
||||
"desktopWidgets": {
|
||||
"enabled": true,
|
||||
"overviewEnabled": true,
|
||||
"gridSnap": false,
|
||||
"gridSnapScale": true,
|
||||
"monitorWidgets": []
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
local inFocusOpacity = "0.95"
|
||||
local notInFocusOpacity = "0.8"
|
||||
local notInFocusOpacity = "0.85"
|
||||
|
||||
|
||||
|
||||
@@ -21,8 +21,26 @@ hl.window_rule({
|
||||
pin = 0
|
||||
}
|
||||
})
|
||||
-- Noctalia
|
||||
hl.window_rule({
|
||||
opacity = "1",
|
||||
match = { class = "dev.noctalia.Noctalia" },
|
||||
float = true,
|
||||
size = { 1080, 920 },
|
||||
})
|
||||
|
||||
hl.layer_rule({
|
||||
name = "noctalia",
|
||||
match = {
|
||||
namespace = "^noctalia-(bar-.+|notification|dock|panel|attached-panel|osd|window-switcher)$",
|
||||
},
|
||||
no_anim = true,
|
||||
ignore_alpha = 0.5,
|
||||
blur = true,
|
||||
blur_popups = true,
|
||||
})
|
||||
|
||||
-- END Noctalia
|
||||
hl.window_rule({
|
||||
opacity = inFocusOpacity .. " " .. notInFocusOpacity,
|
||||
match = { title = "^.*().*$" }
|
||||
@@ -87,4 +105,38 @@ hl.window_rule({
|
||||
workspace = "special:music",
|
||||
class="Chromium-browser",
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
hl.window_rule({
|
||||
opacity = "1.0",
|
||||
match = {
|
||||
class = "vlc"
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
-- fullscreen App
|
||||
hl.window_rule({
|
||||
opacity = "1.0",
|
||||
fullscreen = true,
|
||||
match = {
|
||||
class ="blender"
|
||||
}
|
||||
})
|
||||
|
||||
hl.window_rule({
|
||||
opacity = "1.0",
|
||||
float = true,
|
||||
match = { class = "org.kde.ksecretd|gcr-prompter"}
|
||||
})
|
||||
|
||||
-- Floating terminal
|
||||
hl.window_rule({
|
||||
opacity = "0.75 0.25",
|
||||
no_blur = true,
|
||||
float = true,
|
||||
pin = true,
|
||||
match = {class = "kitty", title = "Floating"},
|
||||
size = {430, 414},
|
||||
move = {"(cursor_x - (window_w*0.5))", "(cursor_y-(window_h*0.5))"}
|
||||
})
|
||||
@@ -0,0 +1,48 @@
|
||||
local music_workspace = "music"
|
||||
local voicechat_workspace = "voice"
|
||||
local obs_workspace = "obs"
|
||||
local social_workspace = "social"
|
||||
|
||||
|
||||
-- Keybinds that define workspaces
|
||||
hl.bind(mainMod .. " + code:"..NUM_KEYS[5].code, hl.dsp.workspace.toggle_special(social_workspace))
|
||||
hl.bind(mainMod .. " + code:"..NUM_KEYS[7].code, hl.dsp.workspace.toggle_special(music_workspace))
|
||||
hl.bind(mainMod .. " + code:"..NUM_KEYS[8].code, hl.dsp.workspace.toggle_special(voicechat_workspace))
|
||||
hl.bind(mainMod .. " + code:"..NUM_KEYS[9].code, hl.dsp.workspace.toggle_special(obs_workspace))
|
||||
|
||||
--hl.workspace_rule({workspace = "special:" .. voicechat_workspace,
|
||||
-- persistent = true
|
||||
--})
|
||||
--hl.workspace_rule({workspace = "special:" .. social_workspace,
|
||||
-- persistent = true
|
||||
--})
|
||||
|
||||
hl.window_rule({
|
||||
name = "discord",
|
||||
match = {class = "^(discord|vesktop)$"},
|
||||
workspace = "special:" .. voicechat_workspace
|
||||
})
|
||||
|
||||
hl.window_rule({
|
||||
name = "spotify",
|
||||
match = {class = "^(Spotify)$"},
|
||||
workspace = "special:" .. music_workspace
|
||||
})
|
||||
|
||||
hl.window_rule({
|
||||
name = "obs",
|
||||
match = {class = "com.obsproject.Studio"},
|
||||
workspace = "special:" .. obs_workspace
|
||||
})
|
||||
|
||||
hl.window_rule({
|
||||
name = "Social installed with vivaldi",
|
||||
match = {title = "WhatsApp Web|X|Instagram"},
|
||||
workspace = "special:" .. social_workspace
|
||||
})
|
||||
|
||||
hl.window_rule({
|
||||
name = "telegram",
|
||||
match = {class = "org.telegram.desktop"},
|
||||
workspace = "special:" .. social_workspace
|
||||
})
|
||||
+4
-109
@@ -1,110 +1,5 @@
|
||||
require("privatesettings")
|
||||
local theme = "domipoke"
|
||||
require("./".. theme .. "/hyprland.lua")
|
||||
|
||||
-- Setup gestures
|
||||
hl.gesture({
|
||||
fingers = 3,
|
||||
direction = "horizontal",
|
||||
action = "workspace"
|
||||
})
|
||||
|
||||
-- Some config
|
||||
hl.config({
|
||||
dwindle = {
|
||||
-- force_split = 0,
|
||||
preserve_split = true,
|
||||
-- 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,
|
||||
},
|
||||
})
|
||||
|
||||
-- Load monitors config
|
||||
require("monitors")
|
||||
|
||||
-- Nvidia settings
|
||||
hl.env("LIBVA_DRIVER_NAME.nvidia", "true")
|
||||
hl.env("__GLX_VENDOR_LIBRARY_NAME.nvidia", "true")
|
||||
|
||||
require("autostart")
|
||||
|
||||
|
||||
-- #############################
|
||||
-- ### ENVIRONMENT VARIABLES ###
|
||||
-- #############################
|
||||
|
||||
-- # See https://wiki.hyprland.org/Configuring/Environment-variables/
|
||||
hl.env("XCURSOR_SIZE", 24)
|
||||
hl.env("HYPRCURSOR_SIZE", 24)
|
||||
hl.env("QT_QPA_PLATFORMTHEME","qt6ct")
|
||||
hl.env("XDG_MENU_PREFIX","arch- kbuildsycoca6")
|
||||
|
||||
-- # 01-xdg-base.conf
|
||||
--hl.env("XDG_CONFIG_HOME", "/home/domenico/.config")
|
||||
--hl.env("XDG_DATA_HOME", "/home/domenico/.local/share")
|
||||
--hl.env("XDG_CACHE_HOME", "/home/domenco/.cache")
|
||||
--hl.env("XDG_STATE_HOME", "/home/domenico/.local/state")
|
||||
|
||||
--hl.env("XDG_DATA_DIRS", "/home/domenico/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share")
|
||||
|
||||
-- # 10-kde-on-niri/hyprland
|
||||
|
||||
--hl.env("QT_QPA_PLATFORM", "wayland")
|
||||
|
||||
-- # REQUIRED: make sure portal uses KDE Qt platform theme
|
||||
--hl.env("QT_QPA_PLATFORMTHEME","kde")
|
||||
--hl.env("QT_QPA_PLATFORMTHEME_QT6","kde")
|
||||
|
||||
-- # REQUIRED: helps fixing Dolphin default applications issue
|
||||
--hl.env("XDG_MENU_PREFIX","plasma-")
|
||||
|
||||
--hl.env("QT_AUTO_SCREEN_SCALE_FACTOR","1")
|
||||
--hl.env("QT_ENABLE_HIGHDPI_SCALING","1")
|
||||
--hl.env("QT_SCALE_FACTOR_ROUNDING_POLICY","RoundPreferFloor")
|
||||
|
||||
-- 80-gtk-no-btn.conf
|
||||
--hl.env("GTK_DECORATION_LAYOUT","")
|
||||
|
||||
-- 99-electron.conf
|
||||
--hl.env("ELECTRON_OZONE_PLATFORM_HINT", "auto")
|
||||
|
||||
-- #####################
|
||||
-- ### LOOK AND FEEL ###
|
||||
-- #####################
|
||||
require("hyprcolors")
|
||||
require("animation")
|
||||
|
||||
hl.config({
|
||||
misc = {
|
||||
force_default_wallpaper = -1, -- # Set to 0 or 1 to disable the anime mascot wallpapers
|
||||
disable_hyprland_logo = true -- # If true disables the random hyprland logo / anime girl background. :(
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
-- #############
|
||||
-- ### INPUT ###
|
||||
-- #############
|
||||
require("input")
|
||||
require("keybinds")
|
||||
|
||||
-- ##############################
|
||||
-- ### WINDOWS AND WORKSPACES ###
|
||||
-- ##############################
|
||||
-- # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||
-- # See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
|
||||
require("windowrule")
|
||||
require("workspace")
|
||||
|
||||
-- ##################
|
||||
-- ### EXTENSIONS ###
|
||||
-- ##################
|
||||
-- require("vicinae")
|
||||
|
||||
-- This loads Noctalia-generated Hyprland colors.
|
||||
dofile("/home/domenico/.config/hypr/noctalia/noctalia-colors.lua")
|
||||
-- For Noctalia Color templates
|
||||
require("noctalia").apply_theme()
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
--################
|
||||
--### MONITORS ###
|
||||
--################
|
||||
|
||||
hl.monitor({
|
||||
output = "eDP-1",
|
||||
mode = "1920x1080@144",
|
||||
position = "0x0",
|
||||
scale = "1",
|
||||
cm = "srgb"
|
||||
})
|
||||
|
||||
-- hl.monitor({
|
||||
-- output = "HDMI-A-1",
|
||||
-- mode = "1920x1080@60",
|
||||
-- position = "0x1280",
|
||||
-- scale = "1",
|
||||
-- mirror = "eDP-1"
|
||||
-- })
|
||||
|
||||
|
||||
-- hl.monitor({
|
||||
-- output = "DP-3",
|
||||
-- mode = "1920x1080@60",
|
||||
-- position = "0x450",
|
||||
-- scale = "1"
|
||||
-- })
|
||||
|
||||
-- hl.monitor({
|
||||
-- output = "DP-2",
|
||||
-- mode = "1920x1080@144",
|
||||
-- position = "1920x380",
|
||||
-- scale = "1",
|
||||
-- })
|
||||
|
||||
hl.monitor({
|
||||
output = "HDMI-A-1",
|
||||
mode = "1920x1080@60",
|
||||
position = "3840x0",
|
||||
scale = "1",
|
||||
transform = true
|
||||
})
|
||||
@@ -0,0 +1,45 @@
|
||||
-- Generated by Noctalia
|
||||
|
||||
local primary = "rgb(e0b6ff)"
|
||||
local surface = "rgb(1d1013)"
|
||||
local secondary = "rgb(ddb9f8)"
|
||||
local error = "rgb(ffb4ab)"
|
||||
|
||||
local function apply_theme()
|
||||
hl.config({
|
||||
general = {
|
||||
col = {
|
||||
active_border = primary,
|
||||
inactive_border = surface,
|
||||
},
|
||||
},
|
||||
|
||||
group = {
|
||||
col = {
|
||||
border_active = secondary,
|
||||
border_inactive = surface,
|
||||
border_locked_active = error,
|
||||
border_locked_inactive = surface,
|
||||
},
|
||||
|
||||
groupbar = {
|
||||
col = {
|
||||
active = secondary,
|
||||
inactive = surface,
|
||||
locked_active = error,
|
||||
locked_inactive = surface,
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
end
|
||||
|
||||
return {
|
||||
colors = {
|
||||
primary = primary,
|
||||
surface = surface,
|
||||
secondary = secondary,
|
||||
error = error,
|
||||
},
|
||||
apply_theme = apply_theme
|
||||
}
|
||||
@@ -1,40 +0,0 @@
|
||||
local music_workspace = "music"
|
||||
local voicechat_workspace = "voice"
|
||||
local obs_workspace = "obs"
|
||||
|
||||
local numkeys = {
|
||||
{code = "87"}, -- 1
|
||||
{code = "88"}, -- 2
|
||||
{code = "89"}, -- 3
|
||||
{code = "83"}, -- 4
|
||||
{code = "84"}, -- 5
|
||||
{code = "85"}, -- 6
|
||||
{code = "79"}, -- 7
|
||||
{code = "80"}, -- 8
|
||||
{code = "81"}, -- 9
|
||||
{code = "90"} -- 0
|
||||
}
|
||||
|
||||
-- Keybinds that define workspaces
|
||||
hl.bind(mainMod .. " + code:"..numkeys[7].code, hl.dsp.workspace.toggle_special(music_workspace))
|
||||
hl.bind(mainMod .. " + code:"..numkeys[8].code, hl.dsp.workspace.toggle_special(voicechat_workspace))
|
||||
hl.bind(mainMod .. " + code:"..numkeys[9].code, hl.dsp.workspace.toggle_special(obs_workspace))
|
||||
|
||||
|
||||
hl.window_rule({
|
||||
name = "discord",
|
||||
match = {class = "^(discord)$"},
|
||||
workspace = "special:" .. voicechat_workspace
|
||||
})
|
||||
|
||||
hl.window_rule({
|
||||
name = "spotify",
|
||||
match = {class = "^(Spotify)$"},
|
||||
workspace = "special:" .. music_workspace
|
||||
})
|
||||
|
||||
hl.window_rule({
|
||||
name = "obs",
|
||||
match = {class = "com.obsproject.Studio"},
|
||||
workspace = "special:" .. obs_workspace
|
||||
})
|
||||
Reference in New Issue
Block a user