Add changes related to my work pc

This commit is contained in:
David Todd 2019-05-01 12:58:53 -05:00
parent 2a20494548
commit 70d14f9da8
5 changed files with 149 additions and 12 deletions

137
home/stalonetrayrc Normal file
View File

@ -0,0 +1,137 @@
# vim:filetype=config:tw=80:et
#
# This is sample ~/.stalonetrayrc, resembling default configuration.
# Remember: command line parameters take precedence.
#
# Directives introduced in 0.8 are marked with "NEW in 0.8"
#
####################################################################
#
# stalonetray understands following directives
#
####################################################################
# background <color> # color can be specified as an HTML hex triplet or
# as a name from rgb.txt, note that '#' must be quoted
background "#777777"
# decorations <decspec> # set trays window decorations; possible values for
# decspec are: all, title, border, none
decorations none
# display <display name> # as usual
# dockapp_mode <mode> # set dockapp mode, which can be either simple (for
# e.g. OpenBox, wmaker for WindowMaker, or none
# (default). NEW in 0.8.
dockapp_mode none
# fuzzy_edges [<level>] # enable fuzzy edges and set fuzziness level. level
# can be from 0 (disabled) to 3; this setting works
# with tinting and/or transparent and/or pixmap
# backgrounds
fuzzy_edges 0
# geometry <geometry> # tray's geometry in standard X notation; width and
# height are specified in slot_size multiples
geometry 1x1+0+0
# grow_gravity <gravity> # one of N, S, E, W, NW, NE, SW, SE; tray will grow
# in the direction opposite to one specified by
# grow_gravity; if horizontal or vertical
# direction is not specified, tray will not grow in
# that direction
grow_gravity NW
# icon_gravity <gravity> # icon placement gravity, one of NW, NE, SW, SE
icon_gravity NW
# icon_size <int> # specifies dimensions of typical icon slot
icon_size 24
# log_level <level> # controls the amount of logging output, level can
# be err (default), info, or trace (enabled only
# when stalonetray configured with --enable-debug)
# NEW in 0.8.
log_level err
# kludges kludge[,kludge] # enable specific kludges to work around
# non-conforming WMs and/or stalonetray bugs.
# NEW in 0.8. Argument is a
# comma-separated list of
# * fix_window_pos - fix tray window position on
# erroneous moves by WM
# * force_icons_size - ignore resize events on all
# icons; force their size to be equal to
# icon_size
# * use_icon_hints - use icon window hints to
# dtermine icon size
# max_geometry <geometry> # maximal tray dimensions; 0 in width/height means
# no limit
max_geometry 0x0
# no_shrink [<bool>] # disables shrink-back mode
no_shrink false
# parent_bg [<bool>] # whether to use pseudo-transparency
# (looks better when reparented into smth like FvwmButtons)
parent_bg true
# pixmap_bg <path_to_xpm> # use pixmap from specified xpm file for (tiled) background
# pixmap_bg /home/user/.stalonetraybg.xpm
# scrollbars <mode> # enable/disable scrollbars; mode is either
# vertical, horizontal, all or none (default)
# NEW in 0.8.
scrollbars none
# scrollbars-size <size> # scrollbars step in pixels; default is slot_size / 4
# scrollbars-step 8
# scrollbars-step <step> # scrollbars step in pixels; default is slot_size / 2
# scrollbars-step 32
# slot_size <int> # specifies size of icon slot, defaults to
# icon_size NEW in 0.8.
# skip_taskbar [<bool>] # hide tray`s window from the taskbar
skip_taskbar true
# sticky [<bool>] # make a tray`s window sticky across the
# desktops/pages
sticky true
# tint_color <color> # set tinting color
tint_color white
# tint_level <level> # set tinting level; level ranges from 0 (disabled)
# to 255
tint_level 0
# transparent [<bool>] # whether to use root-transparency (background
# image must be set with Esetroot or compatible utility)
transparent false
# vertical [<bool>] # whether to use vertical layout (horisontal layout
# is used by default)
vertical false
# window_layer <layer> # set the EWMH-compatible window layer; one of:
# bottom, normal, top
window_layer normal
# window_strut <mode> # enable/disable window struts for tray window (to
# avoid converting of tray window by maximized
# windows); mode defines to which screen border tray
# will be attached; it can be either top, bottom,
# left, right, none or auto (default)
window_strut auto
# window_type <type> # set the EWMH-compatible window type; one of:
# desktop, dock, normal, toolbar, utility
window_type normal
# xsync [<bool>] # whether to operate on X server synchronously (SLOOOOW)
xsync false

View File

@ -8,5 +8,6 @@ colorscheme torte
set list set list
set listchars=tab:\→\ ,trail set listchars=tab:\→\ ,trail
execute pathogen#infect() execute pathogen#infect()
filetype plugin indent on filetype plugin indent on

View File

@ -1,8 +1,8 @@
# TODO: Make this only run once, even if the user reloads i3-config (mod-shift-r) # TODO: Make this only run once, even if the user reloads i3-config (mod-shift-r)
# tray icons(DP-0 is the primary display device's name,use the command "xrandr" to see.) # tray icons(DP-0 is the primary display device's name,use the command "xrandr" to see.)
exec --no-startup-id xrandr --output DP-0 --primary exec --no-startup-id xrandr --output DP1 --primary
# Put Apple Cinima Display on the right of DP-0 # Put Apple Cinima Display on the right of DP-0
exec --no-startup-id xrandr --output DVI-I-1 --right-of DP-0 exec --no-startup-id xrandr --output DP2 --left-of DP1
# Use the Super key as $mod, because Alt is used in tmux # Use the Super key as $mod, because Alt is used in tmux
set $mod Mod4 set $mod Mod4
@ -58,7 +58,7 @@ bindsym $mod+Ctrl+m exec terminal -e 'alsamixer'
# Keybinds # Keybinds
bindsym $mod+Ctrl+b exec --no-startup-id xfce4-terminal -e 'bmenu' bindsym $mod+Ctrl+b exec --no-startup-id xfce4-terminal -e 'bmenu'
bindsym $mod+F2 exec --no-startup-id firefox bindsym $mod+F2 exec --no-startup-id google-chrome-stable
bindsym $mod+F3 exec --no-startup-id pcmanfm bindsym $mod+F3 exec --no-startup-id pcmanfm
bindsym $mod+Shift+h exec xdg-open /usr/share/doc/manjaro/i3_help.pdf bindsym $mod+Shift+h exec xdg-open /usr/share/doc/manjaro/i3_help.pdf
bindsym $mod+Ctrl+x --release exec --no-startup-id xkill bindsym $mod+Ctrl+x --release exec --no-startup-id xkill
@ -269,14 +269,14 @@ mode "resize" {
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec --no-startup-id nm-applet exec --no-startup-id nm-applet
exec --no-startup-id xfce4-power-manager exec --no-startup-id xfce4-power-manager
exec --no-startup-id pamac-tray exec --no-startup-id stalonetray
exec --no-startup-id clipit exec --no-startup-id clipit
exec_always --no-startup-id ff-theme-util exec_always --no-startup-id ff-theme-util
exec_always --no-startup-id fix_xcursor exec_always --no-startup-id fix_xcursor
exec --no-startup-id start_conky_mia exec --no-startup-id start_conky_mia
exec --no-startup-id i3-msg 'workspace $ws2; exec telegram-desktop' #exec --no-startup-id i3-msg 'workspace $ws2; exec telegram-desktop'
exec --no-startup-id i3-msg 'workspace $ws2; exec discord' #exec --no-startup-id i3-msg 'workspace $ws2; exec discord'
exec --no-startup-id xautolock -time 10 -locker blurlock
# Timeout to activate screensaver/lockscreen # Timeout to activate screensaver/lockscreen
exec --no-startup-id xautolock -time 30 -locker i3lock-fancy -p exec --no-startup-id xautolock -time 30 -locker i3lock-fancy -p

View File

@ -47,7 +47,7 @@ label=🌡
[memory] [memory]
interval=30 interval=30
label=🧠 label=
[bandwidth] [bandwidth]
interval=persist interval=persist
@ -71,10 +71,8 @@ interval=1
label=🗔 label=🗔
[clock] [clock]
label=📅 label=
interval=30 interval=30
[internet] [internet]
interval=15 interval=15

View File

@ -79,7 +79,8 @@ symlink $basedir/home/tmux.conf $HOME/.tmux.conf
symlink $basedir/home/vimrc $HOME/.vimrc symlink $basedir/home/vimrc $HOME/.vimrc
symlink $basedir/home/gitconfig $HOME/.gitconfig symlink $basedir/home/gitconfig $HOME/.gitconfig
symlink $basedir/home/Xresources $HOME/.Xresources symlink $basedir/home/Xresources $HOME/.Xresources
symlink $basedir/home/terminator $Home/.config/terminator symlink $basedir/home/terminator $HOME/.config/terminator
symlink $basedir/home/stalonetrayrc $HOME/.stalonetrayrc
echo "Installing VIM Pathogen..." echo "Installing VIM Pathogen..."
mkdir -p $HOME/.vim/autoload $HOME/.vim/bundle mkdir -p $HOME/.vim/autoload $HOME/.vim/bundle