Cleanup i3 config
This commit is contained in:
parent
234db0eb0d
commit
107330526a
8 changed files with 635 additions and 527 deletions
530
de/i3/config
530
de/i3/config
|
@ -1,35 +1,9 @@
|
||||||
# This file is a modified version based on default i3-config-wizard config
|
|
||||||
# source is available here:
|
|
||||||
# https://raw.githubusercontent.com/endeavouros-team/endeavouros-i3wm-setup/master/.config/i3/config
|
|
||||||
# Maintainer: joekamprad [joekamprad //a_t// endeavouros.com]
|
|
||||||
# https://endeavouros.com
|
|
||||||
#
|
|
||||||
# iconic font icon search: https://fontawesome.com/v4.7/cheatsheet/
|
|
||||||
#
|
|
||||||
# --> to update this run the following command (will backup existing setup file)
|
|
||||||
# wget --backups=1 https://raw.githubusercontent.com/endeavouros-team/endeavouros-i3wm-setup/main/.config/i3/config -P ~/.config/i3/
|
|
||||||
#
|
|
||||||
# Endeavouros-i3 config file
|
|
||||||
# Source for complete framework of our i3 config and theming here: https://github.com/endeavouros-team/endeavouros-i3wm-setup
|
|
||||||
# EndeavourOS wiki holds some Information also: https://discovery.endeavouros.com/window-tiling-managers/i3-wm/
|
|
||||||
# Please see http://i3wm.org/docs/userguide.html for the official i3 reference!
|
|
||||||
|
|
||||||
#######################
|
|
||||||
# config starts here: #
|
|
||||||
#######################
|
|
||||||
|
|
||||||
# Font for window titles. Will also be used by the bar unless a different font
|
|
||||||
# is used in the bar {} block below.
|
|
||||||
# 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: Noto Sans Regular 10
|
font pango: Noto Sans Regular 10
|
||||||
|
|
||||||
# set the mod key to the winkey:
|
set $terminal alacritty
|
||||||
set $mod Mod4
|
set $browser firefox
|
||||||
|
|
||||||
#####################
|
include ~/.config/i3/config.d/*.conf
|
||||||
# workspace layout: #
|
|
||||||
#####################
|
|
||||||
|
|
||||||
# default i3 tiling mode:
|
# default i3 tiling mode:
|
||||||
workspace_layout default
|
workspace_layout default
|
||||||
|
@ -53,259 +27,16 @@ new_window pixel 2
|
||||||
# hide_edge_borders both
|
# hide_edge_borders both
|
||||||
|
|
||||||
# Set inner/outer gaps
|
# Set inner/outer gaps
|
||||||
gaps inner 0
|
gaps inner 10
|
||||||
gaps outer 0
|
gaps outer 0
|
||||||
|
|
||||||
# show window title bars (not officially supported with i3gaps)
|
# show window title bars (not officially supported with i3gaps)
|
||||||
default_border normal
|
# default_border normal
|
||||||
default_floating_border pixel 0
|
# default_floating_border pixel 0
|
||||||
|
|
||||||
# window title alignment
|
# window title alignment
|
||||||
title_align center
|
title_align center
|
||||||
|
|
||||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
|
||||||
floating_modifier $mod
|
|
||||||
|
|
||||||
# switch/iterate between workspaces
|
|
||||||
bindsym $mod+Tab workspace next
|
|
||||||
bindsym $mod+Shift+Tab workspace prev
|
|
||||||
|
|
||||||
# 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
|
|
||||||
bindsym $mod+6 workspace $ws6
|
|
||||||
bindsym $mod+7 workspace $ws7
|
|
||||||
bindsym $mod+8 workspace $ws8
|
|
||||||
bindsym $mod+9 workspace $ws9
|
|
||||||
bindsym $mod+0 workspace $ws10
|
|
||||||
|
|
||||||
# switch to workspace with numpad keys
|
|
||||||
bindcode $mod+87 workspace 1
|
|
||||||
bindcode $mod+88 workspace 2
|
|
||||||
bindcode $mod+89 workspace 3
|
|
||||||
bindcode $mod+83 workspace 4
|
|
||||||
bindcode $mod+84 workspace 5
|
|
||||||
bindcode $mod+85 workspace 6
|
|
||||||
bindcode $mod+79 workspace 7
|
|
||||||
bindcode $mod+80 workspace 8
|
|
||||||
bindcode $mod+81 workspace 9
|
|
||||||
bindcode $mod+90 workspace 10
|
|
||||||
|
|
||||||
# switch to workspace with numlock numpad keys
|
|
||||||
bindcode $mod+Mod2+87 workspace $ws1
|
|
||||||
bindcode $mod+Mod2+88 workspace $ws2
|
|
||||||
bindcode $mod+Mod2+89 workspace $ws3
|
|
||||||
bindcode $mod+Mod2+83 workspace $ws4
|
|
||||||
bindcode $mod+Mod2+84 workspace $ws5
|
|
||||||
bindcode $mod+Mod2+85 workspace $ws6
|
|
||||||
bindcode $mod+Mod2+79 workspace $ws7
|
|
||||||
bindcode $mod+Mod2+80 workspace $ws8
|
|
||||||
bindcode $mod+Mod2+81 workspace $ws9
|
|
||||||
bindcode $mod+Mod2+90 workspace $ws10
|
|
||||||
|
|
||||||
# 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+6 move container to workspace $ws6
|
|
||||||
bindsym $mod+Shift+7 move container to workspace $ws7
|
|
||||||
bindsym $mod+Shift+8 move container to workspace $ws8
|
|
||||||
bindsym $mod+Shift+9 move container to workspace $ws9
|
|
||||||
bindsym $mod+Shift+0 move container to workspace $ws10
|
|
||||||
|
|
||||||
# move focused container to workspace with numpad keys
|
|
||||||
bindcode $mod+Shift+Mod2+87 move container to workspace $ws1
|
|
||||||
bindcode $mod+Shift+Mod2+88 move container to workspace $ws2
|
|
||||||
bindcode $mod+Shift+Mod2+89 move container to workspace $ws3
|
|
||||||
bindcode $mod+Shift+Mod2+83 move container to workspace $ws4
|
|
||||||
bindcode $mod+Shift+Mod2+84 move container to workspace $ws5
|
|
||||||
bindcode $mod+Shift+Mod2+85 move container to workspace $ws6
|
|
||||||
bindcode $mod+Shift+Mod2+79 move container to workspace $ws7
|
|
||||||
bindcode $mod+Shift+Mod2+80 move container to workspace $ws8
|
|
||||||
bindcode $mod+Shift+Mod2+81 move container to workspace $ws9
|
|
||||||
bindcode $mod+Shift+Mod2+90 move container to workspace $ws10
|
|
||||||
|
|
||||||
# move focused container to workspace with numpad keys
|
|
||||||
bindcode $mod+Shift+87 move container to workspace $ws1
|
|
||||||
bindcode $mod+Shift+88 move container to workspace $ws2
|
|
||||||
bindcode $mod+Shift+89 move container to workspace $ws3
|
|
||||||
bindcode $mod+Shift+83 move container to workspace $ws4
|
|
||||||
bindcode $mod+Shift+84 move container to workspace $ws5
|
|
||||||
bindcode $mod+Shift+85 move container to workspace $ws6
|
|
||||||
bindcode $mod+Shift+79 move container to workspace $ws7
|
|
||||||
bindcode $mod+Shift+80 move container to workspace $ws8
|
|
||||||
bindcode $mod+Shift+81 move container to workspace $ws9
|
|
||||||
bindcode $mod+Shift+90 move container to workspace $ws10
|
|
||||||
|
|
||||||
# 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 h resize shrink width 5 px or 5 ppt
|
|
||||||
bindsym j resize grow height 5 px or 5 ppt
|
|
||||||
bindsym k resize shrink height 5 px or 5 ppt
|
|
||||||
bindsym l resize grow width 5 px or 5 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+Shift+s mode "resize"
|
|
||||||
|
|
||||||
######################################
|
|
||||||
# keybindings for different actions: #
|
|
||||||
######################################
|
|
||||||
|
|
||||||
# start a terminal
|
|
||||||
bindsym $mod+Return exec alacritty
|
|
||||||
|
|
||||||
# kill focused window
|
|
||||||
bindsym $mod+q kill
|
|
||||||
|
|
||||||
# exit-menu
|
|
||||||
bindsym $mod+Shift+e exec ~/.config/i3/scripts/powermenu
|
|
||||||
|
|
||||||
# Lock the system
|
|
||||||
# lock with a picture:
|
|
||||||
#bindsym $mod+l exec i3lock -i ~/.config/i3/i3-lock-screen.png -p default|win -t
|
|
||||||
# lock by blurring the screen:
|
|
||||||
bindsym $mod+l exec ~/.config/i3/scripts/blur-lock
|
|
||||||
|
|
||||||
# reload the configuration file
|
|
||||||
bindsym $mod+Shift+c reload
|
|
||||||
|
|
||||||
# restart i3 inplace (preserves your layout/session, can be used to update i3)
|
|
||||||
bindsym $mod+Shift+r restart
|
|
||||||
|
|
||||||
# keybinding in fancy rofi (automated):
|
|
||||||
bindsym F1 exec ~/.config/i3/scripts/keyhint-2
|
|
||||||
# alternative
|
|
||||||
# keybinding list in editor:
|
|
||||||
# bindsym $mod+F1 exec xed ~/.config/i3/keybindings
|
|
||||||
|
|
||||||
# Backlight control
|
|
||||||
#bindsym XF86MonBrightnessUp exec xbacklight +10 && notify-send "Brightness - $(xbacklight -get | cut -d '.' -f 1)%"
|
|
||||||
#bindsym XF86MonBrightnessDown exec xbacklight -10 && notify-send "Brightness - $(xbacklight -get | cut -d '.' -f 1)%"
|
|
||||||
# Backlight setting using dunst osc
|
|
||||||
bindsym XF86MonBrightnessUp exec --no-startup-id ~/.config/i3/scripts/volume_brightness.sh brightness_up
|
|
||||||
bindsym XF86MonBrightnessDown exec --no-startup-id ~/.config/i3/scripts/volume_brightness.sh brightness_down
|
|
||||||
|
|
||||||
bindsym XF86KbdBrightnessUp exec brightnessctl -d asus::kbd_backlight set 1%+
|
|
||||||
bindsym XF86KbdBrightnessDown exec brightnessctl -d asus::kbd_backlight set 1%-
|
|
||||||
|
|
||||||
# change focus
|
|
||||||
# bindsym $mod+j focus left
|
|
||||||
# bindsym $mod+k focus down
|
|
||||||
# bindsym $mod+b focus up
|
|
||||||
# bindsym $mod+o 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+j move left
|
|
||||||
# bindsym $mod+Shift+k move down
|
|
||||||
# bindsym $mod+Shift+b move up
|
|
||||||
# bindsym $mod+Shift+o 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+g 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
|
|
||||||
|
|
||||||
# open new empty workspace
|
|
||||||
bindsym $mod+Shift+n exec ~/.config/i3/scripts/empty_workspace
|
|
||||||
|
|
||||||
# Multimedia Keys
|
|
||||||
|
|
||||||
# volume
|
|
||||||
# use meta keys without showing osc
|
|
||||||
#bindsym XF86AudioRaiseVolume exec amixer -D pulse sset Master 5%+ && pkill -RTMIN+1 i3blocks
|
|
||||||
#bindsym XF86AudioLowerVolume exec amixer -D pulse sset Master 5%- && pkill -RTMIN+1 i3blocks
|
|
||||||
# use meta keys showing osc using dunst
|
|
||||||
bindsym XF86AudioRaiseVolume exec --no-startup-id ~/.config/i3/scripts/volume_brightness.sh volume_up
|
|
||||||
bindsym XF86AudioLowerVolume exec --no-startup-id ~/.config/i3/scripts/volume_brightness.sh volume_down
|
|
||||||
|
|
||||||
# gradular volume control
|
|
||||||
bindsym $mod+XF86AudioRaiseVolume exec amixer -D pulse sset Master 1%+ && pkill -RTMIN+1 i3blocks
|
|
||||||
bindsym $mod+XF86AudioLowerVolume exec amixer -D pulse sset Master 1%- && pkill -RTMIN+1 i3blocks
|
|
||||||
|
|
||||||
# mute
|
|
||||||
#bindsym XF86AudioMute exec amixer sset Master toggle && killall -USR1 i3blocks
|
|
||||||
# use meta keys showing osc using dunst
|
|
||||||
bindsym XF86AudioMute exec --no-startup-id ~/.config/i3/scripts/volume_brightness.sh volume_mute
|
|
||||||
|
|
||||||
# mic mute toggle
|
|
||||||
bindsym XF86AudioMicMute exec amixer sset Capture toggle
|
|
||||||
|
|
||||||
# audio control
|
|
||||||
bindsym XF86AudioPlay exec playerctl play
|
|
||||||
bindsym XF86AudioPause exec playerctl pause
|
|
||||||
bindsym XF86AudioNext exec playerctl next
|
|
||||||
bindsym XF86AudioPrev exec playerctl previous
|
|
||||||
|
|
||||||
# Redirect sound to headphones
|
|
||||||
bindsym $mod+p exec /usr/local/bin/switch-audio-port
|
|
||||||
|
|
||||||
## App shortcuts
|
|
||||||
bindsym $mod+b exec /usr/bin/firefox
|
|
||||||
bindsym $mod+n exec /usr/bin/thunar
|
|
||||||
bindsym Print exec scrot ~/%Y-%m-%d-%T-screenshot.png && notify-send "Screenshot saved to ~/$(date +"%Y-%m-%d-%T")-screenshot.png"
|
|
||||||
bindsym XF86TouchpadToggle exec ~/.local/bin/toggle-touchpad
|
|
||||||
|
|
||||||
# Screenshot
|
|
||||||
bindsym $mod+F6 exec --no-startup-id maim --select | xclip -selection clipboard -t image/png
|
|
||||||
|
|
||||||
# Color picker
|
|
||||||
bindcode --release $mod+35 exec --no-startup-id xcolor -s clipboard
|
|
||||||
|
|
||||||
# Power Profiles menu switcher (rofi)
|
|
||||||
bindsym $mod+Shift+p exec ~/.config/i3/scripts/power-profiles
|
|
||||||
# Panel overdrive
|
|
||||||
bindsym $mod+Shift+o exec button=1 ~/.config/i3/scripts/refresh-rate
|
|
||||||
|
|
||||||
##########################################
|
##########################################
|
||||||
# configuration for workspace behaviour: #
|
# configuration for workspace behaviour: #
|
||||||
##########################################
|
##########################################
|
||||||
|
@ -332,165 +63,6 @@ set $ws10 "10"
|
||||||
#workspace $ws4 output HDMI-0
|
#workspace $ws4 output HDMI-0
|
||||||
#workspace $ws5 output HDMI-0
|
#workspace $ws5 output HDMI-0
|
||||||
|
|
||||||
# bind program to workspace and focus to them on startup:
|
|
||||||
assign [class="(?i)discord"] $ws9
|
|
||||||
# assign [class="(?i)firefox"] $ws2
|
|
||||||
# assign [class="Thunar"] $ws3
|
|
||||||
# assign [class="thunderbird"] $ws4
|
|
||||||
# assign [class="TelegramDesktop"] $ws5
|
|
||||||
|
|
||||||
# automatic set focus new window if it opens on another workspace than the current:
|
|
||||||
# for_window [class=Xfce4-terminal] focus
|
|
||||||
# for_window [class=(?i)firefox] focus
|
|
||||||
# for_window [class=Thunar] focus
|
|
||||||
# for_window [class=Thunderbird] focus
|
|
||||||
# for_window [class=TelegramDesktop] focus
|
|
||||||
|
|
||||||
##############
|
|
||||||
# compositor #
|
|
||||||
##############
|
|
||||||
|
|
||||||
# transparency
|
|
||||||
# uncomment one of them to be used
|
|
||||||
# options could need changes, related to used GPU and drivers.
|
|
||||||
# to find the right setting consult the archwiki or ask at the forum.
|
|
||||||
#
|
|
||||||
# xcompmgr: https://wiki.archlinux.org/title/Xcompmgr
|
|
||||||
# manpage: https://man.archlinux.org/man/xcompmgr.1.en
|
|
||||||
# install xcompmgr package to use it (yay -S xcompmgr)
|
|
||||||
#exec --no-startup-id xcompmgr -C -n &
|
|
||||||
# or an more specialized config like this:
|
|
||||||
#exec --no-startup-id xcompmgr -c -C -t-5 -l-5 -r4.2 -o.55 &
|
|
||||||
#
|
|
||||||
# or:
|
|
||||||
#
|
|
||||||
# picom: https://wiki.archlinux.org/title/Picom
|
|
||||||
# manpage: https://man.archlinux.org/man/picom.1.en
|
|
||||||
# The default configuration is available in /etc/xdg/picom.conf
|
|
||||||
# For modifications, it can be copied to ~/.config/picom/picom.conf or ~/.config/picom.conf
|
|
||||||
# install picom package (yay -S picom)
|
|
||||||
# start using default config
|
|
||||||
#exec_always --no-startup-id picom -b
|
|
||||||
#
|
|
||||||
# for custom config:
|
|
||||||
#exec_always --no-startup-id picom --config ~/.config/picom.conf
|
|
||||||
|
|
||||||
#############################################
|
|
||||||
# autostart applications/services on login: #
|
|
||||||
#############################################
|
|
||||||
|
|
||||||
#get auth work with polkit-gnome
|
|
||||||
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
|
||||||
|
|
||||||
# dex execute .desktop files + apps using /etc/xdg/autostart.
|
|
||||||
# when second to i3 a DE is installed or mixed usage of i3 + xfce4 or GNOME
|
|
||||||
# in this cases better disable dex and use manual starting apps using xdg/autostart
|
|
||||||
# if enabled you should comment welcome app.
|
|
||||||
# https://github.com/jceb/dex
|
|
||||||
#exec --no-startup-id dex -a -s /etc/xdg/autostart/:~/.config/autostart/
|
|
||||||
exec --no-startup-id dex --autostart --environment i3
|
|
||||||
|
|
||||||
# start welcome app
|
|
||||||
#exec --no-startup-id sh /usr/share/endeavouros/scripts/welcome --startdelay=3
|
|
||||||
|
|
||||||
# num lock activated
|
|
||||||
#exec --no-startup-id numlockx on
|
|
||||||
|
|
||||||
# configure multiple keyboard layouts and hotkey to switch (Alt+CAPSLOCK in this example)
|
|
||||||
#exec --no-startup-id setxkbmap -layout 'us,sk' -variant altgr-intl,qwerty -option 'grp:alt_caps_toggle'
|
|
||||||
|
|
||||||
# start conky:
|
|
||||||
#exec_always --no-startup-id conky
|
|
||||||
|
|
||||||
# start a script to setup displays
|
|
||||||
# uncomment the next line, use arandr to setup displays and save the file as monitor:
|
|
||||||
exec --no-startup-id ~/.screenlayout/monitor.sh
|
|
||||||
|
|
||||||
# set wallpaper
|
|
||||||
# exec --no-startup-id sleep 2 && nitrogen --restore
|
|
||||||
exec --no-startup-id sleep 1 && feh --bg-fill "/home/gaspard/Images/Wallpapers/ExylCollection/Desktop Flute Altar by Exyl.png"
|
|
||||||
exec picom --config ~/.config/picom/picom.conf
|
|
||||||
|
|
||||||
exec udiskie
|
|
||||||
|
|
||||||
# set powersavings for display:
|
|
||||||
exec --no-startup-id xset s 480 dpms 600 600 600
|
|
||||||
|
|
||||||
# disable power saving (for example if using xscreensaver)
|
|
||||||
#exec --no-startup-id xset -dpms
|
|
||||||
|
|
||||||
# use xautolock to use autosuspend rules for mobile devices
|
|
||||||
# https://wiki.archlinux.org/title/Session_lock#xautolock
|
|
||||||
#exec --no-startup-id xautolock -time 60 -locker "systemctl suspend"
|
|
||||||
|
|
||||||
|
|
||||||
# xscreensaver
|
|
||||||
# https://www.jwz.org/xscreensaver
|
|
||||||
#exec --no-startup-id xscreensaver --no-splash
|
|
||||||
|
|
||||||
# Desktop notifications
|
|
||||||
# dunst config used ~/.config/dunst/dunstrc
|
|
||||||
# set alternative config if needed:
|
|
||||||
#exec --no-startup-id /usr/bin/dunst --config ~/.config/dunst/dunstrc
|
|
||||||
# may yneed to run dbus-launch explicitly:
|
|
||||||
#exec --no-startup-id dbus-launch /usr/bin/dunst
|
|
||||||
exec --no-startup-id /usr/bin/dunst
|
|
||||||
# alternative if you installed aside with XFCE4:
|
|
||||||
# exec --no-startup-id /usr/lib/xfce4/notifyd/xfce4-notifyd &
|
|
||||||
|
|
||||||
# autotiling script
|
|
||||||
# https://github.com/nwg-piotr/autotiling
|
|
||||||
# `yay -S autotiling ;) (it is in AUR)
|
|
||||||
#exec_always --no-startup-id autotiling
|
|
||||||
|
|
||||||
# Autostart apps as you like
|
|
||||||
#exec --no-startup-id sleep 2 && xfce4-terminal
|
|
||||||
#exec --no-startup-id sleep 7 && firefox https://github.com/endeavouros-team/endeavouros-i3wm-setup/blob/main/force-knowledge.md
|
|
||||||
#exec --no-startup-id sleep 3 && thunar
|
|
||||||
|
|
||||||
###############
|
|
||||||
# system tray #
|
|
||||||
###############
|
|
||||||
# if you do not use dex: exec --no-startup-id dex --autostart --environment i3
|
|
||||||
# you need to have tray apps started manually one by one:
|
|
||||||
|
|
||||||
# start blueberry app for managing bluetooth devices from tray:
|
|
||||||
#exec --no-startup-id blueberry-tray
|
|
||||||
|
|
||||||
# networkmanager-applet
|
|
||||||
#exec --no-startup-id nm-applet
|
|
||||||
|
|
||||||
# clipman-applet
|
|
||||||
#exec --no-startup-id xfce4-clipman
|
|
||||||
|
|
||||||
##################
|
|
||||||
# floating rules #
|
|
||||||
##################
|
|
||||||
|
|
||||||
# set floating (nontiling) for apps needing it
|
|
||||||
for_window [class="Yad" instance="yad"] floating enable
|
|
||||||
for_window [class="Galculator" instance="galculator"] floating enable
|
|
||||||
for_window [class="Blueberry.py" instance="blueberry.py"] floating enable
|
|
||||||
|
|
||||||
# set floating (nontiling) for special apps
|
|
||||||
for_window [class="Xsane" instance="xsane"] floating enable
|
|
||||||
for_window [class="Pavucontrol" instance="pavucontrol"] floating enable
|
|
||||||
for_window [class="qt5ct" instance="qt5ct"] floating enable
|
|
||||||
for_window [class="Blueberry.py" instance="blueberry.py"] floating enable
|
|
||||||
for_window [class="Bluetooth-sendto" instance="bluetooth-sendto"] floating enable
|
|
||||||
for_window [class="Pamac-manager"] floating enable
|
|
||||||
for_window [window_role="About"] floating enable
|
|
||||||
|
|
||||||
# set border of floating window
|
|
||||||
for_window [class="urxvt"] border pixel 1
|
|
||||||
|
|
||||||
# set size of floating window
|
|
||||||
#for_window [window_role="(?i)GtkFileChooserDialog"] resize set 640 480 #to set size of file choose dialog
|
|
||||||
#for_window [class=".*"] resize set 640 480 #to change size of all floating windows
|
|
||||||
|
|
||||||
# set position of floating window
|
|
||||||
#for_window [class=".*"] move position center
|
|
||||||
|
|
||||||
######################################
|
######################################
|
||||||
# color settings for bar and windows #
|
# color settings for bar and windows #
|
||||||
######################################
|
######################################
|
||||||
|
@ -515,93 +87,3 @@ client.unfocused $darkblue $darkblue $grey $darkgrey $darkgrey
|
||||||
client.focused_inactive $darkblue $darkblue $grey $black $black
|
client.focused_inactive $darkblue $darkblue $grey $black $black
|
||||||
client.urgent $urgentred $urgentred $white $yellowbrown $yellowbrown
|
client.urgent $urgentred $urgentred $white $yellowbrown $yellowbrown
|
||||||
|
|
||||||
############################################
|
|
||||||
# bar settings (input comes from i3blocks) #
|
|
||||||
############################################
|
|
||||||
|
|
||||||
# Start i3bar to display a workspace bar
|
|
||||||
# (plus the system information i3status finds out, if available)
|
|
||||||
bar {
|
|
||||||
font pango: Noto Sans Regular 10
|
|
||||||
status_command i3blocks -c ~/.config/i3/i3blocks.conf
|
|
||||||
position bottom
|
|
||||||
# i3bar_command i3bar --transparency
|
|
||||||
# it could be that you have no primary display set: set one (xrandr --output <output> --primary)
|
|
||||||
# reference: https://i3wm.org/docs/userguide.html#_tray_output
|
|
||||||
#tray_output primary
|
|
||||||
tray_padding 0
|
|
||||||
|
|
||||||
# When strip_workspace_numbers is set to yes,
|
|
||||||
# any workspace that has a name of the form
|
|
||||||
# “[n][:][NAME]” will display only the name.
|
|
||||||
strip_workspace_numbers yes
|
|
||||||
##strip_workspace_name no
|
|
||||||
|
|
||||||
colors {
|
|
||||||
separator $purple
|
|
||||||
background $darkgrey
|
|
||||||
statusline $white
|
|
||||||
# border bg txt indicator
|
|
||||||
focused_workspace $mediumgrey $grey $darkgrey $purple
|
|
||||||
active_workspace $lightblue $mediumgrey $darkgrey $purple
|
|
||||||
inactive_workspace $darkgrey $darkgrey $grey $purple
|
|
||||||
urgent_workspace $urgentred $urgentred $white $purple
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
# you can add different bars for multidisplay setups on each display:
|
|
||||||
# set output HDMI-0 to the display you want the bar, --transparency can be set.
|
|
||||||
# Transparency needs rgba color codes to be used where the last two letters are the transparency factor see here:
|
|
||||||
# https://gist.github.com/lopspower/03fb1cc0ac9f32ef38f4
|
|
||||||
# #08052be6 --> e6=90%
|
|
||||||
|
|
||||||
# bar {
|
|
||||||
# font pango: Noto Sans Regular 10
|
|
||||||
# status_command i3blocks -c ~/.config/i3/i3blocks-2.conf
|
|
||||||
# i3bar_command i3bar --transparency
|
|
||||||
# output HDMI-0
|
|
||||||
# position bottom
|
|
||||||
#
|
|
||||||
# When strip_workspace_numbers is set to yes,
|
|
||||||
# any workspace that has a name of the form
|
|
||||||
# “[n][:][NAME]” will display only the name.
|
|
||||||
#strip_workspace_numbers yes
|
|
||||||
##strip_workspace_name no
|
|
||||||
#
|
|
||||||
# colors {
|
|
||||||
# separator $purple
|
|
||||||
# background $darkbluetrans
|
|
||||||
# statusline $white
|
|
||||||
# border bg txt indicator
|
|
||||||
# focused_workspace $lighterblue $lighterblue $darkblue $purple
|
|
||||||
# active_workspace $lightdblue $lightdblue $darkblue $purple
|
|
||||||
# inactive_workspace $darkblue $darkblue $lightdblue $purple
|
|
||||||
# urgent_workspace $urgentred $urgentred $white $purple
|
|
||||||
# }
|
|
||||||
#}
|
|
||||||
|
|
||||||
#####################################
|
|
||||||
# Application menu handled by rofi: #
|
|
||||||
#####################################
|
|
||||||
|
|
||||||
## rofi bindings fancy application menu ($mod+d /F9 optional disabled)
|
|
||||||
|
|
||||||
bindsym $mod+r exec rofi -modi drun -show drun \
|
|
||||||
-config ~/.config/rofi/rofidmenu.rasi
|
|
||||||
|
|
||||||
#bindsym F9 exec rofi -modi drun -show drun \
|
|
||||||
# -config ~/.config/rofi/rofidmenu.rasi
|
|
||||||
|
|
||||||
## rofi bindings for window menu ($mod+t /F10 optional disabled)
|
|
||||||
|
|
||||||
bindsym $mod+t exec rofi -show window \
|
|
||||||
-config ~/.config/rofi/rofidmenu.rasi
|
|
||||||
|
|
||||||
#bindsym F10 exec rofi -show window \
|
|
||||||
# -config ~/.config/rofi/rofidmenu.rasi
|
|
||||||
|
|
||||||
## rofi bindings to manage clipboard (install rofi-greenclip from the AUR)
|
|
||||||
|
|
||||||
#exec --no-startup-id greenclip daemon>/dev/null
|
|
||||||
#bindsym $mod+c exec --no-startup-id rofi -modi "clipboard:greenclip print" -show clipboard \
|
|
||||||
# -config ~/.config/rofi/rofidmenu.rasi
|
|
||||||
|
|
178
de/i3/config.d/bindings.conf
Normal file
178
de/i3/config.d/bindings.conf
Normal file
|
@ -0,0 +1,178 @@
|
||||||
|
set $mod Mod4
|
||||||
|
|
||||||
|
# i3 reloading
|
||||||
|
bindsym $mod+Shift+c reload
|
||||||
|
bindsym $mod+Shift+r restart
|
||||||
|
|
||||||
|
# Important stuff
|
||||||
|
|
||||||
|
bindsym $mod+Return exec $terminal
|
||||||
|
bindsym $mod+r exec rofi -modi drun -show drun \
|
||||||
|
-config ~/.config/rofi/rofidmenu.rasi
|
||||||
|
bindsym $mod+t exec rofi -show window \
|
||||||
|
-config ~/.config/rofi/rofidmenu.rasi
|
||||||
|
bindsym $mod+b exec $browser
|
||||||
|
bindsym $mod+n exec /usr/bin/thunar
|
||||||
|
|
||||||
|
bindsym $mod+q kill
|
||||||
|
|
||||||
|
bindsym $mod+Shift+e exec ~/.config/i3/scripts/powermenu
|
||||||
|
bindsym $mod+l exec ~/.config/i3/scripts/blur-lock
|
||||||
|
bindsym $mod+Shift+n exec ~/.config/i3/scripts/empty_workspace
|
||||||
|
|
||||||
|
# Screenshot
|
||||||
|
bindsym $mod+F6 exec --no-startup-id maim --select | xclip -selection clipboard -t image/png
|
||||||
|
# Color picker
|
||||||
|
bindcode --release $mod+35 exec --no-startup-id xcolor -s clipboard
|
||||||
|
# Power Profiles menu switcher (rofi)
|
||||||
|
bindsym $mod+Shift+p exec ~/.config/i3/scripts/power-profiles
|
||||||
|
# Panel overdrive
|
||||||
|
bindsym $mod+Shift+o exec button=1 ~/.config/i3/scripts/refresh-rate
|
||||||
|
|
||||||
|
bindsym XF86TouchpadToggle exec ~/.local/bin/toggle-touchpad
|
||||||
|
|
||||||
|
bindsym XF86MonBrightnessUp exec --no-startup-id ~/.config/i3/scripts/volume_brightness.sh brightness_up
|
||||||
|
bindsym XF86MonBrightnessDown exec --no-startup-id ~/.config/i3/scripts/volume_brightness.sh brightness_down
|
||||||
|
|
||||||
|
bindsym XF86KbdBrightnessUp exec brightnessctl -d asus::kbd_backlight set 1%+
|
||||||
|
bindsym XF86KbdBrightnessDown exec brightnessctl -d asus::kbd_backlight set 1%-
|
||||||
|
|
||||||
|
# Multimedia Keys
|
||||||
|
bindsym XF86AudioRaiseVolume exec --no-startup-id ~/.config/i3/scripts/volume_brightness.sh volume_up
|
||||||
|
bindsym XF86AudioLowerVolume exec --no-startup-id ~/.config/i3/scripts/volume_brightness.sh volume_down
|
||||||
|
|
||||||
|
# mute
|
||||||
|
bindsym XF86AudioMute exec --no-startup-id ~/.config/i3/scripts/volume_brightness.sh volume_mute
|
||||||
|
|
||||||
|
# audio control
|
||||||
|
bindsym XF86AudioPlay exec playerctl play
|
||||||
|
bindsym XF86AudioPause exec playerctl pause
|
||||||
|
bindsym XF86AudioNext exec playerctl next
|
||||||
|
bindsym XF86AudioPrev exec playerctl previous
|
||||||
|
|
||||||
|
# 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+g 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
|
||||||
|
|
||||||
|
# Change focus
|
||||||
|
bindsym $mod+Left focus left
|
||||||
|
bindsym $mod+Down focus down
|
||||||
|
bindsym $mod+Up focus up
|
||||||
|
bindsym $mod+Right focus right
|
||||||
|
|
||||||
|
# Move focused
|
||||||
|
bindsym $mod+Shift+Left move left
|
||||||
|
bindsym $mod+Shift+Down move down
|
||||||
|
bindsym $mod+Shift+Up move up
|
||||||
|
bindsym $mod+Shift+Right move right
|
||||||
|
|
||||||
|
floating_modifier $mod
|
||||||
|
|
||||||
|
# switch/iterate between workspaces
|
||||||
|
bindsym $mod+Tab workspace next
|
||||||
|
bindsym $mod+Shift+Tab workspace prev
|
||||||
|
|
||||||
|
# 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
|
||||||
|
bindsym $mod+6 workspace $ws6
|
||||||
|
bindsym $mod+7 workspace $ws7
|
||||||
|
bindsym $mod+8 workspace $ws8
|
||||||
|
bindsym $mod+9 workspace $ws9
|
||||||
|
bindsym $mod+0 workspace $ws10
|
||||||
|
|
||||||
|
# switch to workspace with numpad keys
|
||||||
|
bindcode $mod+87 workspace 1
|
||||||
|
bindcode $mod+88 workspace 2
|
||||||
|
bindcode $mod+89 workspace 3
|
||||||
|
bindcode $mod+83 workspace 4
|
||||||
|
bindcode $mod+84 workspace 5
|
||||||
|
bindcode $mod+85 workspace 6
|
||||||
|
bindcode $mod+79 workspace 7
|
||||||
|
bindcode $mod+80 workspace 8
|
||||||
|
bindcode $mod+81 workspace 9
|
||||||
|
bindcode $mod+90 workspace 10
|
||||||
|
|
||||||
|
# switch to workspace with numlock numpad keys
|
||||||
|
bindcode $mod+Mod2+87 workspace $ws1
|
||||||
|
bindcode $mod+Mod2+88 workspace $ws2
|
||||||
|
bindcode $mod+Mod2+89 workspace $ws3
|
||||||
|
bindcode $mod+Mod2+83 workspace $ws4
|
||||||
|
bindcode $mod+Mod2+84 workspace $ws5
|
||||||
|
bindcode $mod+Mod2+85 workspace $ws6
|
||||||
|
bindcode $mod+Mod2+79 workspace $ws7
|
||||||
|
bindcode $mod+Mod2+80 workspace $ws8
|
||||||
|
bindcode $mod+Mod2+81 workspace $ws9
|
||||||
|
bindcode $mod+Mod2+90 workspace $ws10
|
||||||
|
|
||||||
|
# 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+6 move container to workspace $ws6
|
||||||
|
bindsym $mod+Shift+7 move container to workspace $ws7
|
||||||
|
bindsym $mod+Shift+8 move container to workspace $ws8
|
||||||
|
bindsym $mod+Shift+9 move container to workspace $ws9
|
||||||
|
bindsym $mod+Shift+0 move container to workspace $ws10
|
||||||
|
|
||||||
|
# move focused container to workspace with numpad keys
|
||||||
|
bindcode $mod+Shift+Mod2+87 move container to workspace $ws1
|
||||||
|
bindcode $mod+Shift+Mod2+88 move container to workspace $ws2
|
||||||
|
bindcode $mod+Shift+Mod2+89 move container to workspace $ws3
|
||||||
|
bindcode $mod+Shift+Mod2+83 move container to workspace $ws4
|
||||||
|
bindcode $mod+Shift+Mod2+84 move container to workspace $ws5
|
||||||
|
bindcode $mod+Shift+Mod2+85 move container to workspace $ws6
|
||||||
|
bindcode $mod+Shift+Mod2+79 move container to workspace $ws7
|
||||||
|
bindcode $mod+Shift+Mod2+80 move container to workspace $ws8
|
||||||
|
bindcode $mod+Shift+Mod2+81 move container to workspace $ws9
|
||||||
|
bindcode $mod+Shift+Mod2+90 move container to workspace $ws10
|
||||||
|
|
||||||
|
# move focused container to workspace with numpad keys
|
||||||
|
bindcode $mod+Shift+87 move container to workspace $ws1
|
||||||
|
bindcode $mod+Shift+88 move container to workspace $ws2
|
||||||
|
bindcode $mod+Shift+89 move container to workspace $ws3
|
||||||
|
bindcode $mod+Shift+83 move container to workspace $ws4
|
||||||
|
bindcode $mod+Shift+84 move container to workspace $ws5
|
||||||
|
bindcode $mod+Shift+85 move container to workspace $ws6
|
||||||
|
bindcode $mod+Shift+79 move container to workspace $ws7
|
||||||
|
bindcode $mod+Shift+80 move container to workspace $ws8
|
||||||
|
bindcode $mod+Shift+81 move container to workspace $ws9
|
||||||
|
bindcode $mod+Shift+90 move container to workspace $ws10
|
||||||
|
|
||||||
|
mode "resize" {
|
||||||
|
bindsym h resize shrink width 5 px or 5 ppt
|
||||||
|
bindsym j resize grow height 5 px or 5 ppt
|
||||||
|
bindsym k resize shrink height 5 px or 5 ppt
|
||||||
|
bindsym l resize grow width 5 px or 5 ppt
|
||||||
|
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
}
|
||||||
|
|
||||||
|
bindsym $mod+Shift+s mode "resize"
|
||||||
|
|
||||||
|
|
1
de/i3/config.d/environment.conf
Normal file
1
de/i3/config.d/environment.conf
Normal file
|
@ -0,0 +1 @@
|
||||||
|
|
13
de/i3/config.d/startup.conf
Normal file
13
de/i3/config.d/startup.conf
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
# Startup
|
||||||
|
|
||||||
|
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||||
|
exec --no-startup-id dex --autostart --environment i3
|
||||||
|
exec --no-startup-id ~/.screenlayout/monitor.sh
|
||||||
|
exec --no-startup-id /usr/bin/dunst
|
||||||
|
|
||||||
|
exec artix-pipewire-launcher
|
||||||
|
|
||||||
|
exec --no-startup-id sleep 1 && feh --bg-fill "/home/gaspard/Images/Wallpapers/ExylCollection/Desktop Flute Altar by Exyl.png"
|
||||||
|
exec picom --config ~/.config/picom/picom.conf
|
||||||
|
|
||||||
|
exec udiskie
|
5
de/i3/config.d/windowrules.conf
Normal file
5
de/i3/config.d/windowrules.conf
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# Window rules
|
||||||
|
|
||||||
|
assign [class="(?i)discord"] $ws9
|
||||||
|
|
||||||
|
for_window [class="Pavucontrol" instance="pavucontrol"] floating enable
|
428
misc/picom/picom.conf
Normal file
428
misc/picom/picom.conf
Normal file
|
@ -0,0 +1,428 @@
|
||||||
|
#################################
|
||||||
|
# Shadows #
|
||||||
|
#################################
|
||||||
|
|
||||||
|
|
||||||
|
# Enabled client-side shadows on windows. Note desktop windows
|
||||||
|
# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow,
|
||||||
|
# unless explicitly requested using the wintypes option.
|
||||||
|
#
|
||||||
|
shadow = false
|
||||||
|
# shadow = true;
|
||||||
|
|
||||||
|
# The blur radius for shadows, in pixels. (defaults to 12)
|
||||||
|
# shadow-radius = 12
|
||||||
|
shadow-radius = 7;
|
||||||
|
|
||||||
|
# The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
|
||||||
|
# shadow-opacity = .75
|
||||||
|
|
||||||
|
# The left offset for shadows, in pixels. (defaults to -15)
|
||||||
|
# shadow-offset-x = -15
|
||||||
|
shadow-offset-x = -7;
|
||||||
|
|
||||||
|
# The top offset for shadows, in pixels. (defaults to -15)
|
||||||
|
# shadow-offset-y = -15
|
||||||
|
shadow-offset-y = -7;
|
||||||
|
|
||||||
|
# Red color value of shadow (0.0 - 1.0, defaults to 0).
|
||||||
|
# shadow-red = 0
|
||||||
|
|
||||||
|
# Green color value of shadow (0.0 - 1.0, defaults to 0).
|
||||||
|
# shadow-green = 0
|
||||||
|
|
||||||
|
# Blue color value of shadow (0.0 - 1.0, defaults to 0).
|
||||||
|
# shadow-blue = 0
|
||||||
|
|
||||||
|
# Hex string color value of shadow (#000000 - #FFFFFF, defaults to #000000). This option will override options set shadow-(red/green/blue)
|
||||||
|
# shadow-color = "#000000"
|
||||||
|
|
||||||
|
# Specify a list of conditions of windows that should have no shadow.
|
||||||
|
#
|
||||||
|
# examples:
|
||||||
|
# shadow-exclude = "n:e:Notification";
|
||||||
|
#
|
||||||
|
# shadow-exclude = []
|
||||||
|
shadow-exclude = [
|
||||||
|
"name = 'Notification'",
|
||||||
|
"class_g = 'Conky'",
|
||||||
|
"class_g ?= 'Notify-osd'",
|
||||||
|
"class_g = 'Cairo-clock'",
|
||||||
|
"_GTK_FRAME_EXTENTS@:c"
|
||||||
|
];
|
||||||
|
|
||||||
|
# Specify a list of conditions of windows that should have no shadow painted over, such as a dock window.
|
||||||
|
# clip-shadow-above = []
|
||||||
|
|
||||||
|
# Specify a X geometry that describes the region in which shadow should not
|
||||||
|
# be painted in, such as a dock window region. Use
|
||||||
|
# shadow-exclude-reg = "x10+0+0"
|
||||||
|
# for example, if the 10 pixels on the bottom of the screen should not have shadows painted on.
|
||||||
|
#
|
||||||
|
# shadow-exclude-reg = ""
|
||||||
|
|
||||||
|
# Crop shadow of a window fully on a particular Xinerama screen to the screen.
|
||||||
|
# xinerama-shadow-crop = false
|
||||||
|
|
||||||
|
|
||||||
|
#################################
|
||||||
|
# Fading #
|
||||||
|
#################################
|
||||||
|
|
||||||
|
|
||||||
|
# Fade windows in/out when opening/closing and when opacity changes,
|
||||||
|
# unless no-fading-openclose is used.
|
||||||
|
# fading = false
|
||||||
|
fading = false;
|
||||||
|
|
||||||
|
# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
|
||||||
|
# fade-in-step = 0.028
|
||||||
|
fade-in-step = 0.03;
|
||||||
|
|
||||||
|
# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03)
|
||||||
|
# fade-out-step = 0.03
|
||||||
|
fade-out-step = 0.03;
|
||||||
|
|
||||||
|
# The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
|
||||||
|
# fade-delta = 10
|
||||||
|
|
||||||
|
# Specify a list of conditions of windows that should not be faded.
|
||||||
|
# fade-exclude = []
|
||||||
|
|
||||||
|
# Do not fade on window open/close.
|
||||||
|
# no-fading-openclose = false
|
||||||
|
|
||||||
|
# Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc.
|
||||||
|
# no-fading-destroyed-argb = false
|
||||||
|
|
||||||
|
|
||||||
|
#################################
|
||||||
|
# Transparency / Opacity #
|
||||||
|
#################################
|
||||||
|
|
||||||
|
|
||||||
|
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
|
||||||
|
inactive-opacity = 1.0
|
||||||
|
# inactive-opacity = 0.95;
|
||||||
|
|
||||||
|
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
|
||||||
|
frame-opacity = 1.0
|
||||||
|
# frame-opacity = 0.9;
|
||||||
|
|
||||||
|
# Let inactive opacity set by -i override the '_NET_WM_WINDOW_OPACITY' values of windows.
|
||||||
|
# inactive-opacity-override = true
|
||||||
|
inactive-opacity-override = false;
|
||||||
|
|
||||||
|
# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
|
||||||
|
# active-opacity = 1.0
|
||||||
|
|
||||||
|
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
|
||||||
|
# inactive-dim = 0.0
|
||||||
|
|
||||||
|
# Specify a list of conditions of windows that should never be considered focused.
|
||||||
|
# focus-exclude = []
|
||||||
|
focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
||||||
|
|
||||||
|
# Use fixed inactive dim value, instead of adjusting according to window opacity.
|
||||||
|
# inactive-dim-fixed = 1.0
|
||||||
|
|
||||||
|
# Specify a list of opacity rules, in the format `PERCENT:PATTERN`,
|
||||||
|
# like `50:name *= "Firefox"`. picom-trans is recommended over this.
|
||||||
|
# Note we don't make any guarantee about possible conflicts with other
|
||||||
|
# programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows.
|
||||||
|
# example:
|
||||||
|
# opacity-rule = [ "80:class_g = 'URxvt'" ];
|
||||||
|
#
|
||||||
|
# opacity-rule = []
|
||||||
|
|
||||||
|
|
||||||
|
#################################
|
||||||
|
# Corners #
|
||||||
|
#################################
|
||||||
|
|
||||||
|
# Sets the radius of rounded window corners. When > 0, the compositor will
|
||||||
|
# round the corners of windows. Does not interact well with
|
||||||
|
# `transparent-clipping`.
|
||||||
|
corner-radius = 0
|
||||||
|
|
||||||
|
# Exclude conditions for rounded corners.
|
||||||
|
rounded-corners-exclude = [
|
||||||
|
"window_type = 'dock'",
|
||||||
|
"window_type = 'desktop'"
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
|
#################################
|
||||||
|
# Background-Blurring #
|
||||||
|
#################################
|
||||||
|
|
||||||
|
|
||||||
|
# Parameters for background blurring, see the *BLUR* section for more information.
|
||||||
|
# blur-method =
|
||||||
|
# blur-size = 12
|
||||||
|
#
|
||||||
|
# blur-deviation = false
|
||||||
|
#
|
||||||
|
# blur-strength = 5
|
||||||
|
|
||||||
|
# Blur background of semi-transparent / ARGB windows.
|
||||||
|
# Bad in performance, with driver-dependent behavior.
|
||||||
|
# The name of the switch may change without prior notifications.
|
||||||
|
#
|
||||||
|
# blur-background = false
|
||||||
|
|
||||||
|
# Blur background of windows when the window frame is not opaque.
|
||||||
|
# Implies:
|
||||||
|
# blur-background
|
||||||
|
# Bad in performance, with driver-dependent behavior. The name may change.
|
||||||
|
#
|
||||||
|
# blur-background-frame = false
|
||||||
|
|
||||||
|
|
||||||
|
# Use fixed blur strength rather than adjusting according to window opacity.
|
||||||
|
# blur-background-fixed = false
|
||||||
|
|
||||||
|
|
||||||
|
# Specify the blur convolution kernel, with the following format:
|
||||||
|
# example:
|
||||||
|
# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
|
||||||
|
#
|
||||||
|
# blur-kern = ""
|
||||||
|
blur-kern = "3x3box";
|
||||||
|
|
||||||
|
|
||||||
|
# Exclude conditions for background blur.
|
||||||
|
# blur-background-exclude = []
|
||||||
|
blur-background-exclude = [
|
||||||
|
"window_type = 'dock'",
|
||||||
|
"window_type = 'desktop'",
|
||||||
|
"_GTK_FRAME_EXTENTS@:c"
|
||||||
|
];
|
||||||
|
|
||||||
|
#################################
|
||||||
|
# General Settings #
|
||||||
|
#################################
|
||||||
|
|
||||||
|
# Enable remote control via D-Bus. See the man page for more details.
|
||||||
|
# dbus = true
|
||||||
|
|
||||||
|
# Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers.
|
||||||
|
# daemon = false
|
||||||
|
|
||||||
|
# Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`.
|
||||||
|
# `xrender` is the default one.
|
||||||
|
#
|
||||||
|
# backend = "glx"
|
||||||
|
backend = "xrender";
|
||||||
|
|
||||||
|
# Enable/disable VSync.
|
||||||
|
# vsync = false
|
||||||
|
vsync = true;
|
||||||
|
|
||||||
|
# Enable remote control via D-Bus. See the *D-BUS API* section below for more details.
|
||||||
|
# dbus = false
|
||||||
|
|
||||||
|
# Try to detect WM windows (a non-override-redirect window with no
|
||||||
|
# child that has 'WM_STATE') and mark them as active.
|
||||||
|
#
|
||||||
|
# mark-wmwin-focused = false
|
||||||
|
mark-wmwin-focused = true;
|
||||||
|
|
||||||
|
# Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused.
|
||||||
|
# mark-ovredir-focused = false
|
||||||
|
mark-ovredir-focused = true;
|
||||||
|
|
||||||
|
# Try to detect windows with rounded corners and don't consider them
|
||||||
|
# shaped windows. The accuracy is not very high, unfortunately.
|
||||||
|
#
|
||||||
|
# detect-rounded-corners = false
|
||||||
|
detect-rounded-corners = true;
|
||||||
|
|
||||||
|
# Detect '_NET_WM_WINDOW_OPACITY' on client windows, useful for window managers
|
||||||
|
# not passing '_NET_WM_WINDOW_OPACITY' of client windows to frame windows.
|
||||||
|
#
|
||||||
|
# detect-client-opacity = false
|
||||||
|
detect-client-opacity = true;
|
||||||
|
|
||||||
|
# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window,
|
||||||
|
# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy,
|
||||||
|
# provided that the WM supports it.
|
||||||
|
#
|
||||||
|
# use-ewmh-active-win = false
|
||||||
|
|
||||||
|
# Unredirect all windows if a full-screen opaque window is detected,
|
||||||
|
# to maximize performance for full-screen windows. Known to cause flickering
|
||||||
|
# when redirecting/unredirecting windows.
|
||||||
|
#
|
||||||
|
# unredir-if-possible = false
|
||||||
|
|
||||||
|
# Delay before unredirecting the window, in milliseconds. Defaults to 0.
|
||||||
|
# unredir-if-possible-delay = 0
|
||||||
|
|
||||||
|
# Conditions of windows that shouldn't be considered full-screen for unredirecting screen.
|
||||||
|
# unredir-if-possible-exclude = []
|
||||||
|
|
||||||
|
# Use 'WM_TRANSIENT_FOR' to group windows, and consider windows
|
||||||
|
# in the same group focused at the same time.
|
||||||
|
#
|
||||||
|
# detect-transient = false
|
||||||
|
detect-transient = true;
|
||||||
|
|
||||||
|
# Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same
|
||||||
|
# group focused at the same time. This usually means windows from the same application
|
||||||
|
# will be considered focused or unfocused at the same time.
|
||||||
|
# 'WM_TRANSIENT_FOR' has higher priority if detect-transient is enabled, too.
|
||||||
|
#
|
||||||
|
# detect-client-leader = false
|
||||||
|
|
||||||
|
# Resize damaged region by a specific number of pixels.
|
||||||
|
# A positive value enlarges it while a negative one shrinks it.
|
||||||
|
# If the value is positive, those additional pixels will not be actually painted
|
||||||
|
# to screen, only used in blur calculation, and such. (Due to technical limitations,
|
||||||
|
# with use-damage, those pixels will still be incorrectly painted to screen.)
|
||||||
|
# Primarily used to fix the line corruption issues of blur,
|
||||||
|
# in which case you should use the blur radius value here
|
||||||
|
# (e.g. with a 3x3 kernel, you should use `--resize-damage 1`,
|
||||||
|
# with a 5x5 one you use `--resize-damage 2`, and so on).
|
||||||
|
# May or may not work with *--glx-no-stencil*. Shrinking doesn't function correctly.
|
||||||
|
#
|
||||||
|
# resize-damage = 1
|
||||||
|
|
||||||
|
# Specify a list of conditions of windows that should be painted with inverted color.
|
||||||
|
# Resource-hogging, and is not well tested.
|
||||||
|
#
|
||||||
|
# invert-color-include = []
|
||||||
|
|
||||||
|
# GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer.
|
||||||
|
# Might cause incorrect opacity when rendering transparent content (but never
|
||||||
|
# practically happened) and may not work with blur-background.
|
||||||
|
# My tests show a 15% performance boost. Recommended.
|
||||||
|
#
|
||||||
|
glx-no-stencil = true;
|
||||||
|
|
||||||
|
# GLX backend: Avoid rebinding pixmap on window damage.
|
||||||
|
# Probably could improve performance on rapid window content changes,
|
||||||
|
# but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.).
|
||||||
|
# Recommended if it works.
|
||||||
|
#
|
||||||
|
# glx-no-rebind-pixmap = false
|
||||||
|
|
||||||
|
# Disable the use of damage information.
|
||||||
|
# This cause the whole screen to be redrawn every time, instead of the part of the screen
|
||||||
|
# has actually changed. Potentially degrades the performance, but might fix some artifacts.
|
||||||
|
# The opposing option is use-damage
|
||||||
|
#
|
||||||
|
# no-use-damage = false
|
||||||
|
use-damage = false;
|
||||||
|
|
||||||
|
# Use X Sync fence to sync clients' draw calls, to make sure all draw
|
||||||
|
# calls are finished before picom starts drawing. Needed on nvidia-drivers
|
||||||
|
# with GLX backend for some users.
|
||||||
|
#
|
||||||
|
# xrender-sync-fence = false
|
||||||
|
|
||||||
|
# GLX backend: Use specified GLSL fragment shader for rendering window
|
||||||
|
# contents. Read the man page for a detailed explanation of the interface.
|
||||||
|
#
|
||||||
|
# window-shader-fg = "default"
|
||||||
|
|
||||||
|
# Use rules to set per-window shaders. Syntax is SHADER_PATH:PATTERN, similar
|
||||||
|
# to opacity-rule. SHADER_PATH can be "default". This overrides window-shader-fg.
|
||||||
|
#
|
||||||
|
# window-shader-fg-rule = [
|
||||||
|
# "my_shader.frag:window_type != 'dock'"
|
||||||
|
# ]
|
||||||
|
|
||||||
|
# Force all windows to be painted with blending. Useful if you
|
||||||
|
# have a glx-fshader-win that could turn opaque pixels transparent.
|
||||||
|
#
|
||||||
|
# force-win-blend = false
|
||||||
|
|
||||||
|
# Do not use EWMH to detect fullscreen windows.
|
||||||
|
# Reverts to checking if a window is fullscreen based only on its size and coordinates.
|
||||||
|
#
|
||||||
|
# no-ewmh-fullscreen = false
|
||||||
|
|
||||||
|
# Dimming bright windows so their brightness doesn't exceed this set value.
|
||||||
|
# Brightness of a window is estimated by averaging all pixels in the window,
|
||||||
|
# so this could comes with a performance hit.
|
||||||
|
# Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. (default: 1.0)
|
||||||
|
#
|
||||||
|
# max-brightness = 1.0
|
||||||
|
|
||||||
|
# Make transparent windows clip other windows like non-transparent windows do,
|
||||||
|
# instead of blending on top of them.
|
||||||
|
#
|
||||||
|
# transparent-clipping = false
|
||||||
|
|
||||||
|
# Specify a list of conditions of windows that should never have transparent
|
||||||
|
# clipping applied. Useful for screenshot tools, where you need to be able to
|
||||||
|
# see through transparent parts of the window.
|
||||||
|
#
|
||||||
|
# transparent-clipping-exclude = []
|
||||||
|
|
||||||
|
# Set the log level. Possible values are:
|
||||||
|
# "trace", "debug", "info", "warn", "error"
|
||||||
|
# in increasing level of importance. Case doesn't matter.
|
||||||
|
# If using the "TRACE" log level, it's better to log into a file
|
||||||
|
# using *--log-file*, since it can generate a huge stream of logs.
|
||||||
|
#
|
||||||
|
# log-level = "debug"
|
||||||
|
log-level = "warn";
|
||||||
|
|
||||||
|
# Set the log file.
|
||||||
|
# If *--log-file* is never specified, logs will be written to stderr.
|
||||||
|
# Otherwise, logs will to written to the given file, though some of the early
|
||||||
|
# logs might still be written to the stderr.
|
||||||
|
# When setting this option from the config file, it is recommended to use an absolute path.
|
||||||
|
#
|
||||||
|
# log-file = "/path/to/your/log/file"
|
||||||
|
|
||||||
|
# Show all X errors (for debugging)
|
||||||
|
# show-all-xerrors = false
|
||||||
|
|
||||||
|
# Write process ID to a file.
|
||||||
|
# write-pid-path = "/path/to/your/log/file"
|
||||||
|
|
||||||
|
# Window type settings
|
||||||
|
#
|
||||||
|
# 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard:
|
||||||
|
# "unknown", "desktop", "dock", "toolbar", "menu", "utility",
|
||||||
|
# "splash", "dialog", "normal", "dropdown_menu", "popup_menu",
|
||||||
|
# "tooltip", "notification", "combo", and "dnd".
|
||||||
|
#
|
||||||
|
# Following per window-type options are available: ::
|
||||||
|
#
|
||||||
|
# fade, shadow:::
|
||||||
|
# Controls window-type-specific shadow and fade settings.
|
||||||
|
#
|
||||||
|
# opacity:::
|
||||||
|
# Controls default opacity of the window type.
|
||||||
|
#
|
||||||
|
# focus:::
|
||||||
|
# Controls whether the window of this type is to be always considered focused.
|
||||||
|
# (By default, all window types except "normal" and "dialog" has this on.)
|
||||||
|
#
|
||||||
|
# full-shadow:::
|
||||||
|
# Controls whether shadow is drawn under the parts of the window that you
|
||||||
|
# normally won't be able to see. Useful when the window has parts of it
|
||||||
|
# transparent, and you want shadows in those areas.
|
||||||
|
#
|
||||||
|
# clip-shadow-above:::
|
||||||
|
# Controls whether shadows that would have been drawn above the window should
|
||||||
|
# be clipped. Useful for dock windows that should have no shadow painted on top.
|
||||||
|
#
|
||||||
|
# redir-ignore:::
|
||||||
|
# Controls whether this type of windows should cause screen to become
|
||||||
|
# redirected again after been unredirected. If you have unredir-if-possible
|
||||||
|
# set, and doesn't want certain window to cause unnecessary screen redirection,
|
||||||
|
# you can set this to `true`.
|
||||||
|
#
|
||||||
|
wintypes:
|
||||||
|
{
|
||||||
|
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
|
||||||
|
dock = { shadow = false; clip-shadow-above = true; }
|
||||||
|
dnd = { shadow = false; }
|
||||||
|
popup_menu = { opacity = 1.0; }
|
||||||
|
dropdown_menu = { opacity = 1.0; }
|
||||||
|
};
|
1
sync
1
sync
|
@ -22,6 +22,7 @@ synced_files = [
|
||||||
('term/rio/', '~/.config/rio/'),
|
('term/rio/', '~/.config/rio/'),
|
||||||
('term/alacritty/', '~/.config/alacritty/'),
|
('term/alacritty/', '~/.config/alacritty/'),
|
||||||
('bar/waybar/', '~/.config/waybar/'),
|
('bar/waybar/', '~/.config/waybar/'),
|
||||||
|
('misc/picom/', '~/.config/picom/'),
|
||||||
|
|
||||||
('bin/swaylock-hyprland', '~/.local/bin/swaylock-hyprland'),
|
('bin/swaylock-hyprland', '~/.local/bin/swaylock-hyprland'),
|
||||||
('bin/Hyprland', '~/.local/bin/Hyprland'),
|
('bin/Hyprland', '~/.local/bin/Hyprland'),
|
||||||
|
|
Loading…
Reference in a new issue