You are not logged in.
Pages: 1
Hi,
This problem might seem quite trivial but I've been working on it for a few days and I'm starting to pull my hair out. I think I don't totally understand the order things are displayed in.
I'm running i3wm from sddm and use kitty for a terminal. I've set all the colors in my kitty.conf to black which isn't my final intention but I was using just for testing to make it obvious which colors are being used.
I've noticed that pipes.sh makes a terminal window display the correct colors after it resets and then reverts back to the pywal colors on exit, but I'm not sure what to do with that information.
I don't have a .Xresources, but when I do e.g.
xgetres color0I get the output
[hex@ARCH-HEXLAPTOP ~]$ xgetres color0
#35345dWhich is one of the pywal generated colors so I assume that X resources are being set from the cached pywal Xresources file on wal -R in my i3 startup.
Ideally I'd like to keep my Xresources "pywalled" but have application specific exceptions (like for kitty) so that I can actually see what's on my terminal.
Config:
https://github.com/hectorBrown/dots.git
Output of
kitty --debug-config[hex@ARCH-HEXLAPTOP ~]$ kitty --debug-config
kitty 0.17.2 created by Kovid Goyal
Linux ARCH-HEXLAPTOP 5.4.32-1-lts #1 SMP Mon, 13 Apr 2020 12:21:10 +0000 x86_64
\e[H\e[2J
\e[1;30m| \e[34m\r \s
\e[36;1m/\\\\ \e[37m|| \e[36m| = \e[30m|
\e[36m/ \\\\ \e[37m|| \e[36m| \e[30m| \e[32m\t
\e[1;36m/ \e[0;36m.. \e[1m\\\\ \e[37m//==\\\\\\ ||/= /==\\\\ ||/=\\\\ \e[36m| | |/\\\\ | | \\\\ / \e[30m| \e[32m\d
\e[0;36m/ . . \\\\ \e[37m|| || || || || || \e[36m| | | | | | X \e[1;30m|
\e[0;36m/ . . \\\\ \e[37m\\\\\\==/| || \\\\==/ || || \e[36m| | | |\ \\/| / \\\\ \e[1;30m| \e[31m\U
\e[0;36m/ .. .. \\\\ \e[0;37mA simple, lightweight linux distribution. \e[1;30m|
\e[0;36m/_' `_\\\\ \e[1;30m| \e[35m\l \e[0mon \e[1;33m\n
\e[0m
Loaded config files: /home/hex/.config/kitty/kitty.conf
Running under: X11
Config options different from defaults:
background Color(red=53, green=52, blue=93)
color1 Color(red=0, green=0, blue=0)
color10 Color(red=0, green=0, blue=0)
color11 Color(red=0, green=0, blue=0)
color12 Color(red=0, green=0, blue=0)
color13 Color(red=0, green=0, blue=0)
color14 Color(red=0, green=0, blue=0)
color15 Color(red=0, green=0, blue=0)
color17 Color(red=0, green=0, blue=0)
color18 Color(red=0, green=0, blue=0)
color19 Color(red=0, green=0, blue=0)
color2 Color(red=0, green=0, blue=0)
color3 Color(red=0, green=0, blue=0)
color4 Color(red=0, green=0, blue=0)
color5 Color(red=0, green=0, blue=0)
color6 Color(red=0, green=0, blue=0)
color7 Color(red=0, green=0, blue=0)
color8 Color(red=0, green=0, blue=0)
color9 Color(red=0, green=0, blue=0)
cursor Color(red=236, green=195, blue=216)
enable_audio_bell False
foreground Color(red=236, green=195, blue=216)Output of
kitty --dump-commands[hex@ARCH-HEXLAPTOP ~]$ kitty --dump-commands
set_color_table_color 4 0;#35345d
set_color_table_color 4 1;#BC849C
set_color_table_color 4 2;#D28898
set_color_table_color 4 3;#E6919D
set_color_table_color 4 4;#D694A8
set_color_table_color 4 5;#EA99A6
set_color_table_color 4 6;#F0ABB4
set_color_table_color 4 7;#ecc3d8
set_color_table_color 4 8;#a58897
set_color_table_color 4 9;#BC849C
set_color_table_color 4 10;#D28898
set_color_table_color 4 11;#E6919D
set_color_table_color 4 12;#D694A8
set_color_table_color 4 13;#EA99A6
set_color_table_color 4 14;#F0ABB4
set_color_table_color 4 15;#ecc3d8
set_dynamic_color 10 #ecc3d8
set_dynamic_color 11 #35345d
set_dynamic_color 12 #ecc3d8
Unknown OSC code: 13
set_dynamic_color 17 #ecc3d8
set_dynamic_color 19 #35345d
set_color_table_color 4 232;#35345d
set_color_table_color 4 256;#ecc3d8
Unknown OSC code: 708
set_title hex@ARCH-HEXLAPTOP:~
set_icon hex@ARCH-HEXLAPTOP:~
draw [hex@ARCH-HEXLAPTOP ~]$ Last edited by hexnether (2020-04-26 14:12:07)
Offline
Ideally I'd like to keep my Xresources "pywalled" but have application specific exceptions (like for kitty) so that I can actually see what's on my terminal.
Are you simply looking for "wal -t"?
Online
Ideally I'd like to keep my Xresources "pywalled" but have application specific exceptions (like for kitty) so that I can actually see what's on my terminal.
Are you simply looking for "wal -t"?
On calling
wal -t -s -Ror any combination of -t and -s:
[hex@ARCH-HEXLAPTOP ~]$ wal -s -t -R
[I] theme: Set theme to colors.json.
[I] wallpaper: Set the new wallpaper.
[I] sequences: Set terminal colors.
[I] export: Exported all files.
[I] export: Exported all user files.
[I] reload: Reloaded environment.Which to me seems like my terminal colours are still being set for some reason, I still don't get any change in colour on reboot or otherwise.
Offline
Oh yes, "-s"
The parameter should™ omit the actual action, but logging still takes place.
https://github.com/dylanaraps/pywal/blo … ces.py#L84
Of course your (active) terminal colors will then not change. Wasn't that the point?
(Though it actually looks the colors are save so if your bashrc/zshrc sources the pywall config, you'll get the updated colors w/ the next shell intance)
Is it rather that you *want* the colors in the terminal to be updated just that doesn't happen?
"-R" restores the previous color scheme, are you aware what that is? Do things work™ if you run pywal on a to-be-wallpaper?
Online
Oh yes, "-s"
The parameter should™ omit the actual action, but logging still takes place.
https://github.com/dylanaraps/pywal/blo … ces.py#L84Of course your (active) terminal colors will then not change. Wasn't that the point?
(Though it actually looks the colors are save so if your bashrc/zshrc sources the pywall config, you'll get the updated colors w/ the next shell intance)
Is it rather that you *want* the colors in the terminal to be updated just that doesn't happen?"-R" restores the previous color scheme, are you aware what that is? Do things work™ if you run pywal on a to-be-wallpaper?
Yeah, sorry maybe I didn't explain well enough:
I like the majority of my system colours the way they are (i.e the pywal palette), but I've noticed that my terminal is really hard to read in certain scenarios, so I just wanted to manually enter some other colours exclusively for my terminal. I was under the impression that I could do this from my kitty.conf file, and the debug output from kitty shows that it's loading that config successfully (I think).
I was under the impression that bash was just my shell and just outputted colours from 0-16 which are then mapped to RGB by my emulator, my bashrc doesn't have any reference to pywal or colour so I can't imagine it's involved (can post if wanted).
What confuses me is that is added "-s" to my i3 config which calls wal -R on startup however the terminals after reboot are still using pywal colours. Even when I comment out the wal -R line (so that wal isn't called on startup), other elements (such as polybar) don't get coloured on startup (since they pull from Xresources which I'm assuming isn't being set (since my xgetres output is nothing)) but the terminal still, somehow, has pywal colours.
Last edited by hexnether (2020-04-20 19:47:51)
Offline
What confuses me is that is added "-s" to my i3 config which calls wal -R on startup however the terminals after reboot are still using pywal colours.
The "-s" parameter only prevents application to running terminals. They will still pick up changes when restarted, at least is you did https://github.com/dylanaraps/pywal/wik … -terminals
Online
What confuses me is that is added "-s" to my i3 config which calls wal -R on startup however the terminals after reboot are still using pywal colours.
The "-s" parameter only prevents application to running terminals. They will still pick up changes when restarted, at least is you did https://github.com/dylanaraps/pywal/wik … -terminals
Thanks for your help!
Offline
This thread is continued at [SOLVED] Method call on terminal startup
Offline
Pages: 1