Comments (13)
Good evening sir,
Could you please check (or even post) your .Xresources (or .extend.Xresources) file, and your i3 configuration file? Also did you run the configuration command before you procceed to apply the theme?
As stated at the description, you should check their position to be in the right place:
Xresources should be at /$HOME/.Xresources (or /$HOME/.extend.Xresources) and i3 configuratino file should be at either /$HOME/.i3/config or /$HOME/.config/.i3/confing .
If you can please reply with what is stated here, I can possibly help you get it fixed.
from i3wm-themer.
Note that, as stated in the description, this script (for now) only overwrites lines, it doesn't add new lines, that means that you might have to cross check using the dotfiles in /themes/ directory of the repository.
from i3wm-themer.
The configurations are at the exact places. My ~/.Xresources
file is empty, I have not added any custom configuration. The i3 and polybar configs are at ~/.config/i3/config
and ~/.config/polybar/config
respectively.
And, I have run the scripts thoroughly. Please let me know if you need anything else.
Also, is there any name of bar for polybar?
from i3wm-themer.
Sure,
Why is your Xresources empty? I think you should check here: https://wiki.archlinux.org/index.php/x_resources
The themes feed the colors from Xresources, that means that if you don't have that file then the colors cannot be loaded. Here is an example of how your Xresources files should be: https://github.com/unix121/i3wm-themer/tree/master/themes/Colors/.resources , take a look or even copy-paste everything and try to configure it manually.
Something else, based on the messages above the errors on i3 are that you are probably missing some lines, could you please post anywhere both your i3 config file and the Polybar config file so that I can take a quick look?
from i3wm-themer.
I had to add both .Xresources
and .extend.Xresources
files. Got few things applied now other than i3, polybar and dmenu:
> ./i3wmthemer -t Forest master [3121051]
[*] 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 ~/.extend.Xresources file.
[+] Applied change: Overwrite *.background: .
[+] Applied change: Overwrite *.foreground: .
[+] Applied change: Overwrite *.cursorColor: .
[+] Applied change: Overwrite URxvt.background .
[+] Applied change: Overwrite URxvt*foreground .
[+] Applied change: Overwrite URxvt*cursorColor .
[+] Applied change: Overwrite URxvt.font .
[+] Applied change: Overwrite *.color0: .
[+] Applied change: Overwrite *.color1: .
[+] Applied change: Overwrite *.color2: .
[+] Applied change: Overwrite *.color3: .
[+] Applied change: Overwrite *.color4: .
[+] Applied change: Overwrite *.color5: .
[+] Applied change: Overwrite *.color6: .
[+] Applied change: Overwrite *.color7: .
[+] Applied change: Overwrite *.color8: .
[+] Applied change: Overwrite *.color9: .
[+] Applied change: Overwrite *.color10: .
[+] Applied change: Overwrite *.color11: .
[+] Applied change: Overwrite *.color12: .
[+] Applied change: Overwrite *.color13: .
[+] Applied change: Overwrite *.color14: .
[+] Applied change: Overwrite *.color15: .
[+] Applied change: Overwrite rofi.color-enabled .
[+] Applied change: Overwrite rofi.color-window .
[+] Applied change: Overwrite rofi.color-normal .
[+] Applied change: Overwrite rofi.color-active .
[+] Applied change: Overwrite rofi.color-urgent .
[+] Applied change: Overwrite rofi.font .
[*] Finished editing ~/.extend.Xresources file.
[*] Executing 'xrdb ~/.Xresources' command.
[*] Success!
[+] 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.
[+] Applied change: Overwrite fixed-center .
[+] Applied change: Overwrite font-0 .
[+] Applied change: Overwrite font-1 .
[+] Applied change: Overwrite font-2 .
[-] Failed to apply change: Overwrite font-3 .
[+] 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 .
[+] Applied 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 .
[+] Applied change: Overwrite tray-background .
[-] Failed to apply change: Overwrite wm-restack .
[+] Located .config/polybar/config file in the theme directory.
[+] Located ~/.dmenurc file.
[-] Failed to apply change: Overwrite DMENU_NF= .
[-] Failed to apply change: Overwrite DMENU_FN= .
[-] Failed to apply change: Overwrite DMENU_SB= .
[-] Failed to apply change: Overwrite DMENU_NB= .
[-] Failed to apply change: Overwrite DMENU_SF= .
[+] 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
from i3wm-themer.
i3 config
set_from_resource $color15_i3wmthemer color15
set_from_resource $color14_i3wmthemer color14
set_from_resource $color13_i3wmthemer color13
set_from_resource $color12_i3wmthemer color12
set_from_resource $color11_i3wmthemer color11
set_from_resource $color10_i3wmthemer color10
set_from_resource $color09_i3wmthemer color9
set_from_resource $color08_i3wmthemer color8
set_from_resource $color07_i3wmthemer color7
set_from_resource $color06_i3wmthemer color6
set_from_resource $color05_i3wmthemer color5
set_from_resource $color04_i3wmthemer color4
set_from_resource $color03_i3wmthemer color3
set_from_resource $color02_i3wmthemer color2
set_from_resource $color01_i3wmthemer color1
set_from_resource $color00_i3wmthemer color0
set_from_resource $foreground_i3wmthemer foreground
set_from_resource $background_i3wmthemer background
# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
#
# This config file uses keycodes (bindsym) and was written for the QWERTY
# layout.
#
# To get a config file with the same key positions, but for your current
# layout, use the i3-config-wizard
#
set $mod Mod4
new_window 1pixel
hide_edge_borders both
workspace_auto_back_and_forth yes
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
font pango:monospace 8
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
#font pango:DejaVu Sans Mono 8
# Before i3 v4.8, we used to recommend this one as the default:
# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
# The font above is very space-efficient, that is, it looks good, sharp and
# clear in small sizes. However, its unicode glyph coverage is limited, the old
# X core fonts rendering does not support right-to-left and this being a bitmap
# font, it doesn’t scale on retina/hidpi displays.
# use these keys for focus, movement, and resize directions when reaching for
# the arrows is not convenient
set $up l
set $down k
set $left j
set $right semicolon
# use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
# start a terminal
bindsym $mod+Return exec i3-sensible-terminal
# kill focused window
bindsym $mod+q kill
# start dmenu (a program launcher)
bindsym $mod+d exec dmenu_run
# There also is the (new) i3-dmenu-desktop which only displays applications
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
# installed.
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
# change focus
bindsym $mod+$left focus left
bindsym $mod+$down focus down
bindsym $mod+$up focus up
bindsym $mod+$right focus right
# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# move focused window
bindsym $mod+Shift+$left move left
bindsym $mod+Shift+$down move down
bindsym $mod+Shift+$up move up
bindsym $mod+Shift+$right move right
# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# split in horizontal orientation
bindsym $mod+h split h
# split in vertical orientation
bindsym $mod+v split v
# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle
# change container layout (stacked, tabbed, toggle split)
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
# toggle tiling / floating
bindsym $mod+Shift+space floating toggle
# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle
# focus the parent container
bindsym $mod+a focus parent
# focus the child container
#bindsym $mod+d focus child
# move the currently focused window to the scratchpad
bindsym $mod+Shift+minus move scratchpad
# Show the next scratchpad window or hide the focused scratchpad window.
# If there are multiple scratchpad windows, this command cycles through them.
bindsym $mod+minus scratchpad show
# switch to workspace
bindsym $mod+1 workspace 1
bindsym $mod+2 workspace 2
bindsym $mod+3 workspace 3
bindsym $mod+4 workspace 4
bindsym $mod+5 workspace 5
bindsym $mod+6 workspace 6
bindsym $mod+7 workspace 7
bindsym $mod+8 workspace 8
bindsym $mod+9 workspace 9
bindsym $mod+0 workspace 10
# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace 1
bindsym $mod+Shift+2 move container to workspace 2
bindsym $mod+Shift+3 move container to workspace 3
bindsym $mod+Shift+4 move container to workspace 4
bindsym $mod+Shift+5 move container to workspace 5
bindsym $mod+Shift+6 move container to workspace 6
bindsym $mod+Shift+7 move container to workspace 7
bindsym $mod+Shift+8 move container to workspace 8
bindsym $mod+Shift+9 move container to workspace 9
bindsym $mod+Shift+0 move container to workspace 10
# reload the configuration file
bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
# resize window (you can also use the mouse for that)
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
# Pressing left will shrink the window’s width.
# Pressing right will grow the window’s width.
# Pressing up will shrink the window’s height.
# Pressing down will grow the window’s height.
bindsym $left resize shrink width 10 px or 10 ppt
bindsym $down resize grow height 10 px or 10 ppt
bindsym $up resize shrink height 10 px or 10 ppt
bindsym $right resize grow width 10 px or 10 ppt
# same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt
bindsym Down resize grow height 10 px or 10 ppt
bindsym Up resize shrink height 10 px or 10 ppt
bindsym Right resize grow width 10 px or 10 ppt
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
status_command i3status
position top
}
#######################################################################
# automatically start i3-config-wizard to offer the user to create a
# keysym-based config which used their favorite modifier (alt or windows)
#
# i3-config-wizard will not launch if there already is a config file
# in ~/.i3/config.
#
# Please remove the following exec line:
#######################################################################
exec i3-config-wizard
# Custom keybindings
set $Locker ~/Code/Configurations/i3/lock.sh && sleep 1
bindsym Mod1+Control+L exec $Locker
set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown
mode "$mode_system" {
bindsym l exec --no-startup-id $Locker, mode "default"
bindsym e exec --no-startup-id i3-msg exit, mode "default"
bindsym s exec --no-startup-id $Locker && systemctl suspend, mode "default"
bindsym h exec --no-startup-id $Locker && systemctl hibernate, mode "default"
bindsym r exec --no-startup-id systemctl reboot, mode "default"
bindsym Shift+s exec --no-startup-id systemctl poweroff -i, mode "default"
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym Control+Mod1+Delete mode "$mode_system"
# Pulse Audio controls
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +10% # increase sound
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -10% # decrease sound
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
# Sreen brightness controls
bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 5% # increase screen brightness
bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 5% # decrease screen brightness
# Displays
bindsym XF86Display exec --no-startup-id ~/Code/Configurations/i3/displays.sh
# Media player controls
bindsym XF86AudioPlay exec playerctl play
bindsym XF86AudioPause exec playerctl pause
bindsym XF86AudioNext exec playerctl next
# Switch workspace
bindsym Mod1+Control+Left workspace prev
bindsym Mod1+Control+Right workspace next
bindsym Mod1+Tab workspace back_and_forth
# Floating windows
for_window [instance="gnome-terminal"] floating enable
for_window [instance="terminator"] floating enable
# Startup applications
exec --no-startup-id guake
exec --no-startup-id compton
exec --no-startup-id nm-applet
exec --no-startup-id pa-applet
# exec_always --no-startup-id feh --bg-scale --randomize ~/Pictures/Wallpapers
polybar config
;=====================================================
;
; To learn more about how to configure Polybar
; go to https://github.com/jaagr/polybar
;
; The README contains alot of information
;
;=====================================================
[colors]
color15_i3wmthemer = ${xrdb:color15}
color14_i3wmthemer = ${xrdb:color14}
color13_i3wmthemer = ${xrdb:color13}
color12_i3wmthemer = ${xrdb:color12}
color11_i3wmthemer = ${xrdb:color11}
color10_i3wmthemer = ${xrdb:color10}
color09_i3wmthemer = ${xrdb:color9}
color08_i3wmthemer = ${xrdb:color8}
color07_i3wmthemer = ${xrdb:color7}
color06_i3wmthemer = ${xrdb:color6}
color05_i3wmthemer = ${xrdb:color5}
color04_i3wmthemer = ${xrdb:color4}
color03_i3wmthemer = ${xrdb:color3}
color02_i3wmthemer = ${xrdb:color2}
color01_i3wmthemer = ${xrdb:color1}
color00_i3wmthemer = ${xrdb:color0}
foreground_i3wmthemer = ${xrdb:foreground}
background_i3wmthemer = ${xrdb:background}
;background = ${xrdb:color0:#222}
background = #222
background-alt = #444
;foreground = ${xrdb:color7:#222}
foreground = #dfdfdf
foreground-alt = #555
primary = #ffb52a
secondary = #e60053
alert = #bd2c40
[bar/example]
;monitor = ${env:MONITOR:HDMI-1}
width = 100%
height = 27
;offset-x = 1%
;offset-y = 1%
radius = 6.0
fixed-center = true
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 3
line-color = ${colors.color04_i3wmthemer}
border-size = 0
border-color = ${colors.color02_i3wmthemer}
padding-left = 0
padding-right = 0
module-margin-left = 0
module-margin-right = 0
font-0 = monofur:fontformat=truetype:size=11;1
font-1 = monofur:fontformat=truetype:size=11;1
font-2 = monofur:fontformat=truetype:size=11;1
modules-left = bspwm i3
modules-center =
modules-right = filesystem xbacklight volume xkeyboard memory cpu battery temperature date powermenu
tray-position = right
tray-padding = 9
tray-transparent = false
tray-background = ${colors.background_i3wmthemer}
;wm-restack = bspwm
;wm-restack = i3
;override-redirect = true
;scroll-up = bspwm-desknext
;scroll-down = bspwm-deskprev
;scroll-up = i3wm-wsnext
;scroll-down = i3wm-wsprev
[module/xwindow]
type = internal/xwindow
label = %title:0:30:...%
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
format-prefix-underline = ${colors.secondary}
label-layout = %layout%
label-layout-underline = ${colors.secondary}
label-indicator-padding = 2
label-indicator-margin = 1
label-indicator-background = ${colors.secondary}
label-indicator-underline = ${colors.secondary}
[module/filesystem]
type = internal/fs
interval = 25
mount-0 = /
label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
label-unmounted = %mountpoint% not mounted
label-unmounted-foreground = ${colors.foreground-alt}
[module/bspwm]
type = internal/bspwm
label-focused = %index%
label-focused-background = ${colors.background-alt}
label-focused-underline= ${colors.primary}
label-focused-padding = 2
label-occupied = %index%
label-occupied-padding = 2
label-urgent = %index%!
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
label-empty = %index%
label-empty-foreground = ${colors.foreground-alt}
label-empty-padding = 2
[module/i3]
type = internal/i3
format = <label-state> <label-mode>
index-sort = true
wrapping-scroll = false
; Only show workspaces on the same output as the bar
;pin-workspaces = true
label-mode-padding = 2
label-mode-foreground = #000
label-mode-background = ${colors.primary}
; focused = Active workspace on focused monitor
label-focused = %index%
label-focused-background = ${module/bspwm.label-focused-background}
label-focused-underline = ${module/bspwm.label-focused-underline}
label-focused-padding = ${module/bspwm.label-focused-padding}
; unfocused = Inactive workspace on any monitor
label-unfocused = %index%
label-unfocused-padding = ${module/bspwm.label-occupied-padding}
; visible = Active workspace on unfocused monitor
label-visible = %index%
label-visible-background = ${self.label-focused-background}
label-visible-underline = ${self.label-focused-underline}
label-visible-padding = ${self.label-focused-padding}
; urgent = Workspace with urgency hint set
label-urgent = %index%
label-urgent-background = ${module/bspwm.label-urgent-background}
label-urgent-padding = ${module/bspwm.label-urgent-padding}
[module/mpd]
type = internal/mpd
format-online = <label-song> <icon-prev> <icon-stop> <toggle> <icon-next>
icon-prev =
icon-stop =
icon-play =
icon-pause =
icon-next =
label-song-maxlen = 25
label-song-ellipsis = true
[module/xbacklight]
type = internal/xbacklight
format = <label> <bar>
label = BL
bar-width = 10
bar-indicator = |
bar-indicator-foreground = #ff
bar-indicator-font = 2
bar-fill = ─
bar-fill-font = 2
bar-fill-foreground = #9f78e1
bar-empty = ─
bar-empty-font = 2
bar-empty-foreground = ${colors.foreground-alt}
[module/backlight-acpi]
inherit = module/xbacklight
type = internal/backlight
card = intel_backlight
[module/cpu]
type = internal/cpu
interval = 2
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #f90000
label = %percentage%%
[module/memory]
type = internal/memory
interval = 2
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #4bffdc
label = %percentage_used%%
[module/wlan]
type = internal/network
interface =
interval = 3.0
format-connected = <ramp-signal> <label-connected>
format-connected-underline = #9f78e1
label-connected = %essid%
format-disconnected =
;format-disconnected = <label-disconnected>
;format-disconnected-underline = ${self.format-connected-underline}
;label-disconnected = %ifname% disconnected
;label-disconnected-foreground = ${colors.foreground-alt}
ramp-signal-0 =
ramp-signal-1 =
ramp-signal-2 =
ramp-signal-3 =
ramp-signal-4 =
ramp-signal-foreground = ${colors.foreground-alt}
[module/eth]
type = internal/network
interface =
interval = 3.0
format-connected-underline = #55aa55
format-connected-prefix = " "
format-connected-prefix-foreground = ${colors.foreground-alt}
label-connected = %local_ip%
format-disconnected =
;format-disconnected = <label-disconnected>
;format-disconnected-underline = ${self.format-connected-underline}
;label-disconnected = %ifname% disconnected
;label-disconnected-foreground = ${colors.foreground-alt}
[module/date]
type = internal/date
interval = 5
date =
date-alt = " %Y-%m-%d"
time = %H:%M
time-alt = %H:%M:%S
format-prefix =
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #0a6cf5
label = %date% %time%
[module/volume]
type = internal/volume
format-volume = <label-volume> <bar-volume>
label-volume = VOL
label-volume-foreground = ${root.foreground}
format-muted-prefix = " "
format-muted-foreground = ${colors.foreground-alt}
label-muted = sound muted
bar-volume-width = 10
bar-volume-foreground-0 = #55aa55
bar-volume-foreground-1 = #55aa55
bar-volume-foreground-2 = #55aa55
bar-volume-foreground-3 = #55aa55
bar-volume-foreground-4 = #55aa55
bar-volume-foreground-5 = #f5a70a
bar-volume-foreground-6 = #ff5555
bar-volume-gradient = false
bar-volume-indicator = |
bar-volume-indicator-font = 2
bar-volume-fill = ─
bar-volume-fill-font = 2
bar-volume-empty = ─
bar-volume-empty-font = 2
bar-volume-empty-foreground = ${colors.foreground-alt}
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC
full-at = 98
format-charging = <animation-charging> <label-charging>
format-charging-underline = #ffb52a
format-discharging = <ramp-capacity> <label-discharging>
format-discharging-underline = ${self.format-charging-underline}
format-full-prefix = " "
format-full-prefix-foreground = ${colors.foreground-alt}
format-full-underline = ${self.format-charging-underline}
ramp-capacity-0 =
ramp-capacity-1 =
ramp-capacity-2 =
ramp-capacity-foreground = ${colors.foreground-alt}
animation-charging-0 =
animation-charging-1 =
animation-charging-2 =
animation-charging-foreground = ${colors.foreground-alt}
animation-charging-framerate = 750
[module/temperature]
type = internal/temperature
thermal-zone = 0
warn-temperature = 60
format = <ramp> <label>
format-underline = #f50a4d
format-warn = <ramp> <label-warn>
format-warn-underline = ${self.format-underline}
label = %temperature%
label-warn = %temperature%
label-warn-foreground = ${colors.secondary}
ramp-0 =
ramp-1 =
ramp-2 =
ramp-foreground = ${colors.foreground-alt}
[module/powermenu]
type = custom/menu
format-spacing = 1
label-open =
label-open-foreground = ${colors.secondary}
label-close = cancel
label-close-foreground = ${colors.secondary}
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
menu-0-0 = reboot
menu-0-0-exec = menu-open-1
menu-0-1 = power off
menu-0-1-exec = menu-open-2
menu-1-0 = cancel
menu-1-0-exec = menu-open-0
menu-1-1 = reboot
menu-1-1-exec = sudo reboot
menu-2-0 = power off
menu-2-0-exec = sudo poweroff
menu-2-1 = cancel
menu-2-1-exec = menu-open-0
[settings]
screenchange-reload = true
;compositing-background = xor
;compositing-background = screen
;compositing-foreground = source
;compositing-border = over
[global/wm]
margin-top = 5
margin-bottom = 5
; vim:ft=dosini
from i3wm-themer.
I have used the default configs of the system for both i3 and polybar.
from i3wm-themer.
So based on those, you have to add the following lines to your i3 configuration file:
client.background $background_i3wmthemer
client.focused $foreground_i3wmthemer $background_i3wmthemer $foreground_i3wmthemer $background_i3wmthemer $background_i3wmthemer
client.unfocused $foreground_i3wmthemer $background_i3wmthemer $foreground_i3wmthemer $background_i3wmthemer $background_i3wmthemer
client.focused_inactive $foreground_i3wmthemer $background_i3wmthemer $foreground_i3wmthemer $background_i3wmthemer $background_i3wmthemer
client.urgent $foreground_i3wmthemer $background_i3wmthemer $foreground_i3wmthemer $background_i3wmthemer $background_i3wmthemer
client.placeholder $foreground_i3wmthemer $background_i3wmthemer $foreground_i3wmthemer $background_i3wmthemer $background_i3wmthemer
I will reply soon with the changes that need to be done in your polybar configuration.
from i3wm-themer.
About your polybar, you should make some changes as well (those changes are not yet implemented on the script , but soon will be):
Change your lines :
background = ${colors.background}
foreground = ${colors.foreground}
With:
background = ${colors.background_i3wmthemer}
foreground = ${colors.foreground_i3wmthemer}
And crosscheck everything else using the configuration file for every theme, example:
https://github.com/unix121/i3wm-themer/blob/master/templated_themes/Forest/.config/polybar/config
Those changes should be enough for now, until I get to fix some issues and make the script overwrite more things in the Polybar configurations.
from i3wm-themer.
I did everything mentioned above but, still not able to get changes in my bar. I guess I am missing the ~/.config/polybar/launch.sh
script for polybar which has not been mentioned in README. And, no name of status bar or polybar has been mentioned or, is it not important.
from i3wm-themer.
Based on your configuration files the name if your bar is "example" and your i3 configuration file is not set to launch a polybar but an i3status. I think you should take further reading to :
https://github.com/jaagr/polybar/wiki
This is clearly not an issue with the script, it's just that you have not configured your dotfiles right. The script only overwrites the parts that are needed to configure your already existing polybar.
This script is not ment to create a new polybar for you, it only overwrites the basic parts of your pre-existing polybar to apply the basic changes you need.
Please read the Polybar documentation. This is not an issue related to the script.
from i3wm-themer.
Yeah, I got that. Also, I guess we need i3-gaps
instead of i3-wm
as it uses gaps.
from i3wm-themer.
I got it working after making some changes in configurations. Thanks!
from i3wm-themer.
Related Issues (20)
- Super cant be MOD HOT 3
- Use PPA's to install dependencies on Ubuntu installation script HOT 2
- I3 config file error HOT 3
- Error while using 000 theme HOT 2
- The default theme should become one of the themes to select later HOT 1
- Mistake in your git Why? section HOT 3
- polybar not fully showing, it just shows the workspace number and time. (like its cut off or something) HOT 4
- Remove rofi theme after uninstallation HOT 2
- Mate Power Manager, while XFCE4 already installed
- Thema
- Closed issue
- ninja can not found
- When i install the theme,application icon will not be show on the polybar HOT 1
- How do i unchange all the modifications? HOT 4
- Handle other partially installed PyYAML
- disable transition effect HOT 2
- 'Broken' state on Arch Linux
- Obscure error when installing requirements [SOLVED] HOT 2
- how to completely uninstall? HOT 1
- How to get rid of this top bar? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from i3wm-themer.