From 1aaea63f044c7aa0ffd7e0cd8389570e31386b28 Mon Sep 17 00:00:00 2001 From: Marco Thomas Date: Sat, 26 Sep 2020 04:10:55 +0200 Subject: [PATCH] Changes for nazarick --- laptop/.config/i3/config | 9 +++++++++ laptop/.config/polybar/config | 8 ++++++++ laptop/.vimrc | 7 ------- laptop/.zshrc | 3 ++- 4 files changed, 19 insertions(+), 8 deletions(-) diff --git a/laptop/.config/i3/config b/laptop/.config/i3/config index 5eca801..8599fff 100644 --- a/laptop/.config/i3/config +++ b/laptop/.config/i3/config @@ -144,6 +144,13 @@ bindsym $mod+Shift+8 move container to workspace number $ws8 bindsym $mod+Shift+9 move container to workspace number $ws9 bindsym $mod+Shift+0 move container to workspace number $ws10 +# ============================== Monitor +set $monitor_1 "DP-3" +set $monitor_2 "DP-1" + +workspace $ws1 output $monitor_1 +workspace $ws10 output $monitor_2 + # ============================== Design # Remove title new_window 1pixel @@ -161,6 +168,8 @@ client.unfocused $termbg $termbg #ffffff $termbg $termbg client.urgent $red $red #ffffff $red $red client.background #ffffff +gaps inner 8 + # ============================== Start # Keyboard layout exec setxkbmap -layout za diff --git a/laptop/.config/polybar/config b/laptop/.config/polybar/config index 1083730..b6e4266 100644 --- a/laptop/.config/polybar/config +++ b/laptop/.config/polybar/config @@ -32,6 +32,11 @@ background = ${colors.background} wm-name = i3 wm-restack = i3 +[bar/desktop] +inherit = bar/laptop + +modules-right = spotify volume date + [module/i3] type = internal/i3 pin-workspaces = true @@ -58,6 +63,9 @@ label-focused-padding = 1 label-unfocused = "%icon%" label-unfocused-padding = 1 +label-visible = "%icon%" +label-visible-padding = 1 + label-urgent = "%icon%" label-urgent-background = ${colors.urgent} label-urgent-padding = 1 diff --git a/laptop/.vimrc b/laptop/.vimrc index 274912b..023358f 100644 --- a/laptop/.vimrc +++ b/laptop/.vimrc @@ -97,13 +97,6 @@ cmap q1 q! " fzf nmap :Files -" ============================== Snippets -iab lbf \textbf{} -iab lframe \begin{frame}{}\end{frame} -iab litem \begin{itemize}\end{itemize} -iab ltable \begin{tabular}{}\end{tabular} -iab lfig \begin{figure}\includegraphics[width=1\textwidth]{}\caption{}\label{figure:}\end{figure} - " ============================== LSP " ++++++++++ completion-nvim Settings if has ("nvim") diff --git a/laptop/.zshrc b/laptop/.zshrc index 89d5b20..df909a5 100644 --- a/laptop/.zshrc +++ b/laptop/.zshrc @@ -23,7 +23,8 @@ zstyle ':vcs_info:git:*' formats ' [%b ]' # ============================== Exports export EDITOR="nvim" export LANG="en_US.UTF-8" -export PATH=$PATH:$HOME/.local/bin:$HOME/scripts +export PATH=$PATH:$HOME/.local/bin:$HOME/scripts:$HOME/.cargo/bin +export BROWSER="firefox" # ============================== Aliases alias fontslist="fc-list :scalable=true:spacing=mono: family"