Compare commits

..

13 Commits

Author SHA1 Message Date
venus
f5781cb444 Cleaned up config some and added window rule for fullscreen gaps 2026-06-01 13:57:46 -05:00
venus
2250446148 patched some window rules
Debugged some keubinds and working on native lua updates
2026-05-31 17:28:47 -05:00
venus
a16ae88cdc added some window rules and consolidated 2026-05-31 10:40:27 -05:00
venus
16d2ca17b1 added window rules consolidated variables and gt vicinae launcher 2026-05-31 02:47:45 -05:00
venus
e42e1cc875 updated colors to work with noctalia 2026-05-31 00:39:53 -05:00
venus
a2663734c5 updated keybinds to a semi-permanent state, a couple of todos left, switching to looks and windowrules now. Hoping to combine 2026-05-30 23:44:51 -05:00
venus
0b6dfdc3ad updating keybinds 2026-05-22 09:49:44 -05:00
venus
2980d6a656 updated perms and looks files 2026-05-22 09:24:50 -05:00
venus
7d28a5cdd4 updated hyprland.conf to lua 2026-05-22 06:41:30 -05:00
venus
492f4723bf stashing changes before switching to lua 2026-05-22 05:44:09 -05:00
venus
7cf692a575 added mobile control with automatic connection and kvm switching 2026-04-07 01:13:54 -05:00
venus
19103c0332 fixed notes workspace 2026-03-23 15:32:04 -05:00
venus
6e9efb5ce6 monitors 2026-03-23 14:59:06 -05:00
20 changed files with 596 additions and 743 deletions

5
.luarc.json Normal file
View File

@@ -0,0 +1,5 @@
{
"diagnostics": {
"globals": ["hl", "ipc", "mainMod"]
}
}

View File

@@ -1,33 +0,0 @@
#############
### INPUT ###
#############
# https://wiki.hypr.land/Configuring/Variables/#input
input {
kb_layout = us
kb_variant =
kb_model =
kb_options =
kb_rules =
follow_mouse = 1
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
touchpad {
natural_scroll = true
}
}
cursor_inactive_timeout = 0.1
# See https://wiki.hypr.land/Configuring/Gestures
gesture = 3, horizontal, workspace
# gesture = 3, vertical, hyprexpo:expo, toggle
# Example per-device config
# See https://wiki.hypr.land/Configuring/Keywords/#per-device-input-configs for more
device {
name = epic-mouse-v1
sensitivity = -0.5
}

View File

@@ -1,257 +0,0 @@
## KEYBINDINGS ###
###################
$mainMod = SUPER # Sets "Windows" key as main modifier
$ipc = qs -c noctalia-shell ipc call
# 1. Basic Binds
bind = $mainMod, Q, exec, $terminal
bind = ALT, Q, exec, $terminal --class popup-term
bind = $mainMod, W, exec, $terminal --class popup-term
bind = $mainMod, C, killactive,
bind = $mainMod SHIFT CTRL, M, exec, command -v hyprshutdown >/dev/null 2>&1 && hyprshutdown || hyprctl dispatch exit
# bind = $mainMod, E, exec, $fileManager
# Workspace movement and tiling rule
bind = $mainMod, P, togglefloating,
bind = $mainMod, P, pin,
bind = $mainMod SHIFT, BACKSLASH, togglefloating, # float
bind = $mainMod, BACKSLASH, layoutmsg, togglesplit # dwindle
bind = $mainMod CTRL, BACKSLASH, pseudo #
# bind = $mainMod, SEMICOLON, exec, hyprctl general:layout master
# bind = $mainMod, APOSTROPHE, exec, hyprctl general:layout dwindle
# Compiler window
bind = $mainMod SHIFT, A, tagwindow, compiler
bind = $mainMod, A, exec, $XDG_CONFIG_HOME/hypr/scripts/compile.sh
# 2. moving focus with vim
bind = $mainMod, H, movefocus, l
bind = $mainMod, L, movefocus, r
bind = $mainMod, K, movefocus, u
bind = $mainMod, J, movefocus, d
bind = $mainMod SHIFT, H, moveWindow, l
bind = $mainMod SHIFT, L, moveWindow, r
bind = $mainMod SHIFT, K, moveWindow, u
bind = $mainMod SHIFT, J, moveWindow, d
bind = $mainMod, mouse_up, workspace, m-1
bind = $mainMod, mouse_down, workspace, m-1
bind = $mainMod SHIFT , mouse_up, workspace, e-1
bind = $mainMod SHIFT , mouse_down, workspace, e-1
bind = $mainMod CTRL, right, workspace, m+1 # alt-tab switch workspace
bind = $mainMod CTRL, left, workspace, m-1 # alt-tab switch workspace
bind = CTRL, SPACE, focuscurrentorlast
# bind = $mainMod, TAB, focusmonitor, +1
# bind = $mainMod SHIFT, TAB, focusmonitor, -1
# bind = ALT, TAB, hyprexpo:expo, toggle
# bind = ALT, TAB, overview:toggle, all
# 3. resize with arrows
binde = $mainMod, right, resizeActive, 20 0
binde = $mainMod, left, resizeActive, -20 0
binde = $mainMod, up, resizeActive, 0 -20
binde = $mainMod, down, resizeActive, 0 20
# 4. 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
# 5. Move actihe 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
# 6. special workspace (scratchpad)
bind = $mainMod, S, togglespecialworkspace, magic
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
bind = $mainMod, B, togglespecialworkspace, magic2
bind = $mainMod SHIFT, B, movetoworkspace, special:book
bind = $mainMod, D, togglespecialworkspace, discord
bind = $mainMod, E, exec, $email
bind = $mainMod, E, togglespecialworkspace, email
bind = $mainMod, G, exec, steam -forcedesktopscaling 0.5
bind = $mainMod, G, togglespecialworkspace, gaming
bind = $mainMod, D, togglespecialworkspace, obsidian
bind = $mainMod, N, exec, obsidian
# 7. Other Workspace tools
# 8. Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
# 9. Laptop multimedia keys for volume and LCD brightness
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bindel = ,XF86MonBrightnessUp, exec, brightnessctl -e4 -n2 set 5%+
bindel = ,XF86MonBrightnessDown, exec, brightnessctl -e4 -n2 set 5%-
# Requires playerctl
bindl = , XF86AudioNext, exec, playerctl next
bindl = , XF86AudioPause, exec, playerctl play-pause
bindl = , XF86AudioPlay, exec, playerctl play-pause
bindl = , XF86AudioPrev, exec, playerctl previous
bind = ALT, mouse:274, exec, playerctl play-pause
# 10. Applications and shortcuts
# bindr = SUPER, SUPER_L, exec, $menu
bind = $mainMod, D, exec, vesktop
bind = $mainMod, F, exec, firefox
bind = $mainMod SHIFT, F, exec, qutebrowser
bind = $mainMod SHIFT, Q, exec, qutebrowser
bind = $mainMod, SPACE, exec, playerctl play-pause
# bind = FUNCTION, L, exec, command, qs noctalia-shell ipc call lockScreen lock
bind = ALT_L, C, exec, $ipc plugin:clipper openPanel
bind = ,code:148, exec, kitty --class calc-term -o "confirm_os_window_close 0" /home/venus/.cargo/bin/mathypad
bind = SUPER, escape, exec, kitty --class btop -o "confirm_os_window_close 0" /usr/bin/btop
bind = CTRL,SHIFT ESCAPE, exec, btop++
bind = $mainMod, T, exec, notify-send "$(/home/venus/.config/hypr/scripts/getIp.sh)"
bind = $mainMod, T, exec, kdeconnect-app
# Change background opacity of terminal window
# bind = $mainMod ALT, k, exec,kitty +kitten @ set-background-opacity -a 1
# 11. hande lid switch
# bindl = , switch:Lid Switch, exec, s$ipc lockScreen lock
#Plugin shortcuts
# This will toggle HyprExpo when SUPER+g is pressed
### GESTURES
gesture = 3, up, dispatcher, hyprexpo:expo
# gesture = 3, pinch, special, magic
gesture = 3, down, special, magic
# gesture = 3, up, dispatcher, overview:toggle
# 12. quick access to controls submap
bind = $mainMod, comma, exec, $ipc controlCenter toggle
bind = $mainMod, period, exec, $ipc settings toggle
bind = , PRINT, exec, hyprshot -m active -m window --output-folder ~/screenshot
bind = SHIFT, PRINT, exec, hyprshot -m region --output-folder ~/screenshots
bind = ALT, PRINT, exec, hyprshot -m active -m output --output-folder ~/screenshots
bind = $mainMod, M, exec, $ipc controlCenter toggle #& hyprctl dispatch submap quick-settings
bind = $mainMod, M, submap, quick-settings
bind = $mainMod, O, submap, open-apps
# 13. Mouse binds
submap = quick-settings, reset
bind = , V, exec, protonvpn-app & hyprctl dispatch submap vpn
bind = , S, exec, $ipc settings toggle
bind = , C, exec, $ipc plugin:clipper togglePanel
bind = , P, exec, $ipc sessionMenu toggle
bind = $mainMod, L, exec, $ipc sessionMenu toggle
bind = , T, exec, $ipc systemMonitor toggle
bind = , M, exec, $ipc controlCenter toggle
bind = , D, exec, $ipc notifications toggleDND
bind = , A, exec, $ipc notifications dismissAll
bind = , N, exec, $ipc notifications toggleHistory & hyprctl dispatch submap notifications-sub
# bind = , L, exec, notify-send "layout switching" & hyprctl dispatch submap layouts
bind = , L, submap, layouts
# To Do bind clear and dnd toggles inside this shell
bind = SHIFT, B, exec, $ipc bar toggle
bind = , P, exec, $ipc wallpaper toggle
bind = , B, exec, $ipc bluetooth togglePanel & hyprctl dispatch submap bt-sub
# To Do add submenu for bt
bind = , W, exec, $ipc network togglePanel & hyprctl dispatch submap wifi-sub
bind = SHIFT, W, exec, $ipc wifi toggle # toggle wifi
bind = $mainMod, B, exec, $ipc battery togglePanel # toggle battery panel
bind = $mainMod, C, exec, $ipc calendar toggle
bind = , E, exec, nvim /home/venus/.config/hypr/basic/keybinds
submap = reset
submap = notifications-sub
bind = , D, exec, $ipc notifications toggleDND
bind = , S, exec, $ipc notifications toggleDND
bind = , Q, exec, $ipc notifications toggleDND
bind = , A, exec, $ipc notifications dismissAll
bind = CTRL, D, exec, $ipc notifications dismissAll
bind = SHIFT, D, exec, $ipc notifications dismissAll
bind = $mainMod, D, exec, $ipc notifications dismissAll
bind = , C, exec, $ipc notifications clear
bind = , catchall, exec, hyprctl dispatch submap reset && qs -c noctalia-shell ipc call notifications toggleHistory
submap = reset
submap = wifi-sub
$call = exec, $ipc wifi
bind = , T, $call toggle
bind = , S, $call togglePanel
bind = , D, $call disable
bind = , E, $call enable
bind = , R, exec, sudo systemctl restart iwd
bind = , catchall, exec, hyprctl dispatch submap reset && qs -c noctalia-shell ipc call network togglePanel
submap = reset
submap = bt-sub
$call = exec, $ipc bluetooth
bind = , T, $call toggle
bind = , S, $call togglePanel
bind = , D, $call disable
bind = , E, $call enable
bind = , H, exec, sh -c "bluetoothctl connect 88:92:CC:53:88:7E" && notify-send "connected to headphones"
bind = , J, exec, sh -c "bluetoothctl disconnect 88:92:CC:53:88:7E" && notify-send "disconnected from headphones"
# bind = CTRL, H, exec, bluetoothctl connect 88:92:CC:53:88:7E
# bind = , escape, submap, reset
bind = , catchall, exec, hyprctl dispatch submap reset && qs -c noctalia-shell ipc call bluetooth togglePanel
submap = reset
submap = vpn
$call = exec, protonvpn
bind = , O, $call-app
bind = , C, $call connect
bind = , D, $call disconnect
bind = , catchall, submap, reset
submap = reset
submap = open-apps, reset
bind = , S, exec, signal-desktop
bind = , D, exec, vesktop
bind = , F, exec, firefox
bind = , Q, exec, qutebrowser
bind = , M, exec, feishin
bind = , O, exec, obsidian
bind = , T, exec, thunderbird
bind = , R, exec, calibre
bind = , E, exec, darktable
bind = , catchall, submap, reset
submap = reset
submap = layouts, reset
bind = , D, exec, hyprctl general:layout dwindle
bind = , M, exec, hyprctl general:layout master
submap = reset
# 13. Misc tools.
bind = ALT, SPACE, exec, $menu
bind = $mainMod CTRL, L, exec, $ipc lockScreen lock

293
basic/keybinds.lua Normal file
View File

@@ -0,0 +1,293 @@
---- KEYBINDINGS ----
---------------------
------@meta
--## @declaration hl, ipc, mainMod
local mainMod = "SUPER" -- Sets "Windows" key as main modifier
local ipc = "qs -c noctalia-shell ipc call "
-- 1. Basic Binds
hl.bind(mainMod .. " + Q ", hl.dsp.exec_cmd(terminal))
hl.bind(mainMod .. " + C ", hl.dsp.window.close())
hl.bind(mainMod .. " + SHIFT + CTRL + M ", hl.dsp.exit())
-- hl.bind(mainMod .. " + E ", hl.dsp.exec(fileManager))
-- Workspace movement and tiling rule
hl.bind(mainMod .. "+ P" ,hl.dsp.window.float({ action = "toggle" }))
hl.bind(mainMod .. "+ P" ,hl.dsp.window.pin())
hl.bind(mainMod .. "+ SHIFT + BACKSLASH" ,hl.dsp.window.float({ action = "toggle"}))
hl.bind(mainMod .. "+ BACKSLASH" ,hl.dsp.layout ("togglesplit"))
hl.bind(mainMod .. "+ CTRL + BACKSLASH " ,hl.dsp.window.pseudo({action = "toggle"}))
-- hl.bind(mainMod .. " + SEMICOLON ", hl.dsp.exec_cmd( hyprctl general:layout master )
-- hl.bind(mainMod .. " + APOSTROPHE ", hl.dsp.exec_cmd( hyprctl general:layout dwindle )
-- Compiler window
-- hl.bind(mainMod .. " + SHIFT + A ", "tagwindow", "compiler")
--hl.bind(mainMod .. " + A ", hl.dsp.exec_cmd( $XDG_CONFIG_HOME/hypr/scripts/compile.sh)
-- 2. Navigation
-- 2.1 Vim Binds
hl.bind(mainMod .. " + H " , hl.dsp.focus( { direction = "left" }))
hl.bind(mainMod .. " + L " , hl.dsp.focus( { direction = "right" }))
hl.bind(mainMod .. " + K " , hl.dsp.focus( { direction = "up" }))
hl.bind(mainMod .. " + J " , hl.dsp.focus( { direction = "down" }))
hl.bind(mainMod .. " + SHIFT + H" , hl.dsp.window.move( { direction = "left" }))
hl.bind(mainMod .. " + SHIFT + L" , hl.dsp.window.move( { direction = "right" }))
hl.bind(mainMod .. " + SHIFT + K" , hl.dsp.window.move( { direction = "up" }))
hl.bind(mainMod .. " + SHIFT + J" , hl.dsp.window.move( { direction = "down" }))
-- 2.2 Workspace and monitor keys
hl.bind(mainMod .. " + mouse_up" , hl.dsp.focus ({ workspace = "m-1"}))
hl.bind(mainMod .. " + mouse_down" , hl.dsp.focus ({ workspace = "m+1"}))
hl.bind(mainMod .. " + SHIFT + mouse_up " , hl.dsp.focus ({ workspace = "e-1"}))
hl.bind(mainMod .. " + SHIFT + mouse_down " , hl.dsp.focus ({ workspace = "e+1"}))
hl.bind(mainMod .. " + CTRL + right" , hl.dsp.focus ({ workspace = "m+1"}))
hl.bind(mainMod .. " + CTRL + left" , hl.dsp.focus ({ workspace = "m-1"}))
hl.bind(mainMod .. " + TAB " , hl.dsp.focus ({ monitor = "-1"}))
hl.bind(mainMod .. " + SHIFT + TAB " , hl.dsp.focus ({ monitor = "+1"}))
---- 3. resize with arrows
hl.bind(mainMod .. " + right " , hl.dsp.window.resize({ x = 20, y = 0, relative = true}) , {repeating = true})
hl.bind(mainMod .. " + left " , hl.dsp.window.resize({ x =-20, y = 0, relative = true}) , {repeating = true})
hl.bind(mainMod .. " + up " , hl.dsp.window.resize({ x = 0, y = -20, relative = true}) , {repeating = true})
hl.bind(mainMod .. " + down " , hl.dsp.window.resize({ x = 0, y = 20, relative = true}) , {repeating = true})
---- 4. Switch workspaces with mainMod + [0-9]
hl.bind(mainMod .. " + 1 ", hl.dsp.focus({workspace = 1 }))
hl.bind(mainMod .. " + 2 ", hl.dsp.focus({workspace = 2 }))
hl.bind(mainMod .. " + 3 ", hl.dsp.focus({workspace = 3 }))
hl.bind(mainMod .. " + 4 ", hl.dsp.focus({workspace = 4 }))
hl.bind(mainMod .. " + 5 ", hl.dsp.focus({workspace = 5 }))
hl.bind(mainMod .. " + 6 ", hl.dsp.focus({workspace = 6 }))
hl.bind(mainMod .. " + 7 ", hl.dsp.focus({workspace = 7 }))
hl.bind(mainMod .. " + 8 ", hl.dsp.focus({workspace = 8 }))
hl.bind(mainMod .. " + 9 ", hl.dsp.focus({workspace = 9 }))
hl.bind(mainMod .. " + 0 ", hl.dsp.focus({workspace = 10}))
---- 5. Move actihe window to a workspace with mainMod + SHIFT + [0-9]
hl.bind(mainMod .. " + SHIFT + 1 ", hl.dsp.window.move({workspace = 1 }))
hl.bind(mainMod .. " + SHIFT + 2 ", hl.dsp.window.move({workspace = 2 }))
hl.bind(mainMod .. " + SHIFT + 3 ", hl.dsp.window.move({workspace = 3 }))
hl.bind(mainMod .. " + SHIFT + 4 ", hl.dsp.window.move({workspace = 4 }))
hl.bind(mainMod .. " + SHIFT + 5 ", hl.dsp.window.move({workspace = 5 }))
hl.bind(mainMod .. " + SHIFT + 6 ", hl.dsp.window.move({workspace = 6 }))
hl.bind(mainMod .. " + SHIFT + 7 ", hl.dsp.window.move({workspace = 7 }))
hl.bind(mainMod .. " + SHIFT + 8 ", hl.dsp.window.move({workspace = 8 }))
hl.bind(mainMod .. " + SHIFT + 9 ", hl.dsp.window.move({workspace = 9 }))
hl.bind(mainMod .. " + SHIFT + 0 ", hl.dsp.window.move({workspace = 10}))
---- 6. special workspace (scratchpad)
hl.bind(mainMod .. " + S ", hl.dsp.workspace.toggle_special("magic "))
hl.bind(mainMod .. " + B ", hl.dsp.workspace.toggle_special("magic2 "))
hl.bind(mainMod .. " + X ", hl.dsp.workspace.toggle_special("phantom "))
hl.bind(mainMod .. " + X ", hl.dsp.workspace.toggle_special("phantom "))
hl.bind(mainMod .. " + SHIFT + S ", hl.dsp.window.move({ workspace = "special:magic" }))
hl.bind(mainMod .. " + SHIFT + B ", hl.dsp.window.move({ workspace = "special:book" }))
hl.bind(mainMod .. " + SHIFT + G ", hl.dsp.window.move({ workspace = "special:gaming" }))
hl.bind(mainMod .. " + D " ,function ()
hl.dispatch(hl.dsp.workspace.toggle_special("vesktop"))
hl.exec_cmd("vesktop -m", {workspace ="special:vesktop silent"})
end)
hl.bind(mainMod .. " + E " ,function ()
hl.dispatch(hl.dsp.workspace.toggle_special("email"))
hl.exec_cmd(email, {workspace ="special:email silent"})
end)
hl.bind(mainMod .. " + G " ,function ()
hl.dispatch(hl.dsp.workspace.toggle_special("gaming"))
hl.exec_cmd("steam -forcedesktopscaling 0.5",{workspace ="special:gaming silent"})
end)
hl.bind(mainMod .. " + N " ,function ()
hl.dispatch(hl.dsp.workspace.toggle_special("notes"))
-- TODO dont run if obsidian alr running
-- hl.exec_cmd(notes)
end)
-- 8. 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})
---- 9. Multimedia keys for volume and LCD brightness
hl.bind("XF86AudioRaiseVolume", hl.dsp.exec_cmd("wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+"))
hl.bind("XF86AudioLowerVolume", hl.dsp.exec_cmd("wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"))
hl.bind("XF86AudioMute", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"))
hl.bind("XF86AudioMicMute", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"))
hl.bind("XF86MonBrightnessUp", hl.dsp.exec_cmd("brightnessctl -e4 -n2 set 5%+"))
hl.bind("XF86MonBrightnessDown",hl.dsp.exec_cmd("brightnessctl -e4 -n2 set 5%-"))
---- Requires playerctl
hl.bind("XF86AudioNext", hl.dsp.exec_cmd("playerctl next"))
hl.bind("XF86AudioPause", hl.dsp.exec_cmd("playerctl play-pause"))
hl.bind("XF86AudioPlay", hl.dsp.exec_cmd("playerctl play-pause"))
hl.bind("XF86AudioPrev", hl.dsp.exec_cmd("playerctl previous"))
hl.bind("ALT + mouse:274", hl.dsp.exec_cmd("playerctl play-pause"))
hl.bind(mainMod .. " + SPACE " ,hl.dsp.exec_cmd("playerctl play-pause"))
---- 10. Application launching
hl.bind(mainMod .. " + SUPER_L", hl.dsp.exec_cmd(launcher .. " toggle"), { release = true })
hl.bind(mainMod .. " + F " ,hl.dsp.exec_cmd(browser))
hl.bind("ALT + C" ,hl.dsp.exec_cmd(ipc .. "plugin:clipper openPanel"))
hl.bind("code:148" ,hl.dsp.exec_cmd("kitty --class calc-term -o 'confirm_os_window_close 0' /home/venus/.cargo/bin/mathypad "))
hl.bind(" ALT + Q " , hl.dsp.exec_cmd(terminal, {float = true, border_size = 2, size = {"(monitor_w * 0.8)", "(monitor_h * 0.7)"}}))
hl.bind(mainMod .. " + W ", hl.dsp.exec_cmd(terminal, {float = true, border_size = 2, size = {"(monitor_w * 0.8)", "(monitor_h * 0.7)"}}))
-- TODO rework with LUA
-- hl.bind(mainMod .. " + escape" ,hl.dsp.exec_cmd("kitty --class btop -o "confirm_os_window_close 0" /usr/bin/btop"))
-- hl.bind(mainMod .. " + SHIFT + escape" ,hl.dsp.exec_cmd("kitty --class btop -o "confirm_os_window_close 0" /usr/bin/nvtop"))
hl.bind(mainMod .. " + escape" ,hl.dsp.exec_cmd("kitty btop" ,{float = true, border_size = 2, size = {"(monitor_w * 0.9)", "(monitor_h * 0.9)"}}))
hl.bind("CTRL + SHIFT + ESCAPE" ,hl.dsp.exec_cmd("kitty btop" ,{float = true, border_size = 2, size = {"(monitor_w * 0.9)", "(monitor_h * 0.9)"}}))
hl.bind(mainMod .. " + SHIFT + escape" ,hl.dsp.exec_cmd("kitty nvtop",{float = true, border_size = 2, size = {"(monitor_w * 0.9)", "(monitor_h * 0.9)"}}))
hl.bind(mainMod .. " + I" ,hl.dsp.exec_cmd("/home/venus/.config/scripts/connectPhone.sh "))
hl.bind(mainMod .. " + I" ,hl.dsp.exec_cmd("scrcpy --no-audio --no-video --keyboard=uhid --mouse=uhid"))
hl.bind(mainMod .. " + SHIFT + I" ,hl.dsp.exec_cmd("/home/venus/.config/scripts/connectPhone.sh "))
hl.bind(mainMod .. " + SHIFT + I" ,hl.dsp.exec_cmd("scrcpy --no-audio --keyboard=uhid --mouse=uhid"))
---- 10.1 Shortcuts
hl.bind(mainMod .. " + CTRL + L ", hl.dsp.exec_cmd(ipc .. "lockScreen lock"))
-- TODO Implement these
---- Change background opacity of terminal window
-- hl.bind(mainMod .. " + ALT + k ", hl.dsp.exec_cmd("kitty +kitten @ set-background-opacity -a 1"))
---- hande lid switch
-- bindl = , switch:Lid Switch, hl.dsp.exec_cmd( s$ipc lockScreen lock
---- 12. quick access to controls submap
hl.bind(mainMod .. " + comma" , hl.dsp.exec_cmd(ipc .. "controlCenter toggle"))
hl.bind(mainMod .. " + period" , hl.dsp.exec_cmd(ipc .. "settings toggle"))
hl.bind("PRINT" , hl.dsp.exec_cmd("hyprshot -m active -m window --output-folder ~/Images/Screenshots"))
hl.bind("SHIFT + PRINT" , hl.dsp.exec_cmd("hyprshot -m region --output-folder ~/Images/Screenshots"))
hl.bind("ALT + PRINT" , hl.dsp.exec_cmd("hyprshot -m active -m output --output-folder ~/Images/Screenshots"))
hl.bind(mainMod .. " + M ", function()
hl.dispatch(hl.dsp.exec_cmd(ipc .. "controlCenter toggle "))
hl.dispatch(hl.dsp.submap("quick-settings"))
end)
--
hl.bind(mainMod .. " + O ", hl.dsp.submap("open-apps"))
---- 13. Mouse binds
---- 14. submaps!
-- TODO write a timer submap that starts a timer of custom length when a key is pressed
hl.bind(mainMod .. " + T" ,function()
hl.dispatch(hl.dsp.submap("timer"))
hl.exec_cmd(ipc .. "plugin:timer toggle")
end)
hl.define_submap("timer", function ()
hl.bind("T" ,hl.dsp.exec_cmd(ipc .. "plugin:timer toggle"))
hl.bind("P" ,hl.dsp.exec_cmd(ipc .. "plugin:timer pause"))
hl.bind("R" ,hl.dsp.exec_cmd(ipc .. "plugin:timer reset"))
hl.bind("S" ,hl.dsp.exec_cmd(ipc .. "plugin:timer start 10"))
hl.bind("A" ,hl.dsp.exec_cmd(ipc .. "plugin:timer start 240"))
-- include the double escape or no?
hl.bind("catchall" ,function ()
hl.dispatch(hl.dsp.submap("reset"))
hl.dispatch(hl.dsp.exec_cmd(ipc .. "plugin:timer toggle "))
end)
end)
hl.define_submap("quick-settings", function ()
hl.bind("V" ,hl.dsp.exec_cmd("protonvpn-app & hyprctl dispatch submap vpn"))
hl.bind("S" ,hl.dsp.exec_cmd(ipc .. "settings toggle"))
hl.bind("C" ,hl.dsp.exec_cmd(ipc .. "plugin:clipper togglePanel "))
hl.bind("P" ,hl.dsp.exec_cmd(ipc .. "sessionMenu toggle"))
hl.bind("T" ,hl.dsp.exec_cmd(ipc .. "systemMonitor toggle"))
hl.bind("M" ,hl.dsp.exec_cmd(ipc .. "controlCenter toggle"))
hl.bind("D" ,hl.dsp.exec_cmd(ipc .. "notifications toggleDND"))
hl.bind("A" ,hl.dsp.exec_cmd(ipc .. "notifications dismissAll"))
hl.bind("SHIFT + B" ,hl.dsp.exec_cmd(ipc .. "bar toggle"))
hl.bind("SHIFT + W" ,hl.dsp.exec_cmd(ipc .. "wifi toggle -- toggle wifi"))
hl.bind("I" ,hl.dsp.exec_cmd(ipc .. "wallpaper toggle"))
hl.bind(" L " ,hl.dsp.exec_cmd(ipc .. "sessionMenu toggle"))
hl.bind("B " ,hl.dsp.exec_cmd(ipc .. "battery togglePanel -- toggle battery panel"))
hl.bind("SHIFT + C " ,hl.dsp.exec_cmd(ipc .. "calendar toggle"))
-- Bind Submaps
hl.bind("L" ,hl.dsp.submap("layouts"))
hl.bind("N" ,function ()
hl.dispatch(hl.dsp.submap("notifications-sub"))
hl.dispatch(hl.dsp.exec_cmd(ipc .. "notifications toggleHistory"))
end)
hl.bind("B" ,function()
hl.dispatch(hl.dsp.submap("bt-sub"))
hl.dispatch(hl.dsp.exec_cmd(ipc .. "bluetooth togglePanel"))
end)
hl.bind("W" ,function ()
hl.dispatch(hl.dsp.submap("wifi-sub"))
hl.dispatch(hl.dsp.exec_cmd(ipc .. "network togglePanel"))
end)
-- TODO Implement layout switching
-- hl.bind(, L, hl.dsp.exec_cmd( notify-send "layout switching" & hyprctl dispatch submap layouts)
hl.bind("catchall" ,function ()
hl.dispatch(hl.dsp.submap("reset"))
hl.dispatch(hl.dsp.exec_cmd(ipc .. "controlCenter toggle "))
end)
end)
hl.define_submap("notifications-sub", function()
hl.bind("D" ,hl.dsp.exec_cmd(ipc .. "notifications toggleDND"))
hl.bind("S" ,hl.dsp.exec_cmd(ipc .. "notifications toggleDND"))
hl.bind("Q" ,hl.dsp.exec_cmd(ipc .. "notifications toggleDND"))
hl.bind("A" ,hl.dsp.exec_cmd(ipc .. "notifications dismissAll"))
hl.bind("C" ,hl.dsp.exec_cmd(ipc .. "notifications clear"))
hl.bind("CTRL + D" ,hl.dsp.exec_cmd(ipc .. "notifications dismissAll"))
hl.bind("SHIFT + D" ,hl.dsp.exec_cmd(ipc .. "notifications dismissAll"))
hl.bind(mainMod .. " + D " ,hl.dsp.exec_cmd(ipc .. "notifications dismissAll"))
hl.bind("escape" ,function ()
hl.dispatch(hl.dsp.exec_cmd(ipc .. "notifications toggleHistory"))
hl.dispatch(hl.dsp.submap("reset"))
end)
end)
hl.define_submap("wifi-sub", "reset", function()
hl.bind("T" ,hl.dsp.exec_cmd(ipc .. "wifi toggle"))
hl.bind("S" ,hl.dsp.exec_cmd(ipc .. "wifi togglePanel"))
hl.bind("D" ,hl.dsp.exec_cmd(ipc .. "wifi disable"))
hl.bind("E" ,hl.dsp.exec_cmd(ipc .. "wifi enable"))
hl.bind("R" ,hl.dsp.exec_cmd("sudo systemctl restart iwd"))
hl.bind("escape" ,hl.dsp.exec_cmd(ipc .. "network togglePanel"))
end)
hl.define_submap("bt-sub", function()
hl.bind("T" ,hl.dsp.exec_cmd(ipc .. "bluetooth toggle"))
hl.bind("S" ,hl.dsp.exec_cmd(ipc .. "bluetooth togglePanel"))
hl.bind("D" ,hl.dsp.exec_cmd(ipc .. "bluetooth disable"))
hl.bind("E" ,hl.dsp.exec_cmd(ipc .. "bluetooth enable"))
hl.bind("H" ,hl.dsp.exec_cmd('bluetoothctl connect 88:92:CC:53:88:7E && notify-send "connected to headphones"'))
hl.bind("J" ,hl.dsp.exec_cmd('bluetoothctl disconnect 88:92:CC:53:88:7E && notify-send "disconnected from headphones"'))
hl.bind("SHIFT + H" ,hl.dsp.exec_cmd('bluetoothctl disconnect 88:92:CC:53:88:7E && notify-send "disconnected from headphones"'))
hl.bind("P" ,hl.dsp.exec_cmd('bluetoothctl connect 64:9D:38:E0:4D:02 && notify-send "Connected to phone"'))
hl.bind("M" ,hl.dsp.exec_cmd('bluetoothctl disconnect 64:9D:38:E0:4D:02 && notify-send "Disconnected from phone"'))
hl.bind("escape" ,function ()
hl.dispatch(hl.dsp.exec_cmd(ipc .. "bluetooth togglePanel"))
hl.dispatch(hl.dsp.submap("reset"))
end)
end)
-- TODO Implement a VPN subnet
hl.define_submap("open-apps", "reset", function()
hl.bind("S" ,hl.dsp.exec_cmd("signal-desktop"))
hl.bind("D" ,hl.dsp.exec_cmd("vesktop"))
hl.bind("F" ,hl.dsp.exec_cmd("firefox"))
hl.bind("M" ,hl.dsp.exec_cmd("feishin"))
hl.bind("R" ,hl.dsp.exec_cmd("calibre"))
hl.bind("E" ,hl.dsp.exec_cmd("darktable"))
hl.bind("catchall" ,hl.dsp.submap("reset"))
end)
--hl.define_submap("layouts, reset
-- hl.bind(, D, hl.dsp.exec_cmd( hyprctl general:layout dwindle)
-- hl.bind(, M, hl.dsp.exec_cmd( hyprctl general:layout master)
--hl.define_submap("reset
---- 13. Misc tools.
--- 14. Gestures
hl.gesture({ fingers = 3, direction = "horizontal", action = "workspace" })
-- hl.gesture({ fingers = 2, direction = "pinch", action = "cursor_zoom", zoom_level = 2, mode = "mult"})
--hl.bind(ALT, SPACE, hl.dsp.exec_cmd( $menu)

View File

@@ -1,127 +0,0 @@
#####################
### LOOK AND FEEL ###
#####################
# Refer to https://wiki.hypr.land/Configuring/Variables/
# https://wiki.hypr.land/Configuring/Variables/#general
general {
gaps_in = 3
gaps_out = 5
border_size = 1
# https://wiki.hypr.land/Configuring/Variables/#variable-types for info about colors
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
col.inactive_border = rgba(595959aa)
# Set to true enable resizing windows by clicking and dragging on borders and gaps
resize_on_border = true
# Please see https://wiki.hypr.land/Configuring/Tearing/ before you turn this on
allow_tearing = false
layout = dwindle
}
# https://wiki.hypr.land/Configuring/Variables/#decoration
decoration {
rounding = 10
rounding_power = 2
# Change transparency of focused and unfocused windows
active_opacity = 1.0
inactive_opacity = 1.0
shadow {
enabled = true
range = 4
render_power = 3
color = rgba(1a1a1aee)
}
# https://wiki.hypr.land/Configuring/Variables/#blur
blur {
enabled = true
size = 3
passes = 1
vibrancy = 0.1696
}
}
# https://wiki.hypr.land/Configuring/Variables/#animations
animations {
enabled = yes, please :)
# Default curves, see https://wiki.hypr.land/Configuring/Animations/#curves
# NAME, X0, Y0, X1, Y1
bezier = easeOutQuint, 0.23, 1, 0.32, 1
bezier = easeInOutCubic, 0.65, 0.05, 0.36, 1
bezier = linear, 0, 0, 1, 1
bezier = almostLinear, 0.5, 0.5, 0.75, 1
bezier = quick, 0.15, 0, 0.1, 1
# Default animations, see https://wiki.hypr.land/Configuring/Animations/
# NAME, ONOFF, SPEED, CURVE, [STYLE]
animation = global, 1, 10, default
animation = border, 1, 5.39, easeOutQuint
animation = windows, 1, 4.79, easeOutQuint
animation = windowsIn, 1, 4.1, easeOutQuint, popin 87%
animation = windowsOut, 1, 1.49, linear, popin 87%
animation = fadeIn, 1, 1.73, almostLinear
animation = fadeOut, 1, 1.46, almostLinear
animation = fade, 1, 3.03, quick
animation = layers, 1, 3.81, easeOutQuint
animation = layersIn, 1, 4, easeOutQuint, fade
animation = layersOut, 1, 1.5, linear, fade
animation = fadeLayersIn, 1, 1.79, almostLinear
animation = fadeLayersOut, 1, 1.39, almostLinear
animation = workspaces, 1, 1.94, almostLinear, fade
animation = workspacesIn, 1, 1.21, almostLinear, fade
animation = workspacesOut, 1, 1.94, almostLinear, fade
animation = zoomFactor, 1, 7, quick
}
# Ref https://wiki.hypr.land/Configuring/Workspace-Rules/
# "Smart gaps" / "No gaps when only"
# uncomment all if you wish to use that.
# workspace = w[tv1], gapsout:0, gapsin:0
# workspace = f[1], gapsout:0, gapsin:0
# windowrule {
# name = no-gaps-wtv1
# match:float = false
# match:workspace = w[tv1]
#
# border_size = 0
# rounding = 0
# }
#
# windowrule {
# name = no-gaps-f1
# match:float = false
# match:workspace = f[1]
#
# border_size = 0
# rounding = 0
# }
# See https://wiki.hypr.land/Configuring/Dwindle-Layout/ for more
dwindle {
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
preserve_split = true # You probably want this
}
# See https://wiki.hypr.land/Configuring/Master-Layout/ for more
master {
new_status = master
}
# https://wiki.hypr.land/Configuring/Variables/#misc
misc {
force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers
disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
}

83
basic/looks.lua Normal file
View File

@@ -0,0 +1,83 @@
-----------------------
---- LOOK AND FEEL ----
-----------------------
-- Refer to https://wiki.hypr.land/Configuring/Variables/
-- https://wiki.hypr.land/Configuring/Variables/--general
-- Bypass the Lua module cache to load fresh Noctalia colors on reload
local colors = dofile(os.getenv("HOME") .. "/.config/hypr/noctalia/noctalia-colors.lua")
hl.config ({
general = {
gaps_in = 5,
gaps_out = 4,
border_size = 1,
-- https://wiki.hypr.land/Configuring/Variables/--variable-types for info about colors,
col = {
["active_border"] = { colors = { colors.primary, colors.tertiary }, angle = 9},
["inactive_border"] = colors.background,
},
-- Set to true enable resizing windows by clicking and dragging on borders and gaps,
resize_on_border = true,
-- Please see https://wiki.hypr.land/Configuring/Tearing/ before you turn this on,
allow_tearing = false,
layout = "dwindle",
},
-- https://wiki.hypr.land/Configuring/Variables/--decoration
decoration = {
rounding = 20,
rounding_power = 2,
-- Change transparency of focused and unfocused windows,
active_opacity = 1.0,
inactive_opacity = 1.0,
shadow = {
enabled = true,
range = 5,
render_power = 7,
color = colors.background,
},
-- https://wiki.hypr.land/Configuring/Variables/--blur,
blur = {
enabled = true,
size = 3,
passes = 2,
vibrancy = 0.1696,
},
},
animations = {
enabled = true,
},
})
-- Default curves and animations, see https://wiki.hypr.land/Configuring/Advanced-and-Cool/Animations/
hl.curve("easeOutQuint", { type = "bezier", points = { {0.23, 1}, {0.32, 1} } })
hl.curve("easeInOutCubic", { type = "bezier", points = { {0.65, 0.05}, {0.36, 1} } })
hl.curve("linear", { type = "bezier", points = { {0, 0}, {1, 1} } })
hl.curve("almostLinear", { type = "bezier", points = { {0.5, 0.5}, {0.75, 1} } })
hl.curve("quick", { type = "bezier", points = { {0.15, 0}, {0.1, 1} } })
-- Default springs
hl.curve("easy", { type = "spring", mass = 1, stiffness = 71.2633, dampening = 15.8273644 })
hl.animation({ leaf = "global", enabled = true, speed = 10, bezier = "default" })
hl.animation({ leaf = "border", enabled = true, speed = 5.39, bezier = "easeOutQuint" })
hl.animation({ leaf = "windows", enabled = true, speed = 4.79, spring = "easy" })
hl.animation({ leaf = "windowsIn", enabled = true, speed = 4.1, spring = "easy", style = "popin 87%" })
hl.animation({ leaf = "windowsOut", enabled = true, speed = 1.49, bezier = "linear", style = "popin 87%" })
hl.animation({ leaf = "fadeIn", enabled = true, speed = 1.73, bezier = "almostLinear" })
hl.animation({ leaf = "fadeOut", enabled = true, speed = 1.46, bezier = "almostLinear" })
hl.animation({ leaf = "fade", enabled = true, speed = 3.03, bezier = "quick" })
hl.animation({ leaf = "layers", enabled = true, speed = 3.81, bezier = "easeOutQuint" })
hl.animation({ leaf = "layersIn", enabled = true, speed = 4, bezier = "easeOutQuint", style = "fade" })
hl.animation({ leaf = "layersOut", enabled = true, speed = 1.5, bezier = "linear", style = "fade" })
hl.animation({ leaf = "fadeLayersIn", enabled = true, speed = 1.79, bezier = "almostLinear" })
hl.animation({ leaf = "fadeLayersOut", enabled = true, speed = 1.39, bezier = "almostLinear" })
hl.animation({ leaf = "workspaces", enabled = true, speed = 1.94, bezier = "almostLinear", style = "fade" })
hl.animation({ leaf = "workspacesIn", enabled = true, speed = 1.21, bezier = "almostLinear", style = "fade" })
hl.animation({ leaf = "workspacesOut", enabled = true, speed = 1.94, bezier = "almostLinear", style = "fade" })
hl.animation({ leaf = "zoomFactor", enabled = true, speed = 7, bezier = "quick" })

View File

@@ -1,18 +0,0 @@
###################
### PERMISSIONS ###
###################
# See https://wiki.hypr.land/Configuring/Permissions/
# Please note permission changes here require a Hyprland restart and are not applied on-the-fly
# for security reasons
# ecosystem {
# enforce_permissions = 1
# }
# permission = /usr/(bin|local/bin)/grim, screencopy, allow
# permission = /usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland, screencopy, allow
# permission = /usr/(bin|local/bin)/hyprpm, plugin, allow

View File

@@ -1,133 +0,0 @@
#####################
### PLUGINS ###
#####################
# .config/hypr/plugins.conf
plugin {
hyprexpo {
columns = 2
gap_size = 5
bg_col = rgb(111111)
workspace_method = first 1 # [center/first] [workspace] e.g. first 1 or center m+1
# gesture_distance = 300 # how far is the "max" for the gesture
skip_empty = true
}
hy3 {
# disable gaps when only one window is onscreen
# 0 - always show gaps
# 1 - hide gaps with a single window onscreen
# 2 - 1 but also show the window border
no_gaps_when_only = 1 # default: 0
# policy controlling what happens when a node is removed from a group,
# leaving only a group
# 0 = remove the nested group
# 1 = keep the nested group
# 2 = keep the nested group only if its parent is a tab group
node_collapse_policy = 2 # default: 2
# offset from group split direction when only one window is in a group
# group_inset = > # default: 10
# if a tab group will automatically be created for the first window spawned in a workspace
tab_first_window = false
# tab group settings
tabs {
# height of the tab bar
height = 22 # default: 22
# padding between the tab bar and its focused node
# padding = <int> # default: 6
# the tab bar should animate in/out from the top instead of below the window
# from_top = <bool> # default: false
# radius of tab bar corners
# radius = <int> # default: 6
# tab bar border width
# border_width = <int> # default: 2
# render the window title on the bar
# render_text = <bool> # default: true
# center the window title
# text_center = <bool> # default: true
# font to render the window title with
# text_font = <string> # default: Sans
# height of the window title
# text_height = <int> # default: 8
# left padding of the window title
# text_padding = <int> # default: 3
# active tab bar segment colors
# col.active = <color> # default: rgba(33ccff40)
# col.active.border = <color> # default: rgba(33ccffee)
# col.active.text = <color> # default: rgba(ffffffff)
# active tab bar segment colors for bars on an unfocused monitor
# col.active_alt_monitor = <color> # default: rgba(60606040)
# col.active_alt_monitor.border = <color> # default: rgba(808080ee)
# col.active_alt_monitor.text = <color> # default: rgba(ffffffff)
# # focused tab bar segment colors (focused node in unfocused container)
# col.focused = <color> # default: rgba(60606040)
# col.focused.border = <color> # default: rgba(808080ee)
# col.focused.text = <color> # default: rgba(ffffffff)
# # inactive tab bar segment colors
# col.inactive = <color> # default: rgba(30303020)
# col.inactive.border = <color> # default: rgba(606060aa)
# col.inactive.text = <color> # default: rgba(ffffffff)
# # urgent tab bar segment colors
# col.urgent = <color> # default: rgba(ff223340)
# col.urgent.border = <color> # default: rgba(ff2233ee)
# col.urgent.text = <color> # default: rgba(ffffffff)
# # urgent tab bar segment colors
# col.locked = <color> # default: rgba(90903340)
# col.locked.border = <color> # default: rgba(909033ee)
# col.locked.text = <color> # default: rgba(ffffffff)
# # if tab backgrounds should be blurred
# # Blur is only visible when the above colors are not opaque.
# blur = <bool> # default: true
# opacity multiplier for tabs
# Applies to blur as well as the given colors.
# opacity = <float> # default: 1.0
}
# autotiling settings
autotile {
# enable autotile
# enable = <bool> # default: false
# make autotile-created groups ephemeral
# ephemeral_groups = <bool> # default: true
# if a window would be squished smaller than this width, a vertical split will be created
# -1 = never automatically split vertically
# 0 = always automatically split vertically
# <number> = pixel width to split at
# trigger_width = <int> # default: 0
# if a window would be squished smaller than this height, a horizontal split will be created
# -1 = never automatically split horizontally
# 0 = always automatically split horizontally
# <number> = pixel height to split at
# trigger_height = <int> # default: 0
# a space or comma separated list of workspace ids where autotile should be enabled
# it's possible to create an exception rule by prefixing the definition with "not:"
# workspaces = 1,2 # autotiling will only be enabled on workspaces 1 and 2
# workspaces = not:1,2 # autotiling will be enabled on all workspaces except 1 and 2
# workspaces = <string> # default: all
}
}
}

50
basic/vars.lua Normal file
View File

@@ -0,0 +1,50 @@
hl.config = {
input = {
kb_layout = "us",
-- kb_variant =
-- kb_model =
-- kb_options =
-- kb_rules =
follow_mouse = 1,
sensitivity = 0,
touchpad = {
natural_scroll = true,
},
cursor = {
inactive_timeout= 0.1,
},
},
xwayland = {
force_zero_scaling = true
},
misc = {
force_default_wallpaper = 1,
disable_hyprland_logo = false,
},
dwindle = {
preserve_split = true,
},
master = {
new_status = "master",
},
scrolling = {
fullscreen_on_one_column = true,
},
}
-------------------
--- PERMISSIONS ---
-------------------
-- See https://wiki.hypr.land/Configuring/Permissions/
-- Please note permission changes here require a Hyprland restart and are not applied on-the-fly
-- for security reasons
-- ecosystem {
-- enforce_permissions = 1
-- }
-- permission = /usr/(bin|local/bin)/grim, screencopy, allow
-- permission = /usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland, screencopy, allow
-- permission = /usr/(bin|local/bin)/hyprpm, plugin, allow

View File

@@ -1,99 +0,0 @@
##############################
### WINDOWS AND WORKSPACES ###
##############################
# See https://wiki.hypr.land/Configuring/Window-Rules/ for more
# See https://wiki.hypr.land/Configuring/Workspace-Rules/ for workspace rules
windowrule{
name = compiler-window
match:tag = compiler
border_color = rgba(ccaaffee)
# col.inactive_border = rgba(333333aa)
border_size = 2
float = false
}
# put vesktop in a special workspace
windowrule{
name = discord
match:class = vesktop
workspace = special:discord
}
windowrule{
name = obsidian
match:class = obsidian
workspace = special:obsidian
}
windowrule{
name = gaming
match:class = steam
workspace = special:gaming
}
windowrule{
name = thunderbird
match:class = org.mozilla.Thunderbird
workspace = special:email
}
windowrule {
# Ignore maximize requests from all apps. You'll probably like this.
name = suppress-maximize-events
match:class = .*
suppress_event = maximize
}
windowrule {
# Fix some dragging issues with XWayland
name = fix-xwayland-drags
match:class = ^$
match:title = ^$
match:xwayland = true
match:float = true
match:fullscreen = false
match:pin = false
no_focus = true
}
xwayland {
force_zero_scaling = true
}
# Hyprland-run windowrule
windowrule {
name = move-hyprland-run
match:class = hyprland-run
move = 20 monitor_h-120
float = yes
}
windowrule {
name = calc-term
match:class = calc-term
pseudo = yes
float = yes
center = true
opacity = 1
# move = cursor_x-10 cursor_y-10
size = monitor_w*.4 monitor_h*.4
}
windowrule{
name = btop
match:class = btop
float = yes
size = monitor_w*.9 monitor_h*.8
dim_around = true
}
windowrule{
name = popup-term
match:class = popup-term
float = yes
size = monitor_w*.9 monitor_h*.8
dim_around = true
}

83
basic/windows.lua Normal file
View File

@@ -0,0 +1,83 @@
--#############################
--## WINDOWS AND WORKSPACES ###
--#############################
-- See https://wiki.hypr.land/Configuring/Window-Rules/ for more
-- See https://wiki.hypr.land/Configuring/Workspace-Rules/ for workspace rules
hl.window_rule({
name = "scrcpy",
match = {class = "scrcpy"},
border_size = 5,
float = true,
dim_around = true,
move = {5, 40},
})
hl.window_rule({
name = "compiler-window",
match = { tag = "compiler"},
border_color = "0xccaaffee",
border_size = 2,
float = false,
})
hl.window_rule({
name = "gaming",
match = {
class = "steam",
initial_class = "steam"
},
workspace = "special:gaming"
})
hl.window_rule( {
-- Ignore maximize requests from all apps. You'll probably like this.
name = "suppress-maximize-events",
match = {class = ".*"},
suppress_event = "maximize",
})
hl.window_rule( {
-- Fix some dragging issues with XWayland
name = "fix-xwayland-drags",
match = {
class = "^$",
title = "^$",
xwayland = true,
float = true,
fullscreen = false,
pin = false
},
no_focus = true,
})
-- Hyprland-run hl.window_rule(
hl.window_rule( {
name = "move-hyprland-run",
match = {class = "hyprland-run"},
move = {20,"monitor_h-120"},
float = true
})
hl.window_rule( {
name = "calc-term",
match = {class = "calc-term"},
pseudo = true,
float = true,
center = true,
opacity = 1,
-- move = {"cursor_x-10", "cursor_y-10"},
size = {"monitor_w*.4", "monitor_h*.4"},
})
hl.workspace_rule( {
workspace = "w[tv1]",
gaps_out = 1,
gaps_in = 1,
border_size = 1,
no_rounding = false,
})

6
custom-functions.lua Normal file
View File

@@ -0,0 +1,6 @@
-- custom-functions.lua
local C = {}
function C.startTimer()
-- TODO implement custom timer logic here
end
return C

View File

@@ -1,57 +0,0 @@
################
### STARTUP ###
################
$terminal = kitty
$fileManager = dolphin
$menu = qs -c noctalia-shell ipc call launcher toggle
# $menu = vicinae open
$browser = qutebrowser
$menuBar = qs -c noctalia-shell
$shellWrapper = qs -c noctalia-shell
$blkmanager = udiskie
$email = thunderbird
exec-once = qs -c noctalia-shell
exec-once = systemctl --user start hyprpolkitagent
exec-once = udiskie
exec-once = hyprpm reload -n
exec-once = kdeconnectd
exec-once = hyprshell run &
exec-once = vesktop -m
exec-once = $email
general:layout = dwindle
#############################
### ENVIRONMENT VARIABLES ###
#############################
# See https://wiki.hypr.land/Configuring/Environment-variables/
env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24
env = ELECTRON_OZONE_PLATFORM_HINT,auto
#_____________________________#
$base = /home/venus/.config/hypr
$basic = $base/basic
source = $basic/looks.conf
source = $base/noctalia/noctalia-colors.conf
source = $basic/keybinds.conf
source = $basic/windows.conf
source = $basic/plugins.conf
source = $basic/inputs.conf
source = $basic/permissions.conf
source = $base/monitors.conf
#wayland rules in basic/windows.conf
source = $base/noctalia/noctalia-colors.conf
source = /home/venus/.config/hypr/noctalia/noctalia-colors.conf

50
hyprland.lua Normal file
View File

@@ -0,0 +1,50 @@
----------------
--- STARTUP ---
----------------
_G.terminal = "kitty"
_G.fileManager = "dolphin"
_G.menu = "qs -c noctalia-shell ipc call launcher toggle"
_G.launcher = "vicinae "
_G.browser = "firefox"
_G.menuBar = "qs -c noctalia-shell"
_G.shellWrapper = "qs -c noctalia-shell"
_G.blkmanager = "udiskie"
_G.email = "thunderbird"
_G.notes = "obsidian"
hl.on("hyprland.start", function()
hl.exec_cmd(menuBar)
hl.exec_cmd("systemctl") --user start hyprpolkitagent)
hl.exec_cmd(blkmanager)
hl.exec_cmd(launcher .. "server") --no-window) TODO set up sddm to unlock keychain
hl.exec_cmd("hyprpm reload -n")
hl.exec_cmd("kdeconnectd")
-- hl.exec_cmd("hyprshell run &")
hl.exec_cmd("vesktop -m", {workspace ="special:vesktop silent"})
hl.exec_cmd(email, {workspace ="special:vesktop silent"})
hl.exec_cmd(notes, {workspace ="special:vesktop silent"})
hl.exec_cmd("steam --forcedesktopscaling 0.5", {workspace ="special:vesktop silent"})
hl.exec_cmd("protonmail-bridge") --no-window) TODO set up sddm to unlock keychain
end)
hl.config({
general = {
layout = "dwindle"
}
})
hl.env("XCURSOR_SIZE", "24")
hl.env("HYPRCURSOR_SIZE", "24")
hl.env("ELECTRON_OZONE_PLATFORM_HINT", "auto")
local base = "/home/venus/.config/hypr"
local basic = base .. "/basic"
require("basic/looks")
require("basic/keybinds")
require("basic/vars")
require("basic/windows")
-- require("plugins")
--require("monitors")

View File

@@ -1,7 +1,7 @@
background = rgba(181212ff)
base = rgba(181212ff)
text = rgba(ece0dfff)
alternate_base = rgba(524343ff)
bright_text = rgba(442929ff)
accent = rgba(ffb3b2ff)
accent_secondary = rgba(e6bdbbff)
background = rgba(121316ff)
base = rgba(121316ff)
text = rgba(e2e2e6ff)
alternate_base = rgba(43474eff)
bright_text = rgba(253140ff)
accent = rgba(9fcaffff)
accent_secondary = rgba(bbc7dbff)

View File

@@ -6,11 +6,6 @@
# If you are using tui to edit, leave this at the end of your file (the last monitor config applies)
# and leave the markers.
# <<<<< TUI AUTO START
# monitor=desc:BOE 0x0BC9,2560x1600@165.00000,5440x0,1.60000000,transform,0,vrr,0
# monitor=desc:Invalid Vendor Codename - RTK TYPE-C 0000000000000,1920x1200@59.95000,7040x-160,1.25000000,transform,1,vrr,0
monitor=desc:BOE 0x0BC9,2560x1600@165.00000,6540x-50,1.60000000,transform,0,vrr,0
monitor=desc:Invalid Vendor Codename - RTK TYPE-C 0000000000000,1920x1200@59.95000,8140x50,1.00000000,transform,0,vrr,0
# <<<<< TUI AUTO END
monitor=desc:BOE 0x0BC9,2560x1600@165.00000,5440x0,1.60000000,transform,0,vrr,0
monitor=desc:LG Electronics LG FULL HD 0x01010101,1920x1080@60.00000,1550x0,1.00000000,transform,0,vrr,0
monitor=desc:BNQ BenQ 241W 0x0000416E,1920x1080@60.00000,3470x0,1.00000000,transform,0,vrr,0
monitor=desc:Invalid Vendor Codename - RTK TYPE-C 0000000000000,1920x1200@59.95000,7040x-560,1.00000000,transform,1,vrr,0
source = /home/venus/.config/hyprdynamicmonitors/hyprconfigs/portable.go.tmpl

View File

@@ -1,9 +1,9 @@
$primary = rgb(ffb3b2)
$surface = rgb(181212)
$secondary = rgb(e6bdbb)
$primary = rgb(9fcaff)
$surface = rgb(121316)
$secondary = rgb(bbc7db)
$error = rgb(ffb4ab)
$tertiary = rgb(e4c18d)
$surface_lowest = rgb(120d0d)
$tertiary = rgb(d7bee4)
$surface_lowest = rgb(0d0e11)
general {
col.active_border = $primary

View File

@@ -0,0 +1,12 @@
-- ~/.config/noctalia/templates/hyprland-colors.lua
-- Automatically generated by Noctalia user-templates
local colors = {
background = "#121316",
primary = "#9fcaff",
tertiary = "#d7bee4",
secondary = "#bbc7db",
error = "#ffb4ab",
}
return colors

View File