Adding picom

This commit is contained in:
2025-06-14 09:19:15 +02:00
parent 0de057523d
commit 8f0d75f685
5 changed files with 136 additions and 4 deletions

View File

@@ -8,6 +8,8 @@
# i3 config file (v4)
#
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
# Some reason system boots wrong resolution
exec --no-startup-id ~/bin/set_display_ultrawide
# Alt
set $mod Mod1
@@ -31,7 +33,7 @@ exec --no-startup-id dex --autostart --environment i3
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
# screen before suspend. Use loginctl lock-session to lock your screen.
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork -i ~/Documents/Resources/Backgrounds/51202139522_fbf4788f42_o.png
# NetworkManager is the most popular way to manage wireless networks on Linux,
# and nm-applet is a desktop environment-independent system tray GUI for it.
@@ -63,6 +65,7 @@ bindsym $mod+Shift+q kill
# A more modern dmenu replacement is rofi:
bindcode $win+65 exec "rofi -modi drun,run -show drun"
bindcode $mod+65 exec "rofi -show window"
bindcode Mod4+v exec 'rofi -modi "clipboard:greenclip print" -show clipboard -run-command "{cmd}"'
# There also is i3-dmenu-desktop which only displays applications shipping a
# .desktop file. It is a wrapper around dmenu, so you need that installed.
# bindcode $mod+40 exec --no-startup-id i3-dmenu-desktop
@@ -191,13 +194,20 @@ bindsym $mod+r mode "resize"
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
default_border normal 5px
default_border pixel 1px
smart_borders on
# This needs a newer verison of i3 then I have on my desktop right now
#gaps inner 5px
gaps inner 5px
# Turn off my screen after 10 min of in-activity
exec --no-startup-id xset dpms 600
exec --no-startup-id /usr/bin/blueman-applet
exec --no-startup-id nitrogen --restore
exec --no-startup-id greenclip deamon
exec --no-startup-id flatpak run com.core447.StreamController -b
exec --no-startup-id picom
bindcode $win+. exec flatpak run it.mijorus.smile
exec --no-startup-id i3-msg "workspace 6; append_layout ~/.config/i3/workspace-6.json"

53
i3/workspace-6.json Normal file
View File

@@ -0,0 +1,53 @@
// vim:ts=4:sw=4:et
{
"marks": [],
"name": "YouTube Music",
"percent": 0.25,
"swallows": [
{
"class": "^Brave\\-browser$",
"instance": "^crx_cinhimbnkkaeohfgghhklpknlkffjgod$",
"title": "^YouTube\\ Music$"
}
],
"type": "con"
}
{
"marks": [],
"name": "WhatsApp Web",
"percent": 0.25,
"swallows": [
{
"class": "^Brave\\-browser$",
"instance": "^crx_hnpfjngllnobngcgfapefoaidbinmjnm$",
"title": "^WhatsApp\\ Web$"
}
],
"type": "con"
}
{
"marks": [],
"name": "WhatsApp Web",
"percent": 0.25,
"swallows": [
{
"class": "^Brave\\-browser$",
"instance": "^crx_hnpfjngllnobngcgfapefoaidbinmjnm$"
}
],
"type": "con"
}
{
"marks": [],
"name": "Friends - Discord",
"percent": 0.25,
"swallows": [
{
"class": "^discord$"
}
],
"type": "con"
}