Sfoglia il codice sorgente

Move UI over to Go Mono #rofi #i3wm

Colin Powell 5 anni fa
parent
commit
061d2da663

BIN
fonts/.fonts/go-mono/Go-Mono-Bold-Italic.ttf


BIN
fonts/.fonts/go-mono/Go-Mono-Bold.ttf


BIN
fonts/.fonts/go-mono/Go-Mono-Italic.ttf


BIN
fonts/.fonts/go-mono/Go-Mono.ttf


+ 36 - 0
fonts/.fonts/go-mono/README

@@ -0,0 +1,36 @@
+These fonts were created by the Bigelow & Holmes foundry specifically for the
+Go project. See https://blog.golang.org/go-fonts for details.
+
+They are licensed under the same open source license as the rest of the Go
+project's software:
+
+Copyright (c) 2016 Bigelow & Holmes Inc.. All rights reserved.
+
+Distribution of this font is governed by the following license. If you do not
+agree to this license, including the disclaimer, do not distribute or modify
+this font.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+	* Redistributions of source code must retain the above copyright notice,
+	  this list of conditions and the following disclaimer.
+
+	* Redistributions in binary form must reproduce the above copyright notice,
+	  this list of conditions and the following disclaimer in the documentation
+	  and/or other materials provided with the distribution.
+
+	* Neither the name of Google Inc. nor the names of its contributors may be
+	  used to endorse or promote products derived from this software without
+	  specific prior written permission.
+
+DISCLAIMER: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

+ 15 - 15
i3/.config/compton/compton.conf

@@ -22,24 +22,24 @@ shadow-exclude = [
 # xinerama-shadow-crop = true;
 
 # Opacity
-menu-opacity = 0.95;
-inactive-opacity = 0.97;
-# active-opacity = 0.8;
-frame-opacity = 0.7;
+menu-opacity = 0.85;
+inactive-opacity = 0.95;
+active-opacity = 1;
+frame-opacity = 0.1;
 inactive-opacity-override = false;
 alpha-step = 0.06;
-inactive-dim = 0.3;
+inactive-dim = 0.1;
 inactive-dim-fixed = true;
 #blur-background = true;
 #blur-background-frame = true;
-blur-kern = "3x3box";
-# 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-background-fixed = true;
-blur-background-exclude = [
-	"window_type = 'dock'",
-	"window_type = 'desktop'",
-	"_GTK_FRAME_EXTENTS@:c"
-];
+#blur-kern = "3x3box";
+#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-background-fixed = true;
+#blur-background-exclude = [
+#	"window_type = 'dock'",
+#	"window_type = 'desktop'",
+#	"_GTK_FRAME_EXTENTS@:c"
+#];
 
 #opacity-rule = [
 #    "90:class_g = 'kitty'",
@@ -49,8 +49,8 @@ blur-background-exclude = [
 # Fading
 fading = true;
 fade-delta = 5;
-fade-in-step = 0.03;
-fade-out-step = 0.03;
+fade-in-step = 0.07;
+fade-out-step = 0.07;
 # no-fading-openclose = true;
 # no-fading-destroyed-argb = true;
 fade-exclude = [ ];

+ 6 - 6
i3/.config/i3/config

@@ -15,7 +15,7 @@ set $mod Mod4
 
 # Font for window titles. Will also be used by the bar unless a different font
 # is used in the bar {} block below.
-font pango:Terminus 10
+font pango:Go Mono 10
 
 # This font is widely installed, provides lots of unicode glyphs, right-to-left
 # text rendering and scalability on retina/hidpi displays (thanks to pango).
@@ -32,7 +32,7 @@ font pango:Terminus 10
 floating_modifier $mod
 
 # Set our background
-exec ~/var/documents/scripts/changepaper.sh
+exec feh --bg-scale ~/var/inbox/ng_photos/`ls -Ar ~/var/inbox/ng_photos | tail -n 1`
 
 #exec --no-startup-id betterlockscreen -w
 #bindsym $mod+shift+x exec --no-startup-id betterlockscreen -l dimblur
@@ -101,10 +101,10 @@ bindsym $mod+e layout toggle split
 # bindsym $mod+space focus mode_toggle
 
 # focus the parent container
-# bindsym $mod+a focus parent
+bindsym $mod+a focus parent
 
 # focus the child container
-#bindsym $mod+d focus child
+bindsym $mod+d focus child
 
 # Define names for default workspaces for which we configure key bindings later on.
 # We use variables to avoid repeating the names in multiple places.
@@ -151,7 +151,7 @@ bindsym $mod+Shift+r restart
 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'"
 
 bar {
-    position top
+    position bottom
     status_command i3status
 }
 
@@ -204,7 +204,7 @@ for_window [class="^.*"] border pixel 1
 client.focused #4c7899 #285577 #ffffff #2e9ef4 
 
 # Setup Russian layout siwtching with Alt+Shift
-exec --no-startup-id "setxkbmap -model pc105 -layout us,ru,fr -option grp:alt_shift_toggle"
+exec --no-startup-id "setxkbmap -model pc105 -layout us,ru,fr -option grp:alt_super_toggle"
 
 exec --no-startup-id xrdb ~/.Xresources
 

+ 1 - 1
rofi/.config/rofi/config

@@ -7,7 +7,7 @@ rofi.modi:                           window,run,ssh,combi
 ! "Number of columns" Set from: Default
 ! rofi.columns:                        1
 ! "Font to use" Set from: Default
-! rofi.font:                           mono 12
+! rofi.font:                           Go Mono 10
 ! "Border width" Set from: Default
 ! rofi.bw:                             1
 ! "Location on screen" Set from: Default