change to new nwg tools
This commit is contained in:
parent
4c9667b7a9
commit
6d82d34b12
@ -120,9 +120,9 @@ $mainMod = SUPER
|
|||||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||||
bind = $mainMod, RETURN, exec, kitty
|
bind = $mainMod, RETURN, exec, kitty
|
||||||
bind = $mainMod SHIFT, Q, killactive,
|
bind = $mainMod SHIFT, Q, killactive,
|
||||||
bind = $mainMod, M, exec, nwgbar
|
bind = $mainMod, M, exec, nwg-bar
|
||||||
bind = $mainMod, V, togglefloating,
|
bind = $mainMod, V, togglefloating,
|
||||||
bind = $mainMod, R, exec, nwggrid -o 0.8
|
bind = $mainMod, R, exec, nwg-drawer -lang zh
|
||||||
bind = $mainMod, P, pseudo, # dwindle
|
bind = $mainMod, P, pseudo, # dwindle
|
||||||
bind = $mainMod, J, togglesplit, # dwindle
|
bind = $mainMod, J, togglesplit, # dwindle
|
||||||
|
|
||||||
|
12
home/user/files/nwg-bar/bar.json
Normal file
12
home/user/files/nwg-bar/bar.json
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"label": "Reboot",
|
||||||
|
"exec": "systemctl reboot",
|
||||||
|
"icon": "/usr/share/nwg-bar/images/system-reboot.svg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Shutdown",
|
||||||
|
"exec": "systemctl -i poweroff",
|
||||||
|
"icon": "/usr/share/nwg-bar/images/system-shutdown.svg"
|
||||||
|
}
|
||||||
|
]
|
35
home/user/files/nwg-bar/style.css
Normal file
35
home/user/files/nwg-bar/style.css
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
window {
|
||||||
|
background-color: rgba (0, 0, 0, 1.0)
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Outer bar container, takes all the window width/height */
|
||||||
|
#outer-box {
|
||||||
|
margin: 0px
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Inner bar container, surrounds buttons */
|
||||||
|
#inner-box {
|
||||||
|
background-color: rgba (0, 0, 0, 0.85);
|
||||||
|
border-radius: 10px;
|
||||||
|
border-style: none;
|
||||||
|
border-width: 1px;
|
||||||
|
border-color: rgba (156, 142, 122, 0.7);
|
||||||
|
padding: 5px;
|
||||||
|
margin: 5px
|
||||||
|
}
|
||||||
|
|
||||||
|
button, image {
|
||||||
|
background: none;
|
||||||
|
border: none;
|
||||||
|
box-shadow: none
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
padding-left: 10px;
|
||||||
|
padding-right: 10px;
|
||||||
|
margin: 5px
|
||||||
|
}
|
||||||
|
|
||||||
|
button:hover {
|
||||||
|
background-color: rgba (255, 255, 255, 0.1)
|
||||||
|
}
|
34
home/user/files/nwg-drawer/drawer.css
Normal file
34
home/user/files/nwg-drawer/drawer.css
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
window {
|
||||||
|
background-color: rgba (36, 47, 79, 0.95);
|
||||||
|
color: #eeeeee
|
||||||
|
}
|
||||||
|
|
||||||
|
/* search entry */
|
||||||
|
entry {
|
||||||
|
background-color: rgba (0, 0, 0, 0.2)
|
||||||
|
}
|
||||||
|
|
||||||
|
button, image {
|
||||||
|
background: none;
|
||||||
|
border: none
|
||||||
|
}
|
||||||
|
|
||||||
|
button:hover {
|
||||||
|
background-color: rgba (255, 255, 255, 0.1)
|
||||||
|
}
|
||||||
|
|
||||||
|
/* in case you wanted to give category buttons a different look */
|
||||||
|
#category-button {
|
||||||
|
margin: 0 10px 0 10px
|
||||||
|
}
|
||||||
|
|
||||||
|
#pinned-box {
|
||||||
|
padding-bottom: 5px;
|
||||||
|
border-bottom: 1px dotted gray
|
||||||
|
}
|
||||||
|
|
||||||
|
#files-box {
|
||||||
|
padding: 5px;
|
||||||
|
border: 1px dotted gray;
|
||||||
|
border-radius: 15px
|
||||||
|
}
|
@ -12,7 +12,9 @@
|
|||||||
icdiff
|
icdiff
|
||||||
#rofi
|
#rofi
|
||||||
#rofi-rbw
|
#rofi-rbw
|
||||||
nwg-launchers
|
#nwg-launchers
|
||||||
|
nwg-bar
|
||||||
|
nwg-drawer
|
||||||
gnumake42
|
gnumake42
|
||||||
wget
|
wget
|
||||||
axel
|
axel
|
||||||
@ -28,6 +30,7 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
|
TERM = "kitty";
|
||||||
#GTK_IM_MODULE = "fcitx";
|
#GTK_IM_MODULE = "fcitx";
|
||||||
#QT_IM_MODULE = "fcitx";
|
#QT_IM_MODULE = "fcitx";
|
||||||
#SDL_VIDEODRIVER = "wayland";
|
#SDL_VIDEODRIVER = "wayland";
|
||||||
@ -51,7 +54,9 @@
|
|||||||
".config/ranger/rc.conf".source = ./files/ranger-rc.conf;
|
".config/ranger/rc.conf".source = ./files/ranger-rc.conf;
|
||||||
|
|
||||||
# nwg
|
# nwg
|
||||||
".config/nwg-launchers".source = ./files/nwg-launchers;
|
#".config/nwg-launchers".source = ./files/nwg-launchers;
|
||||||
|
".config/nwg-drawer".source = ./files/nwg-drawer;
|
||||||
|
".config/nwg-bar".source = ./files/nwg-bar;
|
||||||
|
|
||||||
# wallpapers
|
# wallpapers
|
||||||
".local/share/wallpapers".source = ./wallpapers;
|
".local/share/wallpapers".source = ./wallpapers;
|
||||||
|
Reference in New Issue
Block a user