From a194d4a62e87c1feeb63ce8b3e4826e65ca099e9 Mon Sep 17 00:00:00 2001 From: ziro Date: Mon, 11 May 2020 07:19:57 +0700 Subject: [PATCH] + Added X11 related config files --- .Xresources | 114 ++++++++++++++++++++++++++++++++++++++++++++ .config/xinitrc | 2 + .config/xprofile | 4 ++ .config/zsh/aliases | 2 + .xinitrc | 1 + .xprofile | 1 + 6 files changed, 124 insertions(+) create mode 100644 .Xresources create mode 100644 .config/xinitrc create mode 100644 .config/xprofile create mode 120000 .xinitrc create mode 120000 .xprofile diff --git a/.Xresources b/.Xresources new file mode 100644 index 0000000..950df99 --- /dev/null +++ b/.Xresources @@ -0,0 +1,114 @@ +!! Font and General +URxvt*imLocale: en_US.UTF-8 +URxvt*termName: rxvt-unicode-256color +Urxvt*buffered: false +URxvt.intensityStyles: false +URxvt.font: xft:Iosevka:size=10, \ + xft:Powerline Extra Symbols:size=10, \ + xft:UbuntuMono Nerd Font:size=10, \ + xft:Inconsolata Nerd Font Mono:size=10, \ + xft:DejaVuSansMono Nerd Font:size=10, \ + xft:DroidSansMono Nerd Font:size=10, \ + xft:FuraMono Nerd Font:size=10, \ + xft:RobotoMono Nerd Font:size=10, \ + xft:Noto Sans Mono:size=10, \ + xft:Monospace:style=Medium:size=10 +URxvt.saveLines: 2000 +URxvt.scrollBar: false +URxvt.cursorColor: white +URxvt.depth: 32 +URxvt*background: [80]#1d1f21 +Xft.dpi: 96 +!! Common Keybinds for Navigations +URxvt.keysym.Shift-Up: command:\033]720;1\007 +URxvt.keysym.Shift-Down: command:\033]721;1\007 +URxvt.keysym.Control-Up: \033[1;5A +URxvt.keysym.Control-Down: \033[1;5B +URxvt.keysym.Control-Right: \033[1;5C +URxvt.keysym.Control-Left: \033[1;5D + +!! Copy Paste & Other Extensions +URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select +URxvt.copyCommand: xclip -i -selection clipboard +URxvt.pasteCommand: xclip -o -selection clipboard +URxvt.keysym.M-c: perl:clipboard:copy +URxvt.keysym.M-v: perl:clipboard:paste +URxvt.keysym.M-C-v: perl:clipboard:paste_escaped +URxvt.keysym.M-Escape: perl:keyboard-select:activate +URxvt.keysym.M-s: perl:keyboard-select:search +URxvt.keysym.M-u: perl:url-select:select_next +URxvt.urlLauncher: brave +URxvt.underlineURLs: true +URxvt.urlButton: 1 + +st*font: xft:Iosevka:size=10:antialias=true:autohint=true +st*depth:32 +st*bold_font: 0 +st*background: #1d1f21 +st*foreground: #f5f6fa +st*cursorColor: #8d9b53 +st.termname: xterm-256color +st.shell: /bin/zsh +st.bellvolume: 0 +st.tabspaces: 8 +st.chscale: 1.0 +st.cwscale: 1.0 + +!st.color0: #353540 +!st.color8: #545466 +!st.color1: #8c5760 +!st.color9: #b26f7a +!st.color2: #7b8c58 +!st.color10: #9db270 +!st.color3: #8c6e43 +!st.color11: #b28c55 +!st.color4: #58698c +!st.color12: #7086b2 +!st.color5: #7b5e7d +!st.color13: #9c77b2 +!st.color6: #66808c +!st.color14: #82a2b2 +!st.color7: #8c8b8b +!st.color15: #b8b8c8 + +!! Rofi +!config +rofi.show-icons: true + +!!colorscheme +! special +*.foreground: #f5f6fa +*.background: #1d1f21 +*.cursorColor: #c5c8c6 + +! black +*.color0: #353b48 +*.color8: #2f3640 + +! red +*.color1: #e84118 +*.color9: #c23616 + +! green +*.color2: #4cd137 +*.color10: #44bd32 + +! yellow +*.color3: #fbc531 +*.color11: #e1b12c + +! blue +*.color4: #60C0FF +*.color12: #0EA0FF + +! magenta +*.color5: #6B85FF +*.color13: #4466ff + +! cyan +*.color6: #487eb0 +*.color14: #40739e + +! white +*.color7: #c5c8c6 +*.color15: #f5f6fa diff --git a/.config/xinitrc b/.config/xinitrc new file mode 100644 index 0000000..3c6f24b --- /dev/null +++ b/.config/xinitrc @@ -0,0 +1,2 @@ +#!/bin/sh +[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/xprofile" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/xprofile" diff --git a/.config/xprofile b/.config/xprofile new file mode 100644 index 0000000..16120b4 --- /dev/null +++ b/.config/xprofile @@ -0,0 +1,4 @@ +xrandr --newmode "768x432_60.00" 25.75 768 792 864 960 432 435 440 450 -hsync +vsync +xrandr --newmode "960x540_60.00" 40.75 960 992 1088 1216 540 543 548 562 -hsync +vsync +xrandr --addmode VGA-1 768x432_60.00 +xrandr --addmode VGA-1 960x540_60.00 diff --git a/.config/zsh/aliases b/.config/zsh/aliases index cfa4eac..c9c8115 100644 --- a/.config/zsh/aliases +++ b/.config/zsh/aliases @@ -82,6 +82,8 @@ alias gcl='git clone' alias gs='git status' alias gaa='git add --all' alias gcm='git commit -m' +alias gca='git commit -a' +alias gcam='git commit -a -m' alias gp='git push' alias config='/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME' diff --git a/.xinitrc b/.xinitrc new file mode 120000 index 0000000..d7cb191 --- /dev/null +++ b/.xinitrc @@ -0,0 +1 @@ +/home/ziro/.config/xinitrc \ No newline at end of file diff --git a/.xprofile b/.xprofile new file mode 120000 index 0000000..17ad269 --- /dev/null +++ b/.xprofile @@ -0,0 +1 @@ +/home/ziro/.config/xprofile \ No newline at end of file