mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-26 06:08:35 +01:00
touloulou didadou
This commit is contained in:
parent
600ab35d0a
commit
badf898ce4
@ -3,7 +3,7 @@ Description=Download new wallpaper
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
Type=forking
|
||||||
ExecStart=/home/user/scripts/bash/interfaceliftdownloader/interfacelift.sh -c /home/user/scripts/bash/interfaceliftdownloader/wallpaper.conf
|
ExecStart=/home/user/dev/git/interfaceliftdownloader/interfacelift.sh -c /home/user/dev/git/interfaceliftdownloader/wallpaper.conf
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
|
160
.i3/config
160
.i3/config
@ -1,52 +1,30 @@
|
|||||||
# This file has been auto-generated by i3-config-wizard(1).
|
|
||||||
# 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)
|
# i3 config file (v4)
|
||||||
#
|
#
|
||||||
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
|
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
|
||||||
|
|
||||||
|
# mod key
|
||||||
set $mod Mod4
|
set $mod Mod4
|
||||||
|
|
||||||
# Font for window titles. Will also be used by the bar unless a different font
|
# fonts
|
||||||
# is used in the bar {} block below.
|
|
||||||
font pango: hack, Icons 10
|
font pango: hack, Icons 10
|
||||||
|
|
||||||
# resolv i3 transparancy bug
|
# resolv i3 transparancy bug
|
||||||
new_window pixel
|
new_window pixel
|
||||||
|
|
||||||
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
# start a terminal
|
||||||
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
bindsym $mod+Return exec urxvtc
|
||||||
#font pango:DejaVu Sans Mono 8
|
|
||||||
|
|
||||||
# Before i3 v4.8, we used to recommend this one as the default:
|
# start dmenu
|
||||||
# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
|
bindsym $mod+d exec --no-startup-id j4-dmenu-desktop --dmenu="dmenu -fn 'hack-10' -h 20 -nb '#202020' -nf '#FFFFFF' -sf '#dc322f' -sb '#202020' -p '>' -b -w 400 -q -o 0.9"
|
||||||
# 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
|
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||||
floating_modifier $mod
|
floating_modifier $mod
|
||||||
|
|
||||||
# start a terminal
|
|
||||||
#bindsym $mod+Return exec i3-sensible-terminal
|
|
||||||
bindsym $mod+Return exec urxvtc
|
|
||||||
|
|
||||||
# kill focused window
|
# kill focused window
|
||||||
bindsym $mod+Shift+a kill
|
bindsym $mod+Shift+a 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 j4-dmenu-desktop --dmenu="dmenu -fn 'hack-10' -h 20 -nb '#202020' -nf '#FFFFFF' -sf '#dc322f' -sb '#202020' -p '>' -b -w 400 -q -o 0.9"
|
|
||||||
|
|
||||||
# change focus
|
# change focus
|
||||||
bindsym $mod+j focus left
|
bindsym $mod+j focus left
|
||||||
bindsym $mod+k focus down
|
bindsym $mod+k focus down
|
||||||
@ -97,86 +75,100 @@ bindsym $mod+q focus parent
|
|||||||
# focus the child container
|
# focus the child container
|
||||||
#bindsym $mod+d focus child
|
#bindsym $mod+d focus child
|
||||||
|
|
||||||
|
#scratchpad
|
||||||
|
bindsym $mod+twosuperior scratchpad show
|
||||||
|
bindsym $mod+Shift+twosuperior move scratchpad
|
||||||
|
|
||||||
|
#Swith with same key to precedent workspace
|
||||||
|
workspace_auto_back_and_forth yes
|
||||||
|
|
||||||
|
#############################################################################################################################
|
||||||
|
|
||||||
# set workspace names
|
# set workspace names
|
||||||
set $tag1 "1:"
|
set $tag1 "1:"
|
||||||
set $tag2 "2:"
|
set $tag2 "2:"
|
||||||
set $tag3 "3:"
|
set $tag3 "3:"
|
||||||
set $tag4 "4:"
|
set $tag4 "4:"
|
||||||
set $tag5 "5:"
|
set $tag5 "5:"
|
||||||
set $tag6 "6:"
|
set $tag6 "6:"
|
||||||
set $tag7 "7:"
|
set $tag7 "7:"
|
||||||
set $tag8 "8:"
|
set $tag8 "8:"
|
||||||
set $tag9 "9:"
|
set $tag9 "9:"
|
||||||
set $tag10 "10:"
|
set $tag10 "10:"
|
||||||
|
|
||||||
# exec startup apps
|
# exec startup apps
|
||||||
exec --no-startup-id i3-msg 'workspace $tag1; exec firefox'
|
exec --no-startup-id i3-msg 'workspace $tag1; exec firefox'
|
||||||
exec --no-startup-id i3-msg 'workspace $tag2; exec urxvtc -e ~/scripts/bash/sshaddmotd/motdprint.sh && urxvtc; workspace $tag1'
|
exec --no-startup-id i3-msg 'workspace $tag2; exec urxvtc -e ~/dev/bash/sshaddmotd/motdprint.sh && urxvtc; workspace $tag1'
|
||||||
exec --no-startup-id i3-msg 'workspace $tag3; exec thunderbird; workspace $tag1'
|
exec --no-startup-id i3-msg 'workspace $tag3; exec thunderbird; workspace $tag1'
|
||||||
exec --no-startup-id i3-msg 'workspace $tag4; exec urxvtc -e screen -rd weechat; workspace $tag2'
|
exec --no-startup-id i3-msg 'workspace $tag4; exec urxvtc -e screen -rd weechat; workspace $tag1'
|
||||||
|
exec --no-startup-id i3-msg 'workspace $tag5; exec google-chrome-stable --app=http://127.0.0.1/ompd; workspace $tag2'
|
||||||
|
|
||||||
|
#colors
|
||||||
|
# class border backgr. text indicator child_border
|
||||||
|
client.focused #FFFFFF #A4A4A4 #000000 #ffffff #333333
|
||||||
|
client.focused_inactive #333333 #5f676a #ffffff #484e50 #000000
|
||||||
|
client.unfocused #333333 #222222 #888888 #292d2e #222222
|
||||||
|
client.urgent #2f343a #900000 #ffffff #900000 #900000
|
||||||
|
client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
|
||||||
|
|
||||||
|
#############################################################################################################################
|
||||||
|
|
||||||
###################################################################################
|
|
||||||
#zmenu
|
#zmenu
|
||||||
bindsym $mod+Shift+q exec ~/.i3/zmenu.sh
|
bindsym $mod+Shift+q exec ~/.i3/zmenu.sh
|
||||||
|
|
||||||
#wappslocalmenu
|
#wappslocalmenu
|
||||||
bindsym $mod+Control+Left exec ~/.i3/wappslocalmenu.sh
|
bindsym $mod+x exec ~/.i3/wappslocalmenu.sh
|
||||||
|
|
||||||
#wappslocalmenu
|
#wappsmenu
|
||||||
bindsym $mod+Control+Right exec ~/.i3/wappsmenu.sh
|
bindsym $mod+w exec ~/dev/git/dmenu2-web/launcher.sh
|
||||||
|
|
||||||
#screenbug
|
|
||||||
bindsym $mod+Control+x exec ~/screenbug.sh
|
|
||||||
|
|
||||||
# lock screen
|
|
||||||
#bindsym $mod+Control+Delete exec "~/.i3/i3lock-fancy-multimonitor/lock"
|
|
||||||
|
|
||||||
# apps
|
# apps
|
||||||
bindsym $mod+Control+t exec thunar
|
bindsym $mod+Control+t exec thunar
|
||||||
bindsym $mod+Control+w exec wicd-client -n
|
bindsym $mod+Control+w exec wicd-client -n
|
||||||
|
|
||||||
# class confs
|
# by class
|
||||||
|
## floatings
|
||||||
for_window [class="Cssh"] floating enable, border normal
|
for_window [class="Cssh"] floating enable, border normal
|
||||||
for_window [class="XTerm"] floating enable, border normal
|
for_window [class="XTerm"] floating enable, border normal
|
||||||
for_window [class="feh"] floating enable, border normal
|
for_window [class="feh"] floating enable, border normal
|
||||||
#for_window [class="Hedgewars"] move to workspace $tag5, layout tabbed
|
## workspace 5
|
||||||
#for_window [class="Pavucontrol"] move scratchpad
|
for_window [class="127.0.0.1__ompd"] move to workspace $tag5, layout tabbed
|
||||||
#for_window [class="Cadence"] move scratchpad
|
for_window [class="Spotify"] move to workspace $tag5
|
||||||
for_window [class="Wine"] move to workspace $tag6
|
## workspace 6
|
||||||
for_window [class="Virt-manager"] move to workspace $tag7, layout tabbed
|
for_window [class="localhost__transmission_web"] move to workspace $tag6, layout tabbed
|
||||||
for_window [class="Bitwig Studio"] move to workspace $tag10
|
for_window [class="nicotine.py"] move to workspace $tag6, layout tabbed
|
||||||
#for_window [class="Conky"] floating enable, border none
|
## workspace 7
|
||||||
#for_window [class="Conky"] move scratchpad, scratchpad show
|
for_window [class="www.netflix.com"] move to workspace $tag7, layout tabbed
|
||||||
|
## workspace 8
|
||||||
|
for_window [class="Hedgewars"] move to workspace $tag8, layout tabbed
|
||||||
|
## workspace 10
|
||||||
|
for_window [class="Pavucontrol"] move to workspace $tag10
|
||||||
|
for_window [class="Cadence"] move to workspace $tag10
|
||||||
|
for_window [class="wicd-client.py"] move to workspace $tag10
|
||||||
|
|
||||||
#mpd controls
|
#mpd controls
|
||||||
bindsym $mod+Control+Down exec ~/.i3/mpcmenu.sh
|
bindsym $mod+Control+Left exec mpc prev
|
||||||
bindsym $mod+Control+Up exec ~/scripts/bash/lyricsdownloader/graphicalrapgenius.sh
|
bindsym $mod+Control+Down exec mpc toggle
|
||||||
#bindsym $mod+Control+Prior exec "cd ~/scripts/bash/interfaceliftdownloader/ ; ./interfacelift.sh -c ./wallpaper.conf ; ./interfacelift.sh -c ./wallpaper_DP1-1.conf ; ./interfacelift.sh -c ./wallpaper_HDMI1.conf ; ./interfacelift.sh -c ./wallpaper_HDMI2.conf"
|
bindsym $mod+Control+Right exec mpc next
|
||||||
bindsym $mod+Control+Prior exec "cd ~/scripts/bash/interfaceliftdownloader/ ; ./interfacelift.sh -c ./wallpaper.conf"
|
bindsym $mod+Control+Up exec ~/dev/git/lyricsdownloader/graphicalrapgenius.sh
|
||||||
bindsym $mod+Control+Next exec ~/scripts/bash/interfaceliftdownloader/interfacelift.sh -sc ~/scripts/bash/interfaceliftdownloader/wallpaper.conf
|
bindsym $mod+Control+Prior exec "cd ~/dev/git/interfaceliftdownloader/ ; ./interfacelift.sh -c ./wallpaper.conf"
|
||||||
|
bindsym $mod+Control+Next exec ~/dev/git/interfaceliftdownloader/interfacelift.sh -sc ~/dev/git/interfaceliftdownloader/wallpaper.conf
|
||||||
|
|
||||||
#toggle workspace's display screen
|
#toggle workspace's display screen
|
||||||
bindsym $mod+less move workspace to output left
|
bindsym $mod+less move workspace to output left
|
||||||
bindsym $mod+Shift+less move workspace to output right
|
bindsym $mod+Shift+less move workspace to output right
|
||||||
|
|
||||||
#assign workspace to screens
|
#assign workspace to screens
|
||||||
workspace $tag1 output DP1-1
|
workspace $tag1 output DP-1-1
|
||||||
workspace $tag2 output eDP1
|
workspace $tag2 output eDP-1
|
||||||
workspace $tag3 output eDP1
|
workspace $tag3 output eDP-1
|
||||||
workspace $tag4 output eDP1
|
workspace $tag4 output eDP-1
|
||||||
workspace $tag5 output eDP1
|
workspace $tag5 output eDP-1
|
||||||
workspace $tag6 output DP1-1
|
#workspace $tag6 output DP-1-1
|
||||||
workspace $tag7 output DP1-1
|
#workspace $tag7 output DP-1-1
|
||||||
workspace $tag8 output DP1-1
|
#workspace $tag8 output DP-1-1
|
||||||
workspace $tag9 output eDP1
|
#workspace $tag9 output eDP-1
|
||||||
workspace $tag10 output DP1-2
|
#workspace $tag10 output DP-1-2
|
||||||
|
|
||||||
#scratchpad
|
|
||||||
bindsym $mod+twosuperior scratchpad show
|
|
||||||
bindsym $mod+Shift+twosuperior move scratchpad
|
|
||||||
|
|
||||||
#Swith with same key to precedent workspace
|
|
||||||
#workspace_auto_back_and_forth yes
|
|
||||||
|
|
||||||
###################################################################################
|
###################################################################################
|
||||||
|
|
||||||
@ -213,18 +205,11 @@ bindsym $mod+Shift+r restart
|
|||||||
|
|
||||||
# resize window (you can also use the mouse for that)
|
# resize window (you can also use the mouse for that)
|
||||||
mode "resize" {
|
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.
|
|
||||||
bindsym j resize shrink width 10 px or 10 ppt
|
bindsym j resize shrink width 10 px or 10 ppt
|
||||||
bindsym k resize grow height 10 px or 10 ppt
|
bindsym k resize grow height 10 px or 10 ppt
|
||||||
bindsym l resize shrink height 10 px or 10 ppt
|
bindsym l resize shrink height 10 px or 10 ppt
|
||||||
bindsym m resize grow width 10 px or 10 ppt
|
bindsym m resize grow width 10 px or 10 ppt
|
||||||
|
|
||||||
# same bindings, but for the arrow keys
|
|
||||||
bindsym Left resize shrink width 10 px or 10 ppt
|
bindsym Left resize shrink width 10 px or 10 ppt
|
||||||
bindsym Down resize grow height 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 Up resize shrink height 10 px or 10 ppt
|
||||||
@ -237,8 +222,7 @@ mode "resize" {
|
|||||||
|
|
||||||
bindsym $mod+r mode "resize"
|
bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
# i3bars
|
||||||
# finds out, if available)
|
|
||||||
bar {
|
bar {
|
||||||
position top
|
position top
|
||||||
strip_workspace_numbers yes
|
strip_workspace_numbers yes
|
||||||
|
@ -57,12 +57,12 @@ ${if_match "${execi 120 ping -q -w 2 -c 1 176.34.135.167 > /dev/null && echo ok}
|
|||||||
{"full_text":" ","color":"\#2aa198","separator":false,"separator_block_width":15},\
|
{"full_text":" ","color":"\#2aa198","separator":false,"separator_block_width":15},\
|
||||||
$endif
|
$endif
|
||||||
|
|
||||||
#WEATHER
|
#PIP
|
||||||
# {"full_text":"${execi 1800 ~/.i3/weather.sh | cut -d' ' -f1} ","color":"\#c5c5c5","separator":false,"separator_block_width":0},\
|
${if_match "${execi 1900 pip list --outdated --timeout 1 --retries 1 | wc -l}"!="0"}\
|
||||||
# {"full_text":" ${execi 1800 ~/.i3/weather.sh | cut -d' ' -f2}","color":"\#4285F4","separator":false,"separator_block_width":0},\
|
{"full_text":" ${execi 1900 pip list --outdated --timeout 1 --retries 1| wc -l}","color":"\#E7AD00","separator":false,"separator_block_width":0},\
|
||||||
# {"full_text":" ${execi 1800 ~/.i3/weather.sh | cut -d' ' -f3}","color":"\#c5c5c5","separator":false,"separator_block_width":0},\
|
#SEPARATOR
|
||||||
# {"full_text":" ","color":"\#2aa198","separator":false,"separator_block_width":20},\
|
{"full_text":" ","color":"\#2aa198","separator":false,"separator_block_width":15},\
|
||||||
|
$endif
|
||||||
$endif
|
$endif
|
||||||
|
|
||||||
#VOLUME
|
#VOLUME
|
||||||
@ -85,7 +85,7 @@ $endif
|
|||||||
{"full_text":" ","color":"\#2aa198","separator":false,"separator_block_width":15},\
|
{"full_text":" ","color":"\#2aa198","separator":false,"separator_block_width":15},\
|
||||||
|
|
||||||
#BACKLIGHT
|
#BACKLIGHT
|
||||||
{"full_text":" ${exec xbacklight -get | cut -d"." -f1}","color":"\#c5c5c5","separator":false,"separator_block_width":6},\
|
{"full_text":" ${exec light -G | cut -d"." -f1}","color":"\#c5c5c5","separator":false,"separator_block_width":6},\
|
||||||
|
|
||||||
#SEPARATOR
|
#SEPARATOR
|
||||||
{"full_text":" ","color":"\#2aa198","separator":false,"separator_block_width":15},\
|
{"full_text":" ","color":"\#2aa198","separator":false,"separator_block_width":15},\
|
||||||
@ -116,7 +116,7 @@ $endif
|
|||||||
|
|
||||||
#VPN CONNECTED
|
#VPN CONNECTED
|
||||||
${if_match "${exec ip address show | grep tun}" != "" }\
|
${if_match "${exec ip address show | grep tun}" != "" }\
|
||||||
{"full_text":" VPN","color":"\#F15D25","separator":false,"separator_block_width":6},\
|
{"full_text":" VPN","color":"\#F15D25","separator":false,"separator_block_width":6},\
|
||||||
$endif
|
$endif
|
||||||
|
|
||||||
#TOR CONNECTED
|
#TOR CONNECTED
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
action=$(echo -e "toggle\nprev\nnext" | dmenu -fn 'hack-10' -h 20 -nb '#202020' -nf '#FFFFFF' -sf '#dc322f' -sb '#202020' -p "mpc >" -w 150 -o 0.9 -y 21 -l 3)
|
|
||||||
if [[ "$action" == "toggle" ]]
|
|
||||||
then
|
|
||||||
mpc toggle
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ "$action" == "prev" ]]
|
|
||||||
then
|
|
||||||
mpc prev
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ "$action" == "next" ]]
|
|
||||||
then
|
|
||||||
mpc next
|
|
||||||
fi
|
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
action=$(echo -e "ompd\ntransmission" | dmenu -fn 'hack-10' -h 20 -nb '#202020' -nf '#FFFFFF' -sf '#dc322f' -sb '#202020' -p "wapps >" -w 190 -o 0.9 -y 21 -l 2)
|
action=$(echo -e "ompd\nspotify\ntransmission\nnicotine\nstreamstudio\nnetflix\nmps-youtube" | dmenu -fn 'hack-10' -h 20 -nb '#202020' -nf '#FFFFFF' -sf '#dc322f' -sb '#202020' -p "wapps >" -w 190 -o 0.9 -y 21 -l 7)
|
||||||
|
|
||||||
if [[ "$action" == "ompd" ]]
|
if [[ "$action" == "ompd" ]]
|
||||||
then
|
then
|
||||||
@ -11,3 +11,27 @@ then
|
|||||||
/usr/bin/google-chrome-stable --app="http://localhost:9091/transmission/web/"
|
/usr/bin/google-chrome-stable --app="http://localhost:9091/transmission/web/"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "$action" == "streamstudio" ]]
|
||||||
|
then
|
||||||
|
streamstudio
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "$action" == "netflix" ]]
|
||||||
|
then
|
||||||
|
/usr/bin/google-chrome-stable --app="https://www.netflix.com"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "$action" == "mps-youtube" ]]
|
||||||
|
then
|
||||||
|
urxvtc -e mpsyt
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "$action" == "nicotine" ]]
|
||||||
|
then
|
||||||
|
nicotine.py
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "$action" == "spotify" ]]
|
||||||
|
then
|
||||||
|
blockify
|
||||||
|
fi
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
urll=$(echo -e | dmenu -fn 'hack-10' -h 20 -nb '#202020' -nf '#FFFFFF' -sf '#dc322f' -sb '#202020' -p "gsearch >" -w 500 -o 0.9 -y 21 -q)
|
|
||||||
|
|
||||||
lucky(){ url=$(echo "http://www.google.com/search?hl=en&q=$@&btnI=I%27m+Feeling+Lucky&aq=f&oq=" | sed 's/ /+/g'); google-chrome-stable --app=$url; };
|
|
||||||
|
|
||||||
if [[ $urll != "" ]]
|
|
||||||
then
|
|
||||||
lucky $urll
|
|
||||||
fi
|
|
2
.vimrc
2
.vimrc
@ -8,6 +8,8 @@ syntax on
|
|||||||
set background=dark
|
set background=dark
|
||||||
colorscheme solarized
|
colorscheme solarized
|
||||||
hi Normal ctermbg=none
|
hi Normal ctermbg=none
|
||||||
|
let g:solarized_termtrans=1
|
||||||
|
" highlight NonText ctermbg=none
|
||||||
" no tab when pasting
|
" no tab when pasting
|
||||||
" set paste
|
" set paste
|
||||||
" mouse selection to not have line numbers
|
" mouse selection to not have line numbers
|
||||||
|
@ -49,11 +49,11 @@
|
|||||||
m:0x0 + c:123
|
m:0x0 + c:123
|
||||||
XF86AudioRaiseVolume
|
XF86AudioRaiseVolume
|
||||||
|
|
||||||
"xbacklight -dec 5"
|
"light -U 5"
|
||||||
m:0x0 + c:232
|
m:0x0 + c:232
|
||||||
XF86MonBrightnessDown
|
XF86MonBrightnessDown
|
||||||
|
|
||||||
"xbacklight -inc 5"
|
"light -A 5"
|
||||||
m:0x0 + c:233
|
m:0x0 + c:233
|
||||||
XF86MonBrightnessUp
|
XF86MonBrightnessUp
|
||||||
|
|
||||||
|
4
.xinitrc
4
.xinitrc
@ -34,5 +34,5 @@ fi
|
|||||||
# source .xprofile
|
# source .xprofile
|
||||||
[ -f ~/.xprofile ] && source ~/.xprofile
|
[ -f ~/.xprofile ] && source ~/.xprofile
|
||||||
|
|
||||||
exec i3
|
#exec i3
|
||||||
#exec i3 -V >> ~/i3log-$(date +'%F-%k-%M-%S') 2>&1
|
exec i3 -V >> ~/i3log-$(date +'%F-%k-%M-%S') 2>&1
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
urxvtd -q -o -f &
|
urxvtd -q -o -f &
|
||||||
|
|
||||||
#compton launch
|
#compton launch
|
||||||
compton -GCb --config $HOME/.i3/compton.conf &
|
#compton -GCb --config $HOME/.i3/compton.conf &
|
||||||
|
compton --backend glx --vsync opengl-swc -GCb --config $HOME/.i3/compton.conf &
|
||||||
|
|
||||||
#set background
|
#set background
|
||||||
feh --bg-scale ~/img/wallpaper/current_wp.jpg &
|
feh --bg-scale ~/img/wallpaper/current_wp.jpg &
|
||||||
|
8
.zshrc
8
.zshrc
@ -13,8 +13,10 @@ alias zshconfig="vi ~/.zshrc_node"
|
|||||||
alias zshconfig_global="vi ~/.zshrc"
|
alias zshconfig_global="vi ~/.zshrc"
|
||||||
alias vimconfig="vi ~/.vimrc"
|
alias vimconfig="vi ~/.vimrc"
|
||||||
alias sshconfig="vi ~/.ssh/config"
|
alias sshconfig="vi ~/.ssh/config"
|
||||||
alias lh="du -hsc * | sort -hr"
|
alias lh="du -hs * | sort -h"
|
||||||
alias lha="du -hsc .* | sort -hr"
|
alias lha="du -hs .* | sort -h"
|
||||||
|
alias lhs="(lh;lha) | sort -h"
|
||||||
|
#lhs() { for list in $(ls -a | sed 's/\ /\\ /g'); do du -hs $list; done | sort -hr }
|
||||||
alias sprunge="curl -F 'sprunge=<-' http://sprunge.us"
|
alias sprunge="curl -F 'sprunge=<-' http://sprunge.us"
|
||||||
alias ix="curl -s -F 'f:1=<-' ix.io"
|
alias ix="curl -s -F 'f:1=<-' ix.io"
|
||||||
alias upics="curl -F c=@- https://ptpb.pw <"
|
alias upics="curl -F c=@- https://ptpb.pw <"
|
||||||
@ -22,6 +24,7 @@ alias vi="vim"
|
|||||||
alias sudo="sudo "
|
alias sudo="sudo "
|
||||||
alias installed="pacman -Qqen"
|
alias installed="pacman -Qqen"
|
||||||
alias tmux="tmux -2"
|
alias tmux="tmux -2"
|
||||||
|
chromeapp() { google-chrome-stable --app=$1 }
|
||||||
|
|
||||||
#exports
|
#exports
|
||||||
export EDITOR='vim'
|
export EDITOR='vim'
|
||||||
@ -43,6 +46,7 @@ export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
|
|||||||
source ~/.zshrc_node
|
source ~/.zshrc_node
|
||||||
|
|
||||||
#zshconf
|
#zshconf
|
||||||
|
autoload -U zmv
|
||||||
plugins=(git python)
|
plugins=(git python)
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||||
|
Loading…
Reference in New Issue
Block a user