some bash fixes + back from rofi to dmenu
This commit is contained in:
parent
1dac4179d2
commit
08575608c9
2 changed files with 33 additions and 9 deletions
6
bashrc
6
bashrc
|
@ -95,12 +95,12 @@ alias less='command less -R'
|
||||||
alias cower='command cower -c'
|
alias cower='command cower -c'
|
||||||
alias pacman='command pacman --color=auto'
|
alias pacman='command pacman --color=auto'
|
||||||
alias rgrep='command grep --exclude-dir=\.git -R'
|
alias rgrep='command grep --exclude-dir=\.git -R'
|
||||||
alias hist='fc -l 1'
|
alias hist='command fc -l -1'
|
||||||
alias beep='printf "\007"'
|
alias beep='printf "\007"'
|
||||||
alias fixterm='printf "c"'
|
alias fixterm='printf "c"'
|
||||||
alias vi='command vim'
|
alias vi='command vim'
|
||||||
alias pg-linux-client='command sudo -u postgres psql'
|
alias pg-linux-client='command sudo -u postgres psql'
|
||||||
alias mysql='mysql --sigint-ignore'
|
alias mysql='command mysql --sigint-ignore'
|
||||||
|
|
||||||
# iconv
|
# iconv
|
||||||
alias iconvwk='command iconv -c -f cp1251 -t koi8-r'
|
alias iconvwk='command iconv -c -f cp1251 -t koi8-r'
|
||||||
|
@ -132,7 +132,7 @@ if is_exec colordiff; then
|
||||||
else
|
else
|
||||||
alias diff='command diff -u'
|
alias diff='command diff -u'
|
||||||
fi
|
fi
|
||||||
alias rdiff='diff -r'
|
alias rdiff='command diff -r'
|
||||||
|
|
||||||
# mount
|
# mount
|
||||||
alias mountiso='sudo mount -t iso9660 -o loop'
|
alias mountiso='sudo mount -t iso9660 -o loop'
|
||||||
|
|
36
i3_config
36
i3_config
|
@ -10,12 +10,26 @@
|
||||||
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
|
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
|
||||||
|
|
||||||
set $mod Mod4
|
set $mod Mod4
|
||||||
|
set $i3_font -*-terminus-bold-*-*-*-14-*-*-*-*-*-iso10646-*
|
||||||
|
set $dmenu_font Terminus:Bold:size=12
|
||||||
|
set $selected_bg #d64937
|
||||||
|
set $selected_fg #dedede
|
||||||
|
set $inactive_bg #333333
|
||||||
|
set $inactive_fg #dedede
|
||||||
|
set $urgent_bg #383a3b
|
||||||
|
set $urgent_fg #ee0000
|
||||||
|
|
||||||
|
# colors
|
||||||
|
client.focused $selected_bg $selected_bg $selected_fg
|
||||||
|
client.unfocused $inactive_bg $inactive_bg $inactive_fg
|
||||||
|
client.focused_inactive $inactive_bg $inactive_bg $inactive_fg
|
||||||
|
client.urgent $urgent_bg $urgent_bg $urgent_fg
|
||||||
|
|
||||||
# Font for window titles. Will also be used by the bar unless a different font
|
# Font for window titles. Will also be used by the bar unless a different font
|
||||||
# is used in the bar {} block below.
|
# is used in the bar {} block below.
|
||||||
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
||||||
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
||||||
font -*-terminus-bold-*-*-*-14-*-*-*-*-*-iso10646-*
|
font $i3_font
|
||||||
# Before i3 v4.8, we used to recommend this one as the default:
|
# Before i3 v4.8, we used to recommend this one as the default:
|
||||||
# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
|
# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
|
||||||
# The font above is very space-efficient, that is, it looks good, sharp and
|
# The font above is very space-efficient, that is, it looks good, sharp and
|
||||||
|
@ -33,11 +47,9 @@ bindsym $mod+x exec urxvt
|
||||||
bindsym $mod+Shift+c kill
|
bindsym $mod+Shift+c kill
|
||||||
|
|
||||||
# start dmenu (a program launcher)
|
# start dmenu (a program launcher)
|
||||||
#bindsym $mod+d exec dmenu_run -fn Terminus
|
bindsym $mod+d exec dmenu_run -i -fn "$dmenu_font" -sb "$selected_bg" -sf "$selected_fg"
|
||||||
bindsym $mod+d exec rofi -show run
|
bindsym $mod+p exec dmenu_ssh '/usr/bin/urxvt -e ssh' -i -fn "$dmenu_font" -sb "$selected_bg" -sf "$selected_fg"
|
||||||
bindsym $mod+i exec rofi -show window
|
bindsym $mod+u exec dmenu_pass -i -fn "$dmenu_font" -sb "$selected_bg" -sf "$selected_fg"
|
||||||
bindsym $mod+p exec rofi -show ssh
|
|
||||||
bindsym $mod+u exec rofi-pass
|
|
||||||
# There also is the (new) i3-dmenu-desktop which only displays applications
|
# 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
|
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
|
||||||
# installed.
|
# installed.
|
||||||
|
@ -162,6 +174,18 @@ bindsym $mod+r mode "resize"
|
||||||
bar {
|
bar {
|
||||||
position top
|
position top
|
||||||
status_command /home/von/vdstatus/vdstatus
|
status_command /home/von/vdstatus/vdstatus
|
||||||
|
|
||||||
|
colors {
|
||||||
|
background #2d2d2d
|
||||||
|
statusline #dedede
|
||||||
|
separator #2d2d2d
|
||||||
|
|
||||||
|
focused_workspace #d64937 #d64937 #dedede
|
||||||
|
active_workspace #2d2d2d #5f676a #dedede
|
||||||
|
inactive_workspace #2d2d2d #2d2d2d #888888
|
||||||
|
urgent_workspace #333333 #900000 #ffffff
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
workspace_layout tabbed
|
workspace_layout tabbed
|
||||||
|
|
Loading…
Reference in a new issue