From: Andrew Lorimer Date: Fri, 9 Aug 2019 11:54:30 +0000 (+1000) Subject: add tilda support, minor fixes X-Git-Url: https://git.lorimer.id.au/dotfiles.git/diff_plain/236d47d8bed6e53e042b39ef6150bb6867520405 add tilda support, minor fixes --- diff --git a/compton/.compton.conf b/compton/.compton.conf index 9dc651d..a5ee1a5 100644 --- a/compton/.compton.conf +++ b/compton/.compton.conf @@ -138,7 +138,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 = 3; # Opacity change between steps while fading in. (default 0.028). @@ -149,7 +149,7 @@ fade-out-step = 0.03; # no-fading-openclose = true; # Specify a list of conditions of windows that should not be faded. -fade-exclude = [ ]; +#fade-exclude = [ "class_g = 'rofi'" ]; ################################# # diff --git a/i3/.i3/config b/i3/.i3/config index 181e2a0..2850856 100644 --- a/i3/.i3/config +++ b/i3/.i3/config @@ -22,10 +22,10 @@ bindsym $mod+Return exec urxvt bindsym $mod+Shift+q kill # window colours -# state border background text indicator +# state border background text indicator client.focused $bg-color $bg-color $text-color $bg-color -client.unfocused $inactive-bg-color $inactive-bg-color $inactive-text-color $inactive-bg-color -client.focused_inactive $inactive-bg-color $inactive-bg-color $inactive-text-color $inactive-bg-color +client.unfocused $inactive-bg-color $inactive-bg-color $inactive-text-color $inactive-bg-color +client.focused_inactive $inactive-bg-color $inactive-bg-color $inactive-text-color $inactive-bg-color client.urgent $urgent-bg-color $urgent-bg-color $text-color $urgent-bg-color # rofi @@ -122,6 +122,7 @@ bindsym $mod+Shift+9 move container to workspace $ws9 bindsym $mod+Shift+0 move container to workspace $ws10 # assign windows to workspaces +assign[class="urxvt"] $ws1 assign[class="Chromium"] $ws2 assign[class="Spotify"] $ws6 assign[class="Atom"] $ws3 @@ -149,12 +150,22 @@ mode "resize" { bindsym l resize shrink height 10 px or 10 ppt bindsym semicolon resize grow width 10 px or 10 ppt + bindsym Shift+j resize shrink width 1px or 1ppt + bindsym Shift+k resize grow height 1px or 1ppt + bindsym Shift+l resize shrink height 1px or 1ppt + bindsym Shift+semicolon resize grow width 1px or 1ppt + # 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 + bindsym Shift+Left resize shrink width 1 px or 1 ppt + bindsym Shift+Down resize grow height 1 px or 1 ppt + bindsym Shift+Up resize shrink height 1 px or 1 ppt + bindsym Shift+Right resize grow width 1 px or 1 ppt + # back to normal: Enter or Escape or $mod+r bindsym Return mode "default" bindsym Escape mode "default" @@ -208,7 +219,8 @@ bar { # borders / gaps -for_window[class="^.*"] border pixel 5 +default_border pixel 5 +for_window[class="Tilda"] border pixel 0 gaps inner 15 gaps outer 0 @@ -216,10 +228,10 @@ gaps outer 0 exec_always --no-startup-id xrdb /home/andrew/.Xdefaults exec_always --no-startup-id xrandr --output HDMI-0 --pos 0x0 --output DVI-D-0 --pos 240x1080 exec_always --no-startup-id feh --bg-fill /home/andrew/.wallpaper.jpg -exec_always --no-startup-id compton -f -b --config /home/andrew/.compton.conf +exec_always --no-startup-id compton -b --config /home/andrew/.compton.conf +exec_always --no-startup-id tilda # start GUI apps exec --no-startup-id i3-msg 'workspace $ws2; exec chromium' exec --no-startup-id i3-msg 'workspace $ws6; exec spotify' exec --no-startup-id i3-msg 'workspace $ws1; exec urxvt' - diff --git a/x/.Xdefaults b/x/.Xdefaults index ffcbc19..3523e06 100644 --- a/x/.Xdefaults +++ b/x/.Xdefaults @@ -37,8 +37,8 @@ rofi.hide-scrollbar: true rofi.font: Ubuntu Mono medium 16 rofi.color-window: argb:cc082833, #082833 -! State: 'bg', 'fg', 'bgalt', 'hlbg', 'hlfg' -rofi.color-normal: argb:cc082833, #839496, argb:cc082833, argb:cc082833, #268bd2 +! State: 'bg', 'fg', 'bgalt', 'hlbg', 'hlfg' +rofi.color-normal: argb:cc082833, #839496, argb:cc082833, argb:cc0e4658, #268bd2 rofi.color-urgent: argb:cc082833, #839496, argb:cc082833, argb:cc082833, #268bd2 rofi.color-active: argb:cc082833, #839496, argb:cc082833, argb:cc082833, #268bd2