Minor changes

This commit is contained in:
Thomas Dehaeze 2019-03-26 12:10:43 +01:00
parent ac734f41d1
commit c9b1c5aa8c
3 changed files with 172 additions and 160 deletions

View File

@ -212,7 +212,7 @@ upload() {
tmpfile=$(mktemp -t transferXXX) tmpfile=$(mktemp -t transferXXX)
# basefile=$(basename "$1" | sed -e 's/[^a-zA-Z0-9]/-/g') # basefile=$(basename "$1" | sed -e 's/[^a-zA-Z0-9]/-/g')
curl --progress-bar --upload-file "$1" "https://transfer.sh/" >> $tmpfile; curl --progress-bar --upload-file "$1" "https://transfer.sh/" >> $tmpfile;
cat $tmpfile | xclip; cat $tmpfile | xclip -selection clipboard;
echo "Copied:" $(cat $tmpfile); echo "Copied:" $(cat $tmpfile);
rm -f $tmpfile; rm -f $tmpfile;
} }
@ -306,6 +306,10 @@ fi
#+END_SRC #+END_SRC
** Exports ** Exports
#+BEGIN_SRC conf
export TERM=xterm-256color
#+END_SRC
*** Better yaourt colors *** Better yaourt colors
#+BEGIN_SRC conf #+BEGIN_SRC conf
export YAOURT_COLORS="nb=1:pkg=1:ver=1;32:lver=1;45:installed=1;42:grp=1;34:od=1;41;5:votes=1;44:dsc=0:other=1;35" export YAOURT_COLORS="nb=1:pkg=1:ver=1;32:lver=1;45:installed=1;42:grp=1;34:od=1;41;5:votes=1;44:dsc=0:other=1;35"

View File

@ -202,12 +202,12 @@ bindsym $mod+BackSpace scratchpad show
* Custom Cratchpad for Quick Access * Custom Cratchpad for Quick Access
** Weechat ** Weechat
#+begin_src conf #+begin_src conf
for_window [instance="scratch-weechat"] scratchpad show; # for_window [instance="scratch-weechat"] scratchpad show;
exec termite --name="scratch-weechat" --exec="weechat" # exec termite --name="scratch-weechat" --exec="weechat"
for_window [instance="scratch-weechat"] floating enable; # for_window [instance="scratch-weechat"] floating enable;
for_window [instance="scratch-weechat"] move position 240 px 125 px; # for_window [instance="scratch-weechat"] move position 240 px 125 px;
for_window [instance="scratch-weechat"] resize set 1200 px 800 px; # for_window [instance="scratch-weechat"] resize set 1200 px 800 px;
for_window [instance="scratch-weechat"] move scratchpad; # for_window [instance="scratch-weechat"] move scratchpad;
#+end_src #+end_src
** Music with ncmpcpp ** Music with ncmpcpp
@ -490,16 +490,25 @@ exec --no-startup-id xrandr --output eDP1 --mode 1680x1050 --dpi 192
# Redshift # Redshift
exec --no-startup-id redshift exec --no-startup-id redshift
# Start mopidy
exec --no-startup-id mopidy
# Emacs Daemon # Emacs Daemon
exec --no-startup-id /usr/bin/emacs --fg-daemon exec --no-startup-id /usr/bin/emacs --fg-daemon
# Megasync
exec --no-startup-id megasync
# TODO - Start polybar # TODO - Start polybar
exec_always --no-startup-id $HOME/.config/polybar/bin/launch.sh exec_always --no-startup-id $HOME/.config/polybar/bin/launch.sh
#+end_src #+end_src
* Start Foreground Applications
#+begin_src conf
# Emacs
exec --no-startup-id i3-msg 'exec emacsclient -create-frame --alternate-editor=""'
# Megasync
exec --no-startup-id i3-msg 'exec megasync'
#+end_src
* Old autostart Applications * Old autostart Applications
#+begin_src conf #+begin_src conf
# Used to display shortcuts in the background # Used to display shortcuts in the background
@ -637,5 +646,4 @@ exec --no-startup-id xset r rate 200 40
exec --no-startup-id setxkbmap -layout us -variant intl -option caps:escape exec --no-startup-id setxkbmap -layout us -variant intl -option caps:escape
# Default numpad on # Default numpad on
# exec --no-startup-id numlockx & # exec --no-startup-id numlockx &
# =============================================================
#+END_SRC #+END_SRC

View File

@ -416,7 +416,7 @@ ramp-11 = 
thermal-zone = 0 thermal-zone = 0
warn-temperature = 70 warn-temperature = 70
;; Temperature off one cpu core ;; Temperature off one cpu core
hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp2_input hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
format = %{A1:termite -e "watch sensors" &:}<ramp> <label>%{A} format = %{A1:termite -e "watch sensors" &:}<ramp> <label>%{A}
format-underline = ${colors.background} format-underline = ${colors.background}