You are not logged in.
Hello guys,
How are you?
It's been a while since my last post here, everything was ok. Right now, when doing my new rice on i3 I got to deal with compton.
I thought it would be a good idea to make some programs a bit transparent like URxvt, Polybar and Zathura.
So I wrote a pretty basic config file to just test if opacity rules were alright:
# Shadow
shadow = true;
no-dnd-shadow = true;
no-dock-shadow = false;
clear-shadow = true;
shadow-radius = 7;
shadow-offset-x = -7;
shadow-offset-y = -7;
shadow-opacity = 0.8;
shadow-red = 0.0;
shadow-green = 0.0;
shadow-blue = 0.0;
# opacity
opacity-rule = [
"90:class_g= 'Polybar'",
"90:class_g= 'Zathura'",
"90:class_g= 'Pcmanfm'"
];So, this should work right? At first, when I run compton it works but when I refresh i3 nothing more works and opacity for the programs above get set to 1 automatically.
This is my i3 config (pretty simple but it's because i'm starting the new rice so i'm at the start)
bindsym $mod+Return exec i3-sensible-terminal
bindsym $mod+Shift+q kill
bindsym $mod+d exec dmenu_run
# >> variables
set $exec exec --no-startup-id
set $always exec_always exec
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle
# change container layout (tabbed, toggle split)
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
set $ws1 "code"
set $ws2 "web"
set $ws3 "books"
set $ws4 "chill"
set $ws5 "chat"
# switch to workspace
bindsym $mod+1 workspace $ws1
bindsym $mod+2 workspace $ws2
bindsym $mod+3 workspace $ws3
bindsym $mod+4 workspace $ws4
bindsym $mod+5 workspace $ws5
# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace $ws1
bindsym $mod+Shift+2 move container to workspace $ws2
bindsym $mod+Shift+3 move container to workspace $ws3
bindsym $mod+Shift+4 move container to workspace $ws4
bindsym $mod+Shift+5 move container to workspace $ws5
bindsym $mod+Shift+c reload
bindsym $mod+Shift+r restart
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'"
mode "resize" {
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
bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"
# >> window rules and gaps
for_window [class="^.*"] border pixel 0
gaps outer 5
gaps inner 10
# >> commands to always execute
$always polybarlaunch
$always setxkbmap fr
$always xrdb ~/.Xresourcesand this is my .xinitrc in case you would see it:
sysresources=/home/hustler/.Xresources
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
feh --bg-scale /home/hustler/Pictures/1.jpg
compton --daemon -b --config /home/hustler/.config/compton/compton.conf
exec i3I'm a bit lost at the moment so if anybody have a solution it would be good to know ![]()
Have a nice day guys
Offline
did you solved it?
Offline