Add termite configuration and add wifi information to i3blocks
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
parent
6b38dff3f1
commit
6bd768ff87
7 changed files with 78 additions and 8 deletions
1
.bashrc
1
.bashrc
|
@ -50,6 +50,7 @@ export XMODIFIERS=@im=ibus
|
|||
# Setting default editor
|
||||
export VISUAL=vim
|
||||
export EDITOR="$VISUAL"
|
||||
export TERMINAL=termite
|
||||
|
||||
# Enable autocompletion features
|
||||
if [ -f /etc/bash_completion ]; then
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
opacity-rule = [ "85:class_g = 'Termite'" ];
|
|
@ -13,15 +13,11 @@ new_window none
|
|||
# is used in the bar {} block below.
|
||||
font pango:Roboto-Regular 10
|
||||
|
||||
# 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 pango:DejaVu Sans Mono 8
|
||||
|
||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||
floating_modifier $mod
|
||||
|
||||
# start a terminal
|
||||
bindsym $mod+Return exec gnome-terminal
|
||||
bindsym $mod+Return exec termite
|
||||
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+q kill
|
||||
|
@ -230,3 +226,7 @@ assign [class="Vlc"] $workspace9
|
|||
|
||||
# Disable window titlebars
|
||||
for_window [class="^.*"] border pixel 0
|
||||
|
||||
# Gaps
|
||||
gaps inner 10
|
||||
gaps outer 10
|
||||
|
|
10
.config/i3/i3bar/wifi.sh
Executable file
10
.config/i3/i3bar/wifi.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
# wifi.sh
|
||||
if [ "$(cat /sys/class/net/$INTERFACE/operstate)" = "down" ]; then
|
||||
echo "Wifi not connected"
|
||||
fi
|
||||
|
||||
SSID=$(iwgetid -r)
|
||||
|
||||
echo "Connected to $SSID"
|
||||
|
|
@ -6,7 +6,7 @@ full_text=
|
|||
align=center
|
||||
separator=false
|
||||
separator_block_width=10
|
||||
color=#FF5722
|
||||
color=#268bd2
|
||||
|
||||
[Music]
|
||||
markup=pango
|
||||
|
@ -24,6 +24,14 @@ color=#FFFFFF
|
|||
|
||||
[seperator]
|
||||
|
||||
[Wifi]
|
||||
full_text=
|
||||
command=~/.config/i3/i3bar/wifi.sh
|
||||
interval=5
|
||||
color=#FFFFFF
|
||||
|
||||
[seperator]
|
||||
|
||||
[Datetime]
|
||||
command=~/.config/i3/i3bar/datetime.sh
|
||||
interval=1
|
||||
|
|
51
.config/termite/config
Normal file
51
.config/termite/config
Normal file
|
@ -0,0 +1,51 @@
|
|||
[options]
|
||||
resize_grip = false
|
||||
scroll_on_output = false
|
||||
scroll_on_keystroke = true
|
||||
audible_bell = false
|
||||
visible_bell = false
|
||||
mouse_autohide = false
|
||||
allow_bold = true
|
||||
dynamic_title = true
|
||||
urgent_on_bell = false
|
||||
clickable_url = true
|
||||
font = Hack 10
|
||||
scrollback_lines = 1000
|
||||
search_wrap = true
|
||||
|
||||
# "system", "on" or "off"
|
||||
cursor_blink = system
|
||||
|
||||
# "block", "underline" or "ibeam"
|
||||
cursor_shape = ibeam
|
||||
|
||||
#modify_other_keys = false
|
||||
|
||||
# Solarized dark color scheme
|
||||
[colors]
|
||||
foreground = #839496
|
||||
foreground_bold = #eee8d5
|
||||
#foreground_dim = #888888
|
||||
background = #002b36
|
||||
cursor = #93a1a1
|
||||
|
||||
# if unset, will reverse foreground and background
|
||||
#highlight = #839496
|
||||
|
||||
# colors from color0 to color254 can be set
|
||||
color0 = #073642
|
||||
color1 = #dc322f
|
||||
color2 = #859900
|
||||
color3 = #b58900
|
||||
color4 = #268bd2
|
||||
color5 = #d33682
|
||||
color6 = #2aa198
|
||||
color7 = #eee8d5
|
||||
color8 = #002b36
|
||||
color9 = #cb4b16
|
||||
color10 = #586e75
|
||||
color11 = #657b83
|
||||
color12 = #839496
|
||||
color13 = #6c71c4
|
||||
color14 = #93a1a1
|
||||
color15 = #fdf6e3
|
|
@ -58,8 +58,7 @@ module.exports = {
|
|||
|
||||
plugins: [
|
||||
"hyper-tomorrow-night",
|
||||
"hyper-blink",
|
||||
"hyper-statusline"
|
||||
"hyper-blink"
|
||||
],
|
||||
|
||||
localPlugins: []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue