Add azote and nwg-launchers

pull/1/head
Ensar Sarajčić 2021-01-31 22:45:37 +01:00
parent 23dbc4783d
commit d9010729aa
12 changed files with 133 additions and 3 deletions

View File

@ -1,6 +1,8 @@
azote
bitwarden-bin
libspotify
nerd-fonts-source-code-pro
nwg-launchers
python-pyspotify
slack-desktop
spotify

View File

@ -1,5 +1,9 @@
#!/bin/sh
WALLPAPER=~/.config/lock-wallpapers/oscar-wallpaper.jpg
if test -f ~/.config/lock-wallpapers/override; then
WALLPAPER=~/.config/lock-wallpapers/override
else
WALLPAPER=~/.config/lock-wallpapers/oscar-wallpaper.jpg
fi
swaylock -f -i $WALLPAPER -s fill

View File

@ -0,0 +1,10 @@
{
"thumb_width": "240",
"columns": "3",
"color_icon_w": "100",
"color_icon_h": "50",
"clip_prev_size": "30",
"palette_quality": "10",
"tracking_interval_seconds": "5",
"screen_measurement_delay": "300"
}

View File

@ -1,2 +1,3 @@
[Settings]
gtk-application-prefer-dark-theme=1
gtk-button-images=1

View File

@ -0,0 +1 @@
override

View File

@ -0,0 +1,22 @@
[
{
"name": "Lock screen",
"exec": "~/bin/lockscreen",
"icon": "system-lock-screen"
},
{
"name": "Logout",
"exec": "swaymsg exit",
"icon": "system-log-out"
},
{
"name": "Reboot",
"exec": "systemctl reboot",
"icon": "system-reboot"
},
{
"name": "Shutdown",
"exec": "systemctl -i poweroff",
"icon": "system-shutdown"
}
]

View File

@ -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 */
}

View File

@ -0,0 +1,22 @@
/* Don't delete, just in case: the menu anchor is a button */
button {
background: none;
border-style: none;
box-shadow: none;
}
box {
/* Uncomment to set vertical margin
margin-top: 30px;
margin-bottom: 30px;
*/
}
#searchbox {
/* Adjust to your taste */
}
/* Menu items */
label {
padding-left: 5px
}

View File

@ -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
}

View File

@ -0,0 +1 @@
alacritty -e

View File

@ -1,7 +1,7 @@
# Read `man 5 sway` for a complete reference.
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
output * bg ~/.config/wallpapers/gruvbox-dark/gruvbox-gadgets.png fill
exec ~/.azotebg
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.

View File

@ -177,7 +177,7 @@
"custom/power-menu": {
"tooltip": false,
"format": "",
"on-click": "echo -e 'Shutdown\nReboot\nSleep\nHibernate\nExit' | wofi -d -i -p 'System menu:' -L 10 | sed 's/Shutdown/systemctl poweroff/g;s/Reboot/systemctl reboot/g;s/Sleep/systemctl suspend/g;s/Hibernate/systemctl hibernate/g;s/Exit/swaymsg exit/g' | xargs -r0 sh -c"
"on-click": "nwgbar"
}
}