From bda2442ab02187556e6f350dad560e75355192a5 Mon Sep 17 00:00:00 2001 From: neodarz Date: Wed, 27 Dec 2017 18:29:10 +0100 Subject: Add urxvt by default --- Xresources/.Xresources | 47 +++++++++++++++++++++++------------------------ cheat/.cheat/Xresources | 2 ++ i3/.config/i3/config | 5 +++-- zsh/.zsh/aliases.zsh | 3 ++- zsh/.zshrc | 2 ++ 5 files changed, 32 insertions(+), 27 deletions(-) create mode 100644 cheat/.cheat/Xresources diff --git a/Xresources/.Xresources b/Xresources/.Xresources index 1eef16e..26bca17 100644 --- a/Xresources/.Xresources +++ b/Xresources/.Xresources @@ -3,43 +3,42 @@ ! ! ------------------------------------------------------------------------------ -*background: #272827 -*foreground: #657b83 +*background: black +*foreground: white *fading: 15 *fadeColor: black -*cursorColor: #16A085 -*pointerColorBackground:#2B2C2B -*pointerColorForeground:#16A085 +*cursorColor: white +*pointerColorBackground:white +*pointerColorForeground:black -!! black dark/light -*color0: #282928 -*color8: #272827 +! black dark/light +*color0: #303030 +*color8: #303030 !! red dark/light -*color1: #983133 -*color9: #985F31 +*color1: red +*color9: red !! green dark/light -*color2: #1D584D -*color10: #16A085 +*color2: green +*color10: green !! yellow dark/light -*color3: #5CE022 -*color11: #63B93D +*color3: yellow +*color11: yellow !! blue dark/light -*color4: #001B33 -*color12: #839496 +*color4: blue +*color12: blue !! cyan dark/light -*color6: #4F6A98 -*color14: #2269E0 +*color6: cyan +*color14: cyan !! white dark/light -*color7: #fdf6e3 -*color15: #fdf6e3 - -! ------------------------------------------------------------------------------ +*color7: white +*color15: white +!! ------------------------------------------------------------------------------ ! Xft conf ! ------------------------------------------------------------------------------ @@ -67,14 +66,14 @@ XTerm*selectToClipboard: true ! URxvt conf ! ------------------------------------------------------------------------------ -URxvt.font: fira-code 8 +URxvt.font: xft:Monoid:size=7 URxvt.depth: 32 URxvt.background: [80]#000000 URxvt*scrollBar: false URxvt*mouseWheelScrollPage: false URxvt*cursorBlink: true URxvt*background: black -URxvt*foreground: grey +URxvt*foreground: white URxvt*saveLines: 5000 ! ------------------------------------------------------------------------------ diff --git a/cheat/.cheat/Xresources b/cheat/.cheat/Xresources new file mode 100644 index 0000000..1b31533 --- /dev/null +++ b/cheat/.cheat/Xresources @@ -0,0 +1,2 @@ +# Update .Xresources file +xrdb -merge ~/.Xresources diff --git a/i3/.config/i3/config b/i3/.config/i3/config index b75963f..72dedbf 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -78,7 +78,7 @@ font pango:monospace 8, Awesome 8 # Use Mouse+$WinKey to drag floating windows to their wanted position floating_modifier $WinKey -for_window [class="URxvt"] floating enable +#for_window [class="URvxt"] floating enable #for_window [title="Euro Truck Simulator 2"] floating enable #for_window [title="Euro Truck Simulator 2"] move position -4px -4px, resize grow height 4px, resize grow width 3840px; @@ -118,7 +118,8 @@ bindsym $WinKey+p exec rofi-pass bindsym XF86AudioPlay exec ~/.config/i3/switch_audio.sh 8 # start a terminal -bindsym $WinKey+Return exec qterminal +#bindsym $WinKey+Return exec urxvt --termName 'rxvt-unicode' -fn 'xft:Fira Code:size=8' --background 'black' --color0 'black' --color8 'black' --color1 'red' --color9 'red' --color2 'green' --color10 'green' --color3 'yellow' --color11 'yellow' --color4 'blue' --color12 'blue' --color6 'cyan' --color14 'cyan' --color7 'white' --color15 'white' -cursorColor '#ffffff' +bindsym $WinKey+Return exec urxvt # kill focused window bindsym $WinKey+Shift+A kill diff --git a/zsh/.zsh/aliases.zsh b/zsh/.zsh/aliases.zsh index 64fbe82..d8c57c1 100755 --- a/zsh/.zsh/aliases.zsh +++ b/zsh/.zsh/aliases.zsh @@ -115,7 +115,7 @@ alias tlistprojects="task projects" alias tlistallprojects="task rc.list.all.projects=1 projects" alias tsetnext="task modify $@ +next" alias tproject="task project:$1" -alias rl='source ~/.zsh/aliases.zsh' +alias rl='source ~/.zsh/aliases.zsh; xrdb -merge ~/.Xresources' alias rssyoutube="newsboat -c /home/neodarz/.newsboat/youtube.db -u /home/neodarz/.newsboat/urls_youtube -C /home/neodarz/.newsboat/youtube_conf" alias rssliberte="newsboat -c /home/neodarz/.newsboat/liberte.db -u /home/neodarz/.newsboat/urls_liberte -C /home/neodarz/.newsboat/liberte_conf" alias rssblog="newsboat -c /home/neodarz/.newsboat/blog.db -u /home/neodarz/.newsboat/urls_blog -C /home/neodarz/.newsboat/blog_conf" @@ -148,6 +148,7 @@ alias errnos="errno search" alias tvv="DISPLAY= mpv --quiet -vo tct $@" alias cppbeautifier="clang-format -style=file -i *.{cpp,h}" +alias term="urxvt" #█▓▒░ dumb tmux trix alias tsad="printf '\033k┐(T_T)┌\033\\'" diff --git a/zsh/.zshrc b/zsh/.zshrc index f3bbffb..bf1dfe2 100755 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -16,3 +16,5 @@ # #█▓▒░ load configs for config (~/.zsh/*.zsh) source $config + +export TERM=rxvt-unicode -- cgit v1.2.1