From a0c00b0b8f275bca4cce72e1cd5c4945cf787ca2 Mon Sep 17 00:00:00 2001 From: Michel Fedde Date: Sun, 9 Mar 2025 21:08:34 +0100 Subject: [PATCH] Adds waybar config --- .config/hypr/config/Keybinds.conf | 4 ++-- .config/hypr/config/WindowRules.conf | 1 + .config/supersonic/config.toml | 2 +- .config/waybar/ModulesCustom.json | 12 ++++-------- .config/waybar/ModulesGroups.json | 3 ++- .config/waybar/ModulesWorkspaces.json | 2 +- .ideavimrc | 7 ++++--- 7 files changed, 15 insertions(+), 16 deletions(-) diff --git a/.config/hypr/config/Keybinds.conf b/.config/hypr/config/Keybinds.conf index 646b6bf..5089569 100644 --- a/.config/hypr/config/Keybinds.conf +++ b/.config/hypr/config/Keybinds.conf @@ -84,7 +84,7 @@ bindm = $mainMod, mouse:273, resizewindow bind = $mainMod SHIFT, C, exec, $scriptsDir/Refresh.sh # Refresh waybar, swaync, rofi bind = $mainMod, N, exec, $scriptsDir/LockScreen.sh # screen lock bind = , Print, exec, $scriptsDir/ScreenShot.sh --area # screenshot (area) -bind = ALT, Print, exec, $scriptsDir/ScreenShot.sh --active # screenshot (active window only) +bind = , F12, exec, $scriptsDir/ScreenShot.sh --active # screenshot (active window only) bind = $mainMod SHIFT, N, exec, swaync-client -t -sw # swayNC notification panel @@ -108,5 +108,5 @@ bind = $mainMod, Tab, exec, nwg-drawer -pbexit "wayland-logout" -pbpoweroff "sys bind = ALT, Tab, exec, hyprswitch gui --mod-key alt --key tab bind = $mainMod, Return, exec, $term #terminal -bind = $mainMod CTRL, Space, exec, hyprdrop ghostty --identifier term_hyprdrop +bind = $mainMod, Space, exec, hyprdrop ghostty --identifier term_hyprdrop bind = $mainMod, T, exec, $files #file manager diff --git a/.config/hypr/config/WindowRules.conf b/.config/hypr/config/WindowRules.conf index 485d12f..311a15d 100644 --- a/.config/hypr/config/WindowRules.conf +++ b/.config/hypr/config/WindowRules.conf @@ -47,6 +47,7 @@ windowrulev2 = workspace 4, class:^([Hh]eroic)$ windowrulev2 = workspace 5, class:^(com.github.th_ch.youtube_music)$ windowrulev2 = workspace 5, class:^(feishin)$ windowrulev2 = workspace 5, class:^(Supersonic)$ +windowrulev2 = workspace 6, class:^(jetbrains-phpstorm|jetbrains-rider)$ # windowrule v2 - float windowrulev2 = float, class:^(org.kde.polkit-kde-authentication-agent-1)$ diff --git a/.config/supersonic/config.toml b/.config/supersonic/config.toml index 6c18fb7..529a262 100644 --- a/.config/supersonic/config.toml +++ b/.config/supersonic/config.toml @@ -1,5 +1,5 @@ [Application] -WindowWidth = 1262 +WindowWidth = 1702 WindowHeight = 1382 LastCheckedVersion = 'v0.14.0' LastLaunchedVersion = 'v0.14.0' diff --git a/.config/waybar/ModulesCustom.json b/.config/waybar/ModulesCustom.json index 6534826..b0468ee 100644 --- a/.config/waybar/ModulesCustom.json +++ b/.config/waybar/ModulesCustom.json @@ -54,14 +54,6 @@ "tooltip-format": "Left Click: Wallpaper Menu\nMiddle Click: Random wallpaper\nRight Click: Waybar Styles Menu", }, -"custom/hint": { - "format": "󰺁 HINT!", - "on-click": "$HOME/.config/hypr/scripts/KeyHints.sh", - "on-click-right": "$HOME/.config/hypr/scripts/KeyBinds.sh", - "tooltip": true, - "tooltip-format": "Left Click: Quick Tips\nRight Click: Keybinds", -}, - // Hypridle inhibitor "custom/hypridle": { "format": "󱫗 ", @@ -204,5 +196,9 @@ "custom/colorpicker": { "format": "󰸱 ", "on-click": "hyprpicker -a" + }, + "custom/hypr-class": { + "format": "󰲌 ", + "on-click": "hyprctl activewindow | grep 'class:' | awk -F': ' '{print $2}' | wl-copy -n" } } diff --git a/.config/waybar/ModulesGroups.json b/.config/waybar/ModulesGroups.json index c3c814f..f2d0001 100644 --- a/.config/waybar/ModulesGroups.json +++ b/.config/waybar/ModulesGroups.json @@ -16,7 +16,8 @@ "custom/menu", "custom/file_manager", "custom/tty", - "custom/colorpicker" + "custom/colorpicker", + "custom/hypr-class" ] }, "group/motherboard": { diff --git a/.config/waybar/ModulesWorkspaces.json b/.config/waybar/ModulesWorkspaces.json index 99edd96..5c14063 100644 --- a/.config/waybar/ModulesWorkspaces.json +++ b/.config/waybar/ModulesWorkspaces.json @@ -195,7 +195,7 @@ "class": " ", "class": " ", "class": " ", - "class": " " + "class": " " } }, diff --git a/.ideavimrc b/.ideavimrc index c76349a..0c47824 100644 --- a/.ideavimrc +++ b/.ideavimrc @@ -16,7 +16,8 @@ set hlsearch set visualbell " Use system clipboard -set clipboard+=unnamed +set clipboard+=unnamed +set clipboard+=unnamedplus let mapleader = " " @@ -114,8 +115,8 @@ let g:WhichKeyDesc_errors_prev = "ep Go to previous error in solution" inoremap jj " Tab navigation -nnoremap :tabnext -nnoremap :tabprev +nnoremap :tabnext +nnoremap :tabprev " Pane navigation nnoremap h