feat:migrate hyprland config with nwg tools
This commit is contained in:
parent
54ea69dd8e
commit
fc39a811c9
251 changed files with 23198 additions and 118 deletions
22
home/private_dot_config/nwg-bar/bar.json
Normal file
22
home/private_dot_config/nwg-bar/bar.json
Normal file
|
@ -0,0 +1,22 @@
|
|||
[
|
||||
{
|
||||
"label": "锁屏",
|
||||
"exec": "hyprlock",
|
||||
"icon": "/home/grassblock/.config/nwg-bar/images/lock.svg"
|
||||
},
|
||||
{
|
||||
"label": "离开",
|
||||
"exec": "hyprctl dispatch exit",
|
||||
"icon": "/home/grassblock/.config/nwg-bar/images/logout.svg"
|
||||
},
|
||||
{
|
||||
"label": "重启",
|
||||
"exec": "systemctl reboot",
|
||||
"icon": "/home/grassblock/.config/nwg-bar/images/reboot.svg"
|
||||
},
|
||||
{
|
||||
"label": "关机",
|
||||
"exec": "systemctl -i poweroff",
|
||||
"icon": "/home/grassblock/.config/nwg-bar/images/shutdown.svg"
|
||||
}
|
||||
]
|
1
home/private_dot_config/nwg-bar/images/lock.svg
Normal file
1
home/private_dot_config/nwg-bar/images/lock.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" height="20" viewBox="0 -960 960 960" width="20"><path fill="#ffeceff4" d="M240-80q-33 0-56.5-23.5T160-160v-400q0-33 23.5-56.5T240-640h40v-80q0-83 58.5-141.5T480-920q83 0 141.5 58.5T680-720v80h40q33 0 56.5 23.5T800-560v400q0 33-23.5 56.5T720-80H240Zm0-80h480v-400H240v400Zm240-120q33 0 56.5-23.5T560-360q0-33-23.5-56.5T480-440q-33 0-56.5 23.5T400-360q0 33 23.5 56.5T480-280ZM360-640h240v-80q0-50-35-85t-85-35q-50 0-85 35t-35 85v80ZM240-160v-400 400Z"/></svg>
|
After Width: | Height: | Size: 498 B |
1
home/private_dot_config/nwg-bar/images/logout.svg
Normal file
1
home/private_dot_config/nwg-bar/images/logout.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" height="20" viewBox="0 -960 960 960" width="20"><path fill="#ffeceff4" d="M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h280v80H200v560h280v80H200Zm440-160-55-58 102-102H360v-80h327L585-622l55-58 200 200-200 200Z"/></svg>
|
After Width: | Height: | Size: 276 B |
1
home/private_dot_config/nwg-bar/images/reboot.svg
Normal file
1
home/private_dot_config/nwg-bar/images/reboot.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" height="20" viewBox="0 -960 960 960" width="20"><path fill="#ffeceff4" d="M440-122q-121-15-200.5-105.5T160-440q0-66 26-126.5T260-672l57 57q-38 34-57.5 79T240-440q0 88 56 155.5T440-202v80Zm80 0v-80q87-16 143.5-83T720-440q0-100-70-170t-170-70h-3l44 44-56 56-140-140 140-140 56 56-44 44h3q134 0 227 93t93 227q0 121-79.5 211.5T520-122Z"/></svg>
|
After Width: | Height: | Size: 381 B |
1
home/private_dot_config/nwg-bar/images/shutdown.svg
Normal file
1
home/private_dot_config/nwg-bar/images/shutdown.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" height="20" viewBox="0 -960 960 960" width="20"><path fill="#ffeceff4" d="M440-440v-400h80v400h-80Zm40 320q-74 0-139.5-28.5T226-226q-49-49-77.5-114.5T120-480q0-80 33-151t93-123l56 56q-48 40-75 97t-27 121q0 116 82 198t198 82q117 0 198.5-82T760-480q0-64-26.5-121T658-698l56-56q60 52 93 123t33 151q0 74-28.5 139.5t-77 114.5q-48.5 49-114 77.5T480-120Z"/></svg>
|
After Width: | Height: | Size: 397 B |
33
home/private_dot_config/nwg-bar/style.css
Normal file
33
home/private_dot_config/nwg-bar/style.css
Normal file
|
@ -0,0 +1,33 @@
|
|||
window {
|
||||
background-color: #2e3440;
|
||||
border-radius: 15px;
|
||||
}
|
||||
|
||||
/* Outer bar container, takes all the window width/height */
|
||||
#outer-box {
|
||||
margin: 5px
|
||||
}
|
||||
|
||||
/* Inner bar container, surrounds buttons */
|
||||
#inner-box {
|
||||
border: none;
|
||||
padding: 5px;
|
||||
margin: 5px
|
||||
}
|
||||
|
||||
button, image {
|
||||
background: none;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
color: #d8dee9;
|
||||
}
|
||||
|
||||
button {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
margin: 5px
|
||||
}
|
||||
|
||||
button:hover {
|
||||
background-color: #5E81AC;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue