diff --git a/dot_config/nwg-launchers/nwgbar/bar.json b/dot_config/nwg-launchers/nwgbar/bar.json new file mode 100644 index 0000000..f34fceb --- /dev/null +++ b/dot_config/nwg-launchers/nwgbar/bar.json @@ -0,0 +1,22 @@ +[ + { + "name": "Lock screen", + "exec": "swaylock -f -c 000000", + "icon": "system-lock-screen" + }, + { + "name": "Logout", + "exec": "loginctl terminate-user $USER", + "icon": "system-log-out" + }, + { + "name": "Reboot", + "exec": "systemctl reboot", + "icon": "system-reboot" + }, + { + "name": "Shutdown", + "exec": "systemctl -i poweroff", + "icon": "system-shutdown" + } +] diff --git a/dot_config/nwg-launchers/nwgbar/style.css b/dot_config/nwg-launchers/nwgbar/style.css new file mode 100644 index 0000000..871ec03 --- /dev/null +++ b/dot_config/nwg-launchers/nwgbar/style.css @@ -0,0 +1,28 @@ +#bar { + margin: 30px /* affects top/bottom & left/right alignment */ +} + +button, image { + background: none; + border-style: none; + box-shadow: none; + color: #999 +} + +button { + padding-left: 10px; + padding-right: 10px; + margin: 5px +} + +button:hover { + background-color: rgba (255, 255, 255, 0.1) +} + +button:focus { + box-shadow: 0 0 2px; +} + +grid { + /* e.g. for common background to all buttons */ +} diff --git a/dot_config/nwg-launchers/nwgdmenu/style.css b/dot_config/nwg-launchers/nwgdmenu/style.css new file mode 100644 index 0000000..699ef7c --- /dev/null +++ b/dot_config/nwg-launchers/nwgdmenu/style.css @@ -0,0 +1,17 @@ + +box { + /* Uncomment to set vertical margin + margin-top: 30px; + margin-bottom: 30px; + */ + margin-top: 30px +} + +#searchbox { + /* Adjust to your taste */ +} + +/* Menu items */ +#commands { + padding-left: 5px +} diff --git a/dot_config/nwg-launchers/nwggrid/style.css b/dot_config/nwg-launchers/nwggrid/style.css new file mode 100644 index 0000000..ba8c143 --- /dev/null +++ b/dot_config/nwg-launchers/nwggrid/style.css @@ -0,0 +1,39 @@ +button, label, image { + background: none; + border-style: none; + box-shadow: none; + color: #999; +} + +button { + padding: 5px; + margin: 5px +} + +button:hover { + background-color: rgba (255, 255, 255, 0.1); +} + +button:focus { + box-shadow: 0 0 2px; +} + +#searchbox { + background: none; + border-color: #999; + color: #ccc; + margin-top: 20px; + margin-bottom: 20px +} + +#separator { + background-color: rgba(200, 200, 200, 0.5); + margin-left: 500px; + margin-right: 500px; + margin-top: 10px; + margin-bottom: 10px +} + +#description { + margin-bottom: 20px +} diff --git a/dot_config/nwg-launchers/nwggrid/terminal b/dot_config/nwg-launchers/nwggrid/terminal new file mode 100644 index 0000000..39b040f --- /dev/null +++ b/dot_config/nwg-launchers/nwggrid/terminal @@ -0,0 +1 @@ +tilix -e diff --git a/dot_config/waybar/config b/dot_config/waybar/config index 98bb045..f31faaa 100644 --- a/dot_config/waybar/config +++ b/dot_config/waybar/config @@ -104,8 +104,8 @@ }, "custom/launcher":{ "format": "", - "on-click": "wofi", - "on-click-right": "killall wofi" + "on-click": "nwggrid", + "on-click-right": "killall nwggrid" }, "custom/update":{ "format": "", diff --git a/dot_config/wayfire.ini b/dot_config/wayfire.ini index 7326dca..ea70207 100644 --- a/dot_config/wayfire.ini +++ b/dot_config/wayfire.ini @@ -202,7 +202,8 @@ command_lock = swaylock -C $HOME/.config/swaylock/conig # Logout # https://github.com/ArtsyMacaw/wlogout binding_logout = KEY_ESC -command_logout = wlogout -p xdg +command_logout = nwgbar +# command_logout = wlogout -p xdg # Screenshots # https://wayland.emersion.fr/grim/