From de361ca0eaf579d97898ccf82c57ec4fa8f6f4b5 Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Tue, 18 Dec 2018 18:03:41 +0100 Subject: [PATCH] Cleanup files Signed-off-by: Severin Kaderli --- README.md | 2 +- system/.Xresources | 16 ++++++++-- system/.config/compton.conf | 13 ++++++++ system/.config/dunst/dunstrc | 11 +++++++ system/.config/gtk-3.0/settings.ini | 11 +++++++ system/.config/i3/config | 43 ++++++++++++++++----------- system/.config/polybar/config | 15 ++++++++-- system/.config/polybar/launch.sh | 14 ++++++++- system/.config/redshift/redshift.conf | 12 +++++++- system/.config/streamlink/config | 11 +++++++ system/.config/termite/config | 11 +++++++ system/.crontab | 12 ++++++++ system/.gitconfig | 12 ++++++++ system/.gtkrc-2.0.mine | 12 ++++++++ system/.keyleds | 28 ++++++++--------- system/.vimrc | 13 +++++++- system/bin/resolution.sh | 4 +-- 17 files changed, 198 insertions(+), 42 deletions(-) diff --git a/README.md b/README.md index 9cc38f7..9414196 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ The list of my used arch packages are found inside the files in `packages`. The The main content of this repository can be found in the `system` folder. It contains all configurations files, directories and script that are get symlinked by my install script. ### `.config/dunst` -This folder contains my configuration for the [Dunst](https://dunst-project.org) notification daemon. +This folder contains my configuration for the [dunst](https://dunst-project.org) notification daemon. ### `.config/gtk-3.0` This folder contains my GTK 3.0 configuration. I don't edit this configuration directly but use [LXAppearance](https://www.archlinux.org/packages/community/x86_64/lxappearance/) for configuring. diff --git a/system/.Xresources b/system/.Xresources index 5d33495..e3f690b 100644 --- a/system/.Xresources +++ b/system/.Xresources @@ -1,6 +1,18 @@ -! ------------------------------------------------------------------------------ +! SCRIPT NAME: +! .Xresources +! +! AUTHOR: +! Severin Kaderli +! +! DESCRIPTION: +! This contains my Rofi color configuration. +! +! USAGE: +! This file is merged on boot. + +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ROFI Color theme -! ------------------------------------------------------------------------------ +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! rofi.color-enabled: true rofi.color-window: #273238, #273238, #1e2529 rofi.color-normal: #273238, #c1c1c1, #273238, #394249, #ffffff diff --git a/system/.config/compton.conf b/system/.config/compton.conf index 167763a..612b180 100644 --- a/system/.config/compton.conf +++ b/system/.config/compton.conf @@ -1 +1,14 @@ +# SCRIPT NAME: +# .config/compton.conf +# +# AUTHOR: +# Severin Kaderli +# +# DESCRIPTION: +# This is my compton configuration. +# +# USAGE: +# This file is automatically used by compton. + +# Settings opacity rules opacity-rule = [ "85:class_g = 'Termite'" ]; diff --git a/system/.config/dunst/dunstrc b/system/.config/dunst/dunstrc index adc088e..c96e006 100644 --- a/system/.config/dunst/dunstrc +++ b/system/.config/dunst/dunstrc @@ -1,3 +1,14 @@ +# SCRIPT NAME: +# .config/dunst/dunstrc +# +# AUTHOR: +# Severin Kaderli +# +# DESCRIPTION: +# This file contains dunst configuration. +# +# USAGE: +# This file is automatically used by dunst. [global] font = Roboto 12 diff --git a/system/.config/gtk-3.0/settings.ini b/system/.config/gtk-3.0/settings.ini index 18d03bb..be549d2 100644 --- a/system/.config/gtk-3.0/settings.ini +++ b/system/.config/gtk-3.0/settings.ini @@ -1,3 +1,14 @@ +; SCRIPT NAME: +; .config/gtk-3.0/settings.ini +; +; AUTHOR: +; Severin Kaderli +; +; DESCRIPTION: +; This file contains my GTK 3.0 configuration +; +; USAGE: +; This file is automatically used by GTK. [Settings] gtk-theme-name=Adapta-Nokto gtk-icon-theme-name=Paper-Mono-Dark diff --git a/system/.config/i3/config b/system/.config/i3/config index 156e703..9ab45b2 100644 --- a/system/.config/i3/config +++ b/system/.config/i3/config @@ -1,12 +1,33 @@ -# This file has been auto-generated by i3-config-wizard(1). -# It will not be overwritten, so edit it as you like. +# SCRIPT NAME: +# .config/i3/config # -# Should you change your keyboard layout some time, delete -# this file and re-run i3-config-wizard(1). +# AUTHOR: +# Severin Kaderli # +# DESCRIPTION: +# This file contains my i3 configuration. +# +# USAGE: +# This file is automatically used by i3. set $mod Mod4 set $alt Mod1 +# Monitors +set $output1 HDMI1 +set $output2 eDP1 + +# Workspaces +set $workspace1 "1: " +set $workspace2 "2: " +set $workspace3 "3: " +set $workspace4 "4: " +set $workspace5 "5: " +set $workspace6 "6: " +set $workspace7 "7: " +set $workspace8 "8: " +set $workspace9 "9: " +set $workspace10 "10: " + new_window none # Font for window titles. Will also be used by the bar unless a different font @@ -63,21 +84,7 @@ bindsym $mod+a focus parent # focus the child container #bindsym $mod+d focus child -# Set monitor names -set $output1 HDMI-1 -set $output2 eDP-1 -# Set workspace titles -set $workspace1 "1: " -set $workspace2 "2: " -set $workspace3 "3: " -set $workspace4 "4: " -set $workspace5 "5: " -set $workspace6 "6: " -set $workspace7 "7: " -set $workspace8 "8: " -set $workspace9 "9: " -set $workspace10 "10: " # Assign workspaces to screens workspace $workspace1 output $output1 diff --git a/system/.config/polybar/config b/system/.config/polybar/config index c2f9f38..bc8671b 100644 --- a/system/.config/polybar/config +++ b/system/.config/polybar/config @@ -1,9 +1,20 @@ +# SCRIPT NAME: +# .config/polybar/config +# +# AUTHOR: +# Severin Kaderli +# +# DESCRIPTION: +# This file contains my Polybar configuration +# +# USAGE: +# This file is automatically used by Polybar. [colors] background = #222D32 foreground = #A1B0B8 [bar/top] -monitor = HDMI-1 +monitor = HDMI1 width = 100% height = 35 offset-x = 0 @@ -34,7 +45,7 @@ tray-position = right [bar/top2] inherit = bar/top -monitor = eDP-1 +monitor = eDP1 [module/i3] diff --git a/system/.config/polybar/launch.sh b/system/.config/polybar/launch.sh index 82e264a..e0a27bc 100755 --- a/system/.config/polybar/launch.sh +++ b/system/.config/polybar/launch.sh @@ -1,4 +1,16 @@ -#!/usr/bin/env sh +#!/bin/bash +# +# SCRIPT NAME: +# .config/polybar/launch.sh +# +# AUTHOR: +# Severin Kaderli +# +# DESCRIPTION: +# This script kills existing polybar processes and then launches the bars. +# +# USAGE: +# ./launch.sh # Terminate already running bar instances killall -q polybar diff --git a/system/.config/redshift/redshift.conf b/system/.config/redshift/redshift.conf index 8c7a227..217b179 100644 --- a/system/.config/redshift/redshift.conf +++ b/system/.config/redshift/redshift.conf @@ -1,4 +1,14 @@ -; Global settings for redshift +; SCRIPT NAME: +; .config/redshift/redshift.conf +; +; AUTHOR: +; Severin Kaderli +; +; DESCRIPTION: +; This is my Redshift configuration. +; +; USAGE: +; This file is automatically used by Redshift. [redshift] ; Set the day and night screen temperatures temp-day=5700 diff --git a/system/.config/streamlink/config b/system/.config/streamlink/config index e47a8cd..187c6c7 100644 --- a/system/.config/streamlink/config +++ b/system/.config/streamlink/config @@ -1,3 +1,14 @@ +# SCRIPT NAME: +# .config/streamlink/config +# +# AUTHOR: +# Severin Kaderli +# +# DESCRIPTION: +# This is my Streamlink configuration. +# +# USAGE: +# This file is automatically used by Streamlink. player=mplayer -cache 8192 player-no-close twitch-oauth-token=30ktx6jc273cdc9gmkb7jftny3vrgn \ No newline at end of file diff --git a/system/.config/termite/config b/system/.config/termite/config index 9a8b4c6..9d281c7 100644 --- a/system/.config/termite/config +++ b/system/.config/termite/config @@ -1,3 +1,14 @@ +# SCRIPT NAME: +# .config/termite/config +# +# AUTHOR: +# Severin Kaderli +# +# DESCRIPTION: +# This is my termite configuration. +# +# USAGE: +# This file is automatically used by termite. [options] resize_grip = false scroll_on_output = false diff --git a/system/.crontab b/system/.crontab index 56097b1..53dfb5f 100644 --- a/system/.crontab +++ b/system/.crontab @@ -1,2 +1,14 @@ +# SCRIPT NAME: +# .crontab +# +# AUTHOR: +# Severin Kaderli +# +# DESCRIPTION: +# This file contains my cronjobs. +# +# USAGE: +# This file is loaded on boot by crontab. + # Synchronize Google Drive */10 * * * * grive -d -p /home/severin/GoogleDrive/ >> /home/severin/.logs/cron.log 2>&1 diff --git a/system/.gitconfig b/system/.gitconfig index 2ce4758..1fe26dc 100644 --- a/system/.gitconfig +++ b/system/.gitconfig @@ -1,3 +1,15 @@ +# SCRIPT NAME: +# .gitconfig +# +# AUTHOR: +# Severin Kaderli +# +# DESCRIPTION: +# This is my configuration for Git. +# +# USAGE: +# This file is automatically used by Git. + [user] email = severin.kaderli@gmail.com name = Severin Kaderli diff --git a/system/.gtkrc-2.0.mine b/system/.gtkrc-2.0.mine index e056cea..37311ef 100644 --- a/system/.gtkrc-2.0.mine +++ b/system/.gtkrc-2.0.mine @@ -1,3 +1,15 @@ +# SCRIPT NAME: +# .gtkrc-2.0.mine +# +# AUTHOR: +# Severin Kaderli +# +# DESCRIPTION: +# This file contains my GTK 2.0 configuration. +# +# USAGE: +# This file is automatically used by GTK. + gtk-theme-name="Adapta-Nokto" gtk-icon-theme-name="Paper-Mono-Dark" gtk-font-name="Roboto 11" diff --git a/system/.keyleds b/system/.keyleds index d6575b4..0b4907d 100644 --- a/system/.keyleds +++ b/system/.keyleds @@ -13,20 +13,20 @@ # This script is sourced by .bash_profile # Key groups -g810-led -g keys FF4500 2>&1 > /dev/null -g810-led -g fkeys FF00FF 2>&1 >/dev/null -g810-led -g arrows FFFF00 2>&1 >/dev/null -g810-led -g numeric 228B22 2>&1 >/dev/null -g810-led -g multimedia FF0000 2>&1 >/dev/null -g810-led -g modifiers 00BFFF 2>&1 >/dev/null +g810-led -g keys FF4500 > /dev/null 2>&1 +g810-led -g fkeys FF00FF > /dev/null 2>&1 +g810-led -g arrows FFFF00 > /dev/null 2>&1 +g810-led -g numeric 228B22 > /dev/null 2>&1 +g810-led -g multimedia FF0000 > /dev/null 2>&1 +g810-led -g modifiers 00BFFF > /dev/null 2>&1 -g810-led -g functions DEB887 2>&1 >/dev/null -g810-led -g logo DEB887 2>&1 >/dev/null -g810-led -g indicators DEB887 2>&1 >/dev/null +g810-led -g functions DEB887 > /dev/null 2>&1 +g810-led -g logo DEB887 > /dev/null 2>&1 +g810-led -g indicators DEB887 > /dev/null 2>&1 # Individual keys -g810-led -k escape 00BFFF 2>&1 >/dev/null -g810-led -k enter 00BFFF 2>&1 >/dev/null -g810-led -k tab 00BFFF 2>&1 >/dev/null -g810-led -k capslock 00BFFF 2>&1 >/dev/null -g810-led -k back 00BFFF 2>&1 >/dev/null \ No newline at end of file +g810-led -k escape 00BFFF > /dev/null 2>&1 +g810-led -k enter 00BFFF > /dev/null 2>&1 +g810-led -k tab 00BFFF > /dev/null 2>&1 +g810-led -k capslock 00BFFF > /dev/null 2>&1 +g810-led -k back 00BFFF > /dev/null 2>&1 \ No newline at end of file diff --git a/system/.vimrc b/system/.vimrc index 0d60501..e812482 100644 --- a/system/.vimrc +++ b/system/.vimrc @@ -1,3 +1,14 @@ +" SCRIPT NAME: +" .vimrc +" +" AUTHOR: +" Severin Kaderli +" +" DESCRIPTION: +" This is my Vim configuration. +" +" USAGE: +" This file is automatically used by Vim. syntax on set encoding=utf-8 set virtualedit=onemore @@ -7,4 +18,4 @@ filetype on filetype indent on filetype plugin on -:imap jk +:imap jk \ No newline at end of file diff --git a/system/bin/resolution.sh b/system/bin/resolution.sh index 420cc9a..a4a7a0e 100755 --- a/system/bin/resolution.sh +++ b/system/bin/resolution.sh @@ -12,5 +12,5 @@ # # USAGE: # ./resolution.sh -xrandr --setprovideroutputsource modesetting NVIDIA-0 -xrandr --output HDMI3 --off --output HDMI2 --off --output HDMI-1 --mode 1280x1024 --pos 80x56 --rotate normal --output eDP-1 --primary --mode 1920x1080 --pos 1360x0 --rotate normal --output DP3 --off --output DP2 --off --output DP1 --off +#xrandr --setprovideroutputsource modesetting NVIDIA-0 +xrandr --output HDMI3 --off --output HDMI2 --off --output HDMI1 --mode 1280x1024 --pos 80x56 --rotate normal --output eDP1 --primary --mode 1920x1080 --pos 1360x0 --rotate normal --output DP3 --off --output DP2 --off --output DP1 --off