rofi is back, let us give it another chance

master
Von Random 6 years ago
parent 678519b082
commit f885b54da4
  1. 32
      i3_config
  2. 8
      xresources

@ -1,10 +1,3 @@
# 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)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
@ -14,17 +7,7 @@ set $i3_term urxvtc
set $i3_font -*-terminus-bold-*-*-*-14-*-*-*-*-*-iso10646-*
set $dmenu_font xos4 Terminus:Bold:pixelsize=14
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
font $i3_font
# 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
# 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
floating_modifier $mod
@ -40,10 +23,7 @@ bindsym $mod+d exec dmenu_run -p run -i -fn "$dmenu_font"
bindsym $mod+p exec dmenu_ssh "$i3_term -e ssh" -i -fn "$dmenu_font"
bindsym $mod+i exec dmenu_pass -i -fn "$dmenu_font"
bindsym $mod+u exec dmenu_pass_local -i -fn "$dmenu_font"
# 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 i3-dmenu-desktop
bindsym $mod+Tab exec rofi -show window
# change focus
bindsym $mod+h focus left
@ -135,32 +115,22 @@ bindsym $mod+z exec "xautolock -locknow"
# resize window (you can also use the mouse for that)
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 h resize shrink width 10 px or 10 ppt
bindsym j resize grow height 10 px or 10 ppt
bindsym k resize shrink height 10 px or 10 ppt
bindsym l 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 Down resize grow height 10 px or 10 ppt
bindsym Up resize shrink height 10 px or 10 ppt
bindsym Right resize grow width 10 px or 10 ppt
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
position top
status_command /home/von/vdstatus/vdstatus

@ -76,3 +76,11 @@ URxvt.color13: base0E
URxvt.color14: base05
URxvt.color15: base07
! }}}
! {{{ rofi
rofi.modi: window
rofi.font: xos4 Terminus Bold 11
rofi.terminal: /home/von/.local/bin/default-terminal-emulator
rofi.hide-scrollbar: true
rofi.monitor: -5
rofi.location: 2
! }}}

Loading…
Cancel
Save