Update i3, compton, rofi, and a pacman hook

This commit is contained in:
foo-dogsquared 2019-09-01 14:23:44 +08:00
parent e6af3fa8ac
commit ac806fcc93
4 changed files with 13 additions and 9 deletions

View File

@ -110,7 +110,8 @@ frame-opacity = 1;
inactive-opacity-override = false;
# Dim inactive windows. (0.0 - 1.0)
inactive-dim = 0.75;
inactive-dim = 0.3;
# Do not let dimness adjust based on window opacity.
# inactive-dim-fixed = true;
# Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred.
@ -131,7 +132,7 @@ blur-background-exclude = [
#################################
# Fade windows during opacity changes.
fading = true;
fading = false;
# The time between steps in a fade in milliseconds. (default 10).
fade-delta = 4;
# Opacity change between steps while fading in. (default 0.028).
@ -139,7 +140,7 @@ fade-in-step = 0.03;
# Opacity change between steps while fading out. (default 0.03).
fade-out-step = 0.03;
# Fade windows in/out when opening/closing
# no-fading-openclose = true;
no-fading-openclose = true;
# Specify a list of conditions of windows that should not be faded.
fade-exclude = [ ];

View File

@ -62,6 +62,7 @@ bindsym $mod+Shift+q kill
# start dmenu (a program launcher)
bindsym $mod+d exec rofi -show drun -sidebar-mode -theme fds-sidebar-dark
bindsym $mod+Shift+d exec ~/.scripts/rofi-user-action-menu.sh
# 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.
@ -211,11 +212,9 @@ bindsym $mod+Shift+9 move container to workspace $ws9
bindsym $mod+Shift+0 move container to workspace $ws10
# reload the configuration file
bindsym $mod+Shift+c reload
bindsym $mod+r 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" {
@ -233,10 +232,10 @@ mode "resize" {
# back to normal: Enter or Escape or $mod+r
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym $mod+r mode "default"
bindsym $mod+q mode "default"
}
bindsym $mod+r mode "resize"
bindsym $mod+q mode "resize"
# Make dialogs to float by default
for_window [window_role="pop-up"] floating enable
@ -267,6 +266,9 @@ mode "applications" {
bindsym $mod+a mode "applications"; exec sleep 1 && i3-msg mode "default"
bindsym $mod+c [class="code"] focus
bindsym $mod+Shift+c [instance="vim"] focus
# i3 bar
bar {
height 35

View File

@ -8,6 +8,6 @@ Target = *
[Action]
Depends = pacman
Description = Do a system sync first before doing any operations
When = PostTransaction
When = PreTransaction
Exec = /usr/bin/pacman -Syu

View File

@ -5,4 +5,5 @@ configuration {
display-ssh: "SSH";
font: "Iosevka 14";
show-icons: true;
theme: "fds-sidebar-dark";
}