dotfiles

My dotfiles.
Log | Files | Refs | LICENSE

commit 81564a6f1a8bd14fa4977f2829c6e311ad0a63cc
parent 950579a14f1cc0dc6325dc0a9d3c2dbf9b0bf51d
Author: Ryan Jeffrey <pwishie@gmail.com>
Date:   Fri, 27 Mar 2020 08:27:18 -0700

changed .config

Diffstat:
A.Xdefaults | 54++++++++++++++++++++++++++++++++++++++++++++++++++++++
M.Xresources | 23++++++++++++++---------
D.config | 2--
A.config/i3/config | 237+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A.config/i3status/config | 75+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A.config/mpd/database | 0
A.config/mpd/mpd.conf | 32++++++++++++++++++++++++++++++++
A.config/mpd/pid | 1+
A.config/mpd/state | 46++++++++++++++++++++++++++++++++++++++++++++++
A.config/mpd/sticker.sql | 0
A.config/polybar/config | 452+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A.config/polybar/config~ | 423+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
T.econfig.org | 0
T.emacs | 0
T.zshrc | 0
Dcrontab | 2--
Dscripts | 2--
17 files changed, 1334 insertions(+), 15 deletions(-)

diff --git a/.Xdefaults b/.Xdefaults @@ -0,0 +1,53 @@ +URxvt.termName: rxvt-256color + +XTerm.vt100.saveLines: 4096 + +*faceName: Ubuntu Mono +*faceSize: 12 +*renderFont: true + +URxvt*depth: 32 + +! URxvt*foreground: grey +!URxvt*background: rgba:0000/0000/0200/e500 + +!// URxvt*background: rgba: + + +*selectToClipboard: true + +URxvt*font: xft:Monaco:style=Regular:size=12:antialias=true +! // URxvt.font: xft:Menlo:size=12:antialias=true +URxvt*boldFont: xft:Monaco:bold:size=12:antialias=true + +URxvt*background: black +URxvt*foreground: grey + +URxvt.scrollBar: false + +URxvt.keysym.Control-Left:\033[1;5D + +URxvt.keysym.Control-Right:\033[1;5C + +URxvt.perl-ext-common: ...,font-size + +URxvt.keysym.Meta-Up: perl:font-size:increase +URxvt.keysym.Meta-Down: perl:font-size:decrease + +xterm*background: black +xterm*foreground: lightgray + +! // URxvt.keysym.Meta: + +Emacs.FontBackend: xft,x +Emacs.font: Monaco:size=12:weight=light +XTerm*metaSendsEscape: true + + +*.font:deja vu sans mono:size=14:antialias=true:autohint=true +*.color0: #000 + +*.alpha: 0.8 + + +*.background: #000+ \ No newline at end of file diff --git a/.Xresources b/.Xresources @@ -24,6 +24,7 @@ URxvt*background: black URxvt*foreground: grey URxvt.scrollBar: false +URxvt*scrollTtyOutput: true URxvt.keysym.Control-Left:\033[1;5D @@ -43,13 +44,13 @@ Emacs.FontBackend: xft,x Emacs.font: Monaco:size=12:weight=light XTerm*metaSendsEscape: true -*.font:Monaco:size=16:antialias=true:autohint=true +*.font:UbuntuMono-R:size=16:antialias=true:autohint=true ! Black -*.color0: #000 -*.color8: #000 +*.color0: #2e3436 +*.color8: #6e706b ! Red -*.color1: #DC143C -*.color9: #DC143C +*.color1: #cc0000 +*.color9: #ef2929 ! Green *.color2: #9ece9e *.color10: #9ece9e @@ -63,8 +64,8 @@ XTerm*metaSendsEscape: true !*.color5: #c0bed1 !*.color13: #c0bed1 ! Cyan -*.color6: #1E90FF -*.color14: #1E90FF +*.color6: #07c7ca +*.color14: #63e9e9 ! White *.color7: #808080 *.color15: #808080 @@ -72,4 +73,8 @@ XTerm*metaSendsEscape: true *.alpha: 0.8 -*.background: #000- \ No newline at end of file +*.background: #000 + +! xscreensaver +xscreensaver.fade: false +xscreensaver.unfade: false+ \ No newline at end of file diff --git a/.config b/.config @@ -1 +0,0 @@ -/home/ryan/.config- \ No newline at end of file diff --git a/.config/i3/config b/.config/i3/config @@ -0,0 +1,236 @@ +# 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 https://i3wm.org/docs/userguide.html for a complete reference! + + +set $mod Mod4 +gaps inner 15 +gaps outer 15 + +# Thinkpad multimedia keys + +bindsym $mod+Return exec st +bindsym $mod+m exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound +bindsym $mod+t exec emacsclient -c + +workspace_layout tabbed + +# Font for window titles. Will also be used by the bar unless a different font +# is used in the bar {} block below. +font pango:Ubuntu-M:style=regular + +# 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 xterm + +# 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 +# for window, order sometimes matters +for_window [class="^.*"] border pixel 1 + +# 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+h move left +bindsym $mod+Shift+j move down +bindsym $mod+Shift+k move up +bindsym $mod+Shift+l 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 +bindsym $mod+e exec --no-startup-id thunar + + +# change container layout (stacked, tabbed, toggle split) +#bindsym $mod+s layout stacking +bindsym $mod+w layout tabbed +bindsym $mod+semicolon layout toggle split +#bindsym $mod+semicolon layout toggle stack + +# 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 + +# Define names for default workspaces for which we configure key bindings later on. +# We use variables to avoid repeating the names in multiple places. +set $ws1 "1:Web" +set $ws2 "2:Web" +set $ws3 "3:Misc" +set $ws4 "4:Misc" +set $ws5 "5:Discord" +set $ws6 "5:Misc" +set $ws7 "6:Emacs" +set $ws8 "8:Misc" +set $ws9 "9:Godot" +set $ws10 "10:Steam" + +# switch to workspace +bindsym $mod+1 workspace $ws1 +bindsym $mod+2 workspace $ws2 +bindsym $mod+3 workspace $ws3 +bindsym $mod+4 workspace $ws4 +bindsym $mod+5 workspace $ws5 +bindsym $mod+6 workspace $ws6 +bindsym $mod+7 workspace $ws7 +bindsym $mod+8 workspace $ws8 +bindsym $mod+9 workspace $ws9 +bindsym $mod+0 workspace $ws10 + +# move focused container to workspace +bindsym $mod+Shift+1 move container to workspace $ws1 +bindsym $mod+Shift+2 move container to workspace $ws2 +bindsym $mod+Shift+3 move container to workspace $ws3 +bindsym $mod+Shift+4 move container to workspace $ws4 +bindsym $mod+Shift+5 move container to workspace $ws5 +bindsym $mod+Shift+6 move container to workspace $ws6 +bindsym $mod+Shift+7 move container to workspace $ws7 +bindsym $mod+Shift+8 move container to workspace $ws8 +bindsym $mod+Shift+9 move container to workspace $ws9 +bindsym $mod+Shift+0 move container to workspace $ws10 + + +set $left_mon "HDMI-A-2" +set $right_mon "DisplayPort-1" + +# Secondary monitor + +workspace "1:Web" output $left_mon +workspace "2:Web" output $left_mon +workspace "3:Misc" output $left_mon +workspace "4:Misc" output $left_mon +workspace "5:Disc" output $left_mon +# Main monitor +workspace "6:Misc" output $right_mon +workspace "7:Emacs" output $right_mon +workspace "8:Misc" output $right_mon +workspace "9:Godot" output $right_mon +workspace "10:Steam" output $right_mon + +bindsym $mod+b exec --no-startup-id i3-msg 'workspace $ws1; exec /usr/bin/firefox' + +# 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'" + +bindsym $mod+shift+s exec --no-startup-id "scr=$(ls -d --color=never /home/ryan/src/scripts/ui/* | dmenu -l 20); exec $scr" + +# 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. + # 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 or $mod+r + bindsym Return mode "default" + bindsym Escape mode "default" + bindsym $mod+r 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 +# strip_workspace_numbers yes +# } + + +exec --no-startup-id compton -b + +assign [class="firefox"] $ws1 +assign [class="emacs"] $ws7 +assign [class="Godot_Engine"] $ws9 +assign [class="discord"] $ws5 +assign [class="Steam"] $ws10 + +exec --no-startup-id firefox +exec --no-startup-id discord +exec --no-startup-id steam + + +exec --no-startup-id 'i3-msg workspace $ws6; i3-msg layout tabbed' +exec --no-startup-id 'i3-msg workspace $ws9; i3-msg layout tabbed' + +bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 5 +5% # increase sound volume +bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 5 -5% # decrease sound volume +bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 5 toggle # mute sound + +# Music +bindsym $mod+p exec --no-startup-id mpc toggle +bindsym $mod+n exec --no-startup-id mpc next +bindsym $mod+l exec --no-startup-id mpc prev +bindsym $mod+o exec --no-startup-id mpc shuffle +bindsym $mod+y exec --no-startup-id st -e ncmpcpp + +exec --no-startup-id xscreensaver + +exec --no-startup-id /home/ryan/src/scripts/monset.zsh + +exec --no-startup-id /home/ryan/src/scripts/init-polybar.sh + +# exec --no-startup-id feh --bg-fill --no-xinerama /home/ryan/Pictures/Gnu_wallpaper.png+ \ No newline at end of file diff --git a/.config/i3status/config b/.config/i3status/config @@ -0,0 +1,75 @@ + +# see "man i3status" for documentation. + +# It is important that this file is edited as UTF-8. +# The following line should contain a sharp s: +# ß +# If the above line is not correctly displayed, fix your editor first! + +general { + colors = true + interval = 5 + color_good = "#1793d0" +} + +#order += "ipv6" +order += "volume master" +order += "wireless _first_" +order += "ethernet _first_" +order += "battery all" +order += "disk /" +order += "disk /mnt/fdrive/" +#order += "load" +order += "cpu_usage" +order += "cpu_temperature 0" +order += "memory" +order += "tztime local" + +wireless _first_ { + format_up = "Wifi: (%quality at %essid )" + format_down = "Wifi: down" +} + +ethernet _first_ { + format_up = "Eth: %ip (%speed)" + format_down = "Eth: down" +} + +disk "/" { + format = "/ %avail" +} + +disk "/mnt/fdrive/" { + format = "/f/ %avail" +} + +cpu_usage { + format = "CPU: %usage" +} + +load { + format = "%1min \%" +} + +volume master { + format = "Vol: %volume" + format_muted = "Vol: muted (%volume)" + device = "pulse" +} + +memory { + format = "Mem: %used" + threshold_degraded = "1G" + format_degraded = "MEMORY < %available" +} + + +cpu_temperature 0 { + format = "@ %degrees °C" + path = "/sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input" +} + + +tztime local { + format = "%I:%M %p" +} diff --git a/.config/mpd/database b/.config/mpd/database Binary files differ. diff --git a/.config/mpd/mpd.conf b/.config/mpd/mpd.conf @@ -0,0 +1,32 @@ +# Recommended location for database +db_file "~/.config/mpd/database" + +# Logs to systemd journal +log_file "syslog" + +# The music directory is by default the XDG directory, uncomment to amend and choose a different directory +music_directory "~/Music" + +# Uncomment to refresh the database whenever files in the music_directory are changed +auto_update "yes" + +# Uncomment to enable the functionalities +playlist_directory "~/.config/mpd/playlists" +pid_file "~/.config/mpd/pid" +state_file "~/.config/mpd/state" +sticker_file "~/.config/mpd/sticker.sql" + + +audio_output { + type "pulse" + name "pulse audio" +} + + +audio_output { + type "fifo" + name "Visualizer feed" + path "/tmp/mpd.fifo" + format "44100:16:2" +} + diff --git a/.config/mpd/pid b/.config/mpd/pid @@ -0,0 +1 @@ +1266 diff --git a/.config/mpd/state b/.config/mpd/state @@ -0,0 +1,46 @@ +sw_volume: 36 +audio_device_state:1:pulse audio +audio_device_state:1:Visualizer feed +state: pause +current: 10 +time: 22.492000 +random: 0 +repeat: 0 +single: 0 +consume: 0 +crossfade: 0 +mixrampdb: 0.000000 +mixrampdelay: -1.000000 +playlist_begin +0:normal/Tool/10,000 Days/09 Intension.m4a +1:normal/Tool/Ænima/01 Stinkfist.m4a +2:normal/Tool/Ænima/02 Eulogy.m4a +3:normal/Tool/Ænima/03 H..m4a +4:normal/Tool/Ænima/04 Useful Idiot.m4a +5:normal/Tool/Ænima/05 Forty Six & 2.m4a +6:normal/Tool/Ænima/06 Message To Harry Manback.m4a +7:normal/Tool/Ænima/07 Hooker With A Penis.m4a +8:normal/Tool/Ænima/08 Intermission.m4a +9:normal/Tool/Ænima/09 Jimmy.m4a +10:normal/Tool/Ænima/10 Die Eier Von Satan.m4a +11:normal/Tool/Ænima/11 Pushit.m4a +12:normal/Tool/Ænima/12 Cesaro Summability.m4a +13:normal/Tool/Ænima/13 Ænema.m4a +14:normal/Tool/Ænima/14 (-) Ions.m4a +15:normal/Tool/Ænima/15 Third Eye.m4a +16:normal/Tool/Ænima/01 Stinkfist.m4a +17:normal/Tool/Ænima/02 Eulogy.m4a +18:normal/Tool/Ænima/03 H..m4a +19:normal/Tool/Ænima/04 Useful Idiot.m4a +20:normal/Tool/Ænima/05 Forty Six & 2.m4a +21:normal/Tool/Ænima/06 Message To Harry Manback.m4a +22:normal/Tool/Ænima/07 Hooker With A Penis.m4a +23:normal/Tool/Ænima/08 Intermission.m4a +24:normal/Tool/Ænima/09 Jimmy.m4a +25:normal/Tool/Ænima/10 Die Eier Von Satan.m4a +26:normal/Tool/Ænima/11 Pushit.m4a +27:normal/Tool/Ænima/12 Cesaro Summability.m4a +28:normal/Tool/Ænima/13 Ænema.m4a +29:normal/Tool/Ænima/14 (-) Ions.m4a +30:normal/Tool/Ænima/15 Third Eye.m4a +playlist_end diff --git a/.config/mpd/sticker.sql b/.config/mpd/sticker.sql Binary files differ. diff --git a/.config/polybar/config b/.config/polybar/config @@ -0,0 +1,452 @@ +;========================================================== +; +; +; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ +; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ +; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ +; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ +; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ +; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ +; +; +; To learn more about how to configure Polybar +; go to https://github.com/polybar/polybar +; +; The README contains a lot of information +; +;========================================================== + +[colors] +;background = ${xrdb:color0:#222} +;background = #222 +background = #aa000 +background-alt = #444 +;foreground = $; {xrdb:color7:#222} +; foreground = #dfdfdf +; foreground-alt = #555 +; primary = #ffb52a +; secondary = #e60053 +; alert = #bd2c40 + +;background = ${xrdb:color0:#222} +;background = #000000 +;background-alt = #444 +;foreground = ${xrdb:color7:#222} +foreground = #dfdfdf +foreground-alt = #FFF +primary = #ffb52a +secondary = #e60053 +alert = #bd2c40 + +[bar/main] +;monitor = ${env:MONITOR:HDMI-1} +;monitor = ${env:MONITOR:DisplayPort-2} +monitor = ${env:MONITOR:DisplayPort-3} + +bottom = true + +width = 100% +height = 27 +;offset-x = 1% +;offset-y = 1% +radius = 6.0 +fixed-center = true + +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 3 +line-color = #f00 + +border-size = 4 +border-color = #00000000 + +padding-left = 0 +padding-right = 0 + +module-margin-left = 1 +module-margin-right = 2 + +;font-0 = :pixelsize=12;1 +font-1 = "Noto Sans Mono:Style=Regular:size=12;1" +font-0 = "ubuntu:fontformat=truetype:size=12:antialias=true;0" +font-2 = "Noto Sans Mono:pixelsize=10;1" + +modules-left = i3 +modules-center = date +modules-right = mpd filesystem pulseaudio memory cpu wlan eth temperature powermenu + +tray-position = right +tray-padding = 2 +;tray-background = #0063ff + +;wm-restack = bspwm +;wm-restack = i3 + +;override-redirect = true + +;scroll-up = bspwm-desknext +;scroll-down = bspwm-deskprev + +;scroll-up = i3wm-wsnext +;scroll-down = i3wm-wsprev + +cursor-click = pointer +cursor-scroll = ns-resize + +[module/xwindow] +type = internal/xwindow +label = %title:0:30:...% + +[module/xkeyboard] +type = internal/xkeyboard +blacklist-0 = num lock + +format-prefix = " " +format-prefix-foreground = ${colors.foreground-alt} +format-prefix-underline = ${colors.secondary} + +label-layout = %layout% +label-layout-underline = ${colors.secondary} + +label-indicator-padding = 2 +label-indicator-margin = 1 +label-indicator-background = ${colors.secondary} +label-indicator-underline = ${colors.secondary} + +[module/filesystem] +type = internal/fs +interval = 25 + +mount-0 = / + +label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%% +label-unmounted = %mountpoint% not mounted +label-unmounted-foreground = ${colors.foreground-alt} + +format-mounted-underline = #0a81f5 + +[module/bspwm] +type = internal/bspwm + +label-focused = %index% +label-focused-background = ${colors.background-alt} +label-focused-underline= ${colors.primary} +label-focused-padding = 2 + +label-occupied = %index% +label-occupied-padding = 2 + +label-urgent = %index%! +label-urgent-background = ${colors.alert} +label-urgent-padding = 2 + +label-empty = %index% +label-empty-foreground = ${colors.foreground-alt} +label-empty-padding = 2 + +; Separator in between workspaces +; label-separator = | + +[module/i3] +type = internal/i3 +format = <label-state> <label-mode> +index-sort = true +wrapping-scroll = false + +; Only show workspaces on the same output as the bar +;pin-workspaces = true + +label-mode-padding = 2 +label-mode-foreground = #000 +label-mode-background = ${colors.primary} + +; focused = Active workspace on focused monitor +label-focused = %name% +label-focused-background = ${colors.background-alt} +label-focused-underline= ${colors.primary} +label-focused-padding = 2 + +; unfocused = Inactive workspace on any monitor +label-unfocused = %name% +label-unfocused-padding = 2 + +; visible = Active workspace on unfocused monitor +label-visible = %name% +label-visible-background = ${self.label-focused-background} +label-visible-underline = ${self.label-focused-underline} +label-visible-padding = ${self.label-focused-padding} + +; urgent = Workspace with urgency hint set +label-urgent = %name% +label-urgent-background = ${colors.alert} +label-urgent-padding = 2 + +; Separator in between workspaces +;label-separator = | + + +[module/mpd] +type = internal/mpd +format-online = <label-song> <icon-prev> <icon-stop> <toggle> <icon-next> +format-online-underline = #fff + +icon-prev =  +icon-stop =  +icon-play =  +icon-pause =  +icon-next =  + +label-song-maxlen = 25 +label-song-ellipsis = true + +[module/xbacklight] +type = internal/xbacklight + +format = <label> <bar> +label = BL + +bar-width = 10 +bar-indicator = | +bar-indicator-foreground = #fff +bar-indicator-font = 2 +bar-fill = ─ +bar-fill-font = 2 +bar-fill-foreground = #9f78e1 +bar-empty = ─ +bar-empty-font = 2 +bar-empty-foreground = ${colors.foreground-alt} + +[module/backlight-acpi] +inherit = module/xbacklight +type = internal/backlight +card = intel_backlight + +[module/cpu] +type = internal/cpu +interval = 2 +format-prefix = " " +format-prefix-foreground = ${colors.foreground-alt} +format-underline = #f90000 +label = %percentage:2%% + +[module/memory] +type = internal/memory +interval = 2 +format-prefix = " " +format-prefix-foreground = ${colors.foreground-alt} +format-underline = #4bffdc +label = %percentage_used%% + +[module/wlan] +type = internal/network +interface = wlp5s0 +interval = 3.0 + +format-connected = <ramp-signal> <label-connected> +format-connected-underline = #9f78e1 +label-connected = %essid% + +format-disconnected = +;format-disconnected = <label-disconnected> +;format-disconnected-underline = ${self.format-connected-underline} +;label-disconnected = %ifname% disconnected +;label-disconnected-foreground = ${colors.foreground-alt} + +ramp-signal-0 =  +ramp-signal-1 =  +ramp-signal-2 =  +ramp-signal-3 =  +ramp-signal-4 =  +ramp-signal-foreground = ${colors.foreground-alt} + +[module/eth] +type = internal/network +interface = enp6s0 +interval = 3.0 + +format-connected-underline = #55aa55 +format-connected-prefix = " " +format-connected-prefix-foreground = ${colors.foreground-alt} +label-connected = %local_ip% + +format-disconnected = +;format-disconnected = <label-disconnected> +;format-disconnected-underline = ${self.format-connected-underline} +;label-disconnected = %ifname% disconnected +;label-disconnected-foreground = ${colors.foreground-alt} + +[module/date] +type = internal/date +interval = 5 + +date = "%b %d," +date-alt = "%a" + +time = "%I:%M %p" +time-alt = %H:%M:%S + +format-prefix =  +format-prefix-foreground = ${colors.foreground-alt} +format-underline = #0a6cf5 + +label = %date% %time% + +[module/pulseaudio] +type = internal/pulseaudio + +format-volume = <label-volume> <bar-volume> +format-volume-underline = #ff9705 +format-muted-underline = #eb231d + + +label-volume = 🎵 %percentage%% +label-volume-foreground = ${root.foreground} + + +label-muted = 🔇 muted +label-muted-foreground = #666 + +bar-volume-width = 10 +bar-volume-foreground-0 = #55aa55 +bar-volume-foreground-1 = #55aa55 +bar-volume-foreground-2 = #55aa55 +bar-volume-foreground-3 = #55aa55 +bar-volume-foreground-4 = #55aa55 +bar-volume-foreground-5 = #f5a70a +bar-volume-foreground-6 = #ff5555 +bar-volume-gradient = false +bar-volume-indicator = +bar-volume-indicator-font = 2 +bar-volume-fill = ─ +bar-volume-fill-font = 2 +bar-volume-empty = ─ +bar-volume-empty-font = 2 +bar-volume-empty-foreground = ${colors.foreground-alt} + + +[module/alsa] +type = internal/alsa + +format-volume = <label-volume> <bar-volume> +label-volume = VOL +label-volume-foreground = ${root.foreground} + +format-muted-prefix = " " +format-muted-foreground = ${colors.foreground-alt} +label-muted = sound muted + +bar-volume-width = 10 +bar-volume-foreground-0 = #55aa55 +bar-volume-foreground-1 = #55aa55 +bar-volume-foreground-2 = #55aa55 +bar-volume-foreground-3 = #55aa55 +bar-volume-foreground-4 = #55aa55 +bar-volume-foreground-5 = #f5a70a +bar-volume-foreground-6 = #ff5555 +bar-volume-gradient = false +bar-volume-indicator = | +bar-volume-indicator-font = 2 +bar-volume-fill = ─ +bar-volume-fill-font = 2 +bar-volume-empty = ─ +bar-volume-empty-font = 2 +bar-volume-empty-foreground = ${colors.foreground-alt} + +[module/battery] +type = internal/battery +battery = BAT0 +adapter = ADP1 +full-at = 98 + +format-charging = <animation-charging> <label-charging> +format-charging-underline = #ffb52a + +format-discharging = <animation-discharging> <label-discharging> +format-discharging-underline = ${self.format-charging-underline} + +format-full-prefix = " " +format-full-prefix-foreground = ${colors.foreground-alt} +format-full-underline = ${self.format-charging-underline} + +ramp-capacity-0 =  +ramp-capacity-1 =  +ramp-capacity-2 =  +ramp-capacity-foreground = ${colors.foreground-alt} + +animation-charging-0 =  +animation-charging-1 =  +animation-charging-2 =  +animation-charging-foreground = ${colors.foreground-alt} +animation-charging-framerate = 750 + +animation-discharging-0 =  +animation-discharging-1 =  +animation-discharging-2 =  +animation-discharging-foreground = ${colors.foreground-alt} +animation-discharging-framerate = 750 + +[module/temperature] +type = internal/temperature +thermal-zone = 0 +warn-temperature = 65 + +format = <ramp> <label> +format-underline = #f50a4d +format-warn = <ramp> <label-warn> +format-warn-underline = ${self.format-underline} + +label = %temperature-c% +label-warn = %temperature-c% +label-warn-foreground = ${colors.secondary} + +interval = 1 +hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input + +ramp-0 =  +ramp-1 =  +ramp-2 =  +ramp-foreground = ${colors.foreground-alt} + +[module/powermenu] +type = custom/menu + +expand-right = true + +format-spacing = 1 + +label-open =  +label-open-foreground = ${colors.secondary} +label-close =  cancel +label-close-foreground = ${colors.secondary} +label-separator = | +label-separator-foreground = ${colors.foreground-alt} + +menu-0-0 = reboot +menu-0-0-exec = menu-open-1 +menu-0-1 = power off +menu-0-1-exec = menu-open-2 + +menu-1-0 = cancel +menu-1-0-exec = menu-open-0 +menu-1-1 = reboot +menu-1-1-exec = sudo reboot + +menu-2-0 = power off +menu-2-0-exec = sudo poweroff +menu-2-1 = cancel +menu-2-1-exec = menu-open-0 + +[settings] +screenchange-reload = true +;compositing-background = xor +;compositing-background = screen +;compositing-foreground = source +;compositing-border = over +;pseudo-transparency = false + +[global/wm] +margin-top = 0 +margin-bottom = 0 + +; vim:ft=dosini diff --git a/.config/polybar/config~ b/.config/polybar/config~ @@ -0,0 +1,423 @@ +;========================================================== +; +; +; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ +; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ +; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ +; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ +; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ +; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ +; +; +; To learn more about how to configure Polybar +; go to https://github.com/polybar/polybar +; +; The README contains a lot of information +; +;========================================================== + +[colors] +;background = ${xrdb:color0:#222} +background = #222 +background-alt = #444 +;foreground = ${xrdb:color7:#222} +foreground = #dfdfdf +foreground-alt = #555 +primary = #ffb52a +secondary = #e60053 +alert = #bd2c40 + +[bar/example] +;monitor = ${env:MONITOR:HDMI-1} +width = 100% +height = 27 +;offset-x = 1% +;offset-y = 1% +radius = 6.0 +fixed-center = false + +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 3 +line-color = #f00 + +border-size = 4 +border-color = #00000000 + +padding-left = 0 +padding-right = 2 + +module-margin-left = 1 +module-margin-right = 2 + +font-0 = misc fixed:pixelsize=10;1 +font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 +font-2 = siji:pixelsize=10;1 + +modules-left = bspwm i3 +modules-center = mpd +modules-right = filesystem xbacklight alsa pulseaudio xkeyboard memory cpu wlan eth battery temperature date powermenu + +tray-position = right +tray-padding = 2 +;tray-background = #0063ff + +;wm-restack = bspwm +;wm-restack = i3 + +;override-redirect = true + +;scroll-up = bspwm-desknext +;scroll-down = bspwm-deskprev + +;scroll-up = i3wm-wsnext +;scroll-down = i3wm-wsprev + +cursor-click = pointer +cursor-scroll = ns-resize + +[module/xwindow] +type = internal/xwindow +label = %title:0:30:...% + +[module/xkeyboard] +type = internal/xkeyboard +blacklist-0 = num lock + +format-prefix = " " +format-prefix-foreground = ${colors.foreground-alt} +format-prefix-underline = ${colors.secondary} + +label-layout = %layout% +label-layout-underline = ${colors.secondary} + +label-indicator-padding = 2 +label-indicator-margin = 1 +label-indicator-background = ${colors.secondary} +label-indicator-underline = ${colors.secondary} + +[module/filesystem] +type = internal/fs +interval = 25 + +mount-0 = / + +label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%% +label-unmounted = %mountpoint% not mounted +label-unmounted-foreground = ${colors.foreground-alt} + +[module/bspwm] +type = internal/bspwm + +label-focused = %index% +label-focused-background = ${colors.background-alt} +label-focused-underline= ${colors.primary} +label-focused-padding = 2 + +label-occupied = %index% +label-occupied-padding = 2 + +label-urgent = %index%! +label-urgent-background = ${colors.alert} +label-urgent-padding = 2 + +label-empty = %index% +label-empty-foreground = ${colors.foreground-alt} +label-empty-padding = 2 + +; Separator in between workspaces +; label-separator = | + +[module/i3] +type = internal/i3 +format = <label-state> <label-mode> +index-sort = true +wrapping-scroll = false + +; Only show workspaces on the same output as the bar +;pin-workspaces = true + +label-mode-padding = 2 +label-mode-foreground = #000 +label-mode-background = ${colors.primary} + +; focused = Active workspace on focused monitor +label-focused = %index% +label-focused-background = ${colors.background-alt} +label-focused-underline= ${colors.primary} +label-focused-padding = 2 + +; unfocused = Inactive workspace on any monitor +label-unfocused = %index% +label-unfocused-padding = 2 + +; visible = Active workspace on unfocused monitor +label-visible = %index% +label-visible-background = ${self.label-focused-background} +label-visible-underline = ${self.label-focused-underline} +label-visible-padding = ${self.label-focused-padding} + +; urgent = Workspace with urgency hint set +label-urgent = %index% +label-urgent-background = ${colors.alert} +label-urgent-padding = 2 + +; Separator in between workspaces +; label-separator = | + + +[module/mpd] +type = internal/mpd +format-online = <label-song> <icon-prev> <icon-stop> <toggle> <icon-next> + +icon-prev =  +icon-stop =  +icon-play =  +icon-pause =  +icon-next =  + +label-song-maxlen = 25 +label-song-ellipsis = true + +[module/xbacklight] +type = internal/xbacklight + +format = <label> <bar> +label = BL + +bar-width = 10 +bar-indicator = | +bar-indicator-foreground = #fff +bar-indicator-font = 2 +bar-fill = ─ +bar-fill-font = 2 +bar-fill-foreground = #9f78e1 +bar-empty = ─ +bar-empty-font = 2 +bar-empty-foreground = ${colors.foreground-alt} + +[module/backlight-acpi] +inherit = module/xbacklight +type = internal/backlight +card = intel_backlight + +[module/cpu] +type = internal/cpu +interval = 2 +format-prefix = " " +format-prefix-foreground = ${colors.foreground-alt} +format-underline = #f90000 +label = %percentage:2%% + +[module/memory] +type = internal/memory +interval = 2 +format-prefix = " " +format-prefix-foreground = ${colors.foreground-alt} +format-underline = #4bffdc +label = %percentage_used%% + +[module/wlan] +type = internal/network +interface = wlp5s0 +interval = 3.0 + +format-connected = <ramp-signal> <label-connected> +format-connected-underline = #9f78e1 +label-connected = %essid% + +format-disconnected = +;format-disconnected = <label-disconnected> +;format-disconnected-underline = ${self.format-connected-underline} +;label-disconnected = %ifname% disconnected +;label-disconnected-foreground = ${colors.foreground-alt} + +ramp-signal-0 =  +ramp-signal-1 =  +ramp-signal-2 =  +ramp-signal-3 =  +ramp-signal-4 =  +ramp-signal-foreground = ${colors.foreground-alt} + +[module/eth] +type = internal/network +interface = enp6s0 +interval = 3.0 + +format-connected-underline = #55aa55 +format-connected-prefix = " " +format-connected-prefix-foreground = ${colors.foreground-alt} +label-connected = %local_ip% + +format-disconnected = +;format-disconnected = <label-disconnected> +;format-disconnected-underline = ${self.format-connected-underline} +;label-disconnected = %ifname% disconnected +;label-disconnected-foreground = ${colors.foreground-alt} + +[module/date] +type = internal/date +interval = 5 + +date = +date-alt = " %Y-%m-%d" + +time = %H:%M +time-alt = %H:%M:%S + +format-prefix =  +format-prefix-foreground = ${colors.foreground-alt} +format-underline = #0a6cf5 + +label = %date% %time% + +[module/pulseaudio] +type = internal/pulseaudio + +format-volume = <label-volume> <bar-volume> +label-volume = VOL %percentage%% +label-volume-foreground = ${root.foreground} + +label-muted = 🔇 muted +label-muted-foreground = #666 + +bar-volume-width = 10 +bar-volume-foreground-0 = #55aa55 +bar-volume-foreground-1 = #55aa55 +bar-volume-foreground-2 = #55aa55 +bar-volume-foreground-3 = #55aa55 +bar-volume-foreground-4 = #55aa55 +bar-volume-foreground-5 = #f5a70a +bar-volume-foreground-6 = #ff5555 +bar-volume-gradient = false +bar-volume-indicator = | +bar-volume-indicator-font = 2 +bar-volume-fill = ─ +bar-volume-fill-font = 2 +bar-volume-empty = ─ +bar-volume-empty-font = 2 +bar-volume-empty-foreground = ${colors.foreground-alt} + +[module/alsa] +type = internal/alsa + +format-volume = <label-volume> <bar-volume> +label-volume = VOL +label-volume-foreground = ${root.foreground} + +format-muted-prefix = " " +format-muted-foreground = ${colors.foreground-alt} +label-muted = sound muted + +bar-volume-width = 10 +bar-volume-foreground-0 = #55aa55 +bar-volume-foreground-1 = #55aa55 +bar-volume-foreground-2 = #55aa55 +bar-volume-foreground-3 = #55aa55 +bar-volume-foreground-4 = #55aa55 +bar-volume-foreground-5 = #f5a70a +bar-volume-foreground-6 = #ff5555 +bar-volume-gradient = false +bar-volume-indicator = | +bar-volume-indicator-font = 2 +bar-volume-fill = ─ +bar-volume-fill-font = 2 +bar-volume-empty = ─ +bar-volume-empty-font = 2 +bar-volume-empty-foreground = ${colors.foreground-alt} + +[module/battery] +type = internal/battery +battery = BAT0 +adapter = ADP1 +full-at = 98 + +format-charging = <animation-charging> <label-charging> +format-charging-underline = #ffb52a + +format-discharging = <animation-discharging> <label-discharging> +format-discharging-underline = ${self.format-charging-underline} + +format-full-prefix = " " +format-full-prefix-foreground = ${colors.foreground-alt} +format-full-underline = ${self.format-charging-underline} + +ramp-capacity-0 =  +ramp-capacity-1 =  +ramp-capacity-2 =  +ramp-capacity-foreground = ${colors.foreground-alt} + +animation-charging-0 =  +animation-charging-1 =  +animation-charging-2 =  +animation-charging-foreground = ${colors.foreground-alt} +animation-charging-framerate = 750 + +animation-discharging-0 =  +animation-discharging-1 =  +animation-discharging-2 =  +animation-discharging-foreground = ${colors.foreground-alt} +animation-discharging-framerate = 750 + +[module/temperature] +type = internal/temperature +thermal-zone = 0 +warn-temperature = 60 + +format = <ramp> <label> +format-underline = #f50a4d +format-warn = <ramp> <label-warn> +format-warn-underline = ${self.format-underline} + +label = %temperature-c% +label-warn = %temperature-c% +label-warn-foreground = ${colors.secondary} + +ramp-0 =  +ramp-1 =  +ramp-2 =  +ramp-foreground = ${colors.foreground-alt} + +[module/powermenu] +type = custom/menu + +expand-right = true + +format-spacing = 1 + +label-open =  +label-open-foreground = ${colors.secondary} +label-close =  cancel +label-close-foreground = ${colors.secondary} +label-separator = | +label-separator-foreground = ${colors.foreground-alt} + +menu-0-0 = reboot +menu-0-0-exec = menu-open-1 +menu-0-1 = power off +menu-0-1-exec = menu-open-2 + +menu-1-0 = cancel +menu-1-0-exec = menu-open-0 +menu-1-1 = reboot +menu-1-1-exec = sudo reboot + +menu-2-0 = power off +menu-2-0-exec = sudo poweroff +menu-2-1 = cancel +menu-2-1-exec = menu-open-0 + +[settings] +screenchange-reload = true +;compositing-background = xor +;compositing-background = screen +;compositing-foreground = source +;compositing-border = over +;pseudo-transparency = false + +[global/wm] +margin-top = 5 +margin-bottom = 5 + +; vim:ft=dosini diff --git a/.econfig.org b/.econfig.org diff --git a/.emacs b/.emacs diff --git a/.zshrc b/.zshrc diff --git a/crontab b/crontab @@ -1 +0,0 @@ -/var/spool/cron/ryan- \ No newline at end of file diff --git a/scripts b/scripts @@ -1 +0,0 @@ -/home/ryan/src/scripts/- \ No newline at end of file