Adds waybar config

This commit is contained in:
Michel Fedde 2025-03-09 21:08:34 +01:00
parent 84eca6053b
commit a0c00b0b8f
7 changed files with 15 additions and 16 deletions

View file

@ -84,7 +84,7 @@ bindm = $mainMod, mouse:273, resizewindow
bind = $mainMod SHIFT, C, exec, $scriptsDir/Refresh.sh # Refresh waybar, swaync, rofi bind = $mainMod SHIFT, C, exec, $scriptsDir/Refresh.sh # Refresh waybar, swaync, rofi
bind = $mainMod, N, exec, $scriptsDir/LockScreen.sh # screen lock bind = $mainMod, N, exec, $scriptsDir/LockScreen.sh # screen lock
bind = , Print, exec, $scriptsDir/ScreenShot.sh --area # screenshot (area) 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 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 = ALT, Tab, exec, hyprswitch gui --mod-key alt --key tab
bind = $mainMod, Return, exec, $term #terminal 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 bind = $mainMod, T, exec, $files #file manager

View file

@ -47,6 +47,7 @@ windowrulev2 = workspace 4, class:^([Hh]eroic)$
windowrulev2 = workspace 5, class:^(com.github.th_ch.youtube_music)$ windowrulev2 = workspace 5, class:^(com.github.th_ch.youtube_music)$
windowrulev2 = workspace 5, class:^(feishin)$ windowrulev2 = workspace 5, class:^(feishin)$
windowrulev2 = workspace 5, class:^(Supersonic)$ windowrulev2 = workspace 5, class:^(Supersonic)$
windowrulev2 = workspace 6, class:^(jetbrains-phpstorm|jetbrains-rider)$
# windowrule v2 - float # windowrule v2 - float
windowrulev2 = float, class:^(org.kde.polkit-kde-authentication-agent-1)$ windowrulev2 = float, class:^(org.kde.polkit-kde-authentication-agent-1)$

View file

@ -1,5 +1,5 @@
[Application] [Application]
WindowWidth = 1262 WindowWidth = 1702
WindowHeight = 1382 WindowHeight = 1382
LastCheckedVersion = 'v0.14.0' LastCheckedVersion = 'v0.14.0'
LastLaunchedVersion = 'v0.14.0' LastLaunchedVersion = 'v0.14.0'

View file

@ -54,14 +54,6 @@
"tooltip-format": "Left Click: Wallpaper Menu\nMiddle Click: Random wallpaper\nRight Click: Waybar Styles Menu", "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 // Hypridle inhibitor
"custom/hypridle": { "custom/hypridle": {
"format": "󱫗 ", "format": "󱫗 ",
@ -204,5 +196,9 @@
"custom/colorpicker": { "custom/colorpicker": {
"format": "󰸱 ", "format": "󰸱 ",
"on-click": "hyprpicker -a" "on-click": "hyprpicker -a"
},
"custom/hypr-class": {
"format": "󰲌 ",
"on-click": "hyprctl activewindow | grep 'class:' | awk -F': ' '{print $2}' | wl-copy -n"
} }
} }

View file

@ -16,7 +16,8 @@
"custom/menu", "custom/menu",
"custom/file_manager", "custom/file_manager",
"custom/tty", "custom/tty",
"custom/colorpicker" "custom/colorpicker",
"custom/hypr-class"
] ]
}, },
"group/motherboard": { "group/motherboard": {

View file

@ -195,7 +195,7 @@
"class<heroic>": " ", "class<heroic>": " ",
"class<net.lutris.Lutris>": " ", "class<net.lutris.Lutris>": " ",
"class<Unity>": " ", "class<Unity>": " ",
"class<jetbrains-rider>": " " "class<jetbrains-rider|jetbrains-phpstorm>": " "
} }
}, },

View file

@ -16,7 +16,8 @@ set hlsearch
set visualbell set visualbell
" Use system clipboard " Use system clipboard
set clipboard+=unnamed set clipboard+=unnamed
set clipboard+=unnamedplus
let mapleader = " " let mapleader = " "
@ -114,8 +115,8 @@ let g:WhichKeyDesc_errors_prev = "<leader>ep Go to previous error in solution"
inoremap jj <Esc> inoremap jj <Esc>
" Tab navigation " Tab navigation
nnoremap <A-n> :tabnext<CR> nnoremap <S-l> :tabnext<CR>
nnoremap <A-p> :tabprev<CR> nnoremap <S-h> :tabprev<CR>
" Pane navigation " Pane navigation
nnoremap <A-h> <C-w>h nnoremap <A-h> <C-w>h