stav121 / i3wm-themer

🎨 Theme collection manager for i3-wm
MIT License
2.22k stars 246 forks source link

General writing difficulties #12

Closed ian-mitchell-001 closed 6 years ago

ian-mitchell-001 commented 6 years ago

The majority of this program is fine, and the themes are nice. But, when I try to backup, it says that it can't find the polybar config file. So, I try to config, and the program can't find things like xResources or icons in the theme I want to apply (Sky). I think what may be going on with it is some sort of error with its pathfinding or configuration. But I cannot say for certain.

Here's the terminal output, incase if anything looks weird;

[*] i3wmthemer script started

[*] You have entered theming mode.
    [*] Located the theme directory.
    [+] Fonts are set up successfully
    [-] This theme does not have a GTK Theme included.
    [-] This theme does not have an Icon pack included.
    [*] Located .extend.Xresources file in theme the directory.
    [*] Located ~/.extend.Xresources file.
    [-] Failed to apply change: Overwrite *.background: .
    [-] Failed to apply change: Overwrite *.foreground: .
    [-] Failed to apply change: Overwrite *.cursorColor: .
    [+] Applied change: Overwrite URxvt.background:
    [+] Applied change: Overwrite URxvt*foreground:
    [-] Failed to apply change: Overwrite URxvt*cursorColor:
    [-] Failed to apply change: Overwrite URxvt.font:
    [-] Failed to apply change: Overwrite *.color0: .
    [-] Failed to apply change: Overwrite *.color1: .
    [-] Failed to apply change: Overwrite *.color2: .
    [-] Failed to apply change: Overwrite *.color3: .
    [-] Failed to apply change: Overwrite *.color4: .
    [-] Failed to apply change: Overwrite *.color5: .
    [-] Failed to apply change: Overwrite *.color6: .
    [-] Failed to apply change: Overwrite *.color7: .
    [-] Failed to apply change: Overwrite *.color8: .
    [-] Failed to apply change: Overwrite *.color9: .
    [-] Failed to apply change: Overwrite *.color10: .
    [-] Failed to apply change: Overwrite *.color11: .
    [-] Failed to apply change: Overwrite *.color12: .
    [-] Failed to apply change: Overwrite *.color13: .
    [-] Failed to apply change: Overwrite *.color14: .
    [-] Failed to apply change: Overwrite *.color15: .
    [-] Failed to apply change: Overwrite rofi.color-enabled .
    [-] Failed to apply change: Overwrite rofi.color-window .
    [-] Failed to apply change: Overwrite rofi.color-normal .
    [-] Failed to apply change: Overwrite rofi.color-active .
    [-] Failed to apply change: Overwrite rofi.color-urgent .
    [-] Failed to apply change: Overwrite rofi.font .
    [*] Finished editing ~/.extend.Xresources file.
    [*] Executing 'xrdb ~/.Xresources' command.
    [*] Success!
    [+] Located .i3/config file in the theme directory.
    [+] Located ~/.i3/config file.
    [+] Applied change: Overwrite new_window
    [+] Applied change: Overwrite new_float
    [+] Applied change: Overwrite new_window
    [+] Applied change: Overwrite client.background .
    [+] Applied change: Overwrite client.focused .
    [+] Applied change: Overwrite client.unfocused .
    [+] Applied change: Overwrite client.focused_inactive .
    [+] Applied change: Overwrite client.urgent .
    [+] Applied change: Overwrite client.placeholder .
    [+] Located .config/polybar/config file in the theme directory.
    [+] Located ~/.config/polybar/config file.
    [+] Applied change: Overwrite bottom .
    [+] Applied change: Overwrite height .
    [+] Applied change: Overwrite width .
    [-] Failed to apply change: Overwrite offset-x .
    [-] Failed to apply change: Overwrite offset-y .
    [+] Applied change: Overwrite fixed-center .
    [-] Failed to apply change: Overwrite line-size .
    [-] Failed to apply change: Overwrite line-color .
    [-] Failed to apply change: Overwrite border-size .
    [-] Failed to apply change: Overwrite border-color .
    [-] Failed to apply change: Overwrite padding-left .
    [-] Failed to apply change: Overwrite padding-right .
    [-] Failed to apply change: Overwrite module-margin-left .
    [-] Failed to apply change: Overwrite module-margin-right .
    [-] Failed to apply change: Overwrite tray-position .
    [-] Failed to apply change: Overwrite tray-padding .
    [-] Failed to apply change: Overwrite tray-transparent .
    [-] Failed to apply change: Overwrite tray-offset-x .
    [-] Failed to apply change: Overwrite tray-offset-y .
    [-] Failed to apply change: Overwrite tray-maxsize .
    [-] Failed to apply change: Overwrite tray-detached .
    [-] Failed to apply change: Overwrite tray-background .
    [-] Failed to apply change: Overwrite wm-restack .
    [-] Failed to apply change: Overwrite background .
    [-] Failed to apply change: Overwrite foreground .
    [-] Failed to apply change: Overwrite ;override-redirect
    [-] Failed to apply change: Overwrite label-unfocused-background .
    [-] Failed to apply change: Overwrite label-unfocused-foreground .
    [-] Failed to apply change: Overwrite label-unfocused-underline .
    [-] Failed to apply change: Overwrite label-focused-background .
    [-] Failed to apply change: Overwrite label-focused-foreground .
    [-] Failed to apply change: Overwrite label-focused-underline .
    [-] Failed to apply change: Overwrite label-mode-background .
    [-] Failed to apply change: Overwrite label-visible-background .
    [-] Failed to apply change: Overwrite label-visible-foreground .
    [-] Failed to apply change: Overwrite label-visible-underline .
    [-] Failed to apply change: Overwrite label-urgent-background .
    [-] Failed to apply change: Overwrite label-urgent-foreground .
    [-] Failed to apply change: Overwrite label-urgent-underline .
    [-] Failed to apply change: Overwrite line-size .
    [-] Failed to apply change: Overwrite line-color .
    [-] Failed to apply change: Overwrite border-size .
    [-] Failed to apply change: Overwrite border-color .
    [+] Located .config/polybar/config file in the theme directory.
    [+] Located ~/.dmenurc file.
    [+] Applied change: Overwrite DMENU_NF="#aab0bc" .
    [+] Applied change: Overwrite DMENU_FN="monofur-10.5" .
    [+] Applied change: Overwrite DMENU_SB="#131822" .
    [+] Applied change: Overwrite DMENU_NB="#131822" .
    [+] Applied change: Overwrite DMENU_SF="#233f66" .
    [+] Located .config/compton.config file in the theme directory.
    [+] Located ~/.config/compton.conf file.
    [+] Applied change: Overwrite shadow-radius
    [+] Applied change: Overwrite shadow-offset-x
    [+] Applied change: Overwrite shadow-offset-y
    [+] Applied change: Overwrite shadow-opacity
    [+] Applied change: Overwrite no-dock-shadow
    [+] Wallpaper set successfully
    [*] Restarting i3wm...
    [*] Success!
[!] Almost done, please use your appearance manager to set the wallpaper and GTK/Icon themes

[*] i3wmthemer finished
stav121 commented 6 years ago

Hey, good evening Ian,

There are some general things that need to be changed on the script at the moment, but I lack the time to actually fix them for a while now.

For now I would just recommend you to manually make the changes wherever you want if the script doesn't work properly for you, until I find the time to fix everything.

Mobilpadde commented 6 years ago

I have the same problem :sob:

stav121 commented 6 years ago

Good evening sir, I lack the time to fix every problem with the script in that period of time, so I'd suggest that you revert every change by copying everything back from your backup (I hope you did as mentioned on the very first step of the script) and then manually copy-paste everything you want from the config in your dotfiles.

EDIT: I'm leaving this open, I'll come back and let you know when when the problem has been addressed and fixed.

alexandrnikitin commented 6 years ago

I get similar issue when I apply themes:

[nikitin@archlinux scripts]$ ./i3wmthemer -t Forest

[*] i3wmthemer script started

[*] You have entered theming mode.
        [*] Located the theme directory.
        [+] Fonts are set up successfully
        [+] GTK Theme migration completed successfully.
        [+] Icon migration completed successfully.
        [*] Located .extend.Xresources file in theme the directory.
        [+] Located .i3/config file in the theme directory.
        [+] Located ~/.config/i3/config file.
        [-] Failed to apply change: Overwrite new_window .
        [-] Failed to apply change: Overwrite new_float .
        [-] Failed to apply change: Overwrite new_window .
        [-] Failed to apply change: Overwrite client.background .
        [-] Failed to apply change: Overwrite client.focused .
        [-] Failed to apply change: Overwrite client.unfocused .
        [-] Failed to apply change: Overwrite client.focused_inactive .
        [-] Failed to apply change: Overwrite client.urgent .
        [-] Failed to apply change: Overwrite client.placeholder .
        [+] Located .config/polybar/config file in the theme directory.
        [+] Located ~/.config/polybar/config file.
        [-] Failed to apply change: Overwrite bottom .
        [+] Applied change: Overwrite height .
        [+] Applied change: Overwrite width .
        [-] Failed to apply change: Overwrite offset-x .
        [-] Failed to apply change: Overwrite offset-y .
        [+] Applied change: Overwrite fixed-center .
        [+] Applied change: Overwrite line-size .
        [+] Applied change: Overwrite line-color .
        [+] Applied change: Overwrite border-size .
        [+] Applied change: Overwrite border-color .
        [+] Applied change: Overwrite padding-left .
        [+] Applied change: Overwrite padding-right .
        [+] Applied change: Overwrite module-margin-left .
        [+] Applied change: Overwrite module-margin-right .
        [+] Applied change: Overwrite tray-position .
        [+] Applied change: Overwrite tray-padding .
        [-] Failed to apply change: Overwrite tray-transparent .
        [-] Failed to apply change: Overwrite tray-offset-x .
        [-] Failed to apply change: Overwrite tray-offset-y .
        [-] Failed to apply change: Overwrite tray-maxsize .
        [-] Failed to apply change: Overwrite tray-detached .
        [-] Failed to apply change: Overwrite tray-background .
        [-] Failed to apply change: Overwrite wm-restack .
        [-] Failed to apply change: Overwrite background .
        [-] Failed to apply change: Overwrite foreground .
        [+] Applied change: Overwrite ;override-redirect
        [-] Failed to apply change: Overwrite label-unfocused-background .
        [-] Failed to apply change: Overwrite label-unfocused-foreground .
        [-] Failed to apply change: Overwrite label-unfocused-underline .
        [-] Failed to apply change: Overwrite label-focused-background .
        [-] Failed to apply change: Overwrite label-focused-foreground .
        [-] Failed to apply change: Overwrite label-focused-underline .
        [+] Applied change: Overwrite label-mode-background .
        [-] Failed to apply change: Overwrite label-visible-background .
        [-] Failed to apply change: Overwrite label-visible-foreground .
        [+] Applied change: Overwrite label-visible-underline .
        [-] Failed to apply change: Overwrite label-urgent-background .
        [-] Failed to apply change: Overwrite label-urgent-foreground .
        [-] Failed to apply change: Overwrite label-urgent-underline .
        [+] Applied change: Overwrite line-size .
        [+] Applied change: Overwrite line-color .
        [+] Applied change: Overwrite border-size .
        [+] Applied change: Overwrite border-color .
        [+] Located .config/polybar/config file in the theme directory.
        [-] Failed to locate ~/.dmenurc in your configuration
        [+] Located .config/compton.config file in the theme directory.
        [-] Failed to locate ~/.config/compton.conf in your configuration
        [-] Could not set wallpaper (Nitrogen missing?)
        [*] Restarting i3wm...
        [*] Success!
[!] Almost done, please use your appearance manager to set the wallpaper and GTK                                                                                                                     /Icon themes

[*] i3wmthemer finished
stav121 commented 6 years ago

Good evening sir!

For all I can tell there are some lines missing in your config files (in the description I mention that the script only overwrites existing lines, it never adds new ones ) , so you could cross-check what lines are missing from your configuration files based on my templates. After that the script should work normally.

stav121 commented 6 years ago

Hello sir,

The whole repository has been reworked, so I'm closing this issue for now. In case you meet any new issues then please open a new Issue thread that is more up-to-date.