mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-22 15:01:59 +01:00
added zmenu.sh
This commit is contained in:
parent
659da74eb7
commit
d67ad81bc6
11
.i3/config
11
.i3/config
@ -45,7 +45,7 @@ bindsym $mod+Shift+a kill
|
||||
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
|
||||
# installed.
|
||||
|
||||
bindsym $mod+d exec --no-startup-id dmenu_run -fn 'hack-10' -h 20 -nb '#202020' -nf '#FFFFFF' -sf '#FFFFFF' -sb '#202020' -p '>' -b -w 400 -q -o 0.9
|
||||
bindsym $mod+d exec --no-startup-id dmenu_run -fn 'hack-10' -h 20 -nb '#202020' -nf '#FFFFFF' -sf '#dc322f' -sb '#202020' -p '>' -b -w 400 -q -o 0.9
|
||||
|
||||
# change focus
|
||||
bindsym $mod+j focus left
|
||||
@ -116,9 +116,14 @@ 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'
|
||||
|
||||
###################################################################################
|
||||
#zmenu
|
||||
bindsym $mod+Shift+q exec ~/.i3/zmenu.sh
|
||||
|
||||
#screenbug
|
||||
bindsym $mod+Control+x exec ~/screenbug.sh
|
||||
|
||||
# lock screen
|
||||
bindsym $mod+Control+Delete exec "~/.i3/i3lock-fancy-multimonitor/lock"
|
||||
#bindsym $mod+Control+Delete exec "~/.i3/i3lock-fancy-multimonitor/lock"
|
||||
|
||||
# apps
|
||||
bindsym $mod+Control+t exec thunar
|
||||
@ -200,7 +205,7 @@ bindsym $mod+Shift+c reload
|
||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||
bindsym $mod+Shift+r restart
|
||||
# exit i3 (logs you out of your X session)
|
||||
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
|
||||
#bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
|
||||
|
||||
# resize window (you can also use the mouse for that)
|
||||
mode "resize" {
|
||||
|
21
.i3/zmenu.sh
Executable file
21
.i3/zmenu.sh
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
action=$(echo -e "lock\nlogout\nshutdown\nreboot" | dmenu -fn 'hack-10' -h 20 -nb '#202020' -nf '#FFFFFF' -sf '#dc322f' -sb '#202020' -p '>' -w 100 -o 0.9 -y 21 -l 4)
|
||||
if [[ "$action" == "lock" ]]
|
||||
then
|
||||
~/.i3/i3lock-fancy-multimonitor/lock
|
||||
fi
|
||||
|
||||
if [[ "$action" == "exit" ]]
|
||||
then
|
||||
i3-msg exit
|
||||
fi
|
||||
|
||||
if [[ "$action" == "shutdown" ]]
|
||||
then
|
||||
shutdown now
|
||||
fi
|
||||
|
||||
if [[ "$action" == "reboot" ]]
|
||||
then
|
||||
reboot
|
||||
fi
|
@ -1,8 +1,9 @@
|
||||
let g:netrw_dirhistmax =10
|
||||
let g:netrw_dirhist_cnt =6
|
||||
let g:netrw_dirhist_cnt =7
|
||||
let g:netrw_dirhist_1='/home/user/.config/beets'
|
||||
let g:netrw_dirhist_2='/etc/X11/xorg.conf.d'
|
||||
let g:netrw_dirhist_3='/home/user/.config/dunst'
|
||||
let g:netrw_dirhist_4='/home/user/.config/beets'
|
||||
let g:netrw_dirhist_5='/home/user/downloads/torrents'
|
||||
let g:netrw_dirhist_6='/home/user/text'
|
||||
let g:netrw_dirhist_7='/home/user/.config/gtk-2.0'
|
||||
|
5
.vimrc
5
.vimrc
@ -40,3 +40,8 @@ set ruler " show the cursor position all the time
|
||||
set showcmd " display incomplete commands
|
||||
set incsearch " do incremental searching
|
||||
set autoindent " always set autoindenting on
|
||||
|
||||
" powerline
|
||||
set laststatus=2
|
||||
set t_Co=256
|
||||
let g:powerline_pycmd="py3"
|
||||
|
3
.zshrc
3
.zshrc
@ -20,9 +20,12 @@ alias ix="curl -s -F 'f:1=<-' ix.io"
|
||||
alias upics="curl -F c=@- https://ptpb.pw <"
|
||||
alias vi="vim"
|
||||
alias sudo="sudo "
|
||||
alias installed="pacman -Qqen"
|
||||
alias tmux="tmux -2"
|
||||
|
||||
#exports
|
||||
export EDITOR='vim'
|
||||
export POWERLINE_CONFIG_COMMAND=/usr/bin/powerline-config
|
||||
#deactivate gaskpass
|
||||
unset SSH_ASKPASS
|
||||
#man colors
|
||||
|
@ -22,7 +22,7 @@ i3lock
|
||||
|
||||
# Env setup
|
||||
|
||||
sudo pacman -S i3-wm rxvt-unicode zsh git weechat i3lock ttf-hack vim weechat compton conky xbindkeys powerline powerline-fonts xorg-xrdb xclip zsh-syntax-highlighting
|
||||
sudo pacman -S i3-wm rxvt-unicode zsh git weechat i3lock ttf-hack vim weechat compton conky xbindkeys powerline powerline-fonts powerline-vim xorg-xrdb xclip zsh-syntax-highlighting tmux
|
||||
|
||||
yaourt compton-git powerline ttf-font-awesome ttf-font-icons
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user