PINE64
Good i3 Config file to use? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114)
+--- Thread: Good i3 Config file to use? (/showthread.php?tid=13795)



Good i3 Config file to use? - User 22018 - 05-04-2021

Hi

Has anyone got a good i3 config file that works with things like the battery status and adjusting the brightness? I installed i3 alongside the KDE default and I'm struggling with these things.

Or should I just bite the bullet and install the manjaro i3 spin through the flasher tool?


RE: Good i3 Config file to use? - shjim - 05-04-2021

(05-04-2021, 07:49 AM)jms429 Wrote: Hi

Has anyone got a good i3 config file that works with things like the battery status and adjusting the brightness? I installed i3 alongside the KDE default and I'm struggling with these things.

Or should I just bite the bullet and install the manjaro i3 spin through the flasher tool?
Try   https://arm.endeavouros.com/     Big Grin   why bite bullet Angel or go vanilla Wink


RE: Good i3 Config file to use? - User 22018 - 05-04-2021

(05-04-2021, 09:07 AM)shjim Wrote:
(05-04-2021, 07:49 AM)jms429 Wrote: Hi

Has anyone got a good i3 config file that works with things like the battery status and adjusting the brightness? I installed i3 alongside the KDE default and I'm struggling with these things.

Or should I just bite the bullet and install the manjaro i3 spin through the flasher tool?
Try   https://arm.endeavouros.com/     Big Grin   why bite bullet Angel  or go vanilla  Wink

Thanks.

I decided to give the manjaro-arm-flasher tool a whirl, and it works great! I flashed onto an sd card, then used the tool again to flash the EMMC.  The manjaro i3 is really nicely set up and works a treat.  Saved me ages of config


RE: Good i3 Config file to use? - shjim - 05-05-2021

(05-04-2021, 12:53 PM)jms429 Wrote:
(05-04-2021, 09:07 AM)shjim Wrote:
(05-04-2021, 07:49 AM)jms429 Wrote: Hi

Has anyone got a good i3 config file that works with things like the battery status and adjusting the brightness? I installed i3 alongside the KDE default and I'm struggling with these things.

Or should I just bite the bullet and install the manjaro i3 spin through the flasher tool?
Try   https://arm.endeavouros.com/     Big Grin   why bite bullet Angel  or go vanilla  Wink

Thanks.

I decided to give the manjaro-arm-flasher tool a whirl, and it works great! I flashed onto an sd card, then used the tool again to flash the EMMC.  The manjaro i3 is really nicely set up and works a treat.  Saved me ages of config
That the main thing ... you happy Smile      Enjoy  your PBP with i3 .


RE: Good i3 Config file to use? - user526 - 06-16-2021

i use this

#!/bin/sh
while [ true ]
do
date=$(date +"%r  %d/%m/%Y ")
batt=$(cat /sys/devices/platform/ff3d0000.i2c/i2c-4/4-0062/power_supply/cw2015-battery/capacity)
echo $batt% $date
sleep 17
done

called via
status_command 
in the bar{}  directive


RE: Good i3 Config file to use? - user526 - 06-16-2021

as for brightness

bindsym Xf86MonBrightnessDown exec brightnessctl s 5%-
bindsym Xf86MonBrightnessup exec brightnessctl s +5%

and you can put something to the effect of bright=$(brightnestctl |grep Current |awk '{print $4}' ) to get the brightness% in status.sh or theres probably a /sys/device node for it? dunno dont care personally


RE: Good i3 Config file to use? - user526 - 06-17-2021

since you got ahold of me i might aswell tell you all my pmos sway secrets
i try to to put all my edits into /etc/sway/confing.d/ short and sweet per objective
------------------------------------------------------------------------------------------
cat /etc/sway/config.d/pbp.pipewire   (audio server)
Code:
exec pipewire
exec pipewire-pulse
exec pipewire-media-session
-------------------------------------------------------------------------------
locker/blanker
cat /etc/sway/config.d/pbp.idlelock
Code:
# locker
exec swayidle -w timeout 360 '/usr/local/bin/swaylock --clock --effect-pixelate 4 --screenshots --grace 30 '
# blanker
exec swayidle -w timeout 390 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on" '
(the default config directive wasnt working for me with multiple lines so i broke it into two and now it works for me also using a self compiled swaylock-effects since its not yet in the pmos packages should really push an abuild for it)
misc stuff
exec foot -s    (and change $term to footclient)
bindsym print exec cd ~Pictures/Screenshots && grim -g "$slurp"  #printscreen screenshotter with grim/slurp

i really like pmos its so fast and small everything else is bloated and slow in comparison haha problem is theres no stable build and if you update daily or at the wrong time and reboot... could be devastating like right now im looking at self compiling a kernel cause its missing a bunch of modules i wanna use namely usb-storage for when something inevitably breaks from running edge-ware