Adjust workspace colors and add sudo bash completion
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
parent
8d9fc59395
commit
a5b5d6382f
4 changed files with 16 additions and 14 deletions
3
.bashrc
3
.bashrc
|
@ -47,7 +47,7 @@ export GTK_IM_MODULE=ibus
|
||||||
export QT_IM_MODULE=ibus
|
export QT_IM_MODULE=ibus
|
||||||
export XMODIFIERS=@im=ibus
|
export XMODIFIERS=@im=ibus
|
||||||
|
|
||||||
# Setting default editor
|
# Setting default editor and terminal
|
||||||
export VISUAL=vim
|
export VISUAL=vim
|
||||||
export EDITOR="$VISUAL"
|
export EDITOR="$VISUAL"
|
||||||
export TERMINAL=termite
|
export TERMINAL=termite
|
||||||
|
@ -56,6 +56,7 @@ export TERMINAL=termite
|
||||||
if [ -f /etc/bash_completion ]; then
|
if [ -f /etc/bash_completion ]; then
|
||||||
/etc/bash_completion
|
/etc/bash_completion
|
||||||
fi
|
fi
|
||||||
|
complete -cf sudo
|
||||||
|
|
||||||
# Add users bin directory to the PATH
|
# Add users bin directory to the PATH
|
||||||
if [ -d "$HOME/bin" ] ; then
|
if [ -d "$HOME/bin" ] ; then
|
||||||
|
|
|
@ -11,7 +11,7 @@ new_window none
|
||||||
|
|
||||||
# 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.
|
||||||
font pango:Roboto-Regular 10
|
font pango:Roboto, FontAwesome 15px
|
||||||
|
|
||||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||||
floating_modifier $mod
|
floating_modifier $mod
|
||||||
|
@ -165,15 +165,14 @@ bindsym $mod+x mode "resize"
|
||||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||||
# finds out, if available)
|
# finds out, if available)
|
||||||
bar {
|
bar {
|
||||||
font pango: Roboto-Regular, FontAwesome 10
|
|
||||||
status_command i3blocks -c $HOME/.config/i3/i3blocks.conf
|
status_command i3blocks -c $HOME/.config/i3/i3blocks.conf
|
||||||
position top
|
position top
|
||||||
colors {
|
colors {
|
||||||
background #000000
|
background #000000
|
||||||
separator #000000
|
focused_workspace #000000 #268bd2 #FFFFFF
|
||||||
focused_workspace #000000 #000000 #FF5722
|
active_workspace #000000 #000000 #268bd2
|
||||||
inactive_workspace #000000 #424242 #FFFFFF
|
inactive_workspace #000000 #000000 #268bd2
|
||||||
urgent_workspace #000000 #424242 #FFFFFF
|
urgent_workspace #000000 #000000 #268bd2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -213,11 +212,13 @@ exec_always --no-startup-id xrandr --output $output2 --mode 1280x1024 --pos 1280
|
||||||
# Other applications
|
# Other applications
|
||||||
exec google-chrome-beta
|
exec google-chrome-beta
|
||||||
exec termite
|
exec termite
|
||||||
|
exec termite -e cmus --name cmus
|
||||||
|
|
||||||
# Assign programs to specific workspaces
|
# Assign programs to specific workspaces
|
||||||
###
|
###
|
||||||
assign [class="Google-chrome-beta"] $workspace1
|
assign [class="Google-chrome-beta"] $workspace1
|
||||||
assign [class="Termite"] $workspace2
|
assign [instance="termite"] $workspace2
|
||||||
|
assign [instance="cmus"] $workspace10
|
||||||
assign [class="Hyper"] $workspace2
|
assign [class="Hyper"] $workspace2
|
||||||
assign [class="Atom"] $workspace3
|
assign [class="Atom"] $workspace3
|
||||||
assign [class="Steam"] $workspace6
|
assign [class="Steam"] $workspace6
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# wifi.sh
|
# wifi.sh
|
||||||
if [ "$(cat /sys/class/net/$INTERFACE/operstate)" = "down" ]; then
|
|
||||||
echo " Wifi not connected"
|
|
||||||
fi
|
|
||||||
|
|
||||||
SSID=$(iwgetid -r)
|
SSID=$(iwgetid -r)
|
||||||
|
|
||||||
echo " Connected to $SSID"
|
if [ "$SSID" != "Yggdrasil"]; then
|
||||||
|
echo " Disconnected"
|
||||||
|
else
|
||||||
|
echo " $SSID"
|
||||||
|
fi
|
||||||
|
|
2
.vimrc
2
.vimrc
|
@ -1,6 +1,6 @@
|
||||||
syntax on
|
syntax on
|
||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
|
set virtualedit=onemore
|
||||||
set number
|
set number
|
||||||
|
|
||||||
filetype on
|
filetype on
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue