Added Shortcut for dotfiles.sh and exec at startup, termite bit darker, cleanup i3lock.py, encountered ssh error so....

clean_emacs
TuDatTr 2017-12-21 07:49:37 +01:00
parent ddaf756c6f
commit 37a3fff3c9
4 changed files with 7 additions and 12 deletions

View File

@ -59,12 +59,13 @@ bindsym XF86MonBrightnessUp exec "xbacklight -inc 10; notify-send 'brightness up
bindsym XF86MonBrightnessDown exec "xbacklight -dec 10; notify-send 'brightness down'"
# Application Shortcuts
bindsym $mod+F1 exec --no-startup-id ~/.scripts/dotfiles.sh
bindsym $mod+F2 exec firefox
bindsym $mod+F3 exec pcmanfm
bindsym $mod+Shift+F3 exec gksu pcmanfm
bindsym $mod+F5 exec terminal -e 'mocp'
# bindsym $mod+t exec --no-startup-id pkill compton
bindsym $mod+Ctrl+t exec --no-startup-id compton -b
# bindsym $mod+Ctrl+t exec --no-startup-id compton -b
bindsym $mod+Shift+d --release exec "killall dunst; exec notify-send 'restart dunst'"
bindsym Print exec --no-startup-id i3-scrot
bindsym $mod+Print --release exec --no-startup-id i3-scrot -w
@ -279,6 +280,8 @@ exec --no-startup-id xautolock -time 10 -locker "python ~/.scripts/i3lock.py"
exec_always --no-startup-id ff-theme-util
exec_always --no-startup-id fix_xcursor
exec --no-startup-id nextcloud
exec --no-startup-id ~/.scripts/dotfiles.sh
# Color palette used for the terminal ( ~/.extend.Xresources file )
# Colors are gathered based on the documentation:

View File

@ -46,7 +46,7 @@ scrollback_lines = 10000
#foreground = #dcdccc
#foreground_bold = #ffffff
background = rgba(63, 63, 63, 0.7)
background = rgba(63, 63, 63, 0.75)
# 20% background transparency (requires a compositor)
#background = rgba(63, 63, 63, 0.8)

View File

@ -9,8 +9,7 @@ def screenshot():
def pixelate():
# backgroundColor = (0,)*3
pixelSize = 9
pixelSize = 12
image = Image.open('/tmp/i3lock.png')
image_x = image.size[0]
@ -24,13 +23,6 @@ def pixelate():
image = image.resize((image_x * pixelSize, image_y * pixelSize),
Image.NEAREST)
# image.load()
# for i in range(0,image.size[0],pixelSize):
# for j in range(0,image.size[1],pixelSize):
# for r in range(pixelSize):
# pixel[i+r,j] = backgroundColor
# pixel[i,j+r] = backgroundColor
image.save('/tmp/i3lock.png')

2
.zshrc
View File

@ -30,7 +30,7 @@ source $ZSH/oh-my-zsh.sh
# User configuration
POWERLEVEL9K_MODE='awesome-patched'
# export TERM="xterm-256color" in case you are using urxvt, to bypass an error during sshing
export TERM="xterm-256color" # in case you are using urxvt, to bypass an error during sshing
PATH=$PATH:~/.local/bin