From bbc5a959477f51b3b49b9e3a07ba01941549158e Mon Sep 17 00:00:00 2001 From: Ivan Bushchik Date: Wed, 31 Aug 2022 18:26:36 +0300 Subject: [PATCH] Move panel to the top, fix solarized, add alias to quickly show current keystrokes, autostart htop at 10 workspace --- configs/sway/config | 6 ++++++ configs/sway/themes/solarized-dark | 10 +++++----- configs/waybar/config | 2 +- configs/zshrc | 3 +++ 4 files changed, 15 insertions(+), 6 deletions(-) diff --git a/configs/sway/config b/configs/sway/config index 0ef6d46..4fb3836 100644 --- a/configs/sway/config +++ b/configs/sway/config @@ -123,3 +123,9 @@ bindsym $mod+r mode "resize" # Floating for_window [app_id="pavucontrol"] floating enable for_window [app_id="pavucontrol"] resize set 600 300 + +# Autostart + +exec alacritty --class htop -e htop +for_window [app_id="htop"] move container to workspace number 10 +for_window [app_id="htop"] fullscreen diff --git a/configs/sway/themes/solarized-dark b/configs/sway/themes/solarized-dark index 3dc799e..99b006f 100644 --- a/configs/sway/themes/solarized-dark +++ b/configs/sway/themes/solarized-dark @@ -5,10 +5,10 @@ exec_always { gsettings set $gnome-schema gtk-theme 'Breeze-Dark' gsettings set $gnome-schema icon-theme 'breeze-dark' gsettings set $gnome-schema cursor-theme 'breeze_cursors' - gsettings set $gnome-schema font-name 'JetBrains Mono 10' + gsettings set $gnome-schema font-name 'JetBrains Mono 9' } -# Property Name Border BG Text -client.focused #839496 #839496 #002b36 -client.focused_inactive #839496 #002b36 #002b36 -client.unfocused #002b36 #003b36 #839496 +# Property Name Border BG Text Indicator Child_border +client.focused #839496 #002b36 #839496 #839496 #839496 +client.focused_inactive #002b36 #002b36 #839496 #839496 #002b36 +client.unfocused #002b36 #002b36 #839496 #839496 #002b36 diff --git a/configs/waybar/config b/configs/waybar/config index 1a5abf8..fd1a625 100644 --- a/configs/waybar/config +++ b/configs/waybar/config @@ -1,6 +1,6 @@ { //"height": , // Waybar height (to be removed for auto height) - "position": "bottom", + "position": "top", "modules-left": ["sway/workspaces", "sway/mode"], "modules-center": ["sway/window"], "modules-right": ["idle_inhibitor", "network", "pulseaudio", "cpu", "memory", "temperature", "battery", "sway/language", "clock", "tray"], diff --git a/configs/zshrc b/configs/zshrc index 85f992f..b56febb 100644 --- a/configs/zshrc +++ b/configs/zshrc @@ -10,3 +10,6 @@ source $ZSH/oh-my-zsh.sh alias vi="nvim" alias vim="nvim" + + +alias show_current_keys="wshowkeys -F \"JetBrains Mono 9\" -a left -a bottom -t 1"