sway, yambar: update config
This commit is contained in:
parent
5a6a844cd4
commit
1d96678ebd
|
@ -18,23 +18,25 @@ default_floating_border pixel 1
|
||||||
hide_edge_borders smart
|
hide_edge_borders smart
|
||||||
|
|
||||||
# Colors
|
# Colors
|
||||||
# class border backg text indicator child_border
|
# classborder backg text indicator child_border
|
||||||
client.focused #000000 #000000 #dddddd #999999 #666666
|
client.focused #000000 #000000 #dddddd #999999 #666666
|
||||||
client.focused_inactive #222222 #222222 #dddddd #999999 #111111
|
client.focused_inactive #222222 #222222 #dddddd #999999 #111111
|
||||||
# client.unfocused #333333 #222222 #888888 #292d2e #333333
|
#client.unfocused #333333 #222222 #888888 #292d2e #333333
|
||||||
# client.urgent #2f343a #900000 #dddddd #900000 #900000
|
#client.urgent #2f343a #900000 #dddddd #900000 #900000
|
||||||
# client.placeholder #000000 #0c0c0c #dddddd #000000 #0c0c0c
|
#client.placeholder #000000 #0c0c0c #dddddd #000000 #0c0c0c
|
||||||
|
|
||||||
# Setting values in gsettings
|
# Setting values in gsettings
|
||||||
set $gnome-schema org.gnome.desktop.interface
|
set $gnome-schema org.gnome.desktop.interface
|
||||||
|
|
||||||
exec_always {
|
exec_always {
|
||||||
gsettings set $gnome-schema gtk-theme Adwaita
|
gsettings set $gnome-schema gtk-theme 'Adwaita'
|
||||||
gsettings set $gnome-schema icon-theme Adwaita
|
gsettings set $gnome-schema icon-theme 'Adwaita'
|
||||||
gsettings set $gnome-schema cursor-theme Vimix-white-cursors
|
gsettings set $gnome-schema cursor-theme 'Vimix-white-cursors'
|
||||||
gsettings set $gnome-schema cursor-size 24
|
gsettings set $gnome-schema font-name 'mononoki 10'
|
||||||
gsettings set $gnome-schema font-name mononoki
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
seat seat0 xcursor_theme Vimix-white-cursors 24
|
||||||
|
|
||||||
# Home row direction keys, like vim
|
# Home row direction keys, like vim
|
||||||
set $left h
|
set $left h
|
||||||
set $down j
|
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/)
|
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
||||||
#exec swaybg -i $HOME/.icons/fondo.png
|
#exec swaybg -i $HOME/.icons/fondo.png
|
||||||
#output * bg #000000 solid_color
|
#output * bg #000000 solid_color
|
||||||
output "*" bg $HOME/.icons/fondo.png fill
|
output "*" bg $HOME/.local/share/icons/fondo.png fill
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -84,9 +86,9 @@ set $menu bemenu-run -H '20' -p 'Run:' --fn 'mononoki 11' \
|
||||||
# Example configuration:
|
# Example configuration:
|
||||||
#
|
#
|
||||||
# exec swayidle -w \
|
# exec swayidle -w \
|
||||||
# timeout 300 'swaylock -f -c 000000' \
|
# timeout 300 'swaylock -f -c 000000' \
|
||||||
# timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
# timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
||||||
# before-sleep 'swaylock -f -c 000000'
|
# before-sleep 'swaylock -f -c 000000'
|
||||||
#
|
#
|
||||||
# This will lock your screen after 300 seconds of inactivity, then turn off
|
# This will lock your screen after 300 seconds of inactivity, then turn off
|
||||||
# your displays after another 300 seconds, and turn your screens back on when
|
# your displays after another 300 seconds, and turn your screens back on when
|
||||||
|
@ -97,20 +99,20 @@ set $menu bemenu-run -H '20' -p 'Run:' --fn 'mononoki 11' \
|
||||||
# Example configuration:
|
# Example configuration:
|
||||||
#
|
#
|
||||||
# input "type:touchpad" {
|
# input "type:touchpad" {
|
||||||
# dwt enabled
|
# dwt enabled
|
||||||
# tap enabled
|
# tap enabled
|
||||||
# natural_scroll enabled
|
# natural_scroll enabled
|
||||||
# middle_emulation enabled
|
# middle_emulation enabled
|
||||||
# }
|
# }
|
||||||
|
|
||||||
input "type:keyboard" {
|
input "type:keyboard" {
|
||||||
xkb_layout "es"
|
xkb_layout "es"
|
||||||
xkb_variant ""
|
xkb_variant ""
|
||||||
xkb_options "grp:win_space_toggle"
|
xkb_options "grp:win_space_toggle"
|
||||||
xkb_model "pc105"
|
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
|
# 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.
|
# Read `man 5 sway-input` for more information about this section.
|
||||||
|
@ -119,51 +121,51 @@ set $menu bemenu-run -H '20' -p 'Run:' --fn 'mononoki 11' \
|
||||||
#
|
#
|
||||||
# Basics:
|
# Basics:
|
||||||
#
|
#
|
||||||
# Start a terminal
|
# Start a terminal
|
||||||
bindsym $mod+Shift+Return exec $term
|
bindsym $mod+Shift+Return exec $term
|
||||||
|
|
||||||
# Kill focused window
|
# Kill focused window
|
||||||
bindsym $mod+Shift+q kill
|
bindsym $mod+Shift+q kill
|
||||||
|
|
||||||
# Start your launcher
|
# Start your launcher
|
||||||
bindsym $mod+d exec $menu
|
bindsym $mod+d exec $menu
|
||||||
|
|
||||||
# Drag floating windows by holding down $mod and left mouse button.
|
# Drag floating windows by holding down $mod and left mouse button.
|
||||||
# Resize them with right mouse button + $mod.
|
# Resize them with right mouse button + $mod.
|
||||||
# Despite the name, also works for non-floating windows.
|
# Despite the name, also works for non-floating windows.
|
||||||
# Change normal to inverse to use left mouse button for resizing and right
|
# Change normal to inverse to use left mouse button for resizing and right
|
||||||
# mouse button for dragging.
|
# mouse button for dragging.
|
||||||
floating_modifier $mod normal
|
floating_modifier $mod normal
|
||||||
|
|
||||||
# Reload the configuration file
|
# Reload the configuration file
|
||||||
bindsym $mod+Shift+c reload
|
bindsym $mod+Shift+c reload
|
||||||
|
|
||||||
# Exit sway (logs you out of your Wayland session)
|
# Exit sway (logs you out of your Wayland session)
|
||||||
bindsym $mod+Shift+e exec swaynag -t warning -m 'Session' -b 'Exit' 'swaymsg exit'
|
bindsym $mod+Shift+e exec swaynag -t warning -m 'Session' -b 'Exit' 'swaymsg exit'
|
||||||
#
|
#
|
||||||
# Moving around:
|
# Moving around:
|
||||||
#
|
#
|
||||||
# Move your focus around
|
# Move your focus around
|
||||||
bindsym $mod+$left focus left
|
bindsym $mod+$left focus left
|
||||||
bindsym $mod+$down focus down
|
bindsym $mod+$down focus down
|
||||||
bindsym $mod+$up focus up
|
bindsym $mod+$up focus up
|
||||||
bindsym $mod+$right focus right
|
bindsym $mod+$right focus right
|
||||||
# Or use $mod+[up|down|left|right]
|
# Or use $mod+[up|down|left|right]
|
||||||
bindsym $mod+Left focus left
|
bindsym $mod+Left focus left
|
||||||
bindsym $mod+Down focus down
|
bindsym $mod+Down focus down
|
||||||
bindsym $mod+Up focus up
|
bindsym $mod+Up focus up
|
||||||
bindsym $mod+Right focus right
|
bindsym $mod+Right focus right
|
||||||
|
|
||||||
# Move the focused window with the same, but add Shift
|
# Move the focused window with the same, but add Shift
|
||||||
bindsym $mod+Shift+$left move left
|
bindsym $mod+Shift+$left move left
|
||||||
bindsym $mod+Shift+$down move down
|
bindsym $mod+Shift+$down move down
|
||||||
bindsym $mod+Shift+$up move up
|
bindsym $mod+Shift+$up move up
|
||||||
bindsym $mod+Shift+$right move right
|
bindsym $mod+Shift+$right move right
|
||||||
# Ditto, with arrow keys
|
# Ditto, with arrow keys
|
||||||
bindsym $mod+Shift+Left move left
|
bindsym $mod+Shift+Left move left
|
||||||
bindsym $mod+Shift+Down move down
|
bindsym $mod+Shift+Down move down
|
||||||
bindsym $mod+Shift+Up move up
|
bindsym $mod+Shift+Up move up
|
||||||
bindsym $mod+Shift+Right move right
|
bindsym $mod+Shift+Right move right
|
||||||
#
|
#
|
||||||
# Workspaces:
|
# Workspaces:
|
||||||
#
|
#
|
||||||
|
|
|
@ -64,17 +64,19 @@ bar:
|
||||||
|
|
||||||
right:
|
right:
|
||||||
- network:
|
- network:
|
||||||
name: enp3s0
|
|
||||||
content:
|
content:
|
||||||
map:
|
map:
|
||||||
|
default: {empty: {}}
|
||||||
conditions:
|
conditions:
|
||||||
~carrier: {empty: {}}
|
name == enp3s0:
|
||||||
carrier:
|
|
||||||
map:
|
map:
|
||||||
default: {string: {text: , font: *awesome, foreground: ffffff66}}
|
|
||||||
conditions:
|
conditions:
|
||||||
state == up && ipv4 != "": {string: {text: , font: *awesome}}
|
~carrier: {empty: {}}
|
||||||
|
carrier:
|
||||||
|
map:
|
||||||
|
default: {string: {text: , font: *awesome, foreground: ffffff66}}
|
||||||
|
conditions:
|
||||||
|
state == up && ipv4 != "": {string: {text: , font: *awesome}}
|
||||||
- alsa:
|
- alsa:
|
||||||
card: hw:0
|
card: hw:0
|
||||||
mixer: Master
|
mixer: Master
|
||||||
|
|
Loading…
Reference in New Issue