Compare commits
No commits in common. "bb1e28fcb161067840a78f210cc5d12415405d8f" and "f0dd76f2fb867229b8acca01add459d18a335bf6" have entirely different histories.
bb1e28fcb1
...
f0dd76f2fb
|
@ -1,9 +1,6 @@
|
|||
# General
|
||||
alias ll="ls -lAFh --color"
|
||||
alias duh="du -hs * | sort -rh"
|
||||
alias dedup="awk '!visited[$0]++'"
|
||||
alias dfh="df -h | grep -v '/var/lib/docker\|/snap/\|tmpfs'"
|
||||
alias ,ssh-agent-forwarding="eval \`ssh-agent\` && ssh-add ~/.ssh/id_rsa"
|
||||
|
||||
# Git
|
||||
alias ga="git add -u; git add .; git status -sb"
|
||||
|
@ -30,6 +27,5 @@ alias goi="go install ./..."
|
|||
alias gg='rg -g "*.go"'
|
||||
|
||||
alias ytdl="youtube-dl -f 'bestvideo+bestaudio'"
|
||||
#alias ytdl="youtube-dl -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]'"
|
||||
alias cr="cargo run --quiet --"
|
||||
|
||||
|
|
|
@ -42,5 +42,3 @@ export PATH="$HOME/.local/bin:$PATH"
|
|||
# Disable Ruby 2.7 deprecation warnings
|
||||
# export RUBYOPT='-W:no-deprecated -W:no-experimental'
|
||||
export RUBYOPT=
|
||||
|
||||
alias sysupdate="sudo pacman -Sy archlinux-keyring && sudo pacman -Su && PATH=/usr/bin:$PATH yay -Syu"
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
#!/bin/bash
|
|
@ -1,5 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
DISPLAY=:0.0 xset -q | grep -q "Monitor is Off"
|
||||
echo $? > $HOME/.cache/node-exporter/display-standby-state
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
pactl unload-module 7
|
||||
pactl unload-module 8
|
||||
pactl set-card-profile 0 'output:iec958-stereo+input:iec958-stereo'
|
|
@ -0,0 +1,16 @@
|
|||
#!/usr/bin/env ruby
|
||||
|
||||
files = `du -k -d 1`.scan(/(\d+).*\.\/(.*)/)
|
||||
maxlen = files.max_by{ |f| f[1].length }[1].length
|
||||
|
||||
files.sort_by{ |f| f[0].to_i }.reverse.each do |f|
|
||||
name = f[1]
|
||||
size = f[0].to_i
|
||||
|
||||
print "%-#{maxlen+1}s" % name
|
||||
if size < 1024
|
||||
puts "#{size}K"
|
||||
else
|
||||
puts "#{size / 1024}M"
|
||||
end
|
||||
end
|
|
@ -14,4 +14,3 @@ vendor/gems
|
|||
|
||||
# VSCode
|
||||
*.code-workspace
|
||||
.vscode
|
||||
|
|
|
@ -21,8 +21,8 @@ include @sysconfdir@/sway/config.d/*
|
|||
include $HOME/.config/sway/config.d/*
|
||||
|
||||
# Color Scheme
|
||||
# include $HOME/.config/sway/themes/dracula2
|
||||
include $HOME/.config/sway/themes/default
|
||||
include $HOME/.config/sway/themes/dracula2
|
||||
# include $HOME/.config/sway/themes/default
|
||||
|
||||
exec wl-clipsync
|
||||
exec mako
|
||||
|
|
|
@ -12,13 +12,13 @@ output "Unknown U2790B 0x000007CE" scale 1.5
|
|||
# Office Dell 24"
|
||||
# output "Dell Inc. DELL U2412M YPPY07AV1AHB" position 0 0
|
||||
output "Dell Inc. DELL U2421HE CD8LV83" position 0 0
|
||||
|
||||
# Office Dell 27" 1080p
|
||||
output "Dell Inc. DELL P2719HC 6T1Y223" position 0 0
|
||||
# Current office 4K LG screen
|
||||
output "LG Electronics LG HDR 4K 0x0000E7EC" position 0 0 scale 1.5 res 3840x2160
|
||||
|
||||
# Maison n9 TV
|
||||
output "Samsung Electric Company SAMSUNG 0x00000701" res 3840x2160 scale 2 position 0 0
|
||||
# Dom Perignon TV
|
||||
output "BenQ Corporation ZOWIE RL LCD 94H02169SL0" pos 4920 0 transform 270
|
||||
|
||||
# Current office 4K LG screen
|
||||
output "LG Electronics LG HDR 4K 0x0000E7EC" position 0 0 scale 1.5 res 3840x2160
|
||||
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
[Unit]
|
||||
Description=Autocutsel
|
||||
|
||||
[Service]
|
||||
Type = forking
|
||||
Restart = on-failure
|
||||
RestartSec = 10
|
||||
ExecStartPre = /usr/bin/autocutsel -fork
|
||||
ExecStart = /usr/bin/autocutsel -selection PRIMARY -fork
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
|
@ -1,8 +0,0 @@
|
|||
[Unit]
|
||||
Description=Logs display standby state to a file
|
||||
|
||||
[Service]
|
||||
ExecStart=%h/dotfiles/bin/log-display-standby-state
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
|
@ -1,11 +0,0 @@
|
|||
[Unit]
|
||||
Description=Log display standby state every minute
|
||||
Requires=display-standby-state-logger.service
|
||||
|
||||
[Timer]
|
||||
Unit=display-standby-state-logger.service
|
||||
OnCalendar=*-*-* *:*:00
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[Unit]
|
||||
Description=Automatic display switch
|
||||
|
||||
[Service]
|
||||
ExecStart=display_switch
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
|
@ -3,10 +3,9 @@ Description=swayidle: Manages lockscreen and display
|
|||
|
||||
[Service]
|
||||
ExecStart=/sbin/swayidle \
|
||||
timeout 300 %h/dotfiles/bin/screens-lock \
|
||||
timeout 60 %h/dotfiles/bin/screens-off \
|
||||
resume %h/dotfiles/bin/screens-on \
|
||||
before-sleep %h/dotfiles/bin/screens-lock
|
||||
timeout 300 /home/gregory/dotfiles/bin/screens-lock \
|
||||
timeout 10 /home/gregory/dotfiles/bin/screens-off \
|
||||
resume /home/gregory/dotfiles/bin/screens-on
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
Description=wl-clipsync: Synchronizes primary and clipboard paste buffers
|
||||
|
||||
[Service]
|
||||
ExecStart=%h/go/path/bin/wl-clipsync -i 300ms
|
||||
ExecStart=/home/gregory/go/path/bin/wl-clipsync -i 300ms
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
|
Loading…
Reference in New Issue