diff --git a/home/user/files/hyprland.conf b/home/user/files/hyprland.conf index 8625ce4..f976767 100644 --- a/home/user/files/hyprland.conf +++ b/home/user/files/hyprland.conf @@ -122,7 +122,7 @@ bind = $mainMod, RETURN, exec, kitty bind = $mainMod SHIFT, Q, killactive, bind = $mainMod, M, exec, nwg-bar bind = $mainMod, V, togglefloating, -bind = $mainMod, R, exec, nwg-drawer -lang zh +bind = $mainMod, R, exec, nwg-drawer -lang zh_CN -nocats -nofs bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, J, togglesplit, # dwindle diff --git a/home/user/files/nwg-bar/bar.json b/home/user/files/nwg-bar/bar.json index 56bd07c..92633ba 100644 --- a/home/user/files/nwg-bar/bar.json +++ b/home/user/files/nwg-bar/bar.json @@ -1,12 +1,12 @@ [ { - "label": "Reboot", + "label": "重启", "exec": "systemctl reboot", - "icon": "/usr/share/nwg-bar/images/system-reboot.svg" + "icon": "~/.config/nwg-bar/images/system-reboot.svg" }, { - "label": "Shutdown", + "label": "关机", "exec": "systemctl -i poweroff", - "icon": "/usr/share/nwg-bar/images/system-shutdown.svg" + "icon": "~/.config/nwg-bar/images/system-shutdown.svg" } ] \ No newline at end of file diff --git a/home/user/files/nwg-bar/images/system-reboot.svg b/home/user/files/nwg-bar/images/system-reboot.svg new file mode 100644 index 0000000..6701e8b --- /dev/null +++ b/home/user/files/nwg-bar/images/system-reboot.svg @@ -0,0 +1,65 @@ + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/home/user/files/nwg-bar/images/system-shutdown.svg b/home/user/files/nwg-bar/images/system-shutdown.svg new file mode 100644 index 0000000..990d741 --- /dev/null +++ b/home/user/files/nwg-bar/images/system-shutdown.svg @@ -0,0 +1,64 @@ + + + + + + image/svg+xml + + + + + + + + + + diff --git a/home/user/files/nwg-drawer/drawer.css b/home/user/files/nwg-drawer/drawer.css index a893075..e905b1c 100644 --- a/home/user/files/nwg-drawer/drawer.css +++ b/home/user/files/nwg-drawer/drawer.css @@ -1,5 +1,5 @@ window { - background-color: rgba (36, 47, 79, 0.95); + background-color: #000000F0; color: #eeeeee }