some changes

This commit is contained in:
Harri Lahtinen 2019-08-24 01:14:03 +03:00
parent 6243d7bfdc
commit 526ed4e354
9 changed files with 54 additions and 42 deletions

View File

@ -1,3 +1,12 @@
#
# ____ _
# / ___|___ _ __ ___ _ __ | |_ ___ _ __
# | | / _ \| '_ ` _ \| '_ \| __/ _ \| '_ \
# | |__| (_) | | | | | | |_) | || (_) | | | |
# \____\___/|_| |_| |_| .__/ \__\___/|_| |_|
# |_|
#
################################# #################################
# #
# Backend # Backend
@ -199,7 +208,7 @@ detect-client-opacity = true;
# Specify refresh rate of the screen. # Specify refresh rate of the screen.
# If not specified or 0, compton will try detecting this with X RandR extension. # If not specified or 0, compton will try detecting this with X RandR extension.
refresh-rate = 0; refresh-rate = 60;
# Set VSync method. VSync methods currently available: # Set VSync method. VSync methods currently available:
# none: No VSync # none: No VSync
@ -209,11 +218,11 @@ refresh-rate = 0;
# opengl-swc: Try to VSync with SGI_swap_control OpenGL extension. Only work on some drivers. Works only with GLX backend. Known to be most effective on many drivers. Does not actually control paint timing, only buffer swap is affected, so it doesnt have the effect of --sw-opti unlike other methods. Experimental. # opengl-swc: Try to VSync with SGI_swap_control OpenGL extension. Only work on some drivers. Works only with GLX backend. Known to be most effective on many drivers. Does not actually control paint timing, only buffer swap is affected, so it doesnt have the effect of --sw-opti unlike other methods. Experimental.
# opengl-mswc: Try to VSync with MESA_swap_control OpenGL extension. Basically the same as opengl-swc above, except the extension we use. # opengl-mswc: Try to VSync with MESA_swap_control OpenGL extension. Basically the same as opengl-swc above, except the extension we use.
# (Note some VSync methods may not be enabled at compile time.) # (Note some VSync methods may not be enabled at compile time.)
vsync = "opengl-swc"; vsync = "opengl-mswc";
# Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing. # Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing.
# Reported to have no effect, though. # Reported to have no effect, though.
dbe = false; dbe = true;
# Painting on X Composite overlay window. Recommended. # Painting on X Composite overlay window. Recommended.
paint-on-overlay = true; paint-on-overlay = true;
@ -227,6 +236,11 @@ sw-opti = false;
# paint-on-overlay may make the flickering less obvious. # paint-on-overlay may make the flickering less obvious.
unredir-if-possible = true; unredir-if-possible = true;
# get rid of the screen tearing in full screen Chrome
unredir-if-possible-exclude = [
"name *= 'Chrome'"
];
# Specify a list of conditions of windows that should always be considered focused. # Specify a list of conditions of windows that should always be considered focused.
focus-exclude = [ ]; focus-exclude = [ ];

View File

@ -5,28 +5,28 @@
; ;
[colors] [colors]
background = #00000000 background = #00000000
background-alt = #A3674F background-alt = #636E90
foreground = #8E7F82 foreground = #778AAD
foreground-alt = #98B0D1 foreground-alt = #9FA7CA
highlight = #cedbe3 highlight = #e2cedb
error = #757988 error = #8C7281
red = #757988 red = #8C7281
yellow = #7A88A3 yellow = #9797B2
green = #91959F green = #E1A0BA
darkblue = #8E7F82 darkblue = #778AAD
alert = #FF0000 alert = #FF0000
lightblue = #cedbe3 lightblue = #e2cedb
orange = #98B0D1 orange = #9FA7CA
blue = #A3674F blue = #636E90
black = #100c14 black = #020203
grey = #90999e grey = #9e9099
[bar/top] [bar/top]
monitor = ${env:MONITOR:eDP-1} monitor = ${env:MONITOR:eDP-1}
include-file = ~/.config/polybar/top-bar include-file = ~/.config/polybar/top-bar
modules-left = i3 arrow01 xwindow arrow0 modules-left = i3 arrow01 xwindow arrow0
modules-center = term chrome editor fm music vpn modules-center = term chrome editor fm music vpn
modules-right = arrow9 expressvpn-status arrow8 workspace arrow7 wlan arrow6 pkg arrow5 pavolume arrow4 battery arrow3 backlight arrow2 networkmanager arrow1 popup-calendar modules-right = arrow9 expressvpn-status arrow7 wlan arrow6 pkg arrow5 pavolume arrow4 battery arrow3 backlight arrow2 networkmanager arrow1 popup-calendar
;tray-position = right ;tray-position = right
;tray-padding = 2 ;tray-padding = 2
@ -105,7 +105,7 @@ content-background = ${colors.green}
type = custom/text type = custom/text
content = "" content = ""
content-foreground = ${colors.green} content-foreground = ${colors.green}
content-background = ${colors.red} content-background = ${colors.darkblue}
[module/arrow8] [module/arrow8]
type = custom/text type = custom/text
@ -126,7 +126,7 @@ interval = 5
;format-foreground = #E5E9F0 ;format-foreground = #E5E9F0
;format-backgound = #5E81AC ;format-backgound = #5E81AC
label = " %output%" label = " %output%"
label-foreground = #E5E9F0 label-foreground = ${colors.highlight}
label-background = ${colors.darkblue} label-background = ${colors.darkblue}
[module/pavolume] [module/pavolume]
@ -162,10 +162,10 @@ exec = ~/.config/Scripts/backlight.sh
scroll-up = exec light -A 5 scroll-up = exec light -A 5
scroll-down = exec light -U 5 scroll-down = exec light -U 5
format-prefix = "  " format-prefix = "  "
format-prefix-foreground = #E5E9F0 format-prefix-foreground = ${colors.highlight}
format-prefix-background = ${colors.darkblue} format-prefix-background = ${colors.darkblue}
label = "%output% " label = "%output%% "
label-foreground = #E5E9F0 label-foreground = ${colors.highlight}
label-background = ${colors.darkblue} label-background = ${colors.darkblue}
[module/popup-calendar] [module/popup-calendar]
@ -207,7 +207,7 @@ label-background = ${colors.blue}
[module/temperature] [module/temperature]
type = internal/temperature type = internal/temperature
thermal-zone = 1 thermal-zone = 1
hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon4/temp1_input hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon3/temp1_input
warn-temperature = 65 warn-temperature = 65
format = <ramp> <label> format = <ramp> <label>
format-underline = ${colors.foreground} format-underline = ${colors.foreground}

View File

@ -539,11 +539,6 @@ map Tn eval fm.open_console('shell eyeD3 -n "" ' + fm.thisfile.relative_path, po
map ytv console shell youtube-dl -ic%space map ytv console shell youtube-dl -ic%space
map yta console shell youtube-dl -xic%space map yta console shell youtube-dl -xic%space
#My own
map sup shell ~/.config/Scripts/webupdate
map ss shell rsync -avrP --rsh='ssh -p2222' %s lukesmith@lukesmith.xyz:/home1/lukesmith/public_html
map slt shell rsync -avrP --rsh='ssh -p2222' %s lukesmith@lukesmith.xyz:/home1/lukesmith/public_html/longterm
# DO NOT DELETE LMAO # DO NOT DELETE LMAO
map gh cd ~ map gh cd ~
map th tab_new ~ map th tab_new ~

View File

@ -70,7 +70,7 @@ ext x?html?, has chromium-browser, X, flag f = chromium-browser -- "$@"
ext x?html?, has chromium, X, flag f = chromium -- "$@" ext x?html?, has chromium, X, flag f = chromium -- "$@"
ext x?html?, has google-chrome, X, flag f = google-chrome -- "$@" ext x?html?, has google-chrome, X, flag f = google-chrome -- "$@"
ext x?html?, has opera, X, flag f = opera -- "$@" ext x?html?, has opera, X, flag f = opera -- "$@"
ext x?html?, has firefox, X, flag f = firefox -- "$@" #ext x?html?, has firefox, X, flag f = firefox -- "$@"
ext x?html?, has seamonkey, X, flag f = seamonkey -- "$@" ext x?html?, has seamonkey, X, flag f = seamonkey -- "$@"
ext x?html?, has iceweasel, X, flag f = iceweasel -- "$@" ext x?html?, has iceweasel, X, flag f = iceweasel -- "$@"
ext x?html?, has epiphany, X, flag f = epiphany -- "$@" ext x?html?, has epiphany, X, flag f = epiphany -- "$@"

View File

@ -310,7 +310,8 @@ for_window [class="Nm-connection-editor"] floating enable
for_window [class="Lxappearance"] floating enable for_window [class="Lxappearance"] floating enable
for_window [instance="^package-update$" class="^st$"] floating enable, move position center for_window [instance="^package-update$" class="^st$"] floating enable, move position center
for_window [class="Yad"] floating enable for_window [class="Yad"] floating enable
for_window [class="laptop mode tools"] floating enable for_window [class="St"] floating enable, resize set 1664 936
for_window [class="Pcmanfm"] floating enable, resize set 1920 1080
###---Function Buttons---### ###---Function Buttons---###
@ -367,6 +368,6 @@ bindsym XF86MonBrightnessDown exec --no-startup-id light -U 5
bindsym XF86MonBrightnessUp exec --no-startup-id light -A 5 bindsym XF86MonBrightnessUp exec --no-startup-id light -A 5
bindsym XF86AudioMedia exec $music bindsym XF86AudioMedia exec $music
bindsym XF86Display exec --no-startup-id arandr bindsym XF86Display exec --no-startup-id arandr
bindsym XF86KbdBrightnessDown exec --no-startup-id python3.6 ~/.i3/kb-lights.py - bindsym XF86KbdBrightnessDown exec --no-startup-id exec xbacklight -dec 10
bindsym XF86KbdBrightnessUp exec --no-startup-id python3.6 ~/.i3/kb-lights.py + bindsym XF86KbdBrightnessUp exec --no-startup-id exec xbacklight -inc 10
bindsym XF86WLAN exec --no-startup-id sudo systemctl restart NetworkManager bindsym XF86WLAN exec --no-startup-id sudo systemctl restart NetworkManager

View File

@ -26,7 +26,7 @@ monitor = ${{env:MONITOR:eDP-1}}
include-file = ~/.config/polybar/top-bar include-file = ~/.config/polybar/top-bar
modules-left = i3 arrow01 xwindow arrow0 modules-left = i3 arrow01 xwindow arrow0
modules-center = term chrome editor fm music vpn modules-center = term chrome editor fm music vpn
modules-right = arrow9 expressvpn-status arrow8 workspace arrow7 wlan arrow6 pkg arrow5 pavolume arrow4 battery arrow3 backlight arrow2 networkmanager arrow1 popup-calendar modules-right = arrow9 expressvpn-status arrow7 wlan arrow6 pkg arrow5 pavolume arrow4 battery arrow3 backlight arrow2 networkmanager arrow1 popup-calendar
;tray-position = right ;tray-position = right
;tray-padding = 2 ;tray-padding = 2
@ -105,7 +105,7 @@ content-background = ${{colors.green}}
type = custom/text type = custom/text
content = "" content = ""
content-foreground = ${{colors.green}} content-foreground = ${{colors.green}}
content-background = ${{colors.red}} content-background = ${{colors.darkblue}}
[module/arrow8] [module/arrow8]
type = custom/text type = custom/text
@ -126,7 +126,7 @@ interval = 5
;format-foreground = #E5E9F0 ;format-foreground = #E5E9F0
;format-backgound = #5E81AC ;format-backgound = #5E81AC
label = " %output%" label = " %output%"
label-foreground = #E5E9F0 label-foreground = ${{colors.highlight}}
label-background = ${{colors.darkblue}} label-background = ${{colors.darkblue}}
[module/pavolume] [module/pavolume]
@ -162,10 +162,10 @@ exec = ~/.config/Scripts/backlight.sh
scroll-up = exec light -A 5 scroll-up = exec light -A 5
scroll-down = exec light -U 5 scroll-down = exec light -U 5
format-prefix = "  " format-prefix = "  "
format-prefix-foreground = #E5E9F0 format-prefix-foreground = ${{colors.highlight}}
format-prefix-background = ${{colors.darkblue}} format-prefix-background = ${{colors.darkblue}}
label = "%output% " label = "%output%% "
label-foreground = #E5E9F0 label-foreground = ${{colors.highlight}}
label-background = ${{colors.darkblue}} label-background = ${{colors.darkblue}}
[module/popup-calendar] [module/popup-calendar]
@ -207,7 +207,7 @@ label-background = ${{colors.blue}}
[module/temperature] [module/temperature]
type = internal/temperature type = internal/temperature
thermal-zone = 1 thermal-zone = 1
hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon4/temp1_input hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon3/temp1_input
warn-temperature = 65 warn-temperature = 65
format = <ramp> <label> format = <ramp> <label>
format-underline = ${{colors.foreground}} format-underline = ${{colors.foreground}}

View File

@ -8,7 +8,7 @@ font=Ubuntu Mono derivative Powerline
font_size=24 font_size=24
font_variant=medium font_variant=medium
foreground_color=#999999 foreground_color=#999999
height=30 height=32
in_animation=38 in_animation=38
in_animation_duration=2000 in_animation_duration=2000
max_length=-1 max_length=-1

View File

@ -95,6 +95,7 @@
@import url("widgets/scrollbar.css"); @import url("widgets/scrollbar.css");
@import url("widgets/separator.css"); @import url("widgets/separator.css");
@import url("widgets/sidebar.css"); @import url("widgets/sidebar.css");
@import url("widgets/chrome.css");
@import url("widgets/spinbutton.css"); @import url("widgets/spinbutton.css");
@import url("widgets/spinner.css"); @import url("widgets/spinner.css");
@import url("widgets/switch.css"); @import url("widgets/switch.css");

3
.zshrc
View File

@ -61,7 +61,7 @@ plugins=(
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh
# My scripts # My scripts
PATH=/usr/local/bin:/home/hate/.local/bin:/home/hate/.config/Scripts:/home/hate/.gem/ruby/2.5.0/bin:$PATH PATH=/usr/local/bin:/home/hate/.local/bin:/home/hate/.config/Scripts:$PATH
# Wpg restore on terminals # Wpg restore on terminals
(cat ~/.config/wpg/sequences &) (cat ~/.config/wpg/sequences &)
@ -98,3 +98,4 @@ if [ -f '/home/hate/google-cloud-sdk/completion.zsh.inc' ]; then source '/home/h
# Spaceship # Spaceship
SPACESHIP_BATTERY_THRESHOLD=40 SPACESHIP_BATTERY_THRESHOLD=40