Moved to Source Code Pro font.

Using icons instead of text for workspaces
This commit is contained in:
Jesper Fussing Mørk 2018-10-03 14:40:50 +02:00
parent 538fb0d894
commit 29b4b0fac0
8 changed files with 48 additions and 32 deletions

View File

@ -21,7 +21,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
@ -129,16 +130,16 @@ 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:IRC
set $ws1 1:Comms
set $ws2 2:Web
set $ws3 3:IDE
set $ws4 4:Work
set $ws5 5:OC Test
set $ws6 6:OC Prod
set $ws7 7:Prod
set $ws8 8:Media
set $ws9 9:News
set $ws0 0:
set $ws1 1:
set $ws2 2:
set $ws3 3:
set $ws4 4:
set $ws5 5:
set $ws6 6:
set $ws7 7:
set $ws8 8:
set $ws9 9:
# switch to workspace
bindsym $mod+1 workspace $ws1
@ -191,6 +192,7 @@ for_window [class="Nitrogen"] floating enable sticky enable border normal
for_window [class="feh"] floating enable sticky enable border normal
for_window [class="mpv"] floating enable sticky enable border normal
for_window [class="vlc"] floating enable sticky enable border normal
for_window [class="^jetbrains-.+"][window_type=dialog] focus
# reload the configuration file
bindsym $mod+Shift+c reload
@ -248,7 +250,8 @@ bar {
status_command /usr/bin/i3status-rs /home/jfm/.config/i3status-rs/config.toml
position bottom
font xft:DejaVu Sans Mono for Powerline, FontAwesome 14
# font xft:DejaVu Sans Mono for Powerline, FontAwesome 14
font xft:Source Code Pro for Powerline, FontAwesome 14
strip_workspace_numbers yes
tray_output primary

View File

@ -1,5 +1,6 @@
#!/bin/bash
. ~/.i3/env
i3-msg "workspace 0:IRC; append_layout ~/.i3/layouts/workspace0-irc.json"
i3-msg "workspace 0:IRC; exec termite -t weechat -e weechat"
i3-msg "workspace 0:IRC; move workspace to output $SECONDARY"
i3-msg "workspace 0:; append_layout ~/.i3/layouts/workspace0-irc.json"
i3-msg "workspace 0:; exec termite -t weechat -e weechat"
i3-msg "workspace 0:; exec termite -t weechat -e weechat"
i3-msg "workspace 0:; move workspace to output $SECONDARY"

View File

@ -1,6 +1,6 @@
#!/bin/bash
. ~/.i3/env
i3-msg "workspace 1:Comms; append_layout ~/.i3/layouts/workspace1-comms.json"
i3-msg "workspace 1:Comms; 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://chat.google.com https://messages.android.com https://mattermost.yousee.dk/tdcgroup/channels/onboarding"
i3-msg "workspace 1:Comms; move workspace to output $LAPTOP"
i3-msg "workspace 1:; append_layout ~/.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://chat.google.com https://messages.android.com https://mattermost.yousee.dk/tdcgroup/channels/onboarding"
i3-msg "workspace 1:; move workspace to output $LAPTOP"

View File

@ -1,7 +1,7 @@
#!/bin/bash
. ~/.i3/env
i3-msg "workspace 2:Web; append_layout ~/.i3/layouts/workspace2-web.json"
i3-msg "workspace 2:Web; exec google-chrome-stable --no-default-browser-check --new-window"
i3-msg "workspace 2:Web; move workspace to output $PRIMARY"
i3-msg "workspace 2:: append_layout ~/.i3/layouts/workspace2-web.json"
i3-msg "workspace 2:; exec google-chrome-stable --no-default-browser-check --new-window"
i3-msg "workspace 2:; move workspace to output $PRIMARY"

View File

@ -1,8 +1,8 @@
#!/bin/bash
. ~/.i3/env
i3-msg "workspace 4:Work; append_layout ~/.i3/layouts/workspace4-work.json"
i3-msg "workspace 4:Work; exec termite -t shell1"
i3-msg "workspace 4:Work; exec termite -t shell2"
i3-msg "workspace 4:Work; exec termite -t vim -e 'nvr -s --remote'"
i3-msg "workspace 4:Work; move workspace to output $PRIMARY"
i3-msg "workspace 4:; append_layout ~/.i3/layouts/workspace4-work.json"
i3-msg "workspace 4:; exec termite -t shell1"
i3-msg "workspace 4:; exec termite -t shell2"
i3-msg "workspace 4:; exec termite -t vim -e 'nvr -s --remote'"
i3-msg "workspace 4:; move workspace to output $PRIMARY"

View File

@ -1,7 +1,7 @@
#!/bin/bash
. ~/.i3/env
i3-msg "workspace 9:News; append_layout ~/.i3/layouts/workspace9-news.json"
i3-msg "workspace 9:News; exec termite -t newsboat -e newsboat"
i3-msg "workspace 9:News; exec termite -t hackernews -d '/home/jfm/Repositories/bark' -e 'pipenv run python Bark.py'"
i3-msg "workspace 9:News; exec termite -t rtv -e 'rtv --enable-media --theme solarized-dark'"
i3-msg "workspace 9:News; move workspace to output $SECONDARY"
i3-msg "workspace 9:; append_layout ~/.i3/layouts/workspace9-news.json"
i3-msg "workspace 9:; exec termite -t newsboat -e newsboat"
i3-msg "workspace 9:; exec termite -t hackernews -d '/home/jfm/Repositories/bark' -e 'pipenv run python Bark.py'"
i3-msg "workspace 9:; exec termite -t rtv -e 'rtv --enable-media --theme solarized-dark'"
i3-msg "workspace 9:; move workspace to output $SECONDARY"

View File

@ -27,6 +27,8 @@ let g:ycm_python_binary_path = '/usr/bin/python3'
let g:ycm_server_python_interpreter = 'python2'
let g:ycm_autoclose_preview_window_after_completion=1
let g:ycm_min_num_of_chars_for_completion=5
let g:ycm_add_preview_to_completeopt = 1
set completeopt-=preview
"Mappings
:nmap <c-s> :w<CR>
@ -37,3 +39,12 @@ nnoremap <F8> :bn<CR>
"AutoCommands
au BufWinEnter * set number
au FileType xml setlocal equalprg=xmllint\ --format\ --recover\ -\ 2>/dev/null
au BufNewFile,BufRead *.py
\ set tabstop=4
\ set softtabstop=4
\ set shiftwidth=4
\ set textwidth=79
\ set expandtab
\ set autoindent
\ set fileformat=unix

View File

@ -1,5 +1,6 @@
[options]
font = DejaVu Sans Mono for Powerline 11
#font = DejaVu Sans Mono for Powerline 11
font = Source Code Pro for Powerline 11
scrollback_lines = 10000
# Solarized dark color scheme