add wofi and waybar
This commit is contained in:
parent
6bae20b1c4
commit
535b890d14
6 changed files with 173 additions and 1 deletions
1
emacs/.config/emacs/.#config.org
Symbolic link
1
emacs/.config/emacs/.#config.org
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
gabi@gentoo.1525130935602846936
|
||||
|
|
@ -35,7 +35,7 @@ client.urgent #f38ba8 #1e1e2e #f38ba8 #f38ba8 #f38ba8
|
|||
### Output configuration
|
||||
#
|
||||
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
||||
output * bg /home/gabi/Pictures/Wallpapers/fields.jpg fill
|
||||
output * bg /home/gabi/Pictures/Wallpapers/space.jpg fill
|
||||
#
|
||||
# Example configuration:
|
||||
#
|
||||
|
|
@ -236,6 +236,8 @@ bindsym $mod+r mode "resize"
|
|||
|
||||
include /etc/sway/config.d/*
|
||||
|
||||
for_window [app_id="wofi"] floating enable, border pixel 0, move position center
|
||||
|
||||
# --- AUTORUN ---
|
||||
exec --no-startup-id mako
|
||||
exec waybar -c ~/.config/waybar/config.jsonc
|
||||
|
|
|
|||
29
waybar/.config/waybar/config.jsonc
Normal file
29
waybar/.config/waybar/config.jsonc
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"height": 30,
|
||||
"modules-left": ["sway/workspaces", "sway/mode"],
|
||||
"modules-center": [],
|
||||
"modules-right": ["pulseaudio", "cpu", "memory", "battery", "clock"],
|
||||
|
||||
"sway/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"all-outputs": true
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%H:%M} "
|
||||
},
|
||||
"battery": {
|
||||
"format": "{capacity}% "
|
||||
},
|
||||
"cpu": {
|
||||
"format": "{usage}% "
|
||||
},
|
||||
"memory": {
|
||||
"format": "{}% "
|
||||
},
|
||||
"pulseaudio": {
|
||||
"format": "{volume}% ",
|
||||
"format-muted": ""
|
||||
}
|
||||
}
|
||||
44
waybar/.config/waybar/style.css
Normal file
44
waybar/.config/waybar/style.css
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
* {
|
||||
font-family: "JetBrainsMono Nerd Font";
|
||||
font-size: 13px;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: rgba(30, 30, 46, 0.6); /* Fundo transparente Mocha */
|
||||
border-bottom: none;
|
||||
color: #cdd6f4;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0;
|
||||
/* Para uma bola perfeita no GTK: min-width e min-height iguais */
|
||||
min-width: 26px;
|
||||
min-height: 26px;
|
||||
/* O raio deve ser exatamente metade do tamanho (13px é metade de 26px) */
|
||||
border-radius: 13px;
|
||||
margin: 0 5px; /* Remove margem vertical, deixa apenas 5px de lado */
|
||||
background-color: transparent;
|
||||
color: #a6adc8;
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
color: #1e1e2e;
|
||||
background: #cba6f7;
|
||||
/* O border-radius precisa de ser repetido aqui para não ser esmagado */
|
||||
border-radius: 13px;
|
||||
}
|
||||
|
||||
#workspaces button label {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#clock, #battery, #cpu, #memory, #pulseaudio, #network {
|
||||
padding: 0 10px;
|
||||
margin: 4px 2px;
|
||||
background: #313244;
|
||||
color: #cdd6f4;
|
||||
border-radius: 6px;
|
||||
}
|
||||
18
wofi/.config/wofi/config
Normal file
18
wofi/.config/wofi/config
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
mode=drun
|
||||
allow_images=true
|
||||
image_size=24
|
||||
icon_theme=Papirus-Dark
|
||||
show_all=false
|
||||
allow_markup=true
|
||||
width=450
|
||||
height=350
|
||||
always_parse_args=false
|
||||
insensitive=true
|
||||
prompt=Pesquisar aplicações...
|
||||
line_wrap=false
|
||||
dynamic_lines=true
|
||||
no_actions=true
|
||||
location=center
|
||||
xoffset=0
|
||||
yoffset=0
|
||||
normal_window=true
|
||||
78
wofi/.config/wofi/style.css
Normal file
78
wofi/.config/wofi/style.css
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
window {
|
||||
background-color: rgba(30, 30, 46, 0.9);
|
||||
border: 1px solid #89b4fa;
|
||||
border-radius: 12px;
|
||||
font-family: "JetBrainsMono Nerd Font", monospace;
|
||||
font-size: 14px;
|
||||
font-weight: normal;
|
||||
box-shadow: none; /* Mata a sombra invisível do GTK que estraga o centro */
|
||||
}
|
||||
|
||||
#input {
|
||||
margin: 10px;
|
||||
padding: 6px 10px;
|
||||
background-color: #11111b;
|
||||
color: #cdd6f4;
|
||||
border: 1px solid #313244;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
#inner-box {
|
||||
margin: 0px 8px 8px 8px;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#outer-box {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#scroll {
|
||||
margin: 5px 0px;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#text {
|
||||
color: #cdd6f4;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
#entry {
|
||||
padding: 6px 8px;
|
||||
margin: 1px 5px;
|
||||
border-radius: 8px;
|
||||
background-color: transparent;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
#entry:selected {
|
||||
background-color: #313244;
|
||||
color: #89b4fa;
|
||||
border: 1px solid #45475a;
|
||||
}
|
||||
|
||||
#entry image {
|
||||
margin-right: 12px;
|
||||
min-width: 24px;
|
||||
min-height: 24px;
|
||||
}
|
||||
|
||||
#entry arrow {
|
||||
border: none;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
scrollbar {
|
||||
background: transparent;
|
||||
border: none;
|
||||
}
|
||||
|
||||
scrollbar slider {
|
||||
background: #45475a;
|
||||
border-radius: 8px;
|
||||
min-width: 6px;
|
||||
min-height: 30px;
|
||||
}
|
||||
|
||||
scrollbar slider:hover {
|
||||
background: #585b70;
|
||||
}
|
||||
Loading…
Reference in a new issue