From 46a0a2a0546eb80f6f37a5aa010541cabf45a837 Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Sat, 3 Apr 2021 23:35:59 -0500 Subject: [PATCH] chore: general i3 update --- .config/i3/config | 10 ++++++---- .config/picom/picom.conf | 4 ++-- .xsessionrc | 5 +++++ 3 files changed, 13 insertions(+), 6 deletions(-) create mode 100644 .xsessionrc diff --git a/.config/i3/config b/.config/i3/config index 8211b46..5228e00 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -16,7 +16,7 @@ set $mod Mod4 font pango:monospace 8 # Set up Picom so we can use ulauncher -# exec_always --no-startup-id picom -b --config $HOME/.config/picom/picom.conf +exec_always --no-startup-id picom -b --config $HOME/.config/picom/picom.conf # This font is widely installed, provides lots of unicode glyphs, right-to-left # text rendering and scalability on retina/hidpi displays (thanks to pango). @@ -44,8 +44,6 @@ bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause bindsym XF86AudioNext exec --no-startup-id playerctl next bindsym XF86AudioPrev exec --no-startup-id playerctl previous - - # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod @@ -55,8 +53,12 @@ bindsym $mod+Return exec kitty # kill focused window bindsym $mod+Shift+q kill +# Start ulauncher +# Can add --no-window-shadow if I don't want to use a compositor +exec_always --no-startup-id ulauncher --hide-window + # start dmenu (a program launcher) -bindsym $mod+space exec ulauncher --no-window-shadow +bindsym $mod+space exec ulauncher-toggle # A more modern dmenu replacement is rofi: # bindsym $mod+space exec "rofi -modi drun,run -show drun" diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf index 631b731..c71ecfd 100644 --- a/.config/picom/picom.conf +++ b/.config/picom/picom.conf @@ -210,8 +210,8 @@ blur-background-exclude = [ # Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`. # `xrender` is the default one. # -# backend = "glx"; -backend = "xrender"; +backend = "glx"; +# backend = "xrender"; # Enable/disable VSync. # vsync = false diff --git a/.xsessionrc b/.xsessionrc new file mode 100644 index 0000000..26b7ee7 --- /dev/null +++ b/.xsessionrc @@ -0,0 +1,5 @@ +#!/bin/bash + +if [[ "$DESKTOP_SESSION" == "i3" ]]; then + export QT_QPA_PLATFORMTHEME="qt5ct" +fi