Minor fixes for bash

More Nord theming
Other minor fixes
This commit is contained in:
Jesper Fussing Mørk 2019-01-09 12:47:20 +01:00
parent 9e280839d7
commit 2bed15d29f
6 changed files with 30 additions and 22 deletions

View File

@ -153,7 +153,7 @@ GIT_PS1_STATESEPARATOR=" "
source /usr/share/git/completion/git-prompt.sh source /usr/share/git/completion/git-prompt.sh
eval "$(pipenv --completion)" eval "$(pipenv --completion)"
#PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ ' #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 #Disable CapsLock
setxkbmap -option ctrl:nocaps setxkbmap -option ctrl:nocaps
@ -190,3 +190,4 @@ alias vi="nvim"
alias buildtool="/home/jfm/Customers/TDC/Code/Onboarding/build-tool/buildtool.sh" alias buildtool="/home/jfm/Customers/TDC/Code/Onboarding/build-tool/buildtool.sh"
alias vpnup="nmcli con up id \"YouSee VPN\"" alias vpnup="nmcli con up id \"YouSee VPN\""
alias vpndown="nmcli con down id \"YouSee VPN\"" alias vpndown="nmcli con down id \"YouSee VPN\""
alias music="~/.config/i3/scripts/music.sh"

View File

@ -245,25 +245,25 @@
[urgency_low] [urgency_low]
# IMPORTANT: colors have to be defined in quotation marks. # IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment. # Otherwise the "#" and following would be interpreted as a comment.
background = "#073642" background = "#A3BE8C"
foreground = "#eee8d5" foreground = "#D8DEE9"
frame_color = "#859900" frame_color = "#A3BE8C"
timeout = 10 timeout = 10
# Icon for notifications with low urgency, uncomment to enable # Icon for notifications with low urgency, uncomment to enable
#icon = /path/to/icon #icon = /path/to/icon
[urgency_normal] [urgency_normal]
background = "#073642" background = "#A3BE8C"
foreground = "#eee8d5" foreground = "#D8DEE9"
frame_color = "#859900" frame_color = "#A3BE8C"
timeout = 10 timeout = 10
# Icon for notifications with normal urgency, uncomment to enable # Icon for notifications with normal urgency, uncomment to enable
#icon = /path/to/icon #icon = /path/to/icon
[urgency_critical] [urgency_critical]
background = "#073642" background = "#BF616A"
foreground = "#eee8d5" foreground = "#D8DEE9"
frame_color = "#cb4b16" frame_color = "#BF616A"
timeout = 0 timeout = 0
# Icon for notifications with critical urgency, uncomment to enable # Icon for notifications with critical urgency, uncomment to enable
#icon = /path/to/icon #icon = /path/to/icon

View File

@ -23,7 +23,8 @@ bindsym $mod+n border normal
# Font for window titles. Will also be used by the bar unless a different font # Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below. # 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 # Use Mouse+$mod to drag floating windows
floating_modifier $mod 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 # to display names or symbols instead of plain workspace numbers you can use
# something like: set $ws1 1:mail # something like: set $ws1 1:mail
# set $ws2 2: # set $ws2 2:
set $ws0 0:
set $ws1 1: set $ws1 1:
set $ws2 2: set $ws2 2:
set $ws3 3: set $ws3 3:
@ -119,6 +119,7 @@ set $ws6 6:
set $ws7 7: set $ws7 7:
set $ws8 8: set $ws8 8:
set $ws9 9: set $ws9 9:
set $ws10 10:
# switch to workspace # switch to workspace
bindsym $mod+1 workspace $ws1 bindsym $mod+1 workspace $ws1
@ -130,7 +131,7 @@ bindsym $mod+6 workspace $ws6
bindsym $mod+7 workspace $ws7 bindsym $mod+7 workspace $ws7
bindsym $mod+8 workspace $ws8 bindsym $mod+8 workspace $ws8
bindsym $mod+9 workspace $ws9 bindsym $mod+9 workspace $ws9
bindsym $mod+0 workspace $ws0 bindsym $mod+0 workspace $ws10
# Move to workspace with focused container # Move to workspace with focused container
bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1 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+7 move container to workspace $ws7; workspace $ws7
bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8 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+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 # WORKSPACE CREATION
bindsym $mod+Ctrl+1 exec --no-startup-id ~/.config/i3/workspaces/ws01.sh bindsym $mod+Ctrl+1 exec --no-startup-id ~/.config/i3/workspaces/ws01.sh
@ -234,4 +235,4 @@ smart_borders on
#### Custom Config #### Custom Config
exec --no-startup-id /home/jfm/.config/i3/scripts/start_layout.sh 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

View File

@ -4,11 +4,11 @@
if [ $LOCATION = "home" ]; if [ $LOCATION = "home" ];
then then
i3-msg "workspace 1:; append_layout ~/.config/i3/layouts/ws-comms-wide.json" 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 --force-device-scale-factor=1.00 --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 --force-device-scale-factor=1.00 --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 --force-device-scale-factor=1.00 --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 --force-device-scale-factor=1.00 --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://tdcgroup.slack.com/messages/C518LG04W/"
i3-msg "workspace 1:; move workspace to output $PRIMARY" i3-msg "workspace 1:; move workspace to output $PRIMARY"
else else
i3-msg "workspace 1:; append_layout ~/.config/i3/layouts/workspace1-comms.json" i3-msg "workspace 1:; append_layout ~/.config/i3/layouts/workspace1-comms.json"

View File

@ -31,7 +31,7 @@ colorscheme nord
"Airline "Airline
let g:airline#extensions#tabline#enabled = 1 let g:airline#extensions#tabline#enabled = 1
let g:Powerline_symbols='unicode' let g:Powerline_symbols='unicode'
let g:airline_powerline_fonts = 1 "let g:airline_powerline_fonts = 1
let g:airline_theme='nord' let g:airline_theme='nord'
"YCM "YCM

View File

@ -314,6 +314,12 @@ host = 127.0.0.1
port = 6600 port = 6600
interval = 2 interval = 2
icon-play = ⏵
icon-pause = ⏸
icon-stop = ⏹
icon-prev = ⏮
icon-next = ⏭
[global/wm] [global/wm]
margin-top = 5 margin-top = 5
margin-bottom = 5 margin-bottom = 5