feat: floated network manager
This commit is contained in:
parent
8074c03dfc
commit
3d7de848d8
5 changed files with 13 additions and 2 deletions
|
@ -6,6 +6,7 @@ bind = $mainMod, K, exec, $waybar_toggle
|
|||
bind = $mainMod, Q, exec, $terminal
|
||||
bind = $mainMod, W, exec, $terminal -e zellij
|
||||
bind = $mainMod, E, exec, $fileManager
|
||||
bind = $mainMod, N, exec, $network_manager
|
||||
bind = $mainMod, V, togglefloating,
|
||||
bind = $mainMod, C, killactive,
|
||||
bind = $mainMod, M, exit,
|
||||
|
|
|
@ -7,6 +7,10 @@ windowrulev2 = bordercolor rgb(FF0000) rgb(880808) 15deg,fullscreen:1
|
|||
windowrulev2 = animation popin,class:^(alacritty|Alacritty|pavucontrol|org.kde.polkit-kde-authentication-agent-1)$
|
||||
windowrulev2 = float,class:^(pavucontrol|wlogout|dunst|Dunst|org.kde.polkit-kde-authentication-agent-1)$
|
||||
|
||||
# alacritty:
|
||||
windowrulev2 = float, class:floating
|
||||
windowrulev2 = animation popin, class:floating
|
||||
|
||||
# firefox rules :
|
||||
windowrulev2= float,class:^(Firefox|firefox)$,title:^(Library|Picture-in-Picture)$
|
||||
windowrulev2= animation popin,class:^(Firefox|firefox)$,title:^(Library|Picture-in-Picture)$
|
||||
|
|
|
@ -16,6 +16,7 @@ $scr_path = ~/.config/hypr/scripts
|
|||
$mainMod = SUPER
|
||||
$terminal = alacritty
|
||||
$fileManager = dolphin
|
||||
$network_manager = $scr_path/nmtui-launch.sh
|
||||
$screenshot = $scr_path/hyprshot.sh
|
||||
$swww_random = $scr_path/swww-random.sh
|
||||
$waybar_toggle = $scr_path/waybar-toggle.sh
|
||||
|
|
5
hyprland/.config/hypr/scripts/nmtui-launch.sh
Executable file
5
hyprland/.config/hypr/scripts/nmtui-launch.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
window_class="floating"
|
||||
|
||||
alacritty --class $window_class -e nmtui
|
|
@ -193,7 +193,7 @@
|
|||
"format-linked": "{ifname} (No IP) ",
|
||||
"format-disconnected": " N/A {signalStrength}% : 0.0.0.0",
|
||||
"format-alt": "{ifname}: {ipaddr}/{cidr}",
|
||||
"on-click-right": "alacritty -e nmtui",
|
||||
"on-click-right": "$HOME/.config/hypr/scripts/nmtui-launch.sh",
|
||||
"tooltip": false
|
||||
},
|
||||
"network#network-2": {
|
||||
|
@ -201,7 +201,7 @@
|
|||
"format-ethernet": " {bandwidthDownBytes} {bandwidthUpBytes}",
|
||||
"format-linked": "(No IP) ",
|
||||
"format-disconnected": " {bandwidthDownBytes} {bandwidthUpBytes}",
|
||||
"on-click-right": "alacritty -e nmtui",
|
||||
"on-click-right": "$HOME/.config/hypr/scripts/nmtui-launch.sh",
|
||||
"tooltip": false,
|
||||
"interval": 1
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue