From e31224c2783485a5d61afe9e1589a04718041345 Mon Sep 17 00:00:00 2001 From: river Date: Mon, 2 Feb 2026 10:14:06 -0600 Subject: [PATCH] added kde more keybinds --- basic/keybinds.conf | 98 ++++++++++++---------------- windows.conf => basic/windows.conf | 0 hyprland.conf | 9 ++- hyprtoolkit.conf | 14 ++-- basic/monitors.conf => monitors.conf | 0 noctalia/noctalia-colors.conf | 12 ++-- scripts/getIp.sh | 3 + 7 files changed, 65 insertions(+), 71 deletions(-) rename windows.conf => basic/windows.conf (100%) rename basic/monitors.conf => monitors.conf (100%) create mode 100755 scripts/getIp.sh diff --git a/basic/keybinds.conf b/basic/keybinds.conf index 91a662a..53ab780 100644 --- a/basic/keybinds.conf +++ b/basic/keybinds.conf @@ -2,11 +2,10 @@ ### KEYBINDINGS ### ################### -# See https://wiki.hypr.land/Configuring/Keywords/ $mainMod = SUPER # Sets "Windows" key as main modifier $ipc = qs -c noctalia-shell ipc call -# Example binds, see https://wiki.hypr.land/Configuring/Binds/ for more +# 1. Basic Binds bind = $mainMod, Q, exec, $terminal bind = $mainMod, C, killactive, bind = $mainMod, M, exec, command -v hyprshutdown >/dev/null 2>&1 && hyprshutdown || hyprctl dispatch exit @@ -16,29 +15,24 @@ bind = $mainMod, R, exec, $menu bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, O, togglesplit, # dwindle -# 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 - +# 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 -binde = $mainMod , right, resizeActive, 20 0 -binde = $mainMod , left, resizeActive, -20 0 -binde = $mainMod , up, resizeActive, 0 -20 -binde = $mainMod , down, resizeActive, 0 20 - bind = $mainMod SHIFT, H, moveWindow, l bind = $mainMod SHIFT, L, moveWindow, r bind = $mainMod SHIFT, K, moveWindow, u bind = $mainMod SHIFT, J, moveWindow, d +# 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 -# Switch workspaces with mainMod + [0-9] +# 4. Switch workspaces with mainMod + [0-9] bind = $mainMod, 1, workspace, 1 bind = $mainMod, 2, workspace, 2 bind = $mainMod, 3, workspace, 3 @@ -50,7 +44,7 @@ bind = $mainMod, 8, workspace, 8 bind = $mainMod, 9, workspace, 9 bind = $mainMod, 0, workspace, 10 -# Move actihe window to a workspace with mainMod + SHIFT + [0-9] +# 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 @@ -62,21 +56,21 @@ bind = $mainMod SHIFT, 8, movetoworkspace, 8 bind = $mainMod SHIFT, 9, movetoworkspace, 9 bind = $mainMod SHIFT, 0, movetoworkspace, 10 -# Example special workspace (scratchpad) +# 6. special workspace (scratchpad) bind = $mainMod, S, togglespecialworkspace, magic bind = $mainMod SHIFT, S, movetoworkspace, special:magic -#Workspaces +# 7. Other Workspace tools bind = $mainMod, mouse_down, workspace, e+1 bind = $mainMod, mouse_up, workspace, e-1 bind = SUPER, mouse_down, workspace, e-1 +bind = ALT, TAB, workspace, e+1 # alt-tab switch workspace -# Move/resize windows with mainMod + LMB/RMB and dragging +# 8. Move/resize windows with mainMod + LMB/RMB and dragging bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow -# bind = $mainMod, [, resizewindow+1 -# Laptop multimedia keys for volume and LCD brightness +# 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 @@ -90,14 +84,9 @@ bindl = , XF86AudioPause, exec, playerctl play-pause bindl = , XF86AudioPlay, exec, playerctl play-pause bindl = , XF86AudioPrev, exec, playerctl previous -#Shell -bind = $mainMod, B, exec, killall -SIGUSR1 waybar # toggles the bar -bind = $mainMod, W, exec, killall -SIGUSR2 waybar # reloads the bar -bind = ALT, TAB, workspace, e+1 # alt-tab switch workspace -bind = ALT, SPACE, exec, $menu -bind = ALT_R, L, exec, $ipc lockScreen lock -# Applications and shortcuts +# 10. Applications and shortcuts +bindr = SUPER, SUPER_L, exec, $menu bind = $mainMod, D, exec, vesktop # bind = $mainMod, N, exec, nvim ~/.config/hypr/hyprland.conf bind = $mainMod, F, exec, firefox @@ -107,8 +96,10 @@ 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 = $mainMod, T, exec, notify-send "$(/home/venus/.config/hypr/scripts/getIp.sh)" +bind = $mainMod, T, exec, kdeconnect-app -#hande lid switch +# 11. hande lid switch # bindl = , switch:Lid Switch, exec, s$ipc lockScreen lock #Plugin shortcuts # This will toggle HyprExpo when SUPER+g is pressed @@ -116,42 +107,37 @@ bind = ,code:148, exec, kitty --class calc-term -o "confirm_os_window_close 0" / # gesture = 3, vertical, hyprexpo:expo, on -### quick access to controls submap +# 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 window --output-folder ~/screenshots bind = ALT, M, submap, quick-settings -submap = quick-settings - -bind = , S, exec, $ipc settings toggle -bind = , C, exec, $ipc plugin:clipper togglePanel -bind = , P, exec, $ipc sessionMenu toggle -bind = ALT, L, exec, $ipc sessionMenu toggle -bind = , T, exec, $ipc systemMonitor toggle -bind = , M, exec, $ipc controlCenter toggle -bind = , D, exec, $ipc notifications toggleDND -bind = , N, exec, $ipc notifications toggleHistory -# To Do bind clear and dnd toggles inside this shell -bind = SHIFT, B, exec, $ipc bar toggle -bind = , P, exec, $ipc wallpaper toggle -bind = SHIFT, T, exec, $ipc plugin:Catwalk togglePanel -bind = , B, exec, $ipc bluetooth togglePanel -# To Do add submenu for bt -bind = , W, exec, $ipc network togglePanel # toggle network panel -bind = SHIFT, W, exec, $ipc wifi toggle # toggle wifi -bind = ALT, B, exec, $ipc battery togglePanel # toggle battery panel -bind = ALT, C, exec, $ipc calendar toggle - -# bind = , O, exec, $ipc launcher windows - - -bind = ALT, M, submap, reset -bind = , escape, submap, reset - +submap = quick-settings, reset + bind = , S, exec, $ipc settings toggle + bind = , C, exec, $ipc plugin:clipper togglePanel + bind = , P, exec, $ipc sessionMenu toggle + bind = ALT, L, exec, $ipc sessionMenu toggle + bind = , T, exec, $ipc systemMonitor toggle + bind = , M, exec, $ipc controlCenter toggle + bind = , D, exec, $ipc notifications toggleDND + bind = , N, exec, $ipc notifications toggleHistory + # 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 + # To Do add submenu for bt + bind = , W, exec, $ipc network togglePanel # toggle network panel + bind = SHIFT, W, exec, $ipc wifi toggle # toggle wifi + bind = ALT, B, exec, $ipc battery togglePanel # toggle battery panel + bind = ALT, C, exec, $ipc calendar toggle submap = reset +# 13. Misc tools. +bind = ALT, SPACE, exec, $menu +bind = ALT_R, L, exec, $ipc lockScreen lock + diff --git a/windows.conf b/basic/windows.conf similarity index 100% rename from windows.conf rename to basic/windows.conf diff --git a/hyprland.conf b/hyprland.conf index 1a1290d..1515b00 100644 --- a/hyprland.conf +++ b/hyprland.conf @@ -4,7 +4,8 @@ $terminal = kitty $fileManager = dolphin -$menu = qs -c noctalia-shell ipc call launcher toggle +# $menu = qs -c noctalia-shell ipc call launcher toggle +$menu = vicinae open $browser = qutebrowser $menuBar = qs -c noctalia-shell $shellWrapper = qs -c noctalia-shell @@ -31,8 +32,12 @@ $basic = $base/basic source = $basic/looks.conf source = $base/noctalia/noctalia-colors.conf source = $basic/keybinds.conf -source = $base/windows.conf +source = $basic/windows.conf source = $basic/plugins.conf source = $basic/inputs.conf source = $basic/permissions.conf +source = $base/monitors.conf + + +source = /home/venus/.config/hypr/noctalia/noctalia-colors.conf diff --git a/hyprtoolkit.conf b/hyprtoolkit.conf index 85c4577..4355e8b 100644 --- a/hyprtoolkit.conf +++ b/hyprtoolkit.conf @@ -1,7 +1,7 @@ -background = rgba(1e100fff) -base = rgba(1e100fff) -text = rgba(f8dcdbff) -alternate_base = rgba(5d3f3eff) -bright_text = rgba(49204dff) -accent = rgba(f9acfaff) -accent_secondary = rgba(ecb4ebff) \ No newline at end of file +background = rgba(1a1726ff) +base = rgba(1a1726ff) +text = rgba(f2f2f3ff) +alternate_base = rgba(231e33ff) +bright_text = rgba(1b1825ff) +accent = rgba(8467e4ff) +accent_secondary = rgba(b15cd6ff) \ No newline at end of file diff --git a/basic/monitors.conf b/monitors.conf similarity index 100% rename from basic/monitors.conf rename to monitors.conf diff --git a/noctalia/noctalia-colors.conf b/noctalia/noctalia-colors.conf index 0fb1627..edca6d2 100644 --- a/noctalia/noctalia-colors.conf +++ b/noctalia/noctalia-colors.conf @@ -1,9 +1,9 @@ -$primary = rgb(f9acfa) -$surface = rgb(1e100f) -$secondary = rgb(ecb4eb) -$error = rgb(ffb4ab) -$tertiary = rgb(ffb3b1) -$surface_lowest = rgb(180b0a) +$primary = rgb(8467e4) +$surface = rgb(1a1726) +$secondary = rgb(b15cd6) +$error = rgb(fd4663) +$tertiary = rgb(cc66b4) +$surface_lowest = rgb(0d0b13) general { col.active_border = $primary diff --git a/scripts/getIp.sh b/scripts/getIp.sh new file mode 100755 index 0000000..3aa0e7f --- /dev/null +++ b/scripts/getIp.sh @@ -0,0 +1,3 @@ +#!/bin/bash +ip=$(ip a show wlan0 | sed -n 's/inet \([0-9.]*\..*\)\/.*/\1 /p' | tr -d ' ') +echo $ip