diff --git a/.bash_logout b/.bash_logout deleted file mode 100644 index 5b4f8bb..0000000 --- a/.bash_logout +++ /dev/null @@ -1 +0,0 @@ -clear diff --git a/.bash_profile b/.bash_profile deleted file mode 100644 index 3f56aa0..0000000 --- a/.bash_profile +++ /dev/null @@ -1 +0,0 @@ -[[ -f ~/.bashrc ]] && . ~/.bashrc diff --git a/.bashrc b/.bashrc deleted file mode 100644 index 3acaae1..0000000 --- a/.bashrc +++ /dev/null @@ -1,15 +0,0 @@ -[[ $- != *i* ]] && return - -unset HISTFILE -export LESSHISTFILE=- -export PYTHONSTARTUP=~/.pythonrc -export XAUTHORITY=~/.cache/.Xauthority - -alias ls='ls --color=auto' -alias diff='diff --color=auto' -alias grep='grep --color=auto' - -alias installed_packages='comm -23 <(pacman -Qeq | sort) <(pacman -Qgq base base-devel | sort)' -alias unused_packages='pacman -Qtdq' - -PS1='\u@\h:\w \$ ' diff --git a/.config/compton.conf b/.config/compton.conf deleted file mode 100644 index aca14d9..0000000 --- a/.config/compton.conf +++ /dev/null @@ -1,2 +0,0 @@ -shadow = false; -fading = false; diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc deleted file mode 100644 index de89dea..0000000 --- a/.config/dunst/dunstrc +++ /dev/null @@ -1,39 +0,0 @@ -[global] - geometry = "0x5-50+50" - transparency = 20 - - padding = 4 - horizontal_padding = 4 - frame_width = 2 - frame_color = "#aaaaaa" - alignment = center - font = DejaVu Sans Mono 9 - - sort = no - markup = no - - idle_threshold = no - show_age_threshold = -1 - history_length = 0 - - icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/ - - indicate_hidden = no - stack_duplicates = false - hide_duplicate_count = true - -[urgency_low] - background = "#282A36" - foreground = "#F8F8F2" - timeout = 10 - -[urgency_normal] - background = "#282A36" - foreground = "#F8F8F2" - timeout = 10 - -[urgency_critical] - background = "#282A36" - foreground = "#F8F8F2" - frame_color = "#ff0000" - timeout = 0 diff --git a/.config/feh/keys b/.config/feh/keys deleted file mode 100644 index e65d9a4..0000000 --- a/.config/feh/keys +++ /dev/null @@ -1,12 +0,0 @@ -zoom_in K -zoom_out J -next_img L -prev_img H - -scroll_up k -scroll_down j -scroll_right l -scroll_left h - -toggle_fullscreen f -save_filelist diff --git a/.config/gtk-3.0/settings.ini b/.config/gtk-3.0/settings.ini deleted file mode 100644 index 3739837..0000000 --- a/.config/gtk-3.0/settings.ini +++ /dev/null @@ -1,15 +0,0 @@ -[Settings] -gtk-theme-name=Arc-Dark -gtk-icon-theme-name=Papirus-Dark -gtk-font-name=DejaVu Sans 9 -gtk-cursor-theme-name=Adwaita -gtk-cursor-theme-size=0 -gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ -gtk-toolbar-icon-size=GTK_ICON_SIZE_MENU -gtk-button-images=1 -gtk-menu-images=1 -gtk-enable-event-sounds=0 -gtk-enable-input-feedback-sounds=0 -gtk-xft-antialias=1 -gtk-xft-hinting=1 -gtk-xft-hintstyle=hintslight diff --git a/.config/htop/htoprc b/.config/htop/htoprc deleted file mode 100644 index 02ca9ac..0000000 --- a/.config/htop/htoprc +++ /dev/null @@ -1,26 +0,0 @@ -# Beware! This file is rewritten by htop when settings are changed in the interface. -# The parser is also very primitive, and not human-friendly. -fields=0 46 39 1 -sort_key=46 -sort_direction=1 -hide_threads=1 -hide_kernel_threads=1 -hide_userland_threads=1 -shadow_other_users=0 -show_thread_names=0 -show_program_path=1 -highlight_base_name=1 -highlight_megabytes=1 -highlight_threads=1 -tree_view=0 -header_margin=1 -detailed_cpu_time=0 -cpu_count_from_zero=1 -update_process_names=0 -account_guest_in_cpu_meter=0 -color_scheme=0 -delay=15 -left_meters=AllCPUs -left_meter_modes=1 -right_meters=Uptime Tasks Memory Swap -right_meter_modes=2 2 2 2 diff --git a/.config/i3/config b/.config/i3/config deleted file mode 100644 index 9896bcd..0000000 --- a/.config/i3/config +++ /dev/null @@ -1,116 +0,0 @@ -set $mod Mod4 -font pango:DejaVu Sans Mono 9 - -exec_always ~/scripts/daemons.sh - -exec_always xrdb ~/.xresources -exec_always feh --bg-fill --no-fehbg ~/wallpapers/current - -gaps inner 10 -default_border pixel 1 - -bindsym XF86MonBrightnessUp exec ~/scripts/backlight.sh raise -bindsym XF86MonBrightnessDown exec ~/scripts/backlight.sh lower -bindsym XF86AudioRaiseVolume exec ~/scripts/audio.sh raise -bindsym XF86AudioLowerVolume exec ~/scripts/audio.sh lower -bindsym XF86AudioMute exec ~/scripts/audio.sh toggle_mute - -bindsym $mod+Shift+r restart -bindsym $mod+Shift+q kill - -bindsym $mod+r exec dmenu_run -bindsym $mod+f exec firefox -bindsym $mod+v exec pavucontrol -bindsym $mod+Return exec urxvt -bindsym $mod+Delete exec urxvt -e htop -bindsym $mod+e exec urxvt -e ranger -bindsym $mod+m exec urxvt -e ncmpcpp -bindsym $mod+t exec urxvt -e tremc -bindsym $mod+c exec urxvt -e python -q -bindsym $mod+s exec scrot - -bindsym $mod+Shift+p exec ~/scripts/music.sh toggle -bindsym $mod+Shift+n exec ~/scripts/music.sh next - -bindsym $mod+Shift+s exec ~/scripts/suspend.sh - -bindsym $mod+h focus left -bindsym $mod+j focus down -bindsym $mod+k focus up -bindsym $mod+l focus right - -bindsym $mod+Shift+h move left -bindsym $mod+Shift+j move down -bindsym $mod+Shift+k move up -bindsym $mod+Shift+l move right - -bindsym $mod+y resize shrink width 10 px -bindsym $mod+u resize grow height 10 px -bindsym $mod+i resize shrink height 10 px -bindsym $mod+o resize grow width 10 px - -bindsym $mod+Ctrl+h split h -bindsym $mod+Ctrl+v split v - -bindsym $mod+Ctrl+f fullscreen toggle -bindsym $mod+Ctrl+space floating toggle - -bindsym $mod+1 workspace 1 -bindsym $mod+2 workspace 2 -bindsym $mod+3 workspace 3 -bindsym $mod+4 workspace 4 -bindsym $mod+5 workspace 5 -bindsym $mod+6 workspace 6 - -bindsym $mod+Shift+1 move container to workspace 1 -bindsym $mod+Shift+2 move container to workspace 2 -bindsym $mod+Shift+3 move container to workspace 3 -bindsym $mod+Shift+4 move container to workspace 4 -bindsym $mod+Shift+5 move container to workspace 5 -bindsym $mod+Shift+6 move container to workspace 6 - -set_from_resource $background background #000000 -set_from_resource $foreground foreground #000000 - -set_from_resource $darkblack color0 #000000 -set_from_resource $black color8 #000000 -set_from_resource $darkred color1 #000000 -set_from_resource $red color9 #000000 -set_from_resource $darkgreen color2 #000000 -set_from_resource $green color10 #000000 -set_from_resource $darkyellow color3 #000000 -set_from_resource $yellow color11 #000000 -set_from_resource $darkblue color4 #000000 -set_from_resource $blue color12 #000000 -set_from_resource $darkmagenta color5 #000000 -set_from_resource $magenta color13 #000000 -set_from_resource $darkcyan color6 #000000 -set_from_resource $cyan color14 #000000 -set_from_resource $darkwhite color7 #000000 -set_from_resource $white color15 #000000 - -set $transparent #00000000 - -# class border background text indicator child_border -client.focused $darkblue $background $foreground $darkblue $darkblue -client.focused_inactive $darkblue $background $foreground $darkblue $darkblue -client.unfocused $black $background $foreground $black $black -client.urgent $darkblue $background $foreground $darkblue $darkblue -client.background $black - -bar { - font pango:DejaVu Sans Mono 9 - colors { - background $background - statusline $foreground - separator $darkblue - - focused_workspace $background $darkblack $foreground - active_workspace $background $darkblack $foreground - inactive_workspace $background $background $black - urgent_workspace $darkblue $background $foreground - } - - position top - status_command i3blocks -} diff --git a/.config/i3blocks/config b/.config/i3blocks/config deleted file mode 100644 index 6272a21..0000000 --- a/.config/i3blocks/config +++ /dev/null @@ -1,17 +0,0 @@ -[mpd] -command=echo "MPD: $(mpc current)" -interval=5 -signal=2 - -[volume] -command=echo "VOL: $(pamixer --get-volume)" -interval=once -signal=1 - -[battery] -command=echo "BAT: $(cat /sys/class/power_supply/BAT0/capacity)" -interval=5 - -[time] -command=echo "DATE: $(date '+%m.%d %H:%M')" -interval=5 diff --git a/.config/mpd/mpd.conf b/.config/mpd/mpd.conf deleted file mode 100644 index 0c62f40..0000000 --- a/.config/mpd/mpd.conf +++ /dev/null @@ -1,13 +0,0 @@ -music_directory "~/music" -auto_update "yes" - -playlist_directory "~/.config/mpd/playlists" -sticker_file "~/.config/mpd/sticker.sql" -db_file "~/.config/mpd/database" -pid_file "~/.config/mpd/pid" -log_file "syslog" - -audio_output { - type "pulse" - name "pulse audio" -} diff --git a/.config/mpv/input.conf b/.config/mpv/input.conf deleted file mode 100755 index 008eb2c..0000000 --- a/.config/mpv/input.conf +++ /dev/null @@ -1,81 +0,0 @@ -MBTN_LEFT ignore -MBTN_LEFT_DBL cycle fullscreen -MBTN_RIGHT cycle pause -WHEEL_UP seek +2 -WHEEL_DOWN seek -2 - -j add volume -2 -k add volume +2 -Shift+j add volume -10 -Shift+k add volume +10 -Ctrl+j add volume -1 -Ctrl+k add volume +1 - -h seek -5 -l seek +5 -Shift+h seek -15 -Shift+l seek +15 -Ctrl+h seek -5 -Ctrl+l seek +5 - -PGUP add chapter +1 -PGDWN add chapter -1 -Shift+PGUP seek +80 -Shift+PGDWN seek -80 - -. frame-step -, frame-back-step - -[ multiply speed 0.9 -] multiply speed 1.1 -{ multiply speed 0.5 -} multiply speed 2.0 -BS set speed 1.0 - -q quit - -ESC set fullscreen no -f cycle fullscreen - -p cycle pause -SPACE cycle pause -m cycle mute - -Ctrl+a cycle audio -Ctrl+s cycle sub - -s async screenshot -S async screenshot video - -> playlist-next -< playlist-prev - -o show-progress -P show-progress - -1 add contrast -1 -2 add contrast +1 -3 add brightness -1 -4 add brightness +1 -5 add gamma -1 -6 add gamma +1 -7 add saturation -1 -8 add saturation +1 - -Alt+0 set window-scale 0.5 -Alt+1 set window-scale 1.0 -Alt+2 set window-scale 2.0 - -POWER quit -STOP quit -CLOSE_WIN quit -MUTE cycle mute -PLAY cycle pause -PAUSE cycle pause -PLAYPAUSE cycle pause -FORWARD seek +30 -REWIND seek -30 -NEXT playlist-next -PREV playlist-prev -VOLUME_UP add volume +2 -VOLUME_DOWN add volume -2 diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf deleted file mode 100755 index af74380..0000000 --- a/.config/mpv/mpv.conf +++ /dev/null @@ -1,14 +0,0 @@ -no-input-default-bindings - -#profile=gpu-hq -deband=no - -#scale=ewa_lanczossharp -#cscale=ewa_lanczossharp - -alang=jpn,jp -slang=eng,en - -#video-sync=display-resample -#interpolation -#tscale=oversample diff --git a/.config/ncmpcpp/bindings b/.config/ncmpcpp/bindings deleted file mode 100644 index f1494b3..0000000 --- a/.config/ncmpcpp/bindings +++ /dev/null @@ -1,11 +0,0 @@ -def_key "j" - scroll_down - -def_key "k" - scroll_up - -def_key "h" - previous_column - -def_key "l" - next_column diff --git a/.config/ncmpcpp/config b/.config/ncmpcpp/config deleted file mode 100644 index 9ac8d81..0000000 --- a/.config/ncmpcpp/config +++ /dev/null @@ -1,11 +0,0 @@ -mouse_support = no - -user_interface = alternative -header_visibility = no - -playlist_display_mode = columns -browser_display_mode = columns -search_engine_display_mode = columns -playlist_editor_display_mode = columns - -progressbar_look = -| diff --git a/.config/ranger/rc.conf b/.config/ranger/rc.conf deleted file mode 100644 index 79212ca..0000000 --- a/.config/ranger/rc.conf +++ /dev/null @@ -1,4 +0,0 @@ -#set show_hidden true -set preview_images true -set use_preview_script true -set preview_script=~/.config/ranger/scope.sh diff --git a/.config/ranger/scope.sh b/.config/ranger/scope.sh deleted file mode 100755 index 48f7769..0000000 --- a/.config/ranger/scope.sh +++ /dev/null @@ -1,178 +0,0 @@ -#!/usr/bin/env bash - -set -o noclobber -o noglob -o nounset -o pipefail -IFS=$'\n' - -# If the option `use_preview_script` is set to `true`, -# then this script will be called and its output will be displayed in ranger. -# ANSI color codes are supported. -# STDIN is disabled, so interactive scripts won't work properly - -# This script is considered a configuration file and must be updated manually. -# It will be left untouched if you upgrade ranger. - -# Meanings of exit codes: -# code | meaning | action of ranger -# -----+------------+------------------------------------------- -# 0 | success | Display stdout as preview -# 1 | no preview | Display no preview at all -# 2 | plain text | Display the plain content of the file -# 3 | fix width | Don't reload when width changes -# 4 | fix height | Don't reload when height changes -# 5 | fix both | Don't ever reload -# 6 | image | Display the image `$IMAGE_CACHE_PATH` points to as an image preview -# 7 | image | Display the file directly as an image - -# Script arguments -FILE_PATH="${1}" # Full path of the highlighted file -PV_WIDTH="${2}" # Width of the preview pane (number of fitting characters) -PV_HEIGHT="${3}" # Height of the preview pane (number of fitting characters) -IMAGE_CACHE_PATH="${4}" # Full path that should be used to cache image preview -PV_IMAGE_ENABLED="${5}" # 'True' if image previews are enabled, 'False' otherwise. - -FILE_EXTENSION="${FILE_PATH##*.}" -FILE_EXTENSION_LOWER=$(echo ${FILE_EXTENSION} | tr '[:upper:]' '[:lower:]') - -# Settings -HIGHLIGHT_SIZE_MAX=262143 # 256KiB -HIGHLIGHT_TABWIDTH=8 -HIGHLIGHT_STYLE='pablo' -PYGMENTIZE_STYLE='autumn' - - -handle_extension() { - case "${FILE_EXTENSION_LOWER}" in - # Archive - a|ace|alz|arc|arj|bz|bz2|cab|cpio|deb|gz|jar|lha|lz|lzh|lzma|lzo|\ - rpm|rz|t7z|tar|tbz|tbz2|tgz|tlz|txz|tZ|tzo|war|xpi|xz|Z|zip) - atool --list -- "${FILE_PATH}" && exit 5 - bsdtar --list --file "${FILE_PATH}" && exit 5 - exit 1;; - rar) - # Avoid password prompt by providing empty password - unrar lt -p- -- "${FILE_PATH}" && exit 5 - exit 1;; - 7z) - # Avoid password prompt by providing empty password - 7z l -p -- "${FILE_PATH}" && exit 5 - exit 1;; - - # PDF - pdf) - # Preview as text conversion - pdftotext -l 10 -nopgbrk -q -- "${FILE_PATH}" - && exit 5 - exiftool "${FILE_PATH}" && exit 5 - exit 1;; - - # BitTorrent - torrent) - transmission-show -- "${FILE_PATH}" && exit 5 - exit 1;; - - # OpenDocument - odt|ods|odp|sxw) - # Preview as text conversion - odt2txt "${FILE_PATH}" && exit 5 - exit 1;; - - # HTML - htm|html|xhtml) - # Preview as text conversion - w3m -dump "${FILE_PATH}" && exit 5 - lynx -dump -- "${FILE_PATH}" && exit 5 - elinks -dump "${FILE_PATH}" && exit 5 - ;; # Continue with next handler on failure - esac -} - -handle_image() { - local mimetype="${1}" - case "${mimetype}" in - # SVG - # image/svg+xml) - # convert "${FILE_PATH}" "${IMAGE_CACHE_PATH}" && exit 6 - # exit 1;; - - # Image - image/*) - local orientation - orientation="$( identify -format '%[EXIF:Orientation]\n' -- "${FILE_PATH}" )" - # If orientation data is present and the image actually - # needs rotating ("1" means no rotation)... - if [[ -n "$orientation" && "$orientation" != 1 ]]; then - # ...auto-rotate the image according to the EXIF data. - convert -- "${FILE_PATH}" -auto-orient "${IMAGE_CACHE_PATH}" && exit 6 - fi - - # `w3mimgdisplay` will be called for all images (unless overriden as above), - # but might fail for unsupported types. - exit 7;; - - # Video - video/*) - # # Thumbnail - ffmpegthumbnailer -i "${FILE_PATH}" -o "${IMAGE_CACHE_PATH}" -s 0 && exit 6 - exit 1;; - # PDF - # application/pdf) - # pdftoppm -f 1 -l 1 \ - # -scale-to-x 1920 \ - # -scale-to-y -1 \ - # -singlefile \ - # -jpeg -tiffcompression jpeg \ - # -- "${FILE_PATH}" "${IMAGE_CACHE_PATH%.*}" \ - # && exit 6 || exit 1;; - esac -} - -handle_mime() { - local mimetype="${1}" - case "${mimetype}" in - # Text - text/* | */xml) - # Syntax highlight - if [[ "$( stat --printf='%s' -- "${FILE_PATH}" )" -gt "${HIGHLIGHT_SIZE_MAX}" ]]; then - exit 2 - fi - if [[ "$( tput colors )" -ge 256 ]]; then - local pygmentize_format='terminal256' - local highlight_format='xterm256' - else - local pygmentize_format='terminal' - local highlight_format='ansi' - fi - highlight --replace-tabs="${HIGHLIGHT_TABWIDTH}" --out-format="${highlight_format}" \ - --style="${HIGHLIGHT_STYLE}" --force -- "${FILE_PATH}" && exit 5 - # pygmentize -f "${pygmentize_format}" -O "style=${PYGMENTIZE_STYLE}" -- "${FILE_PATH}" && exit 5 - exit 2;; - - # Image - image/*) - # Preview as text conversion - # img2txt --gamma=0.6 --width="${PV_WIDTH}" -- "${FILE_PATH}" && exit 4 - exiftool "${FILE_PATH}" && exit 5 - exit 1;; - - # Video and audio - video/* | audio/*) - mediainfo "${FILE_PATH}" && exit 5 - exiftool "${FILE_PATH}" && exit 5 - exit 1;; - esac -} - -handle_fallback() { - echo '----- File Type Classification -----' && file --dereference --brief -- "${FILE_PATH}" && exit 5 - exit 1 -} - - -MIMETYPE="$( file --dereference --brief --mime-type -- "${FILE_PATH}" )" -if [[ "${PV_IMAGE_ENABLED}" == 'True' ]]; then - handle_image "${MIMETYPE}" -fi -handle_extension -handle_mime "${MIMETYPE}" -handle_fallback - -exit 1 diff --git a/.gitconfig b/.gitconfig deleted file mode 100644 index 1245848..0000000 --- a/.gitconfig +++ /dev/null @@ -1,3 +0,0 @@ -[user] - email = olari@mm.st - name = olari diff --git a/.gtkrc-2.0 b/.gtkrc-2.0 deleted file mode 100644 index 4accc96..0000000 --- a/.gtkrc-2.0 +++ /dev/null @@ -1,14 +0,0 @@ -gtk-theme-name="Arc-Dark" -gtk-icon-theme-name="Papirus-Dark" -gtk-font-name="DejaVu Sans 9" -gtk-cursor-theme-name="Adwaita" -gtk-cursor-theme-size=0 -gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ -gtk-toolbar-icon-size=GTK_ICON_SIZE_MENU -gtk-button-images=1 -gtk-menu-images=1 -gtk-enable-event-sounds=0 -gtk-enable-input-feedback-sounds=0 -gtk-xft-antialias=1 -gtk-xft-hinting=1 -gtk-xft-hintstyle="hintslight" diff --git a/.pythonrc b/.pythonrc deleted file mode 100644 index b32e6b6..0000000 --- a/.pythonrc +++ /dev/null @@ -1,2 +0,0 @@ -import readline -readline.write_history_file = lambda *args: None diff --git a/.vimrc b/.vimrc deleted file mode 100644 index e1f8465..0000000 --- a/.vimrc +++ /dev/null @@ -1,6 +0,0 @@ -syntax on -set number -set tabstop=4 -set autoindent -set viminfo= -let g:netrw_dirhistmax = 0 diff --git a/.xinitrc b/.xinitrc deleted file mode 100644 index 2f44d5c..0000000 --- a/.xinitrc +++ /dev/null @@ -1,6 +0,0 @@ -synclient \ - TouchpadOff=1 \ - RightButtonAreaTop=0 \ - RightButtonAreaLeft=3000 & - -exec i3 diff --git a/.xresources b/.xresources deleted file mode 100644 index e55298d..0000000 --- a/.xresources +++ /dev/null @@ -1,29 +0,0 @@ -! Dracula Xresources palette -*.foreground: #F8F8F2 -*.background: #282A36 -*.color0: #000000 -*.color8: #4D4D4D -*.color1: #FF5555 -*.color9: #FF6E67 -*.color2: #50FA7B -*.color10: #5AF78E -*.color3: #F1FA8C -*.color11: #F4F99D -*.color4: #BD93F9 -*.color12: #CAA9FA -*.color5: #FF79C6 -*.color13: #FF92D0 -*.color6: #8BE9FD -*.color14: #9AEDFE -*.color7: #BFBFBF -*.color15: #E6E6E6 - -urxvt.scrollBar: false -urxvt.letterSpace: -1 -urxvt.depth: 32 -urxvt.background: rgba:2800/2A00/3600/F000 - -urxvt.font: xft:DejaVu Sans Mono:size=9 -urxvt.italicFont: xft:DejaVu Sans Mono:size=9:italic -urxvt.boldFont: xft:DejaVu Sans Mono:size=9:bold -urxvt.boldItalicFont: xft:DejaVu Sans Mono:size=9:bold:italic diff --git a/scripts/audio.sh b/scripts/audio.sh deleted file mode 100755 index 26b39fe..0000000 --- a/scripts/audio.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash - -current_volume=$(pamixer --get-volume) - -case $1 in -"raise") - (( current_volume += 5 )) - [[ current_volume -gt 100 ]] && current_volume=100 - - pamixer --set-volume $current_volume - notify-send -t 250 "VOL: $current_volume" - pkill -RTMIN+1 i3blocks -;; -"lower") - (( current_volume -= 5 )) - [[ current_volume -lt 0 ]] && current_volume=0 - - pamixer --set-volume $current_volume - notify-send -t 250 "VOL: $current_volume" - pkill -RTMIN+1 i3blocks -;; -"toggle_mute") - pamixer --toggle-mute - notify-send -t 300 "MUTE: $(pamixer --get-mute)" -;; -esac - diff --git a/scripts/backlight.sh b/scripts/backlight.sh deleted file mode 100755 index e0be12c..0000000 --- a/scripts/backlight.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash - -backlight_float=$(xbacklight -get) -current_backlight=${backlight_float%%.*} - -case $1 in -"raise") - (( current_backlight += 5 )) - [[ $current_backlight -gt 100 ]] && current_backlight=100 - - xbacklight -set $current_backlight -time 0 - notify-send -t 250 "BL: $current_backlight" -;; -"lower") - (( current_backlight -= 5 )) - [[ $current_backlight -lt 5 ]] && current_backlight=1 - - xbacklight -set $current_backlight -time 0 - notify-send -t 250 "BL: $current_backlight" -;; -esac - diff --git a/scripts/daemons.sh b/scripts/daemons.sh deleted file mode 100755 index 283ede0..0000000 --- a/scripts/daemons.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - -[[ ! $(pidof compton) ]] && compton & -[[ ! $(pidof unclutter) ]] && unclutter & -[[ ! $(pidof mpd) ]] && mpd & -[[ ! $(pidof transmission-daemon) ]] && transmission-daemon & -[[ ! $(pidof dunst) ]] && dunst & -[[ ! $(pidof nm-applet) ]] && nm-applet & - diff --git a/scripts/lock.sh b/scripts/lock.sh deleted file mode 100755 index 1bcd1ea..0000000 --- a/scripts/lock.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -scrot -m -z /tmp/lock.png -convert /tmp/lock.png -paint 1 /tmp/lock.png -i3lock -e -f -c 000000 -i /tmp/lock.png - diff --git a/scripts/music.sh b/scripts/music.sh deleted file mode 100755 index 63fdc9c..0000000 --- a/scripts/music.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -case $1 in -"toggle") - mpc toggle -;; -"next") - mpc next & - pkill -RTMIN+2 i3blocks -;; -"prev") - mpc prev & - pkill -RTMIN+2 i3blocks -;; -esac - diff --git a/scripts/suspend.sh b/scripts/suspend.sh deleted file mode 100755 index 1ca428b..0000000 --- a/scripts/suspend.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -~/scripts/lock.sh -systemctl suspend - diff --git a/wallpapers/current b/wallpapers/current deleted file mode 120000 index b3096b1..0000000 --- a/wallpapers/current +++ /dev/null @@ -1 +0,0 @@ -mountains.jpg \ No newline at end of file diff --git a/wallpapers/mountains.jpg b/wallpapers/mountains.jpg deleted file mode 100644 index da4037e..0000000 Binary files a/wallpapers/mountains.jpg and /dev/null differ