From 840cf451be09f84c803dabf012c198be3f587cc3 Mon Sep 17 00:00:00 2001 From: Harri Lahtinen Date: Thu, 27 Dec 2018 13:06:43 +0200 Subject: [PATCH] icleaning up i3-config et. --- .config/Scripts/albumart.sh | 2 +- .config/i3/config | 26 ++------------------------ .config/mopidy/mopidy.conf | 4 ++-- .config/polybar/config | 2 +- .xsession | 3 --- 5 files changed, 6 insertions(+), 31 deletions(-) delete mode 100644 .xsession diff --git a/.config/Scripts/albumart.sh b/.config/Scripts/albumart.sh index 5310d79..0fee848 100755 --- a/.config/Scripts/albumart.sh +++ b/.config/Scripts/albumart.sh @@ -11,7 +11,7 @@ function reset_background { #resize the image's width to 300px - convert "$COVER" -resize 300x "$COVER" + #convert "$COVER" -resize 300x "$COVER" if [[ -f "$COVER" ]] ; then #scale down the cover to 30% of the original sleep 3 diff --git a/.config/i3/config b/.config/i3/config index 9f8879f..6aad851 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -11,13 +11,6 @@ gaps outer 15 font pango:TamzenForPowerline 12 set $mod Mod4 set $term urxvtc -#set $coloract "#ff923b" -#set $colorin "#5E81AC" -#set_from_resource $color15 i3wm.color15 "#2A1A17" -#set_from_resource $split i3wm.color10 "#7B8349" -#set_from_resource $coloru i3wm.color2 "#7B8349" -#set_from_resource $color0 i3wm.color0 "#fbf8f1" -#set_from_resource $color8 i3wm.color8 "#8a8061" # Set Xresources colors: set_from_resource $darkblack color0 #000000 @@ -50,14 +43,6 @@ bindsym Mod1+e layout toggle split bindsym $mod+Shift+c sticky toggle ######### COLORS ########## -# -# class border backgr text indicator child_border -#client.focused $coloract $coloract $color15 $split $coloract -#client.focused_inactive $coloract $coloract $color15 $split $coloract -#client.unfocused $colorin $colorin $color15 $split $colorin -#client.urgent $coloru $coloru $color15 $coloru $coloru -#client.placeholder $color0 $color8 $color15 $color0 $color8 -#client.background $color0 # BORDER BACKGROUND TEXT INDICATOR CHILD_BORDER client.focused $red $red $magenta $darkmagenta $darkblue client.unfocused $transparent $blue $white $darkblue $darkblack @@ -66,26 +51,19 @@ client.urgent $darkred $darkred $black $darkred $darkred client.background $black ###---Starting External Scripts---### -#Start bluealsa -#exec --no-startup-id sudo bluealsa & +#Start mopidy +exec --no-startup-id mopidy & #Twmn exec --no-startup-id twmnd & #Album art for mpd/mopidy -exec --no-startup-id killall python ~/.local/bin/bum -exec --no-startup-id python ~/.local/bin/bum & #Mpdscribble #exec --no-startup-id mpdscribble --no-daemon & #Conky #exec --no-startup-id conky -d -c ~/.config/conky/conkybg & #Rofi clipboard #exec --no-startup-id greenclip daemon & -#Dunst -#exec --no-startup-id dunst -config ~/.config/dunst/dunstrc & #Torrent daemon: #exec --no-startup-id transmission-daemon -#Wifi applet: -#exec --no-startup-id nm-applet -#exec --no-startup-id pnmixer & #Mount other drives: #exec --no-startup-id sudo mount -a #Composite manager: diff --git a/.config/mopidy/mopidy.conf b/.config/mopidy/mopidy.conf index 2b46c74..5af1749 100644 --- a/.config/mopidy/mopidy.conf +++ b/.config/mopidy/mopidy.conf @@ -30,10 +30,10 @@ debug_file = mopidy.log #config_file = [audio] -output = tee name=t t. ! queue ! pulsesink t. ! queue ! audioresample ! audioconvert ! audio/x-raw,rate=44100,channels=2,format=S16LE ! wavenc ! filesink location=/tmp/mpd.fifo +#output = tee name=t t. ! queue ! autoaudiosink t. ! queue ! audioresample ! audioconvert ! audio/x-raw,rate=44100,channels=2,format=S16LE ! wavenc ! filesink location=/tmp/mpd.fifo #mixer = software #mixer_volume = -#output = autoaudiosink +output = autoaudiosink #buffer_time = [proxy] diff --git a/.config/polybar/config b/.config/polybar/config index 992e113..2d40367 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -23,7 +23,7 @@ alert = #bd2c40 [bar/top] monitor = ${env:MONITOR:eDP-1} include-file = ~/.config/polybar/top-bar -modules-left = i3 gpmdp +modules-left = i3 modules-center = term chrome editor fm music vpn modules-right = pkg pulseaudio-rofi-output battery backlight wlan networkmanager date clock powermenu diff --git a/.xsession b/.xsession deleted file mode 100644 index b3d5130..0000000 --- a/.xsession +++ /dev/null @@ -1,3 +0,0 @@ -wal -R & -xset +fp ~/.local/share/fonts & -xset fp rehash &