polybar and i3: FontAwesome5

This commit is contained in:
Tristaan
2018-01-27 14:32:05 +01:00
parent 4250191d46
commit cc02c6e367
4 changed files with 46 additions and 29 deletions

View File

@@ -2,11 +2,11 @@
#exec --no-stratup-id xrandr --output eDP1 --primary --auto
exec --no-startup-id xrandr --output HDMI-0 --auto --mode 2048x1152 --primary
exec_always --no-startup-id $HOME/.i3/scripts/polybar_launch.sh
exec_always --no-startup-id compton -G -b
exec --no-startup-id mplayer -fs ~/.i3/boot.mp4
exec --no-startup-id compton -G -b
exec --no-startup-id mplayer -fs $HOME/.i3/boot.mp4
exec --no-startup-id conky -c $HOME/.config/conky/conkyrc
exec --no-startup-id xset -dpms && xset s noblank && xset s noexpose && xset dpms 600 1800 360
exec --no-startup-id xautolock -time 10 -locker ~/.i3/scripts/locker.sh
exec --no-startup-id xautolock -time 10 -locker $HOME/.i3/scripts/locker.sh
exec --no-startup-id xautolock -locknow
#DAEMONS
#exec --no-startup-id urxvtd -q
@@ -20,11 +20,9 @@ exec --no-startup-id dunst
exec --no-startup-id blueman-applet
#Layout
exec setxkbmap us altgr-intl
exec xmodmap ~/.i3/custom.map
# US brackets on slovene special characters
#exec xmodmap ~/.i3/custom.map
exec xmodmap $HOME/.i3/custom.map
font pango: FontAwesome, xos4 Terminus 12
font pango: Font Awesome 5 Free, Font Awesome 5 Brands, xos4 Terminus 12
#--APPEARANCE--#
@@ -58,6 +56,7 @@ for_window [class=".*"] title_format "-> %title"
for_window [class="Pavucontrol"] floating enable
for_window [class="octopi"] floating enable
for_window [class="lxappearance"] floating enable
for_window [class="mojo"] floating enable
for_window [title="Hold On*"] floating enable
for_window [title="Cerebro*"] floating enable
for_window [title="florence"] floating enable
@@ -147,7 +146,7 @@ workspace $WS1 output primary
#Primary workspaces
set $WS1 "1:"
set $WS2 "2:"
set $WS3 "3:"
set $WS3 "3:"
set $WS4 "4:"
set $WS5 "5:"
bindsym $mod+1 workspace $WS1

View File

@@ -4,6 +4,11 @@ ARGS=(
"--blur=5"
# "-i${HOME}/Pictures/bg_1440p/Linux-Wallpapers-19-2560-x-1920.png"
# "-i${HOME}/Pictures/backgrounds/0c7e1f_5775038.jpg"
"--timepos=x-90:h-ch+30"
"--datepos=tx+24:ty+25"
"--clock"
"--timecolor=dfdfdfff"
"--datecolor=dfdfdfff"
"--insidevercolor=35d75588"
"--insidewrongcolor=d7355588"
"--insidecolor=00000000"
@@ -11,24 +16,13 @@ ARGS=(
"--ringwrongcolor=c76484ff"
"--ringcolor=3555d7ff"
"--linecolor=00000000"
"--radius=24"
"--indpos=x+282:h-70"
"--separatorcolor=6484c7ff"
"--keyhlcolor=35d755ff"
"--bshlcolor=d73555ff")
"--bshlcolor=d73555ff"
"--veriftext=''" "--wrongtext=''")
i3lock "${ARGS[@]}" &
i3lockpid=$!
sleep 2
#winid=`xwininfo -name "i3lock" | grep "Window id" | grep -oE "0x[0-9a-f]+"`
#if [ -z "$winid" ]
#then
# echo "Could not find i3lock window"
# exit 1
#fi
#echo $winid
#conky -c "$HOME/.config/conky/conkyrc" -w "$winid" &
#conkypid=$!
#
#wait $i3lockpid
#kill $conkypid