Added work to some shortcuts in ranger, vim for C# and soem colorchanges

This commit is contained in:
Tuan-Dat Tran
2018-08-29 21:22:24 +02:00
parent 3ea585c26a
commit c6f99af469
9 changed files with 149 additions and 114 deletions

View File

@@ -1,36 +1,37 @@
! special
*.foreground: #f1ebeb
*.foreground: #f8f8f2
*.background: #272822
*.cursorColor: #f1ebeb
*.cursorColor: #f8f8f2
! black
*.color0: #48483e
*.color8: #76715e
*.color0: #272822
*.color8: #75715e
! red
*.color1: #dc2566
*.color9: #fa2772
*.color1: #f92672
*.color9: #f92672
! green
*.color2: #8fc029
*.color10: #a7e22e
*.color2: #a6e22e
*.color10: #a6e22e
! yellow
*.color3: #d4c96e
*.color11: #e7db75
*.color3: #f4bf75
*.color11: #f4bf75
! blue
*.color4: #55bcce
*.color12: #66d9ee
*.color4: #66d9ef
*.color12: #66d9ef
! magenta
*.color5: #9358fe
*.color13: #ae82ff
*.color5: #ae81ff
*.color13: #ae81ff
! cyan
*.color6: #56b7a5
*.color14: #66efd5
*.color6: #a1efe4
*.color14: #a1efe4
! white
*.color7: #acada1
*.color15: #cfd0c2
*.color7: #f8f8f2
*.color15: #f9f8f5

View File

@@ -121,13 +121,13 @@ for_window [instance="^sun-awt-X11-XDialogPeer$" title="^Complete Installation$"
###############################################################################
exec --no-startup-id setxkbmap us,de
exec --no-startup-id setxkbmap -option ctrl:swapcaps
exec --no-startup-id nitrogen --restore; compton -b
exec --no-startup-id nextcloud
exec --no-startup-id emacs --daemon
exec --no-startup-id udiskie
exec --no-startup-id polybar beep -r
exec --no-startup-id polybar boop -r
exec --no-startup-id setxkbmap -option "ctrl:swapcaps"
exec --no-startup-id nm-applet
exec --no-startup-id xss-lock -- python ~/.scripts/i3lock.py
@@ -154,11 +154,15 @@ bindsym XF86MonBrightnessDown exec "xbacklight -dec 10; notify-send 'brightness
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5%
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5%
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle
bindsym XF86AudioPlay exec "if [ `cat /home/$USER/.scripts/playstate` = 0 ]; then echo '1'>/home/$USER/.scripts/playstate;else echo '0'>/home/$USER/.scripts/playstate;fi"
bindsym XF86AudioStop exec "playerctl stop && echo '0'>/home/$USER/.scripts/playstate"
# bindsym XF86AudioPlay exec "if [ `cat /home/$USER/.scripts/playstate` = 0 ]; then echo '1'>/home/$USER/.scripts/playstate;else echo '0'>/home/$USER/.scripts/playstate;fi"
# bindsym XF86AudioStop exec "playerctl stop && echo '0'>/home/$USER/.scripts/playstate"
bindsym XF86AudioPlay exec "playerctl play-pause; cmus-remote -u"
bindsym XF86AudioStop exec "playerctl stop; cmus-remote -s"
bindsym XF86AudioNext exec "playerctl next; cmus-remote -n"
bindsym XF86AudioPrevious exec "playerctl previous; cmus-remote -r"
# Application Shortcuts
bindsym $mod+b exec firefox
bindsym $mod+b exec env GTK_THEME=Materia:dark firefox
bindsym $mod+e exec source ~/.zshrc && termite -e 'ranger'
bindsym $mod+m exec thunderbird

View File

@@ -35,9 +35,9 @@ font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = siji:pixelsize=10;1
font-3 = FontAwesome:style=Regular:pixelsize=10
modules-left = spotify
modules-center = spotify-prev spotify-play spotify-stop spotify-next
modules-right = xkeyboard volume xbacklight wlan eth battery1 date
modules-left = volume xkeyboard
modules-center = date
modules-right =
cursor-click = pointer
cursor-scroll = ns-resize
@@ -72,7 +72,7 @@ font-3 = FontAwesome:style=Regular:pixelsize=10
modules-left = airvpn
modules-center = i3
modules-right = powermenu
modules-right = xbacklight wlan eth battery1 powermenu
cursor-click = pointer
cursor-scroll = ns-resize

View File

@@ -4,3 +4,6 @@ set vcs_aware true
map f console scout -ftsea%space
map gg console mkdir%space
map np shell cp -r ~/Templates/LaTeX/Protokoll $(date +%g.%m.%%d)
map ny shell cp %f ../Protokoll_$(echo $(basename $(pwd)) | awk '{gsub("\\.","-");print}' $2).pdf
map nr shell cp ~/Templates/LaTeX/Invoice/invoice.tex Gefeba_Engineering_-_Rechnung_$(date +%g.%m)_-Elektro-1.tex

View File

@@ -22,9 +22,8 @@ hyperlinks = true
# "system", "on" or "off"
cursor_blink = system
# "block", "underline" or "ibeam"
cursor_shape = ibeam
cursor_shape = block
# Hide links that are no longer valid in url select overlay mode
#filter_unmatched_urls = true
@@ -42,39 +41,40 @@ scrollbar = off
[colors]
# special
foreground = #f1ebeb
foreground_bold = #f1ebeb
cursor = #f1ebeb
foreground = #f8f8f2
foreground_bold = #f8f8f2
cursor = #f8f8f2
background = #272822
# black
color0 = #48483e
color8 = #76715e
color0 = #272822
color8 = #75715e
# red
color1 = #dc2566
color9 = #fa2772
color1 = #f92672
color9 = #f92672
# green
color2 = #8fc029
color10 = #a7e22e
color2 = #a6e22e
color10 = #a6e22e
# yellow
color3 = #d4c96e
color11 = #e7db75
color3 = #f4bf75
color11 = #f4bf75
# blue
color4 = #55bcce
color12 = #66d9ee
color4 = #66d9ef
color12 = #66d9ef
# magenta
color5 = #9358fe
color13 = #ae82ff
color5 = #ae81ff
color13 = #ae81ff
# cyan
color6 = #56b7a5
color14 = #66efd5
color6 = #a1efe4
color14 = #a1efe4
# white
color7 = #acada1
color15 = #cfd0c2
color7 = #f8f8f2
color15 = #f9f8f5

View File

@@ -66,8 +66,12 @@ def lock_config():
lock_date_pos = '--datepos="{}:{}"'.format(date_x, date_y)
lock_date_size = '--datesize={}'.format(default_fontsize)
date = "{} {}".format(lock_date_pos, lock_date_size)
# date color
datecolor = '--datecolor=777777ff'
timecolor = '--timecolor=777777ff'
color = '{} {}'.format(datecolor, timecolor)
# done
datetime = "{} {}".format(l_time, date)
datetime = "{} {} {}".format(l_time, date, color)
# Indicator config
# Indicator inner