feat: initial commit
This commit is contained in:
commit
b802ff49ab
454 files changed
+52429
No files matched your search
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"workspace": {
|
||||
"library": [
|
||||
"/usr/share/hypr/stubs"
|
||||
]
|
||||
}
|
||||
}
|
||||
Whitespace-only changes.
@@ -0,0 +1,10 @@
|
||||
general {
|
||||
lock_cmd = hyprlock
|
||||
before_sleep_cmd = loginctl lock-session
|
||||
after_sleep_cmd = hyprctl dispatch dpms on
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 300
|
||||
on-timeout = loginctl lock-session
|
||||
}
|
||||
@@ -0,0 +1,281 @@
|
||||
################
|
||||
### MONITORS ###
|
||||
################
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
monitor=,preferred,auto,auto
|
||||
|
||||
source = ~/.config/hypr/monitors.conf
|
||||
source = ~/.config/hypr/theme.conf
|
||||
|
||||
|
||||
###################
|
||||
### MY PROGRAMS ###
|
||||
###################
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||
|
||||
# Set programs that you use
|
||||
$terminal = ghostty
|
||||
$fileManager = nemo
|
||||
$menu = qs ipc call appLauncher open
|
||||
$clipboard = qs ipc call clipboardPicker open
|
||||
$lock = hyprlock
|
||||
$powermenu = qs ipc call powerMenu open
|
||||
|
||||
#################
|
||||
### AUTOSTART ###
|
||||
#################
|
||||
|
||||
exec-once = hypridle
|
||||
exec-once = trayscale --hide-window
|
||||
exec-once = nextcloud
|
||||
exec-once = wl-paste --watch cliphist store
|
||||
exec-once = quickshell
|
||||
exec-once = easyeffects --service-mode
|
||||
exec-once = lxqt-polkit-agent
|
||||
exec-once = /home/johannes/.local/bin/mcpproxy
|
||||
|
||||
exec-once = awww-daemon
|
||||
|
||||
#############################
|
||||
### ENVIRONMENT VARIABLES ###
|
||||
#############################
|
||||
|
||||
env = XCURSOR_SIZE,24
|
||||
env = HYPRCURSOR_SIZE,24
|
||||
env = XCURSOR_THEME,Bibata-Modern-Classic
|
||||
env = QT_QPA_PLATFORMTHEME,qt5ct:qt6ct
|
||||
env = MOZ_ENABLE_WAYLAND,1
|
||||
env = XDG_SESSION_TYPE,wayland
|
||||
env = MOZ_DBUS_REMOTE,1
|
||||
env = GDK_BACKEND,wayland
|
||||
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
|
||||
env = QT_WAYLAND_FORCE_DPI,physical
|
||||
env = OZONE_PLATFORM,wayland
|
||||
env = EGL_PLATFORM,wayland
|
||||
env = CLUTTER_BACKEND,wayland
|
||||
env = TERM,ghostty
|
||||
env = TERMINAL,ghostty
|
||||
env = ELECTRON_OZONE_PLATFORM_HINT,auto
|
||||
env = QT_QPA_PLATFORM,wayland
|
||||
env = QT_STYLE_OVERRIDE,kvantum
|
||||
env = GTK_THEME,catppuccin-mocha-mauve-standard+default
|
||||
env = PROTON_DLSS_UPGRADE,1
|
||||
|
||||
#####################
|
||||
### LOOK AND FEEL ###
|
||||
#####################
|
||||
|
||||
general {
|
||||
gaps_in = 5
|
||||
gaps_out = 20
|
||||
|
||||
border_size = 2
|
||||
|
||||
col.active_border = $red
|
||||
col.inactive_border = $surface1
|
||||
|
||||
resize_on_border = false
|
||||
allow_tearing = false
|
||||
layout = dwindle
|
||||
}
|
||||
|
||||
decoration {
|
||||
rounding = 2
|
||||
rounding_power = 2
|
||||
|
||||
active_opacity = 1.0
|
||||
inactive_opacity = 0.9
|
||||
|
||||
shadow {
|
||||
enabled = true
|
||||
range = 4
|
||||
render_power = 3
|
||||
color = rgba(1a1a1aee)
|
||||
}
|
||||
|
||||
blur {
|
||||
enabled = true
|
||||
size = 3
|
||||
passes = 1
|
||||
vibrancy = 0.1696
|
||||
}
|
||||
}
|
||||
|
||||
animations {
|
||||
enabled = true
|
||||
bezier = wind, 0.05, 0.9, 0.1, 1.05
|
||||
bezier = winIn, 0.1, 1.1, 0.1, 1.1
|
||||
bezier = winOut, 0.3, -0.3, 0, 1
|
||||
bezier = liner, 1, 1, 1, 1
|
||||
animation = windows, 1, 6, wind, slide
|
||||
animation = windowsIn, 1, 6, winIn, slide
|
||||
animation = windowsOut, 1, 5, winOut, slide
|
||||
animation = windowsMove, 1, 5, wind, slide
|
||||
animation = border, 1, 1, liner
|
||||
animation = borderangle, 1, 30, liner, loop
|
||||
animation = fade, 1, 10, default
|
||||
animation = workspaces, 1, 5, wind
|
||||
}
|
||||
|
||||
# Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/
|
||||
workspace = 2, layoutopt:direction:right
|
||||
|
||||
dwindle {
|
||||
# pseudotile = true
|
||||
preserve_split = true
|
||||
}
|
||||
|
||||
master {
|
||||
new_status = slave
|
||||
}
|
||||
|
||||
scrolling {
|
||||
fullscreen_on_one_column = true
|
||||
column_width = 0.9
|
||||
direction = right
|
||||
}
|
||||
|
||||
misc {
|
||||
force_default_wallpaper = -1
|
||||
disable_hyprland_logo = false
|
||||
}
|
||||
|
||||
#############
|
||||
### INPUT ###
|
||||
#############
|
||||
|
||||
input {
|
||||
kb_layout = de
|
||||
kb_model =
|
||||
kb_rules =
|
||||
|
||||
follow_mouse = 1
|
||||
sensitivity = 0
|
||||
|
||||
touchpad {
|
||||
natural_scroll = true
|
||||
}
|
||||
}
|
||||
|
||||
gestures {
|
||||
# workspace_swipe = true
|
||||
}
|
||||
|
||||
# Example per-device config
|
||||
device {
|
||||
name = epic-mouse-v1
|
||||
sensitivity = -0.5
|
||||
}
|
||||
|
||||
###################
|
||||
### KEYBINDINGS ###
|
||||
###################
|
||||
|
||||
$mainMod = SUPER
|
||||
|
||||
exec = hyprctl dispatch submap global
|
||||
submap = global
|
||||
|
||||
# Apps
|
||||
bind = $mainMod, Return, exec, $terminal
|
||||
bind = $mainMod, Q, killactive,
|
||||
bind = $mainMod, M, exec, $powermenu
|
||||
bind = $mainMod, E, exec, $fileManager
|
||||
bind = $mainMod, H, togglefloating,
|
||||
bind = $mainMod, Space, exec, $menu
|
||||
bind = $mainMod, P, pseudo,
|
||||
#bind = $mainMod, J, togglesplit,
|
||||
bind = $mainMod, F, fullscreen
|
||||
bind = $mainMod, L, exec, $lock
|
||||
bind = $mainMod, V, exec, $clipboard
|
||||
|
||||
# Layout
|
||||
bind = $mainMod, period, layoutmsg, move +col
|
||||
bind = $mainMod, comma, layoutmsg, move -col
|
||||
bind = $mainMod SHIFT, period, layoutmsg, swapcol r
|
||||
bind = $mainMod SHIFT, comma, layoutmsg, swapcol l
|
||||
|
||||
# Theme / wallpaper switchers
|
||||
bind = $mainMod, T, exec, qs ipc call themeSwitcher open
|
||||
bind = $mainMod, W, exec, qs ipc call wallpaperSwitcher open
|
||||
bind = $mainMod SHIFT, W, exec, qs ipc call wallpaperSwitcher random
|
||||
|
||||
# Brightness
|
||||
bindl = , XF86MonBrightnessUp, global, brightnessctl set 10%-
|
||||
bindl = , XF86MonBrightnessDown, global, brightnessctl set 10%-
|
||||
|
||||
# Media
|
||||
bindl = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
|
||||
bindl = ,XF86AudioLowerVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%-
|
||||
bindl = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
bindl = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
||||
bindl = ,XF86AudioPlay, exec, playerctl play-pause
|
||||
bindl = ,XF86AudioPause, exec, playerctl play-pause
|
||||
bindl = ,XF86AudioStop, exec, playerctl stop
|
||||
bindl = ,XF86AudioNext, exec, playerctl next
|
||||
bindl = ,XF86AudioPrev, exec, playerctl previous
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
bind = $mainMod, 3, workspace, 3
|
||||
bind = $mainMod, 4, workspace, 4
|
||||
bind = $mainMod, 5, workspace, 5
|
||||
bind = $mainMod, 6, workspace, 6
|
||||
bind = $mainMod, 7, workspace, 7
|
||||
bind = $mainMod, 8, workspace, 8
|
||||
bind = $mainMod, 9, workspace, 9
|
||||
bind = $mainMod, 0, workspace, 10
|
||||
|
||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
||||
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
||||
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||
|
||||
# Example special workspace (scratchpad)
|
||||
bind = $mainMod, S, togglespecialworkspace, magic
|
||||
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
||||
##############################
|
||||
### WINDOWS AND WORKSPACES ###
|
||||
##############################
|
||||
|
||||
windowrule = match:class vivaldi-snapshot, opacity 1.0 override 1.0 override
|
||||
windowrule = float true,match:class ^(org.quickshell)$,match:title ^(Theme Switcher)$
|
||||
windowrule = decorate false,match:class ^(org.quickshell)$,match:title ^(Theme Switcher)$
|
||||
windowrule = rounding 34,match:class ^(org.quickshell)$,match:title ^(Theme Switcher)$
|
||||
windowrule = float true,match:class ^(org.quickshell)$,match:title ^(Wallpaper Switcher)$
|
||||
windowrule = decorate false,match:class ^(org.quickshell)$,match:title ^(Wallpaper Switcher)$
|
||||
windowrule = rounding 34,match:class ^(org.quickshell)$,match:title ^(Wallpaper Switcher)$
|
||||
windowrule = float true,match:class ^(org.quickshell)$,match:title ^(Power Menu)$
|
||||
windowrule = decorate false,match:class ^(org.quickshell)$,match:title ^(Power Menu)$
|
||||
windowrule = rounding 34,match:class ^(org.quickshell)$,match:title ^(Power Menu)$
|
||||
windowrule = float true,match:class ^(org.quickshell)$,match:title ^(Clipboard Picker)$
|
||||
windowrule = decorate false,match:class ^(org.quickshell)$,match:title ^(Clipboard Picker)$
|
||||
windowrule = rounding 34,match:class ^(org.quickshell)$,match:title ^(Clipboard Picker)$
|
||||
windowrule = float true,match:class ^(org.quickshell)$,match:title ^(App Launcher)$
|
||||
windowrule = decorate false,match:class ^(org.quickshell)$,match:title ^(App Launcher)$
|
||||
windowrule = rounding 34,match:class ^(org.quickshell)$,match:title ^(App Launcher)$
|
||||
@@ -0,0 +1,266 @@
|
||||
-- Migrated from hyprland.conf for Hyprland 0.55+.
|
||||
-- Keep this file active as ~/.config/hypr/hyprland.lua.
|
||||
|
||||
local hypr_dir = (os.getenv("XDG_CONFIG_HOME") or (os.getenv("HOME") .. "/.config")) .. "/hypr"
|
||||
|
||||
----------------
|
||||
--- MONITORS ---
|
||||
----------------
|
||||
|
||||
hl.monitor({
|
||||
output = "",
|
||||
mode = "preferred",
|
||||
position = "auto",
|
||||
scale = "auto",
|
||||
})
|
||||
|
||||
dofile(hypr_dir .. "/monitors.lua")
|
||||
|
||||
-------------------
|
||||
--- MY PROGRAMS ---
|
||||
-------------------
|
||||
|
||||
local terminal = "ghostty"
|
||||
local fileManager = "nemo"
|
||||
local menu = "qs ipc call appLauncher open"
|
||||
local clipboard = "qs ipc call clipboardPicker open"
|
||||
local lock = "hyprlock"
|
||||
local powermenu = "qs ipc call powerMenu open"
|
||||
|
||||
-----------------
|
||||
--- AUTOSTART ---
|
||||
-----------------
|
||||
|
||||
hl.on("hyprland.start", function()
|
||||
hl.exec_cmd("hypridle")
|
||||
hl.exec_cmd("trayscale --hide-window")
|
||||
hl.exec_cmd("owncloud")
|
||||
hl.exec_cmd("wl-paste --watch cliphist store")
|
||||
hl.exec_cmd("quickshell")
|
||||
hl.exec_cmd("easyeffects --service-mode")
|
||||
hl.exec_cmd("lxqt-polkit-agent")
|
||||
hl.exec_cmd("/home/johannes/.local/bin/mcpproxy")
|
||||
hl.exec_cmd("awww-daemon")
|
||||
end)
|
||||
|
||||
-----------------------------
|
||||
--- ENVIRONMENT VARIABLES ---
|
||||
-----------------------------
|
||||
|
||||
hl.env("XCURSOR_SIZE", "24")
|
||||
hl.env("HYPRCURSOR_SIZE", "24")
|
||||
hl.env("XCURSOR_THEME", "Bibata-Modern-Classic")
|
||||
hl.env("QT_QPA_PLATFORMTHEME", "qt5ct:qt6ct")
|
||||
hl.env("MOZ_ENABLE_WAYLAND", "1")
|
||||
hl.env("XDG_SESSION_TYPE", "wayland")
|
||||
hl.env("MOZ_DBUS_REMOTE", "1")
|
||||
hl.env("GDK_BACKEND", "wayland")
|
||||
hl.env("QT_AUTO_SCREEN_SCALE_FACTOR", "1")
|
||||
hl.env("QT_WAYLAND_FORCE_DPI", "physical")
|
||||
hl.env("OZONE_PLATFORM", "wayland")
|
||||
hl.env("EGL_PLATFORM", "wayland")
|
||||
hl.env("CLUTTER_BACKEND", "wayland")
|
||||
hl.env("TERM", "ghostty")
|
||||
hl.env("TERMINAL", "ghostty")
|
||||
hl.env("ELECTRON_OZONE_PLATFORM_HINT", "auto")
|
||||
hl.env("QT_QPA_PLATFORM", "wayland")
|
||||
hl.env("GTK_THEME", "catppuccin-mocha-mauve-standard+default")
|
||||
hl.env("PROTON_DLSS_UPGRADE", "1")
|
||||
|
||||
---------------------
|
||||
--- LOOK AND FEEL ---
|
||||
---------------------
|
||||
|
||||
hl.config({
|
||||
general = {
|
||||
gaps_in = 5,
|
||||
gaps_out = 20,
|
||||
border_size = 2,
|
||||
col = {
|
||||
active_border = "rgb(f38ba8)",
|
||||
inactive_border = "rgb(45475a)",
|
||||
},
|
||||
resize_on_border = false,
|
||||
allow_tearing = false,
|
||||
layout = "dwindle",
|
||||
},
|
||||
decoration = {
|
||||
rounding = 2,
|
||||
rounding_power = 2,
|
||||
active_opacity = 1.0,
|
||||
inactive_opacity = 0.9,
|
||||
shadow = {
|
||||
enabled = true,
|
||||
range = 4,
|
||||
render_power = 3,
|
||||
color = "rgba(1a1a1aee)",
|
||||
},
|
||||
blur = {
|
||||
enabled = true,
|
||||
size = 3,
|
||||
passes = 1,
|
||||
vibrancy = 0.1696,
|
||||
},
|
||||
},
|
||||
animations = {
|
||||
enabled = true,
|
||||
},
|
||||
dwindle = {
|
||||
preserve_split = true,
|
||||
},
|
||||
master = {
|
||||
new_status = "slave",
|
||||
},
|
||||
scrolling = {
|
||||
fullscreen_on_one_column = true,
|
||||
column_width = 0.9,
|
||||
direction = "right",
|
||||
},
|
||||
misc = {
|
||||
force_default_wallpaper = -1,
|
||||
disable_hyprland_logo = false,
|
||||
},
|
||||
})
|
||||
|
||||
hl.curve("wind", { type = "bezier", points = { { 0.05, 0.9 }, { 0.1, 1.05 } } })
|
||||
hl.curve("winIn", { type = "bezier", points = { { 0.1, 1.1 }, { 0.1, 1.1 } } })
|
||||
hl.curve("winOut", { type = "bezier", points = { { 0.3, -0.3 }, { 0, 1 } } })
|
||||
hl.curve("liner", { type = "bezier", points = { { 1, 1 }, { 1, 1 } } })
|
||||
|
||||
hl.animation({ leaf = "windows", enabled = true, speed = 6, bezier = "wind", style = "slide" })
|
||||
hl.animation({ leaf = "windowsIn", enabled = true, speed = 6, bezier = "winIn", style = "slide" })
|
||||
hl.animation({ leaf = "windowsOut", enabled = true, speed = 5, bezier = "winOut", style = "slide" })
|
||||
hl.animation({ leaf = "windowsMove", enabled = true, speed = 5, bezier = "wind", style = "slide" })
|
||||
hl.animation({ leaf = "border", enabled = true, speed = 1, bezier = "liner" })
|
||||
hl.animation({ leaf = "borderangle", enabled = true, speed = 30, bezier = "liner", style = "loop" })
|
||||
hl.animation({ leaf = "fade", enabled = true, speed = 10, bezier = "default" })
|
||||
hl.animation({ leaf = "workspaces", enabled = true, speed = 5, bezier = "wind" })
|
||||
|
||||
hl.workspace_rule({
|
||||
workspace = "2",
|
||||
layout_opts = { direction = "right" },
|
||||
})
|
||||
|
||||
-------------
|
||||
--- INPUT ---
|
||||
-------------
|
||||
|
||||
hl.config({
|
||||
input = {
|
||||
kb_layout = "de",
|
||||
kb_model = "",
|
||||
kb_rules = "",
|
||||
follow_mouse = 1,
|
||||
sensitivity = 0,
|
||||
touchpad = {
|
||||
natural_scroll = true,
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
hl.device({
|
||||
name = "epic-mouse-v1",
|
||||
sensitivity = -0.5,
|
||||
})
|
||||
|
||||
-------------------
|
||||
--- KEYBINDINGS ---
|
||||
-------------------
|
||||
|
||||
local mainMod = "SUPER"
|
||||
|
||||
-- Apps
|
||||
hl.bind(mainMod .. " + Return", hl.dsp.exec_cmd(terminal))
|
||||
hl.bind(mainMod .. " + Q", hl.dsp.window.close())
|
||||
hl.bind(mainMod .. " + M", hl.dsp.exec_cmd(powermenu))
|
||||
hl.bind(mainMod .. " + E", hl.dsp.exec_cmd(fileManager))
|
||||
hl.bind(mainMod .. " + H", hl.dsp.window.float({ action = "toggle" }))
|
||||
hl.bind(mainMod .. " + Space", hl.dsp.exec_cmd(menu))
|
||||
hl.bind(mainMod .. " + P", hl.dsp.window.pseudo())
|
||||
hl.bind(mainMod .. " + F", hl.dsp.window.fullscreen({ action = "toggle" }))
|
||||
hl.bind(mainMod .. " + L", hl.dsp.exec_cmd(lock))
|
||||
hl.bind(mainMod .. " + V", hl.dsp.exec_cmd(clipboard))
|
||||
|
||||
-- Layout
|
||||
hl.bind(mainMod .. " + period", hl.dsp.layout("move +col"))
|
||||
hl.bind(mainMod .. " + comma", hl.dsp.layout("move -col"))
|
||||
hl.bind(mainMod .. " + SHIFT + period", hl.dsp.layout("swapcol r"))
|
||||
hl.bind(mainMod .. " + SHIFT + comma", hl.dsp.layout("swapcol l"))
|
||||
|
||||
-- Theme / wallpaper switchers
|
||||
hl.bind(mainMod .. " + T", hl.dsp.exec_cmd("qs ipc call themeSwitcher open"))
|
||||
hl.bind(mainMod .. " + W", hl.dsp.exec_cmd("qs ipc call wallpaperSwitcher open"))
|
||||
hl.bind(mainMod .. " + SHIFT + W", hl.dsp.exec_cmd("qs ipc call wallpaperSwitcher random"))
|
||||
|
||||
-- Brightness
|
||||
hl.bind("XF86MonBrightnessUp", hl.dsp.exec_cmd("brightnessctl set 10%-"), { locked = true })
|
||||
hl.bind("XF86MonBrightnessDown", hl.dsp.exec_cmd("brightnessctl set 10%-"), { locked = true })
|
||||
|
||||
-- Media
|
||||
hl.bind("XF86AudioRaiseVolume", hl.dsp.exec_cmd("wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+"), { locked = true })
|
||||
hl.bind("XF86AudioLowerVolume", hl.dsp.exec_cmd("wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%-"), { locked = true })
|
||||
hl.bind("XF86AudioMute", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"), { locked = true })
|
||||
hl.bind("XF86AudioMicMute", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"), { locked = true })
|
||||
hl.bind("XF86AudioPlay", hl.dsp.exec_cmd("playerctl play-pause"), { locked = true })
|
||||
hl.bind("XF86AudioPause", hl.dsp.exec_cmd("playerctl play-pause"), { locked = true })
|
||||
hl.bind("XF86AudioStop", hl.dsp.exec_cmd("playerctl stop"), { locked = true })
|
||||
hl.bind("XF86AudioNext", hl.dsp.exec_cmd("playerctl next"), { locked = true })
|
||||
hl.bind("XF86AudioPrev", hl.dsp.exec_cmd("playerctl previous"), { locked = true })
|
||||
|
||||
-- Move focus with mainMod + arrow keys
|
||||
hl.bind(mainMod .. " + left", hl.dsp.focus({ direction = "left" }))
|
||||
hl.bind(mainMod .. " + right", hl.dsp.focus({ direction = "right" }))
|
||||
hl.bind(mainMod .. " + up", hl.dsp.focus({ direction = "up" }))
|
||||
hl.bind(mainMod .. " + down", hl.dsp.focus({ direction = "down" }))
|
||||
|
||||
-- Switch workspaces with mainMod + [0-9]
|
||||
-- Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||
for i = 1, 10 do
|
||||
local key = i % 10
|
||||
hl.bind(mainMod .. " + " .. key, hl.dsp.focus({ workspace = i }))
|
||||
hl.bind(mainMod .. " + SHIFT + " .. key, hl.dsp.window.move({ workspace = i }))
|
||||
end
|
||||
|
||||
-- Scratchpad
|
||||
hl.bind(mainMod .. " + S", hl.dsp.workspace.toggle_special("magic"))
|
||||
hl.bind(mainMod .. " + SHIFT + S", hl.dsp.window.move({ workspace = "special:magic" }))
|
||||
|
||||
-- Scroll through existing workspaces with mainMod + scroll
|
||||
hl.bind(mainMod .. " + mouse_down", hl.dsp.focus({ workspace = "e+1" }))
|
||||
hl.bind(mainMod .. " + mouse_up", hl.dsp.focus({ workspace = "e-1" }))
|
||||
|
||||
-- Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
hl.bind(mainMod .. " + mouse:272", hl.dsp.window.drag(), { mouse = true })
|
||||
hl.bind(mainMod .. " + mouse:273", hl.dsp.window.resize(), { mouse = true })
|
||||
|
||||
------------------------------
|
||||
--- WINDOWS AND WORKSPACES ---
|
||||
------------------------------
|
||||
|
||||
hl.window_rule({
|
||||
match = { class = "vivaldi-snapshot" },
|
||||
opacity = "1.0 override 1.0 override",
|
||||
})
|
||||
|
||||
local quickshell_popups = {
|
||||
"Theme Switcher",
|
||||
"Wallpaper Switcher",
|
||||
"Power Menu",
|
||||
"Clipboard Picker",
|
||||
"App Launcher",
|
||||
}
|
||||
|
||||
for _, title in ipairs(quickshell_popups) do
|
||||
hl.window_rule({
|
||||
match = { class = "^(org.quickshell)$", title = "^(" .. title .. ")$" },
|
||||
float = true,
|
||||
})
|
||||
hl.window_rule({
|
||||
match = { class = "^(org.quickshell)$", title = "^(" .. title .. ")$" },
|
||||
decorate = false,
|
||||
})
|
||||
hl.window_rule({
|
||||
match = { class = "^(org.quickshell)$", title = "^(" .. title .. ")$" },
|
||||
rounding = 20,
|
||||
})
|
||||
end
|
||||
@@ -0,0 +1,108 @@
|
||||
source = $HOME/.config/hypr/theme.conf
|
||||
|
||||
$accent = $mauve
|
||||
$accentAlpha = $mauveAlpha
|
||||
$font = JetBrainsMono Nerd Font
|
||||
|
||||
# GENERAL
|
||||
general {
|
||||
hide_cursor = true
|
||||
}
|
||||
|
||||
# BACKGROUND
|
||||
background {
|
||||
monitor =
|
||||
path = screenshot
|
||||
blur_passes = 2
|
||||
blur_size = 7
|
||||
noise = 0.0117
|
||||
contrast = 0.8916
|
||||
brightness = 0.8172
|
||||
vibrancy = 0.1696
|
||||
vibrancy_darkness = 0.0
|
||||
color = $base
|
||||
}
|
||||
|
||||
# LAYOUT
|
||||
label {
|
||||
monitor =
|
||||
text = Layout: $LAYOUT
|
||||
color = $text
|
||||
font_size = 25
|
||||
font_family = $font
|
||||
position = 30, -30
|
||||
halign = left
|
||||
valign = top
|
||||
}
|
||||
|
||||
# TIME
|
||||
label {
|
||||
monitor =
|
||||
text = $TIME
|
||||
color = $text
|
||||
font_size = 90
|
||||
font_family = $font
|
||||
position = -30, 0
|
||||
halign = right
|
||||
valign = top
|
||||
}
|
||||
|
||||
# DATE
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:43200000] date +"%A, %d %B %Y"
|
||||
color = $text
|
||||
font_size = 25
|
||||
font_family = $font
|
||||
position = -30, -150
|
||||
halign = right
|
||||
valign = top
|
||||
}
|
||||
|
||||
# FINGERPRINT
|
||||
label {
|
||||
monitor =
|
||||
text = $FPRINTPROMPT
|
||||
color = $text
|
||||
font_size = 14
|
||||
font_family = $font
|
||||
position = 0, -107
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
# USER AVATAR
|
||||
image {
|
||||
monitor =
|
||||
path = $HOME/.face
|
||||
size = 100
|
||||
border_size = 4
|
||||
border_color = $accent
|
||||
position = 0, 75
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
# INPUT FIELD
|
||||
input-field {
|
||||
monitor =
|
||||
size = 300, 60
|
||||
outline_thickness = 4
|
||||
dots_size = 0.2
|
||||
dots_spacing = 0.2
|
||||
dots_center = true
|
||||
outer_color = $accent
|
||||
inner_color = $surface0
|
||||
font_color = $text
|
||||
fade_on_empty = false
|
||||
placeholder_text = <span foreground="##$textAlpha"><i> Logged in as </i><span foreground="##$accentAlpha">$USER</span></span>
|
||||
hide_input = false
|
||||
check_color = $accent
|
||||
fail_color = $red
|
||||
fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i>
|
||||
capslock_color = $yellow
|
||||
position = 0, -47
|
||||
halign = center
|
||||
valign = center
|
||||
rounding = -1
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
|
||||
$rosewater = rgb(f5e0dc)
|
||||
$rosewaterAlpha = f5e0dc
|
||||
|
||||
$flamingo = rgb(f2cdcd)
|
||||
$flamingoAlpha = f2cdcd
|
||||
|
||||
$pink = rgb(f5c2e7)
|
||||
$pinkAlpha = f5c2e7
|
||||
|
||||
$mauve = rgb(cba6f7)
|
||||
$mauveAlpha = cba6f7
|
||||
|
||||
$red = rgb(f38ba8)
|
||||
$redAlpha = f38ba8
|
||||
|
||||
$maroon = rgb(eba0ac)
|
||||
$maroonAlpha = eba0ac
|
||||
|
||||
$peach = rgb(fab387)
|
||||
$peachAlpha = fab387
|
||||
|
||||
$yellow = rgb(f9e2af)
|
||||
$yellowAlpha = f9e2af
|
||||
|
||||
$green = rgb(a6e3a1)
|
||||
$greenAlpha = a6e3a1
|
||||
|
||||
$teal = rgb(94e2d5)
|
||||
$tealAlpha = 94e2d5
|
||||
|
||||
$sky = rgb(89dceb)
|
||||
$skyAlpha = 89dceb
|
||||
|
||||
$sapphire = rgb(74c7ec)
|
||||
$sapphireAlpha = 74c7ec
|
||||
|
||||
$blue = rgb(89b4fa)
|
||||
$blueAlpha = 89b4fa
|
||||
|
||||
$lavender = rgb(b4befe)
|
||||
$lavenderAlpha = b4befe
|
||||
|
||||
$text = rgb(cdd6f4)
|
||||
$textAlpha = cdd6f4
|
||||
|
||||
$subtext1 = rgb(bac2de)
|
||||
$subtext1Alpha = bac2de
|
||||
|
||||
$subtext0 = rgb(a6adc8)
|
||||
$subtext0Alpha = a6adc8
|
||||
|
||||
$overlay2 = rgb(9399b2)
|
||||
$overlay2Alpha = 9399b2
|
||||
|
||||
$overlay1 = rgb(7f849c)
|
||||
$overlay1Alpha = 7f849c
|
||||
|
||||
$overlay0 = rgb(6c7086)
|
||||
$overlay0Alpha = 6c7086
|
||||
|
||||
$surface2 = rgb(585b70)
|
||||
$surface2Alpha = 585b70
|
||||
|
||||
$surface1 = rgb(45475a)
|
||||
$surface1Alpha = 45475a
|
||||
|
||||
$surface0 = rgb(313244)
|
||||
$surface0Alpha = 313244
|
||||
|
||||
$base = rgb(1e1e2e)
|
||||
$baseAlpha = 1e1e2e
|
||||
|
||||
$mantle = rgb(181825)
|
||||
$mantleAlpha = 181825
|
||||
|
||||
$crust = rgb(11111b)
|
||||
$crustAlpha = 11111b
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../themes/catppuccin/mocha/hypr.conf
|
||||
Reference in new issue
Block a user