sway, yambar: update config

This commit is contained in:
Luis 2024-04-28 07:49:51 +02:00
parent 5a6a844cd4
commit 1d96678ebd
2 changed files with 71 additions and 67 deletions

View File

@ -18,23 +18,25 @@ default_floating_border pixel 1
hide_edge_borders smart
# Colors
# class border backg text indicator child_border
client.focused #000000 #000000 #dddddd #999999 #666666
client.focused_inactive #222222 #222222 #dddddd #999999 #111111
# client.unfocused #333333 #222222 #888888 #292d2e #333333
# client.urgent #2f343a #900000 #dddddd #900000 #900000
# client.placeholder #000000 #0c0c0c #dddddd #000000 #0c0c0c
# classborder backg text indicator child_border
client.focused #000000 #000000 #dddddd #999999 #666666
client.focused_inactive #222222 #222222 #dddddd #999999 #111111
#client.unfocused #333333 #222222 #888888 #292d2e #333333
#client.urgent #2f343a #900000 #dddddd #900000 #900000
#client.placeholder #000000 #0c0c0c #dddddd #000000 #0c0c0c
# Setting values in gsettings
set $gnome-schema org.gnome.desktop.interface
exec_always {
gsettings set $gnome-schema gtk-theme Adwaita
gsettings set $gnome-schema icon-theme Adwaita
gsettings set $gnome-schema cursor-theme Vimix-white-cursors
gsettings set $gnome-schema cursor-size 24
gsettings set $gnome-schema font-name mononoki
gsettings set $gnome-schema gtk-theme 'Adwaita'
gsettings set $gnome-schema icon-theme 'Adwaita'
gsettings set $gnome-schema cursor-theme 'Vimix-white-cursors'
gsettings set $gnome-schema font-name 'mononoki 10'
}
seat seat0 xcursor_theme Vimix-white-cursors 24
# Home row direction keys, like vim
set $left h
set $down j
@ -65,7 +67,7 @@ set $menu bemenu-run -H '20' -p 'Run:' --fn 'mononoki 11' \
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
#exec swaybg -i $HOME/.icons/fondo.png
#output * bg #000000 solid_color
output "*" bg $HOME/.icons/fondo.png fill
output "*" bg $HOME/.local/share/icons/fondo.png fill
#
@ -103,14 +105,14 @@ set $menu bemenu-run -H '20' -p 'Run:' --fn 'mononoki 11' \
# middle_emulation enabled
# }
input "type:keyboard" {
input "type:keyboard" {
xkb_layout "es"
xkb_variant ""
xkb_options "grp:win_space_toggle"
xkb_model "pc105"
}
}
input * xkb_numlock enable
input * xkb_numlock enable
#
# You can get the names of your inputs by running: swaymsg -t get_inputs
# Read `man 5 sway-input` for more information about this section.

View File

@ -64,8 +64,11 @@ bar:
right:
- network:
name: enp3s0
content:
map:
default: {empty: {}}
conditions:
name == enp3s0:
map:
conditions:
~carrier: {empty: {}}
@ -74,7 +77,6 @@ bar:
default: {string: {text: , font: *awesome, foreground: ffffff66}}
conditions:
state == up && ipv4 != "": {string: {text: , font: *awesome}}
- alsa:
card: hw:0
mixer: Master