From 2bed15d29f10a2b36cd51d9cd33c4cbdf7e7186f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jesper=20Fussing=20M=C3=B8rk?= Date: Wed, 9 Jan 2019 12:47:20 +0100 Subject: [PATCH] Minor fixes for bash More Nord theming Other minor fixes --- bash/.bashrc | 3 ++- dunst/.config/dunst/dunstrc | 18 +++++++++--------- i3/.config/i3/config | 11 ++++++----- i3/.config/i3/workspaces/ws01.sh | 12 ++++++------ neovim/.config/nvim/init.vim | 2 +- polybar/.config/polybar/config | 6 ++++++ 6 files changed, 30 insertions(+), 22 deletions(-) diff --git a/bash/.bashrc b/bash/.bashrc index 8160b31..a2ed199 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -153,7 +153,7 @@ GIT_PS1_STATESEPARATOR=" " source /usr/share/git/completion/git-prompt.sh eval "$(pipenv --completion)" #PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ ' -PS1='\e[1;32m\u@\h \e[1;34m\w \n\e[1;33m$(__git_ps1 "(%s)")\e[m> ' +PS1='\[\e[1;32m\u@\h \e[1;34m\w\]\n\[\e[1;33m$(__git_ps1 "(%s)")\e[m\]⇨ ' #Disable CapsLock setxkbmap -option ctrl:nocaps @@ -190,3 +190,4 @@ alias vi="nvim" alias buildtool="/home/jfm/Customers/TDC/Code/Onboarding/build-tool/buildtool.sh" alias vpnup="nmcli con up id \"YouSee VPN\"" alias vpndown="nmcli con down id \"YouSee VPN\"" +alias music="~/.config/i3/scripts/music.sh" diff --git a/dunst/.config/dunst/dunstrc b/dunst/.config/dunst/dunstrc index ec8b8cd..b8606bd 100644 --- a/dunst/.config/dunst/dunstrc +++ b/dunst/.config/dunst/dunstrc @@ -245,25 +245,25 @@ [urgency_low] # IMPORTANT: colors have to be defined in quotation marks. # Otherwise the "#" and following would be interpreted as a comment. - background = "#073642" - foreground = "#eee8d5" - frame_color = "#859900" + background = "#A3BE8C" + foreground = "#D8DEE9" + frame_color = "#A3BE8C" timeout = 10 # Icon for notifications with low urgency, uncomment to enable #icon = /path/to/icon [urgency_normal] - background = "#073642" - foreground = "#eee8d5" - frame_color = "#859900" + background = "#A3BE8C" + foreground = "#D8DEE9" + frame_color = "#A3BE8C" timeout = 10 # Icon for notifications with normal urgency, uncomment to enable #icon = /path/to/icon [urgency_critical] - background = "#073642" - foreground = "#eee8d5" - frame_color = "#cb4b16" + background = "#BF616A" + foreground = "#D8DEE9" + frame_color = "#BF616A" timeout = 0 # Icon for notifications with critical urgency, uncomment to enable #icon = /path/to/icon diff --git a/i3/.config/i3/config b/i3/.config/i3/config index 048c515..55b9c91 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -23,7 +23,8 @@ bindsym $mod+n border normal # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. -font xft:DejaVu Sans Mono for Powerline 14 +#font xft:DejaVu Sans Mono for Powerline 14 +font xft:Source Code Pro for Powerline 14 # Use Mouse+$mod to drag floating windows floating_modifier $mod @@ -109,7 +110,6 @@ bindsym $mod+Ctrl+Left workspace prev # to display names or symbols instead of plain workspace numbers you can use # something like: set $ws1 1:mail # set $ws2 2: -set $ws0 0: set $ws1 1: set $ws2 2: set $ws3 3: @@ -119,6 +119,7 @@ set $ws6 6: set $ws7 7: set $ws8 8: set $ws9 9: +set $ws10 10: # switch to workspace bindsym $mod+1 workspace $ws1 @@ -130,7 +131,7 @@ bindsym $mod+6 workspace $ws6 bindsym $mod+7 workspace $ws7 bindsym $mod+8 workspace $ws8 bindsym $mod+9 workspace $ws9 -bindsym $mod+0 workspace $ws0 +bindsym $mod+0 workspace $ws10 # Move to workspace with focused container bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1 @@ -142,7 +143,7 @@ bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6 bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7 bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8 bindsym $mod+Shift+9 move container to workspace $ws9; workspace $ws9 -bindsym $mod+Shift+0 move container to workspace $ws0; workspace $ws0 +bindsym $mod+Shift+0 move container to workspace $ws10; workspace $ws10 # WORKSPACE CREATION bindsym $mod+Ctrl+1 exec --no-startup-id ~/.config/i3/workspaces/ws01.sh @@ -234,4 +235,4 @@ smart_borders on #### Custom Config exec --no-startup-id /home/jfm/.config/i3/scripts/start_layout.sh -exec --no-startup-id /home/jfm/.config/i3/scripts/music.sh +#exec --no-startup-id /home/jfm/.config/i3/scripts/music.sh diff --git a/i3/.config/i3/workspaces/ws01.sh b/i3/.config/i3/workspaces/ws01.sh index ad3d93c..4cbaec5 100755 --- a/i3/.config/i3/workspaces/ws01.sh +++ b/i3/.config/i3/workspaces/ws01.sh @@ -4,14 +4,14 @@ if [ $LOCATION = "home" ]; then i3-msg "workspace 1:; append_layout ~/.config/i3/layouts/ws-comms-wide.json" - i3-msg "workspace 1:; exec google-chrome-stable --app=https://mail.google.com" - i3-msg "workspace 1:; exec google-chrome-stable --app=https://calendar.google.com" - i3-msg "workspace 1:; exec google-chrome-stable --app=https://hangouts.google.com" - i3-msg "workspace 1:; exec google-chrome-stable --app=https://messages.android.com" - i3-msg "workspace 1:; exec google-chrome-stable --app=https://tdcgroup.slack.com/messages/C518LG04W/" + i3-msg "workspace 1:; exec google-chrome-stable --force-device-scale-factor=1.00 --app=https://mail.google.com" + i3-msg "workspace 1:; exec google-chrome-stable --force-device-scale-factor=1.00 --app=https://calendar.google.com" + i3-msg "workspace 1:; exec google-chrome-stable --force-device-scale-factor=1.00 --app=https://hangouts.google.com" + i3-msg "workspace 1:; exec google-chrome-stable --force-device-scale-factor=1.00 --app=https://messages.android.com" + i3-msg "workspace 1:; exec google-chrome-stable --force-device-scale-factor=1.00 --app=https://tdcgroup.slack.com/messages/C518LG04W/" i3-msg "workspace 1:; move workspace to output $PRIMARY" else i3-msg "workspace 1:; append_layout ~/.config/i3/layouts/workspace1-comms.json" - i3-msg "workspace 1:; exec google-chrome-stable --no-default-browser-check --new-window https://www.toggl.com/app/timer https://mail.google.com/mail/u/0/#inbox https://calendar.google.com/calendar/r?tab=mc https://hangouts.google.com https://messages.android.com https://tdcgroup.slack.com/messages/C518LG04W/" + i3-msg "workspace 1:; exec google-chrome-stable --no-default-browser-check --new-window https://www.toggl.com/app/timer https://mail.google.com/mail/u/0/#inbox https://calendar.google.com/calendar/r?tab=mc https://hangouts.google.com https://messages.android.com https://tdcgroup.slack.com/messages/C518LG04W/" i3-msg "workspace 1:; move workspace to output $LAPTOP" fi diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim index 79176fb..36798bb 100644 --- a/neovim/.config/nvim/init.vim +++ b/neovim/.config/nvim/init.vim @@ -31,7 +31,7 @@ colorscheme nord "Airline let g:airline#extensions#tabline#enabled = 1 let g:Powerline_symbols='unicode' -let g:airline_powerline_fonts = 1 +"let g:airline_powerline_fonts = 1 let g:airline_theme='nord' "YCM diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config index e5fe007..bd8cd4f 100644 --- a/polybar/.config/polybar/config +++ b/polybar/.config/polybar/config @@ -314,6 +314,12 @@ host = 127.0.0.1 port = 6600 interval = 2 +icon-play = ⏵ +icon-pause = ⏸ +icon-stop = ⏹ +icon-prev = ⏮ +icon-next = ⏭ + [global/wm] margin-top = 5 margin-bottom = 5