Rofi and Guake customisation
This commit is contained in:
parent
8792ac1972
commit
c07020d19f
5 changed files with 9 additions and 72 deletions
|
@ -176,7 +176,7 @@ mode "resize" {
|
||||||
bindsym $mod+r mode "default"
|
bindsym $mod+r mode "default"
|
||||||
}
|
}
|
||||||
|
|
||||||
bindsym $mod+r mode "resize"
|
bindsym $mod+r mode "resize"w
|
||||||
|
|
||||||
# --- Key binding overrides --- #
|
# --- Key binding overrides --- #
|
||||||
|
|
||||||
|
@ -186,18 +186,16 @@ bindsym $mod+Ctrl+h split v
|
||||||
# split in vertical orientation
|
# split in vertical orientation
|
||||||
bindsym $mod+Ctrl+v split h
|
bindsym $mod+Ctrl+v split h
|
||||||
|
|
||||||
# --- Dropdown terminal (Guake) -#
|
|
||||||
|
|
||||||
# Set Guake to work as floating window
|
# Set Guake to work as floating window
|
||||||
for_window [instance="guake"] floating enable
|
for_window [instance="guake"] floating enable
|
||||||
|
|
||||||
# --- Task switcher (Rofi) -#
|
# --- Task switcher (Rofi) -#
|
||||||
|
|
||||||
# Launch window switcher
|
# Launch window switcher
|
||||||
bindsym $mod+space exec rofi -show window
|
bindsym $mod+space exec rofi -show drun
|
||||||
|
|
||||||
# Launch applications
|
# Launch applications
|
||||||
bindsym $sup+space exec rofi -show run
|
bindsym $mod+Tab exec rofi -show window
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -145,6 +145,9 @@ interval = 3.0
|
||||||
format-connected = <ramp-signal> <label-connected>
|
format-connected = <ramp-signal> <label-connected>
|
||||||
format-connected-underline = #47577e
|
format-connected-underline = #47577e
|
||||||
label-connected = %essid%
|
label-connected = %essid%
|
||||||
|
label-disconnected ="No connection"
|
||||||
|
format-prefix-disconnected =
|
||||||
|
label-disconnected-padding = 1
|
||||||
label-connected-padding = 1
|
label-connected-padding = 1
|
||||||
ramp-signal-0 =
|
ramp-signal-0 =
|
||||||
ramp-signal-1 =
|
ramp-signal-1 =
|
||||||
|
|
|
@ -145,4 +145,5 @@ configuration {
|
||||||
sorting-method: "name";
|
sorting-method: "name";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@theme "/usr/share/rofi/themes/lb.rasi"
|
//@theme "/home/thomas/.local/share/rofi/themes/rounded-gray-dark.rasi"
|
||||||
|
@theme "/home/thomas/.local/share/rofi/themes/alien-blood.rasi"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"editor.fontFamily": "Fira Code",
|
"editor.fontFamily": "Liberation Mono",
|
||||||
"editor.fontLigatures": true,
|
"editor.fontLigatures": true,
|
||||||
"editor.fontSize": 12,
|
"editor.fontSize": 12,
|
||||||
"editor.fontWeight": 400,
|
"editor.fontWeight": 400,
|
||||||
|
|
65
x/xinit-bak
65
x/xinit-bak
|
@ -1,65 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
userresources=$HOME/.Xresources
|
|
||||||
usermodmap=$HOME/.Xmodmap
|
|
||||||
sysresources=/etc/X11/xinit/.Xresources
|
|
||||||
sysmodmap=/etc/X11/xinit/.Xmodmap
|
|
||||||
|
|
||||||
# merge in defaults and keymaps
|
|
||||||
|
|
||||||
if [ -f $sysresources ]; then
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
xrdb -merge $sysresources
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -f $sysmodmap ]; then
|
|
||||||
xmodmap $sysmodmap
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -f "$userresources" ]; then
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
xrdb -merge "$userresources"
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -f "$usermodmap" ]; then
|
|
||||||
xmodmap "$usermodmap"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# start some nice programs
|
|
||||||
|
|
||||||
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
|
|
||||||
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
|
|
||||||
[ -x "$f" ] && . "$f"
|
|
||||||
done
|
|
||||||
unset f
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
#### Custom ########
|
|
||||||
|
|
||||||
# Set external monitor config
|
|
||||||
xrandr --output VGA1 --primary --above LVDS1
|
|
||||||
|
|
||||||
# Set UK keyboard
|
|
||||||
setxkbmap gb
|
|
||||||
|
|
||||||
# Set custom keybindings
|
|
||||||
xmodmap ~/.Xmodmap
|
|
||||||
|
|
||||||
# Start i3 window manager
|
|
||||||
exec i3
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue