apply gruvbox-dark theme to i3
This commit is contained in:
83
i3/config
83
i3/config
@@ -27,7 +27,6 @@ new_window pixel
|
||||
|
||||
# focus follows mouse
|
||||
focus_follows_mouse no
|
||||
|
||||
# border
|
||||
new_window pixel 3
|
||||
|
||||
@@ -43,11 +42,6 @@ gaps outer 10
|
||||
# "xev" and "showkeys" can be usefull to determine the keycodes.
|
||||
#
|
||||
|
||||
# sound softkeys management
|
||||
bindsym XF86AudioRaiseVolume exec ~/.i3/util/volnotid.sh down
|
||||
bindsym XF86AudioLowerVolume exec ~/.i3/util/volnotid.sh up
|
||||
bindsym XF86AudioMute exec ~/.i3/util/volnotid.sh mute
|
||||
|
||||
# display brightness management
|
||||
bindsym XF86MonBrightnessUp exec "xbacklight +10"
|
||||
bindsym XF86MonBrightnessDown exec "xbacklight -10"
|
||||
@@ -62,8 +56,6 @@ bindsym XF86Launch1 exec urxvt -e sh -c "sudo wifi-menu wlp3s0"
|
||||
bindsym $mod+F4 exec --no-startup-id "gnome-screenshot -w"
|
||||
|
||||
# start dmenu-launcher
|
||||
#bindsym $mod+d exec dmenu_run
|
||||
#bindsym $mod+d exec ~/.config/i3/util/i3dmenu-wrapper.sh
|
||||
bindsym $mod+d exec rofi -show drun -theme glue_pro_blue -font "mono 10"
|
||||
|
||||
# lock i3 with i3lock
|
||||
@@ -75,8 +67,6 @@ bindsym $mod+Shift+x exec i3lock -c 000000
|
||||
|
||||
# start terminal
|
||||
bindsym $mod+Return exec --no-startup-id kitty
|
||||
#bindsym $mod+Return exec --no-startup-id termite
|
||||
#bindsym $mod+Return exec --no-startup-id i3-sensible-terminal
|
||||
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+q kill
|
||||
@@ -138,6 +128,13 @@ bindsym $mod+r mode "resize"
|
||||
bindsym $mod+y scratchpad show
|
||||
bindsym $mod+x move scratchpad
|
||||
|
||||
# Use pactl to adjust volume in PulseAudio.
|
||||
set $refresh_i3status killall -SIGUSR1 i3status
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
|
||||
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
||||
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
|
||||
|
||||
#############################################
|
||||
# Workspace & Tags #
|
||||
#############################################
|
||||
@@ -186,32 +183,25 @@ mode "resize" {
|
||||
# Colors #
|
||||
#############################################
|
||||
|
||||
set $BRD_FOC #1c5b98
|
||||
set $BRD_UNF #ffffff80
|
||||
set $BRD_URG #b0cc54
|
||||
# primary gruvbox colorscheme colors
|
||||
set $bg #282828
|
||||
set $fg #ebdbb2
|
||||
set $red #cc241d
|
||||
set $green #98971a
|
||||
set $yellow #d79921
|
||||
set $blue #458588
|
||||
set $purple #b16286
|
||||
set $aqua #689d68
|
||||
set $gray #a89984
|
||||
set $darkgray #1d2021
|
||||
|
||||
set $BG_FOC #1c5b98
|
||||
set $BG_UNF #ffffff80
|
||||
set $BG_URG #ffffff80
|
||||
# workspace config
|
||||
# class border backgr text indicator child_border
|
||||
client.focused $blue $blue $darkgray $green $darkgray
|
||||
client.focused_inactive $darkgray $darkgray $yellow $green $darkgray
|
||||
client.unfocused $darkgray $darkgray $yellow $green $darkgray
|
||||
client.urgent $red $red $white $red $red
|
||||
|
||||
set $TXT_FOC #ffffff
|
||||
set $TXT_UNF #ffffff
|
||||
set $TXT_URG #ffffff
|
||||
|
||||
set $IND_FOC #b0cc54
|
||||
set $IND_UNF #b0cc54
|
||||
set $IND_URG #b0cc54
|
||||
|
||||
set $CBD_FOC #1c5b98
|
||||
set $CBD_UNF #ffffff80
|
||||
set $CBD_URG #b0cc54
|
||||
|
||||
# name #border #backgr #text #indic #child_border
|
||||
client.focused $BRD_FOC $BG_FOC $TXT_FOC $IND_FOC $CBD_FOC
|
||||
client.unfocused $BRD_UNF $BG_UNF $TXT_UNF $IND_UNF $CBD_UNF
|
||||
client.focused_inactive $BRD_UNF $BG_UNF $TXT_UNF $IND_UNF $CBD_UNF
|
||||
client.urgent $BRD_URG $BG_URG $TXT_URG $IND_URG $CBF_URG
|
||||
client.background #ffffff
|
||||
|
||||
#############################################
|
||||
# i3-bar #
|
||||
@@ -220,15 +210,15 @@ client.background #ffffff
|
||||
bar {
|
||||
font $font
|
||||
position top
|
||||
status_command /usr/local/bin/i3status-rs ~/.config/i3status/i3status.toml
|
||||
status_command /usr/bin/i3status-rs ~/.config/i3status/i3status.toml
|
||||
colors {
|
||||
separator #666666
|
||||
background #222439
|
||||
statusline #dddddd
|
||||
focused_workspace #0088CC #0088CC #ffffff
|
||||
active_workspace #333333 #333333 #ffffff
|
||||
inactive_workspace #333333 #333333 #888888
|
||||
urgent_workspace #2f343a #900000 #ffffff
|
||||
background #222439 # -> BG of Wallpaper for fake transparency
|
||||
statusline $yellow
|
||||
# class border backgr. text
|
||||
focused_workspace $darkgray $fg $darkgray
|
||||
inactive_workspace $darkgray $darkgray $fg
|
||||
active_workspace $darkgray $darkgray $fg
|
||||
urgent_workspace $red $red $fg
|
||||
}
|
||||
}
|
||||
|
||||
@@ -245,7 +235,7 @@ for_window [class="teamspeak3"] floating enable
|
||||
|
||||
# 0px Border
|
||||
for_window [class="chrome"] border none
|
||||
for_window [class="Firefox"] border none
|
||||
for_window [class="firefox"] border none
|
||||
|
||||
#############################################
|
||||
# auto start with i3 #
|
||||
@@ -254,10 +244,11 @@ for_window [class="Firefox"] border none
|
||||
# composite manager
|
||||
exec --no-startup-id compton -b --config ~/.config/compton.conf
|
||||
# less eye pain
|
||||
exec --no-startup-id redshift -l 46:7
|
||||
#exec --no-startup-id redshift -l 46:7
|
||||
# no beep!
|
||||
exec --no-startup-id xset b off
|
||||
# dunst for notifications and volnoti daemon
|
||||
exec --no-startup-id dunst -conf /home/aaron/.config/dunst/dunstrc
|
||||
# wallpaper
|
||||
exec --no-startup-id feh --bg-fill /home/aaron/.config/wallpaper.jpg
|
||||
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
|
||||
# screen before suspend. Use loginctl lock-session to lock your screen.
|
||||
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock -c000000 --nofork
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
##########################################
|
||||
# _ _ _ _ #
|
||||
# | | | | (_) | | #
|
||||
# __ _____ | |_ __ ___ | |_ _ __| | #
|
||||
# \ \ / / _ \| | '_ \ / _ \| __| |/ _` | #
|
||||
# \ V / (_) | | | | | (_) | |_| | (_| | #
|
||||
# \_/ \___/|_|_| |_|\___/ \__|_|\__,_| #
|
||||
# #
|
||||
##########################################
|
||||
|
||||
#
|
||||
# This script uses volnoti, which can be installed from git or
|
||||
# from the arch aur.
|
||||
#
|
||||
# yaourt -S volnoti
|
||||
#
|
||||
|
||||
VOLUME=$(amixer get Master | grep Mono: | sed 's|[^[]*\[\([0-9]*\).*|\1|')
|
||||
VALUE=1%
|
||||
MUTE=0
|
||||
|
||||
case "$1" in
|
||||
"up")
|
||||
# Increase Volume
|
||||
[[ "$VOLUME" -eq 100 ]] && VALUE=0
|
||||
amixer -q sset Master $VALUE+ unmute && killall -SIGUSR1 i3status
|
||||
MUTE=0
|
||||
;;
|
||||
"down")
|
||||
# Decrease Volume
|
||||
amixer -q sset Master $VALUE- unmute && killall -SIGUSR1 i3status
|
||||
MUTE=0
|
||||
# If the Volume is already 0, then mute
|
||||
if [ "$VOLUME" == "0" ]; then
|
||||
MUTE=1
|
||||
amixer -q sset Master toggle && killall -SIGUSR1 i3status
|
||||
fi
|
||||
;;
|
||||
"mute")
|
||||
# Mute
|
||||
amixer -q sset Master toggle && killall -SIGUSR1 i3status
|
||||
MUTE=1
|
||||
;;
|
||||
esac
|
||||
|
||||
VOLUME=$(amixer get Master | grep Mono: | sed 's|[^[]*\[\([0-9]*\).*|\1|')
|
||||
|
||||
if [ "$MUTE" == "0" ]; then
|
||||
volnoti-show $VOLUME
|
||||
else
|
||||
volnoti-show -m $VOLUME
|
||||
fi
|
||||
@@ -1,21 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
#######################################################
|
||||
# _ _ #
|
||||
# | | | #
|
||||
# __ ____ _| | |_ __ __ _ _ __ ___ _ __ ___ #
|
||||
# \ \ /\ / / _` | | | '_ \ / _` | '_ \ / _ \ '__/ __| #
|
||||
# \ V V / (_| | | | |_) | (_| | |_) | __/ | \__ \ #
|
||||
# \_/\_/ \__,_|_|_| .__/ \__,_| .__/ \___|_| |___/ #
|
||||
# | | | | #
|
||||
# |_| |_| #
|
||||
#######################################################
|
||||
|
||||
PICTURES="$HOME/.wallpapers/"
|
||||
SHOWTIME="10m"
|
||||
|
||||
while true; do
|
||||
find $PICTURES -type f \( -name '*.jpg' -o -name '*.png' \) -print0 | shuf -n1 -z | xargs -0 feh --bg-scale
|
||||
sleep $SHOWTIME
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user