Skip to content

Commit

Permalink
fixes for Q1 2019
Browse files Browse the repository at this point in the history
  • Loading branch information
DeviaVir committed Feb 7, 2019
1 parent 805928d commit 4ace391
Show file tree
Hide file tree
Showing 15 changed files with 400 additions and 35 deletions.
14 changes: 8 additions & 6 deletions .atom/config.cson
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
]
telemetryConsent: "no"
themes: [
"one-dark-ui"
"loved-syntax"
"city-lights-ui"
"city-lights-syntax"
]
editor:
fontFamily: "Fira Code, Menlo, Monospace"
Expand All @@ -18,6 +18,7 @@
"exception-reporting":
userId: "a8c2c5fe-c8f9-4146-9e44-08c4da73a522"
"file-types":
"^Dockerfile\\..*$": "source.dockerfile"
pipeline: "source.groovy"
"go-plus":
format:
Expand All @@ -29,7 +30,7 @@
useGlobalEslint: true
"linter-phpmd":
autoExecutableSearch: false
executablePath: "/home/chase/.config/composer/vendor/bin/phpmd"
executablePath: "/home/chase/vendor/bin/phpmd"
"linter-puppet-lint":
executablePath: "/home/chase/.gem/ruby/2.5.0/bin/puppet-lint"
oldVersion: false
Expand All @@ -48,14 +49,15 @@
travisExecutablePath: "/home/chase/.gem/ruby/2.5.0/bin/travis"
"linter-ui-default":
hidePanelWhenEmpty: true
panelHeight: 80.7589340209961
showPanel: true
panelHeight: 290
minimap:
plugins:
linter: true
linterDecorationsZIndex: 0
"minimap-linter":
markerType: "gutter"
markerTypeError: "gutter"
markerTypeInfo: "gutter"
markerTypeWarning: "gutter"
"terraform-fmt":
binPath: "/usr/bin/terraform"
"tree-view": {}
Expand Down
20 changes: 10 additions & 10 deletions .config/i3blocks/config
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ signal=1
markup=pango
border=#cc241d

[brightness]
label= 
command=printf "%.0f " $(xbacklight -get)
interval=10
signal=2
border=#d79921
#[brightness]
#label= 
#command=printf "%.0f " $(xbacklight -get)
#interval=10
#signal=2
#border=#d79921

[temperature]
label= 
Expand All @@ -43,10 +43,10 @@ command=[[ -z "$(iwgetid -r)" ]] || echo "$(iwgetid -r) "
interval=2
border=#98971a

[battery]
command=$HOME/.scripts/battery.sh
interval=persist
border=#458588
#[battery]
#command=$HOME/.scripts/battery.sh
#interval=persist
#border=#458588

[time]
label= 
Expand Down
10 changes: 5 additions & 5 deletions .config/redshift.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
; Global settings for redshift
[redshift]
; Set the day and night screen temperatures
temp-day=6500
;temp-day=6500
temp-night=3500

; Enable/Disable a smooth transition between day and night
Expand All @@ -17,7 +17,7 @@ transition=1
;brightness-night=0.4
; Set the screen gamma (for all colors, or each color channel
; individually)
gamma=0.8
;gamma=0.8
;gamma=0.8:0.7:0.8
; This can also be set individually for day and night since
; version 1.10.
Expand All @@ -41,9 +41,9 @@ adjustment-method=randr
; ex: 'redshift -l manual:help'
; Keep in mind that longitudes west of Greenwich (e.g. the Americas)
; are negative numbers.
[manual]
lat=52.229170
lon=5.166897
;[manual]
;lat=52.229170
;lon=5.166897

; Configuration of the adjustment-method
; type 'redshift -m METHOD:help' to see the settings.
Expand Down
2 changes: 1 addition & 1 deletion .fehbg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
feh --bg-fill '/home/chase/.config/wallpapers/J4NZVSdgI491NDHWNX6T2V0SSceR_g_Dpwh_aR6HYzE.jpg'
feh --bg-fill '/home/chase/Pictures/Wallpapers/wallpaper-photo-1546299138-b9760c08bb3d.jpg'
8 changes: 8 additions & 0 deletions .gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,11 @@
followRedirects = true
[core]
excludesfile = /home/chase/.gitignore_global
[branch "master"]
mergeoptions = --ff-only
[diff "gpg"]
textconv = gpg --no-tty --decrypt
cachetextconv = false
[diff "ansible-vault"]
textconv = ansible-vault view
cachetextconv = false
2 changes: 1 addition & 1 deletion .gnupg/gpg.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
default-key AA570BF1
default-key 0A1F87C7936EB2461C6A9D9BAD9970F98EB884FD
default-recipient-self

keyserver hkp://keys.gnupg.net
Expand Down
22 changes: 20 additions & 2 deletions .i3/config
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,21 @@ mode "$mode_power" {
bindsym Escape mode "default"
}

set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (p) shutdown
mode "$mode_system" {
bindsym l exec --no-startup-id i3lock, mode "default"
bindsym e exec --no-startup-id i3-msg exit, mode "default"
bindsym s exec --no-startup-id systemctl suspend, mode "default"
bindsym h exec --no-startup-id systemctl hibernate, mode "default"
bindsym r exec --no-startup-id systemctl reboot, mode "default"
bindsym p exec --no-startup-id systemctl poweroff, mode "default"

# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+Pause mode "$mode_system"

set $mode_gaps gaps
set $mode_gaps_outer outer gaps
set $mode_gaps_inner inner gaps
Expand Down Expand Up @@ -285,6 +300,7 @@ assign [class="(?i)whatever"] $tag6
assign [class="(?i)signal"] $tag4
assign [class="(?i)prismatik"] $tag6
assign [class="(?i)steam"] $tag6
assign [class="(?i)postman"] $tag5

# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
Expand Down Expand Up @@ -336,9 +352,11 @@ exec --no-startup-id /usr/lib/geoclue-2.0/demos/agent
exec --no-startup-id redshift-gtk
exec --no-startup-id libinput-gestures-setup start
exec --no-startup-id clipit
exec_always --no-startup-id feh --bg-fill $HOME/.config/wallpapers/J4NZVSdgI491NDHWNX6T2V0SSceR_g_Dpwh_aR6HYzE.jpg
exec_always --no-startup-id feh --bg-fill --randomize /home/chase/Pictures/Wallpapers/*
#exec --no-startup-id xautolock -time 5 -locker "i3lock -c 000000"
#exec --no-startup-id "xss-lock -- i3lock -n -i $HOME/.config/wallpapers/cNexYaj.jpg"
exec --no-startup-id "xss-lock -- /home/chase/.scripts/lock.sh"
exec --no-startup-id "/home/chase/.scripts/lightsonplus/lightson+"
exec --no-startup-id "xscreensaver"
exec --no-startup-id compton -c
exec --no-startup-id thunar --daemon

Expand Down
2 changes: 1 addition & 1 deletion .oh-my-zsh
10 changes: 10 additions & 0 deletions .scripts/lightsonplus/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
tools:
lightson+ daemon which checks if screensaver should be inhibited
lightson+cmd tool which inhibits screensaver manually


this program is based on:
https://github.com/iye/lightsOn

Credits for some fixes:
https://bbs.archlinux.org/viewtopic.php?id=130447
Loading

0 comments on commit 4ace391

Please sign in to comment.