diff --git a/home/desktop/.config/sway/config b/home/desktop/.config/sway/config index aa0df74..724d2d7 100644 --- a/home/desktop/.config/sway/config +++ b/home/desktop/.config/sway/config @@ -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 # @@ -84,9 +86,9 @@ set $menu bemenu-run -H '20' -p 'Run:' --fn 'mononoki 11' \ # Example configuration: # # exec swayidle -w \ -# timeout 300 'swaylock -f -c 000000' \ -# timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ -# before-sleep 'swaylock -f -c 000000' +# timeout 300 'swaylock -f -c 000000' \ +# timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ +# before-sleep 'swaylock -f -c 000000' # # 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 @@ -97,20 +99,20 @@ set $menu bemenu-run -H '20' -p 'Run:' --fn 'mononoki 11' \ # Example configuration: # # input "type:touchpad" { -# dwt enabled -# tap enabled +# dwt enabled +# tap enabled # natural_scroll enabled -# middle_emulation enabled +# middle_emulation enabled # } - input "type:keyboard" { - xkb_layout "es" - xkb_variant "" - xkb_options "grp:win_space_toggle" - xkb_model "pc105" - } +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. @@ -119,51 +121,51 @@ set $menu bemenu-run -H '20' -p 'Run:' --fn 'mononoki 11' \ # # Basics: # - # Start a terminal - bindsym $mod+Shift+Return exec $term + # Start a terminal + bindsym $mod+Shift+Return exec $term - # Kill focused window - bindsym $mod+Shift+q kill + # Kill focused window + bindsym $mod+Shift+q kill - # Start your launcher - bindsym $mod+d exec $menu + # Start your launcher + bindsym $mod+d exec $menu - # Drag floating windows by holding down $mod and left mouse button. - # Resize them with right mouse button + $mod. - # Despite the name, also works for non-floating windows. - # Change normal to inverse to use left mouse button for resizing and right - # mouse button for dragging. - floating_modifier $mod normal + # Drag floating windows by holding down $mod and left mouse button. + # Resize them with right mouse button + $mod. + # Despite the name, also works for non-floating windows. + # Change normal to inverse to use left mouse button for resizing and right + # mouse button for dragging. + floating_modifier $mod normal - # Reload the configuration file - bindsym $mod+Shift+c reload + # Reload the configuration file + bindsym $mod+Shift+c reload - # Exit sway (logs you out of your Wayland session) - bindsym $mod+Shift+e exec swaynag -t warning -m 'Session' -b 'Exit' 'swaymsg exit' + # Exit sway (logs you out of your Wayland session) + bindsym $mod+Shift+e exec swaynag -t warning -m 'Session' -b 'Exit' 'swaymsg exit' # # Moving around: # - # Move your focus around - bindsym $mod+$left focus left - bindsym $mod+$down focus down - bindsym $mod+$up focus up - bindsym $mod+$right focus right - # Or use $mod+[up|down|left|right] - bindsym $mod+Left focus left - bindsym $mod+Down focus down - bindsym $mod+Up focus up - bindsym $mod+Right focus right + # Move your focus around + bindsym $mod+$left focus left + bindsym $mod+$down focus down + bindsym $mod+$up focus up + bindsym $mod+$right focus right + # Or use $mod+[up|down|left|right] + bindsym $mod+Left focus left + bindsym $mod+Down focus down + bindsym $mod+Up focus up + bindsym $mod+Right focus right - # Move the focused window with the same, but add Shift - bindsym $mod+Shift+$left move left - bindsym $mod+Shift+$down move down - bindsym $mod+Shift+$up move up - bindsym $mod+Shift+$right move right - # Ditto, with arrow keys - bindsym $mod+Shift+Left move left - bindsym $mod+Shift+Down move down - bindsym $mod+Shift+Up move up - bindsym $mod+Shift+Right move right + # Move the focused window with the same, but add Shift + bindsym $mod+Shift+$left move left + bindsym $mod+Shift+$down move down + bindsym $mod+Shift+$up move up + bindsym $mod+Shift+$right move right + # Ditto, with arrow keys + bindsym $mod+Shift+Left move left + bindsym $mod+Shift+Down move down + bindsym $mod+Shift+Up move up + bindsym $mod+Shift+Right move right # # Workspaces: # diff --git a/home/desktop/.config/yambar/config.yml b/home/desktop/.config/yambar/config.yml index b94bd8d..65f765a 100644 --- a/home/desktop/.config/yambar/config.yml +++ b/home/desktop/.config/yambar/config.yml @@ -64,17 +64,19 @@ bar: right: - network: - name: enp3s0 content: map: + default: {empty: {}} conditions: - ~carrier: {empty: {}} - carrier: + name == enp3s0: map: - default: {string: {text: , font: *awesome, foreground: ffffff66}} 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: card: hw:0 mixer: Master