remove some awesome scripts

auto-flake-update
Yorick van Pelt 2016-08-26 17:12:14 +02:00
parent 7c2bf2ac79
commit b95308258f
7 changed files with 11 additions and 153 deletions

View File

@ -1,4 +0,0 @@
#!/usr/bin/env bash
dmenu_args="-fn SourceCodePro:pixelsize=17 -nb "#002b36" -nf "#839496" -sb "#073642" -sf "#93a1a1" $@"
xclip -o | dmenu $dmenu_args -p Calculate: | xargs echo | bc | dmenu $dmenu_args -p "Answer:" | xclip -i

View File

@ -1,4 +0,0 @@
#!/bin/sh
(
yeganesh -x -- -fn "SourceCodePro:pixelsize=17" -p "run: " -i -f -nb "#002b36" -nf "#839496" -sb "#073642" -sf "#93a1a1" $@
) | ${SHELL:-"/bin/sh"} &

View File

@ -4,13 +4,15 @@
# and loads the nvidia config for vsync options and sets the dithering depth to 8 # and loads the nvidia config for vsync options and sets the dithering depth to 8
if [ `cat /sys/devices/platform/hp-wmi/dock` -eq 1 ] # && [[ `cat /proc/acpi/button/lid/LID/state` == *closed* ]] if [ `cat /sys/devices/platform/hp-wmi/dock` -eq 1 ] # && [[ `cat /proc/acpi/button/lid/LID/state` == *closed* ]]
then then
echo "Using docked configuration with 27\" IPS screen and VGA-screen" echo "Using docked configuration with 27\" IPS screen"
xrandr --output DP-3 --primary --preferred --output LVDS-0 --left-of DP-3 --dpi 109/DP-3 #xrandr --output DP-3 --primary --preferred --output LVDS-0 --left-of DP-6 --off --dpi 109/DP-3
xrandr --output DP-3 --primary --preferred --output LVDS-0 --off --dpi 109/DP-3
nvidia-settings -a "0/XVideoSyncToDisplayID=DP-3" nvidia-settings -a "0/XVideoSyncToDisplayID=DP-3"
echo "Xft.dpi: 109" | xrdb -merge echo "Xft.dpi: 109" | xrdb -merge
else else
echo "Using laptop-only configuration" echo "Using laptop-only configuration"
xrandr --output LVDS-0 --mode 1920x1080 --primary --rotate normal --pos 0x0 --output VGA-0 --off --output DP-3 --off --dpi 146/LVDS-0 xrandr --size 1920x1080 --output LVDS-0 --mode 1920x1080 --primary --preferred --rotate normal --pos 0x0 --output VGA-0 --off --output DP-3 --off --output DP-6 --off --dpi 146/LVDS-0
nvidia-settings -l -a "0/XVideoSyncToDisplayID=LVDS-0" nvidia-settings -l -a "0/XVideoSyncToDisplayID=LVDS-0"
echo "Xft.dpi: 146" | xrdb -merge echo "Xft.dpi: 146" | xrdb -merge
fi fi
feh --bg-fill ~/wp_roll/1633_layinginthegrass_1920x1080.jpg

View File

@ -1,38 +0,0 @@
#!/bin/sh
#xset dpms 0 0 10
#( sleep 1s; xset dpms force off) &
#( slock && xset dpms 0 0 600 )
# sleep 0.1s
# i3lock -d
scrot /tmp/screen.png
convert /tmp/screen.png -scale 10% -scale 1000% /tmp/screen.png
# if [[ -f $HOME/.config/screen-lock.png ]]
# then
# # placement x/y
# PX=0
# PY=0
# # lockscreen image info
# R=$(file ~/.config/screen-lock.png | grep -o '[0-9]* x [0-9]*')
# RX=$(echo $R | cut -d' ' -f 1)
# RY=$(echo $R | cut -d' ' -f 3)
# SR=$(xrandr --query | grep ' connected' | cut -f3 -d' ')
# for RES in $SR
# do
# # monitor position/offset
# SRX=$(echo $RES | cut -d'x' -f 1) # x pos
# SRY=$(echo $RES | cut -d'x' -f 2 | cut -d'+' -f 1) # y pos
# SROX=$(echo $RES | cut -d'x' -f 2 | cut -d'+' -f 2) # x offset
# SROY=$(echo $RES | cut -d'x' -f 2 | cut -d'+' -f 3) # y offset
# PX=$(($SROX + $SRX/2 - $RX/2))
# PY=$(($SROY + $SRY/2 - $RY/2))
# # convert /tmp/screen.png $HOME/.config/screen-lock.png -geometry +$PX+$PY -composite -matte /tmp/screen.png
# echo "done"
# done
# fi
# dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Stop
# i3lock -I 10 -d -e -u -n -i /tmp/screen.png
i3lock -d -i /tmp/screen.png

View File

@ -6,3 +6,9 @@
<Multi_key> <l> <a> : "λ" # SMALL GREEK LETTER LAMBDA <Multi_key> <l> <a> : "λ" # SMALL GREEK LETTER LAMBDA
<Multi_key> <d> <e> : "Δ" # CAPITAL GREEK LETTER DELTA <Multi_key> <d> <e> : "Δ" # CAPITAL GREEK LETTER DELTA
<Multi_key> <question> <exclam> : "‽" U203D # INTERROBANG
<Multi_key> <exclam> <question> : "‽" U203D # INTERROBANG
<Multi_key> <colon> <3> : "🐱" U1F431 # CAT
<Multi_key> <p> <o> <o> : "💩" U1F4A9

View File

@ -1,91 +0,0 @@
! Common
#define S_yellow #b58900
#define S_orange #cb4b16
#define S_red #dc322f
#define S_magenta #d33682
#define S_violet #6c71c4
#define S_blue #268bd2
#define S_cyan #2aa198
#define S_green #859900
! Dark
#define S_base03 #002b36
#define S_base02 #073642
#define S_base01 #586e75
#define S_base00 #657b83
#define S_base0 #839496
#define S_base1 #93a1a1
#define S_base2 #eee8d5
#define S_base3 #fdf6e3
! Light
! #define S_base03 #fdf6e3
! #define S_base02 #eee8d5
! #define S_base01 #93a1a1
! #define S_base00 #839496
! #define S_base0 #657b83
! #define S_base1 #586e75
! #define S_base2 #073642
! #define S_base3 #002b36
! To only apply colors to your terminal, for example, prefix
! the color assignment statement with its name. Example:
!
! URxvt*background: S_base03
*background: S_base3
URxvt*background: [85]#002b36
! S_base03
*foreground: S_base0
*fading: 10
*fadeColor: [70]#002b36
*cursorColor: S_base1
*pointerColorBackground: S_base01
*pointerColorForeground: S_base1
*color0: S_base02
*color1: S_red
*color2: S_green
*color3: S_yellow
*color4: S_blue
*color5: S_magenta
*color6: S_cyan
*color7: S_base2
*color8: S_base01
*color9: S_orange
*color10: S_base01
*color11: S_base00
*color12: S_base0
*color13: S_violet
*color14: S_base1
*color15: S_base3
! scrollbar style - xvt (default), plain (most compact), next, or xterm
URxvt.scrollstyle: plain
URxvt.scrollBar_right: true
URxvt.perl-ext-common: default,matcher
URxvt.urlLauncher: /usr/bin/firefox
URxvt.matcher.button: 1
URxvt.urgentOnBell: True
URxvt.depth: 32
! URxvt.background: [95]#202020
URxvt.font: xft:SourceCodePro:pixelsize=12:antialias=true:hinting=true
! URxvt.boldFont: xft:SourceCodePro:bold:pixelsize=12:antialias=true:hinting=true
URxvt.geometry: 100x30
URxvt.scrollColor: S_base0
dzen2.background: #002b36
! xclock settings
xclock*analog: false
xclock*brief: true

View File

@ -1,13 +0,0 @@
#!/bin/sh
# compose led - not working
# export _XKB_OPTIONS_ENABLE=1
# export _XKB_COMP_LED=1
feh --bg-fill ~/dotfiles/awesome/wallpaper.jpg
#source /etc/profile.d/infinality-settings.sh
~/dotfiles/bin/docked.sh
#syndaemon -t -k -i 1 -d &
# compositing, start after awesome
#(sleep 2s; compton --config ~/dotfiles/misc/compton.conf -b) &
exec awesome -c ~/dotfiles/awesome/rc.lua