From 75281805d46b54715d497fffa03abf22e0649e6a Mon Sep 17 00:00:00 2001 From: Thomas Groman Date: Sat, 1 Sep 2018 17:16:26 -0700 Subject: Initial Commit --- .Xresources | 22 +++++ .config/conky/conky.conf | 46 ++++++++++ .config/i3/config | 160 +++++++++++++++++++++++++++++++++++ .extend.Xresources | 215 +++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 443 insertions(+) create mode 100644 .Xresources create mode 100644 .config/conky/conky.conf create mode 100644 .config/i3/config create mode 100644 .extend.Xresources diff --git a/.Xresources b/.Xresources new file mode 100644 index 0000000..add5cf1 --- /dev/null +++ b/.Xresources @@ -0,0 +1,22 @@ +#if __has_include(".extend.Xresources") +#include ".extend.Xresources" +#endif + +! ^ The above lines are no comments! +! Leave them as they are if a file ~/.extend.Xresources is being used on your system. +! config can be added there or also here below. +! For comments use "!" + +Xft.dpi: 96 +Xft.antialias: true +Xft.hinting: true +Xft.rgba: rgb +Xft.autohint: false +Xft.hintstyle: hintslight +Xft.lcdfilter: lcddefault + +XTerm*background: #2b2b2b +XTerm*foreground: #e7e7e7 +XTerm*pointerColor: #16A085 +XTerm*faceName: Fixed +XTerm*faceSize: 11 diff --git a/.config/conky/conky.conf b/.config/conky/conky.conf new file mode 100644 index 0000000..c6e3ecb --- /dev/null +++ b/.config/conky/conky.conf @@ -0,0 +1,46 @@ +conky.config = { + alignment = 'top_right', + background = true, + color2 = '588078', + cpu_avg_samples = 2, + default_color = '80FFF9', + double_buffer = true, + font = 'Bitstream Vera Sans:size=8', + draw_shades = false, + gap_x = 25, + gap_y = 13, + minimum_width = 200, + no_buffers = true, + own_window = true, + own_window_type = 'override', + own_window_transparent = true, + update_interval = 1.0, + use_xft = true, +} +conky.text = [[ +${voffset 8}$color2${font Bitstream Vera Sans:size=16}${time %A}$font\ +${voffset -8}$alignr$color${font Bitstream Vera Sans:size=38}${time %e}$font +$color${voffset -30}$color${font Bitstream Vera Sans:size=18}${time %b}$font\ +${voffset -3} $color${font Bitstream Vera Sans:size=20}${time %Y}$font$color2$hr +# +${voffset 20}${goto 40}${color}CPU${font Bitstream Vera Sans:bold:size=8}$alignr$cpu% +${voffset 5}${goto 40}$font$color2${top name 1}$alignr$color${top cpu 1}% +${goto 40}$color2${top name 2}$alignr$color${top cpu 2}% +${goto 40}$color2${top name 3}$alignr$color${top cpu 3}% +${goto 40}$color2${top name 4}$alignr$color${top cpu 4}% +# ${goto 40}$color2${top name 5}$alignr$color${top cpu 5}% +# +${voffset 10}${goto 40}${color}RAM${font Bitstream Vera Sans:bold:size=8}$alignr$mem$font +${goto 40}${voffset 5}$color2${top_mem name 1}$alignr$color${top_mem mem_res 1} +${goto 40}$color2${top_mem name 2}$alignr$color${top_mem mem_res 2} +${goto 40}$color2${top_mem name 3}$alignr$color${top_mem mem_res 3} +${goto 40}$color2${top_mem name 4}$alignr$color${top_mem mem_res 4} +# ${goto 40}$color2${top_mem name 5}$alignr$color${top_mem mem_res 5} +# +${voffset 10}${goto 40}${color}Swap${font Bitstream Vera Sans:bold:size=8}$alignr${swap}/ ${swapfree} +${voffset 15}$font$alignr${execi 10000 awk -F= '/TION/ {print $2}' /etc/lsb-release |sed 's/"//g'} \ +${execi 10000 awk -F= '/EASE=/ {printf $2" "} /NAME/ {print $2}' /etc/lsb-release} +${voffset 10}${color2}${alignr}${execi 1200 whoami}@${nodename} +${alignr}${color2}${font Bitstream Vera Sans:size=8}uptime: ${color}${uptime_short} +${voffset 5}${color2}${font Bitstream Vera Sans:size=8}${alignr}kernel: ${color}${kernel} +]] diff --git a/.config/i3/config b/.config/i3/config new file mode 100644 index 0000000..5da9e97 --- /dev/null +++ b/.config/i3/config @@ -0,0 +1,160 @@ +# This file has been auto-generated by i3-config-wizard(1). +# It will not be overwritten, so edit it as you like. +# +# Should you change your keyboard layout some time, delete +# this file and re-run i3-config-wizard(1). +# + +# i3 config file (v4) +# +# Please see http://i3wm.org/docs/userguide.html for a complete reference! + +set $mod Mod1 + +# Font for window titles. Will also be used by the bar unless a different font +# is used in the bar {} block below. +#font pango:monospace 8 + +# This font is widely installed, provides lots of unicode glyphs, right-to-left +# text rendering and scalability on retina/hidpi displays (thanks to pango). +font pango:DejaVu Sans Mono 8 + +# Before i3 v4.8, we used to recommend this one as the default: +# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 +# The font above is very space-efficient, that is, it looks good, sharp and +# clear in small sizes. However, its unicode glyph coverage is limited, the old +# X core fonts rendering does not support right-to-left and this being a bitmap +# font, it doesn’t scale on retina/hidpi displays. + +# Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $mod + +# start a terminal +bindsym $mod+Return exec i3-sensible-terminal + +# kill focused window +bindsym $mod+Shift+q kill + +# start dmenu (a program launcher) +bindsym $mod+d exec dmenu_run +# There also is the (new) i3-dmenu-desktop which only displays applications +# shipping a .desktop file. It is a wrapper around dmenu, so you need that +# installed. +# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop + +# change focus +bindsym $mod+j focus left +bindsym $mod+k focus down +bindsym $mod+l focus up +bindsym $mod+semicolon focus right + +# alternatively, you can use the cursor keys: +bindsym $mod+Left focus left +bindsym $mod+Down focus down +bindsym $mod+Up focus up +bindsym $mod+Right focus right + +# move focused window +bindsym $mod+Shift+j move left +bindsym $mod+Shift+k move down +bindsym $mod+Shift+l move up +bindsym $mod+Shift+semicolon move right + +# alternatively, you can use the cursor keys: +bindsym $mod+Shift+Left move left +bindsym $mod+Shift+Down move down +bindsym $mod+Shift+Up move up +bindsym $mod+Shift+Right move right + +# split in horizontal orientation +bindsym $mod+h split h + +# split in vertical orientation +bindsym $mod+v split v + +# enter fullscreen mode for the focused container +bindsym $mod+f fullscreen toggle + +# change container layout (stacked, tabbed, toggle split) +bindsym $mod+s layout stacking +bindsym $mod+w layout tabbed +bindsym $mod+e layout toggle split + +# toggle tiling / floating +bindsym $mod+Shift+space floating toggle + +# change focus between tiling / floating windows +bindsym $mod+space focus mode_toggle + +# focus the parent container +bindsym $mod+a focus parent + +# focus the child container +#bindsym $mod+d focus child + +# switch to workspace +bindsym $mod+1 workspace 1 +bindsym $mod+2 workspace 2 +bindsym $mod+3 workspace 3 +bindsym $mod+4 workspace 4 +bindsym $mod+5 workspace 5 +bindsym $mod+6 workspace 6 +bindsym $mod+7 workspace 7 +bindsym $mod+8 workspace 8 +bindsym $mod+9 workspace 9 +bindsym $mod+0 workspace 10 + +# move focused container to workspace +bindsym $mod+Shift+1 move container to workspace 1 +bindsym $mod+Shift+2 move container to workspace 2 +bindsym $mod+Shift+3 move container to workspace 3 +bindsym $mod+Shift+4 move container to workspace 4 +bindsym $mod+Shift+5 move container to workspace 5 +bindsym $mod+Shift+6 move container to workspace 6 +bindsym $mod+Shift+7 move container to workspace 7 +bindsym $mod+Shift+8 move container to workspace 8 +bindsym $mod+Shift+9 move container to workspace 9 +bindsym $mod+Shift+0 move container to workspace 10 + +# reload the configuration file +bindsym $mod+Shift+c reload +# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) +bindsym $mod+Shift+r restart +# exit i3 (logs you out of your X session) +bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" + +# resize window (you can also use the mouse for that) +mode "resize" { + # These bindings trigger as soon as you enter the resize mode + + # Pressing left will shrink the window’s width. + # Pressing right will grow the window’s width. + # Pressing up will shrink the window’s height. + # Pressing down will grow the window’s height. + bindsym j resize shrink width 10 px or 10 ppt + bindsym k resize grow height 10 px or 10 ppt + bindsym l resize shrink height 10 px or 10 ppt + bindsym semicolon resize grow width 10 px or 10 ppt + + # same bindings, but for the arrow keys + bindsym Left resize shrink width 10 px or 10 ppt + bindsym Down resize grow height 10 px or 10 ppt + bindsym Up resize shrink height 10 px or 10 ppt + bindsym Right resize grow width 10 px or 10 ppt + + # back to normal: Enter or Escape + bindsym Return mode "default" + bindsym Escape mode "default" +} + +bindsym $mod+r mode "resize" + +# Start i3bar to display a workspace bar (plus the system information i3status +# finds out, if available) +bar { + status_command i3status +} + +# Pulse Audio controls +bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume +bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume diff --git a/.extend.Xresources b/.extend.Xresources new file mode 100644 index 0000000..b54b435 --- /dev/null +++ b/.extend.Xresources @@ -0,0 +1,215 @@ +*background: #272827 +*foreground: #657b83 +*fading: 15 +*fadeColor: black +*cursorColor: #16A085 +*pointerColorBackground: #2B2C2B +*pointerColorForeground: #16A085 + +!! black dark/light +*color0: #232423 +*color8: #282928 + +!! red dark/light +*color1: #BA2922 +*color9: #CC372C + +!! green dark/light +*color2: #7E807E +*color10: #8D8F8D + +!! yellow dark/light +*color3: #4C4F4D +*color11: #4E524F + +!! blue dark/light +*color4: #16A085 +*color12: #13BF9D + +!! magenta dark/light +*color5: #43746A +*color13: #487D72 + +!! cyan dark/light +*color6: #00CCCC +*color14: #00D1D1 + +!! white dark/light +*color7: #E0E0E0 +*color15: #E8E8E8 + +Xcursor.theme: Maia-Cursor +Xcursor.size: 0 + +XTerm*background: #272827 +XTerm*foreground: #fdf6e3 +XTerm*reverseVideo: on +XTerm*faceName: Terminus:size=11:antialias=true +XTerm*selectToClipboard: true + +URxvt.font: 9x15 + +! alternative font settings with 'terminus': +!URxvt.font: -xos4-terminus-medium-r-normal--16-160-72-72-c-80-iso10646-1 +!URxvt.bold.font: -xos4-terminus-bold-r-normal--16-160-72-72-c-80-iso10646-1 +!! terminus names see end of file! + +URxvt.depth: 32 +URxvt.background: [80]#000000 +URxvt*scrollBar: false +URxvt*mouseWheelScrollPage: false +URxvt*cursorBlink: true +URxvt*background: black +URxvt*foreground: grey +URxvt*saveLines: 5000 + +! for 'fake' transparency (without Compton) uncomment the following three lines +! URxvt*inheritPixmap: true +! URxvt*transparent: true +! URxvt*shading: 138 + +! other possible settings: +! Rxvt.perl-ext-common: ...,clipboard +! URxvt.keysym.M-C-c: perl:clipboard:copy +! URxvt.keysym.M-v: perl:clipboard:paste +! URxvt.keysym.M-C-v: perl:clipboard:paste_escaped +! URxvt*termName: string +! URxvt*geometry: geometry +! URxvt*chdir: string +! URxvt*reverseVideo: boolean +! URxvt*loginShell: boolean +! URxvt*multiClickTime: number +! URxvt*jumpScroll: boolean +! URxvt*skipScroll: boolean +! URxvt*pastableTabs: boolean +! URxvt*scrollstyle: plain +! URxvt*scrollBar_right: boolean +! URxvt*scrollBar_floating: true +! URxvt*scrollBar_align: mode +! URxvt*thickness: number +! URxvt*scrollTtyOutput: boolean +! URxvt*scrollTtyKeypress: boolean +! URxvt*scrollWithBuffer: boolean +! URxvt*tintColor: !7DA55 +! URxvt*blurRadius: HxV +! URxvt*fading: number +! URxvt*fadeColor: color +! URxvt*utmpInhibit: boolean +! URxvt*urgentOnBell: boolean +! URxvt*visualBell: boolean +! URxvt*mapAlert: boolean +! URxvt*meta8: boolean +! URxvt*tripleclickwords: boolean +! URxvt*insecure: boolean +! URxvt*cursorUnderline: boolean +! URxvt*pointerBlank: boolean +! URxvt*color0: color +! URxvt*color1: color +! URxvt*color2: color +! URxvt*color3: color +! URxvt*color4: color +! URxvt*color5: color +! URxvt*color6: color +! URxvt*color7: color +! URxvt*color8: color +! URxvt*color9: color +! URxvt*color10: color +! URxvt*color11: color +! URxvt*color12: color +! URxvt*color13: color +! URxvt*color14: color +! URxvt*color15: color +! URxvt*colorBD: color +! URxvt*colorIT: color +! URxvt*colorUL: color +! URxvt*colorRV: color +! URxvt*underlineColor: color +! URxvt*scrollColor: color +! URxvt*troughColor: color +! URxvt*highlightColor: color +! URxvt*highlightTextColor: color +! URxvt*cursorColor: color +! URxvt*cursorColor2: color +! URxvt*pointerColor: color +! URxvt*pointerColor2: color +! URxvt*borderColor: color +! URxvt*iconFile: file +! URxvt*font: fontname +! URxvt*boldFont: fontname +! URxvt*italicFont: fontname +! URxvt*boldItalicFont: fontname +! URxvt*intensityStyles: boolean +! URxvt*inputMethod: name +! URxvt*preeditType: style +! URxvt*imLocale: string +! URxvt*imFont: fontname +! URxvt*title: string +! URxvt*iconName: string +! URxvt*buffered: boolean +! URxvt*depth: number +! URxvt*visual: number +! URxvt*transient-for: windowid +! URxvt*override-redirect: boolean +! URxvt*hold: boolean +! URxvt*externalBorder: number +! URxvt*internalBorder: number +! URxvt*borderLess: true +! URxvt*lineSpace: number +! URxvt*letterSpace: number +! URxvt*skipBuiltinGlyphs: boolean +! URxvt*pointerBlankDelay: number +! URxvt*backspacekey: string +! URxvt*deletekey: string +! URxvt*print-pipe: string +! URxvt*modifier: modifier +! URxvt*cutchars: string +! URxvt*answerbackString: string +! URxvt*secondaryScreen: boolean +! URxvt*secondaryScroll: boolean +! URxvt*perl-lib: string +! URxvt*perl-eval: perl-eval +! URxvt*perl-ext-common: string +! URxvt*perl-ext: string +! URxvt*iso14755: boolean +! URxvt*iso14755_52: boolean +! URxvt*xrm: string +! URxvt*keysym.sym: keysym +! URxvt*background.border: boolean +! URxvt*background.expr: string +! URxvt*background.interval: seconds +! URxvt*bell-command: string +! URxvt*kuake.hotkey: string +! URxvt*matcher.button: string +! URxvt*matcher.launcher: string +! URxvt*matcher.launcher.*: string +! URxvt*matcher.pattern.*: string +! URxvt*matcher.rend.*: string +! URxvt*remote-clipboard.fetch: string +! URxvt*remote-clipboard.store: string +! URxvt*searchable-scrollback: string +! URxvt*selection-autotransform.*: string +! URxvt*selection-pastebin.cmd: string +! URxvt*selection-pastebin.url: string +! URxvt*selection.pattern-0: string +! URxvt*tab-bg: colour +! URxvt*tab-fg: colour +! URxvt*tabbar-bg: colour +! URxvt*tabbar-fg: colour +! URxvt*url-launcher: string + +! The Terminus font uses the following X-names: +! -xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso10646-1 +! -xos4-terminus-medium-r-normal--14-140-72-72-c-80-iso10646-1 +! -xos4-terminus-medium-r-normal--16-160-72-72-c-80-iso10646-1 +! -xos4-terminus-medium-r-normal--20-200-72-72-c-100-iso10646-1 +! -xos4-terminus-medium-r-normal--22-220-72-72-c-110-iso10646-1 +! -xos4-terminus-medium-r-normal--24-240-72-72-c-120-iso10646-1 +! -xos4-terminus-medium-r-normal--28-280-72-72-c-140-iso10646-1 +! -xos4-terminus-medium-r-normal--32-320-72-72-c-160-iso10646-1 +! -xos4-terminus-bold-r-normal--12-120-72-72-c-60-iso10646-1 +! -xos4-terminus-bold-r-normal--14-140-72-72-c-80-iso10646-1 +! -xos4-terminus-bold-r-normal--16-160-72-72-c-80-iso10646-1 +! -xos4-terminus-bold-r-normal--20-200-72-72-c-100-iso10646-1 +! -xos4-terminus-bold-r-normal--24-240-72-72-c-120-iso10646-1 +! -xos4-terminus-bold-r-normal--28-280-72-72-c-140-iso10646-1 +! -xos4-terminus-bold-r-normal--32-320-72-72-c-160-iso10646-1 -- cgit v1.2.3