commit 1c6132bfd57693a87a33bc8ec2467228fb16d3e8 Author: Dunestorm Date: Mon Dec 21 16:31:14 2020 +0000 [DSiR v0.90] - Initial import. diff --git a/config/autorandr/docked/config b/config/autorandr/docked/config new file mode 100644 index 0000000..92c795a --- /dev/null +++ b/config/autorandr/docked/config @@ -0,0 +1,22 @@ +output DP1 +off +output DP2 +off +output DP3 +off +output DP3-1 +off +output DP3-2 +off +output DP4 +off +output VIRTUAL1 +off +output eDP1 +off +output DP3-3 +crtc 0 +mode 2560x1440 +pos 0x0 +primary +rate 59.95 diff --git a/config/autorandr/docked/setup b/config/autorandr/docked/setup new file mode 100644 index 0000000..9383d2b --- /dev/null +++ b/config/autorandr/docked/setup @@ -0,0 +1,2 @@ +DP3-3 00ffffffffffff0006b32b27010000000c1e0103803c2278ae9315ae4e46a1260e5054a5cb0081c081809500a9c0b300d1c001010101565e00a0a0a029503020350055502100001a000000fd0030901ed83c000a202020202020000000ff004c334c4d44573030353234320a000000fc005647323757510a20202020202001e4020345f34f01024e0405901213141f60615d5e5f230907078301000068030c001000182d0067d85dc401788001681a000001013090ede305e301e30f000ce60607016659289ee00078a0a032501040350055502100001ef5bd00a0a0a032502040450055502100001e589d00a0a0a029503020350055502100001e0000000028 +eDP1 00ffffffffffff004d10f91400000000151e0104a51d12780ede50a3544c99260f505400000001010101010101010101010101010101283c80a070b023403020360020b410000018203080a070b023403020360020b410000018000000fe0056564b3859804c513133344e31000000000002410332001200000a010a20200080 diff --git a/config/autorandr/mobile/config b/config/autorandr/mobile/config new file mode 100644 index 0000000..8830839 --- /dev/null +++ b/config/autorandr/mobile/config @@ -0,0 +1,23 @@ +output DP1 +off +output DP2 +off +output DP3 +off +output DP3-1 +off +output DP3-2 +off +output DP3-3 +off +output DP4 +off +output VIRTUAL1 +off +output eDP1 +crtc 0 +gamma 1.0:1.01:1.124 +mode 1920x1200 +pos 0x0 +primary +rate 59.95 diff --git a/config/autorandr/mobile/setup b/config/autorandr/mobile/setup new file mode 100644 index 0000000..92c5fb4 --- /dev/null +++ b/config/autorandr/mobile/setup @@ -0,0 +1 @@ +eDP1 00ffffffffffff004d10f91400000000151e0104a51d12780ede50a3544c99260f505400000001010101010101010101010101010101283c80a070b023403020360020b410000018203080a070b023403020360020b410000018000000fe0056564b3859804c513133344e31000000000002410332001200000a010a20200080 diff --git a/config/autorandr/multi/config b/config/autorandr/multi/config new file mode 100644 index 0000000..3714761 --- /dev/null +++ b/config/autorandr/multi/config @@ -0,0 +1,26 @@ +output DP1 +off +output DP2 +off +output DP3 +off +output DP3-1 +off +output DP3-2 +off +output DP4 +off +output VIRTUAL1 +off +output eDP1 +crtc 1 +gamma 1.0:1.0:1.124 +mode 1920x1200 +pos 0x0 +rate 59.95 +output DP3-3 +crtc 0 +mode 2560x1440 +pos 1920x0 +primary +rate 59.95 diff --git a/config/autorandr/multi/setup b/config/autorandr/multi/setup new file mode 100644 index 0000000..9383d2b --- /dev/null +++ b/config/autorandr/multi/setup @@ -0,0 +1,2 @@ +DP3-3 00ffffffffffff0006b32b27010000000c1e0103803c2278ae9315ae4e46a1260e5054a5cb0081c081809500a9c0b300d1c001010101565e00a0a0a029503020350055502100001a000000fd0030901ed83c000a202020202020000000ff004c334c4d44573030353234320a000000fc005647323757510a20202020202001e4020345f34f01024e0405901213141f60615d5e5f230907078301000068030c001000182d0067d85dc401788001681a000001013090ede305e301e30f000ce60607016659289ee00078a0a032501040350055502100001ef5bd00a0a0a032502040450055502100001e589d00a0a0a029503020350055502100001e0000000028 +eDP1 00ffffffffffff004d10f91400000000151e0104a51d12780ede50a3544c99260f505400000001010101010101010101010101010101283c80a070b023403020360020b410000018203080a070b023403020360020b410000018000000fe0056564b3859804c513133344e31000000000002410332001200000a010a20200080 diff --git a/config/autorandr/postswitch b/config/autorandr/postswitch new file mode 100644 index 0000000..dd14b7c --- /dev/null +++ b/config/autorandr/postswitch @@ -0,0 +1,19 @@ +#!/bin/bash + +/bin/sleep 5 + +if [[ $(autorandr --current) = "mobile" ]]; then + pacmd set-default-source alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__source + pacmd set-default-sink alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink + /bin/sleep 2 && pulseeffects --load-preset "Test" --bypass 2 > /dev/null 2>&1 +# pulseaudio-ctl set 50% + notify-send "Autorandr" "Mobile Mode" +elif [[ $(autorandr --current) = "docked" ]]; then + pacmd set-default-source alsa_output.usb-Generic_USB_Audio_200901010001-00.HiFi__hw_Dock__source + pacmd set-default-sink alsa_output.usb-Generic_USB_Audio_200901010001-00.HiFi__hw_Dock_1__sink + /bin/sleep 2 && pulseeffects --bypass 1 > /dev/null 2>&1 + pulseaudio-ctl set 100% + notify-send "Autorandr" "Docked Mode" +fi + +pkill xiccd && xiccd & diff --git a/config/fish/config.fish b/config/fish/config.fish new file mode 100644 index 0000000..d2a5863 --- /dev/null +++ b/config/fish/config.fish @@ -0,0 +1,2 @@ +alias cls="clear" +neofetch diff --git a/config/i3/config b/config/i3/config new file mode 100644 index 0000000..6391f0b --- /dev/null +++ b/config/i3/config @@ -0,0 +1,237 @@ +# This file has been auto-generated by i3-config-wizard(1). +# It will not be overwritten, so edit it as you like. +# +# Should you change your keyboard layout some time, delete +# this file and re-run i3-config-wizard(1). +# + +########################## Startup Applications ############################## +exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 +exec_always --no-startup-id setxkbmap -layout gb +#exec --no-startup-id vmware-user +exec --no-startup-id xfce-power-manager & +exec_always --no-startup-id nitrogen --restore +exec_always --no-startup-id picom --backend glx --experimental-backends -b +exec --no-startup-id deadd-notification-center +exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork +#exec --no-startup-id xiccd & +############################################################################## + +############################### i3 Config #################################### +# configure gaps +smart_gaps on +gaps inner 8 +gaps outer 14 + +# disable titlebars and set border thickness +for_window [class="^.*"] border pixel 3 +hide_edge_borders smart +# border theming +client.focused #FE7E29 #cecece #000000 #94EBEB #FE7E29 +############################################################################## + +########################## Keyboard Shortcuts ################################ +# launch apps +bindsym $mod+F1 exec chromium +bindsym $mod+F2 exec nemo +bindsym $mod+F3 exec ytmdesktop +bindsym $mod+F4 exec pamac-manager +# modify shortcuts +bindsym $mod+Shift+F10 exec code ~/.config/i3/config +bindsym $mod+Shift+F11 exec code ~/.config/i3status-rust/config.toml +bindsym $mod+Shift+F12 exec code ~/.config/compton.conf +############################################################################## + +########################### Floating Windows################################## +for_window [class="Lxappearance"] floating enable, resize set 900 700, border pixel 0 +for_window [class="Gnome-screenshot"] floating enabled, border pixel 0 +for_window [instance="gcolor3"] floating enable, border pixel 0 +for_window [class="Nitrogen"] floating enable, move position center, border pixel 0 +for_window [title="About Mozilla Firefox"] floating enable, resize set 500 300, border pixel 0 +for_window [class="Steam"] floating enable, border pixel 0 +for_window [class="Gthumb"] floating enable, resize set 1280 720, move position center, border pixel 0 +for_window [class="Timeshift-gtk"] floating disable +############################################################################## + +# i3 config file (v4) +# +# Please see https://i3wm.org/docs/userguide.html for a complete reference! + +set $mod Mod4 + +# Font for window titles. Will also be used by the bar unless a different font +# is used in the bar {} block below. +font pango:monospace 8 + +# This font is widely installed, provides lots of unicode glyphs, right-to-left +# text rendering and scalability on retina/hidpi displays (thanks to pango). +#font pango:DejaVu Sans Mono 8 + +# The combination of xss-lock, nm-applet and pactl is a popular choice, so +# they are included here as an example. Modify as you see fit. + +# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the +# screen before suspend. Use loginctl lock-session to lock your screen. + +# NetworkManager is the most popular way to manage wireless networks on Linux, +# and nm-applet is a desktop environment-independent system tray GUI for it. +exec --no-startup-id nm-applet + +# Use pactl to adjust volume in PulseAudio. +set $refresh_i3status killall -SIGUSR1 i3status +bindsym XF86AudioRaiseVolume exec --no-startup-id pulseaudio-ctl up 5% && $refresh_i3status +bindsym XF86AudioLowerVolume exec --no-startup-id pulseaudio-ctl down 5% && $refresh_i3status +bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status +bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status +bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause +bindsym XF86MonBrightnessUp exec xbacklight -inc 5 # increase screen brightness +bindsym XF86MonBrightnessDown exec xbacklight -dec 5 # decrease screen brightness +bindsym $mod+mod1+F8 exec ~/.config/rofi/scripts/monitor_layout.sh && sleep 3 && i3-msg restart +bindsym $mod+mod1+L exec i3lock-fancy --greyscale && sleep 3 && systemctl suspend + +# Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $mod + +# start a terminal +bindsym $mod+Return exec xfce4-terminal + +# kill focused window +bindsym $mod+Shift+q kill + +# greenclip +#bindsym $mod+c exec rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}' +#bindsym $mod+Mod1+c exec greenclip clear; exec notify-send "Greenclip" "Clipboard has been cleared" + +########################## Launcher Shortcuts ############################## +# start rofi (launch commands) +bindsym $mod+r exec rofi -show run +# start rofi (launch apps) +bindsym $mod+d exec rofi -modi drun -show drun -show-icons -icon-theme Pop +# start rofi (window selector) +bindsym $mod+x exec rofi -show window -show-icons -icon-theme Pop +########################################################################### + +# There also is the (new) i3-dmenu-desktop which only displays applications +# shipping a .desktop file. It is a wrapper around dmenu, so you need that +# installed. +# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop + +# change focus +bindsym $mod+j focus left +bindsym $mod+k focus down +bindsym $mod+l focus up +bindsym $mod+semicolon focus right + +# alternatively, you can use the cursor keys: +bindsym $mod+Left focus left +bindsym $mod+Down focus down +bindsym $mod+Up focus up +bindsym $mod+Right focus right + +# move focused window +bindsym $mod+Shift+j move left +bindsym $mod+Shift+k move down +bindsym $mod+Shift+l move up +bindsym $mod+Shift+semicolon move right + +# alternatively, you can use the cursor keys: +bindsym $mod+Shift+Left move left +bindsym $mod+Shift+Down move down +bindsym $mod+Shift+Up move up +bindsym $mod+Shift+Right move right + +# split in horizontal orientation +bindsym $mod+h split h + +# split in vertical orientation +bindsym $mod+v split v + +# enter fullscreen mode for the focused container +bindsym $mod+f fullscreen toggle + +# change container layout (stacked, tabbed, toggle split) +bindsym $mod+s layout stacking +bindsym $mod+w layout tabbed +bindsym $mod+e layout toggle split + +# toggle tiling / floating +bindsym $mod+Shift+space floating toggle + +# change focus between tiling / floating windows +#bindsym $mod+space focus mode_toggle + +# focus the parent container +bindsym $mod+a focus parent + +# focus the child container +#bindsym $mod+d focus child + +# Define names for default workspaces for which we configure key bindings later on. +# We use variables to avoid repeating the names in multiple places. +set $ws1 "1: " +set $ws2 "2" +set $ws3 "3" +set $ws4 "4" +set $ws5 "5" +set $ws6 "6" +set $ws7 "7: " +set $ws8 "8: " +set $ws9 "9: " +set $ws10 "10: " + +# switch to workspace +bindsym $mod+1 workspace number $ws1 +bindsym $mod+2 workspace number $ws2 +bindsym $mod+3 workspace number $ws3 +bindsym $mod+4 workspace number $ws4 +bindsym $mod+5 workspace number $ws5 +bindsym $mod+6 workspace number $ws6 +bindsym $mod+7 workspace number $ws7 +bindsym $mod+8 workspace number $ws8 +bindsym $mod+9 workspace number $ws9 +bindsym $mod+0 workspace number $ws10 + +# move focused container to workspace +bindsym $mod+Shift+1 move container to workspace number $ws1 +bindsym $mod+Shift+2 move container to workspace number $ws2 +bindsym $mod+Shift+3 move container to workspace number $ws3 +bindsym $mod+Shift+4 move container to workspace number $ws4 +bindsym $mod+Shift+5 move container to workspace number $ws5 +bindsym $mod+Shift+6 move container to workspace number $ws6 +bindsym $mod+Shift+7 move container to workspace number $ws7 +bindsym $mod+Shift+8 move container to workspace number $ws8 +bindsym $mod+Shift+9 move container to workspace number $ws9 +bindsym $mod+Shift+0 move container to workspace number $ws10 + +# assign programs to specific workspaces +assign [class="firefox"] $ws8 +assign [class="nemo"] $ws9 +assign [class="youtube-music-desktop-app"] $ws10 + +# reload the configuration file +bindsym $mod+Shift+c reload +# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) +bindsym $mod+Shift+r restart + +bindsym $mod+Shift+e exec ~/.config/rofi/scripts/powermenu.sh + +bindsym $mod+Mod1+Left resize shrink width 10 px or 10 ppt +bindsym $mod+Mod1+Down resize grow height 10 px or 10 ppt +bindsym $mod+Mod1+Up resize shrink height 10 px or 10 ppt +bindsym $mod+Mod1+Right resize grow width 10 px or 10 ppt + +bar { + font pango:DejaVu Sans Mono, FontAwesome 11 + position top + status_command i3status-rs ~/.config/i3status-rust/config.toml + tray_output none + colors { + separator #666666 + background #222222 + statusline #dddddd + focused_workspace #FE7E29 #FE7E29 #ffffff + active_workspace #333333 #333333 #ffffff + inactive_workspace #333333 #333333 #888888 + urgent_workspace #2f343a #900000 #ffffff + } +} diff --git a/config/i3/i3status/config b/config/i3/i3status/config new file mode 100644 index 0000000..f403370 --- /dev/null +++ b/config/i3/i3status/config @@ -0,0 +1,53 @@ +# i3status configuration file. +# see "man i3status" for documentation. + +# It is important that this file is edited as UTF-8. +# The following line should contain a sharp s: +# ß +# If the above line is not correctly displayed, fix your editor first! + +general { + colors = false + interval = 5 +} + +#order += "ipv6" +order += "wireless _first_" +order += "ethernet _first_" +order += "battery all" +order += "disk /" +order += "load" +order += "memory" +order += "tztime local" + +#wireless _first_ { +# format_up = "W: (%quality at %essid) %ip" +# format_down = "W: down" +#} + +#ethernet _first_ { +# format_up = "E: %ip (%speed)" +# format_down = "E: down" +#} + +#battery all { +# format = "%status %percentage %remaining" +#} + +disk "/" { + format = "%avail" +} + +load { + format = "%1min" +} + +memory { + format = "%used | %available" + threshold_degraded = "1G" + format_degraded = "MEMORY < %available" +} + +tztime local { + format = "%Y-%m-%d %H:%M:%S" +} diff --git a/config/i3status-rust/config.toml b/config/i3status-rust/config.toml new file mode 100644 index 0000000..6a90dda --- /dev/null +++ b/config/i3status-rust/config.toml @@ -0,0 +1,55 @@ +theme = "solarized-dark" +icons = "awesome" + +[[block]] +block = "focused_window" +max_width = 50 +show_marks = "visible" + +[[block]] +block = "memory" +display_type = "memory" +format_mem = "{Mup}%" +format_swap = "{SUp}%" + +[[block]] +block = "music" +player = "youtubemusic" +buttons = ["play", "next"] +dynamic_width = true + +#[[block]] +#block = "backlight" +#device = "intel_backlight" + +#[[block]] +#block = "bluetooth" +#mac = "98:E8:FA:40:DB:B2" +#label = " WH-XM3" + +[[block]] +block = "pacman" +interval = 600 +format = "PAC:{pacman} | AUR:{aur}" +format_singular = "PAC/AUR:{both}" +format_up_to_date = "Up-to-date" +critical_updates_regex = "(linux |linux-lts|linux-zen)" +# aur_command should output available updates to stdout (ie behave as echo -ne "update\n") +aur_command = "pikaur -Qua" + +[[block]] +block = "networkmanager" +max_ssid_width = 0 + +[[block]] +block = "sound" + +[[block]] +block = "time" +interval = 60 +format = "%a %d/%m %R" + +#[[block]] +#block = "battery" +#interval = 10 +#format = "{percentage}% {time}" diff --git a/config/nitrogen/bg-saved.cfg b/config/nitrogen/bg-saved.cfg new file mode 100644 index 0000000..8416550 --- /dev/null +++ b/config/nitrogen/bg-saved.cfg @@ -0,0 +1,4 @@ +[xin_-1] +file=/home/dunestorm/Wallpapers/Dunes.jpg +mode=5 +bgcolor=#000000 diff --git a/config/nitrogen/nitrogen.cfg b/config/nitrogen/nitrogen.cfg new file mode 100644 index 0000000..c09f74f --- /dev/null +++ b/config/nitrogen/nitrogen.cfg @@ -0,0 +1,12 @@ +[geometry] +posx=404 +posy=408 +sizex=468 +sizey=500 + +[nitrogen] +view=icon +recurse=true +sort=alpha +icon_caps=false +dirs=/home/dunestorm/Wallpapers; diff --git a/config/picom/picom.conf b/config/picom/picom.conf new file mode 100644 index 0000000..5a93253 --- /dev/null +++ b/config/picom/picom.conf @@ -0,0 +1,87 @@ +# Shadow +shadow = true; +shadow-radius = 14; +shadow-offset-x = -12; +shadow-offset-y = -12; +shadow-opacity = 0.8; +# shadow-red = 0.0; +# shadow-green = 0.0; +# shadow-blue = 0.0; +shadow-exclude = [ + "name = 'Notification'", + "class_g = 'Conky'", + "class_g ?= 'Notify-osd'", + "class_g = 'Cairo-clock'", + "_GTK_FRAME_EXTENTS@:c" +]; +# shadow-exclude = "n:e:Notification"; +# shadow-exclude-reg = "x10+0+0"; +# xinerama-shadow-crop = true; + +# Opacity +dropdown_menu = 0.8; +popup_menu = 0.8; +inactive-opacity = 1; +active-opacity = 1; +frame-opacity = 0.7; +inactive-opacity-override = false; +inactive-dim = 0.2; +inactive-dim-fixed = true; +blur-background = true; +blur-background-frame = false; +blur-strength = 15; +blur-kern = "3x3box"; +blur: +{ + method = "gaussian"; + size = 10; + deviation = 5.0; +}; +blur-background-exclude = [ + "window_type = 'desktop'", + "class_g = 'colorpicker'", + "class_g = 'flameshot'", + "_GTK_FRAME_EXTENTS@:c" +]; +# opacity-rule = [ "80:class_g = 'URxvt'" ]; + +# Fading +fading = true; +fade-delta = 10; +fade-in-step = 0.03; +fade-out-step = 0.03; +# no-fading-openclose = true; +# no-fading-destroyed-argb = true; +fade-exclude = [ ]; + +# Other +backend = "glx"; +mark-wmwin-focused = true; +mark-ovredir-focused = true; +# use-ewmh-active-win = true; +detect-rounded-corners = true; +detect-client-opacity = true; +refresh-rate = 0; +vsync = false; +dbe = false; +# sw-opti = true; +# unredir-if-possible = true; +# unredir-if-possible-delay = 5000; +# unredir-if-possible-exclude = [ ]; +focus-exclude = [ "class_g = 'Cairo-clock'" ]; +detect-transient = true; +detect-client-leader = true; +invert-color-include = [ ]; +# resize-damage = 1; + +# GLX backend +glx-no-stencil = true; +glx-copy-from-front = false; +glx-no-rebind-pixmap = true; +use-damage = true + +# Window type settings +wintypes: +{ + tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; }; +}; diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi new file mode 100644 index 0000000..70f0717 --- /dev/null +++ b/config/rofi/config.rasi @@ -0,0 +1,3 @@ +configuration { + theme: "/home/dunestorm/.local/share/rofi/themes/flat-orange.rasi"; +} diff --git a/config/rofi/scripts/audio_sinks.sh b/config/rofi/scripts/audio_sinks.sh new file mode 100644 index 0000000..f3422b0 --- /dev/null +++ b/config/rofi/scripts/audio_sinks.sh @@ -0,0 +1,13 @@ +#!/usr/bin/bash +# choose pulseaudio sink via rofi or dmenu +# changes default sink and moves all streams to that sink + +sink=$(ponymix -t sink list|awk '/^sink/ {s=$1" "$2;getline;gsub(/^ +/,"",$0);print s" "$0}'|rofi -dmenu -p 'pulseaudio sink:' |grep -Po '[0-9]+(?=:)') && +# alternate version using dmenu: +# sink=$(ponymix -t sink list|awk '/^sink/ {s=$1" "$2;getline;gsub(/^ +/,"",$0);print s" "$0}'|dmenu -p 'pulseaudio sink:'|grep -Po '[0-9]+(?=:)') && + +ponymix set-default -d $sink && +for input in $(ponymix list -t sink-input|grep -Po '[0-9]+(?=:)');do + echo "$input -> $sink" + ponymix -t sink-input -d $input move $sink +done diff --git a/config/rofi/scripts/powermenu.sh b/config/rofi/scripts/powermenu.sh new file mode 100644 index 0000000..738dcde --- /dev/null +++ b/config/rofi/scripts/powermenu.sh @@ -0,0 +1,28 @@ +#!/bin/bash + +# Simple script to handle a DIY shutdown menu. When run you should see a bunch of options (shutdown, reboot etc.) +# +# Requirements: +# - rofi +# - systemd, but you can replace the commands for OpenRC or anything else +# +# Instructions: +# - Save this file as power.sh or anything +# - Give it exec priviledge, or chmod +x /path/to/power.sh +# - Run it + +chosen=$(echo -e "Lock\nLogout\nShutdown\nReboot\nSuspend" | rofi -dmenu -i) +# Info about some states are available here: +# https://www.freedesktop.org/software/systemd/man/systemd-sleep.conf.html#Description + +if [[ $chosen = "Lock" ]]; then + i3lock-fancy --greyscale && sleep 3 && systemctl suspend +elif [[ $chosen = "Logout" ]]; then + i3-msg exit +elif [[ $chosen = "Shutdown" ]]; then + systemctl poweroff +elif [[ $chosen = "Reboot" ]]; then + systemctl reboot +elif [[ $chosen = "Suspend" ]]; then + systemctl suspend +fi diff --git a/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml b/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml new file mode 100644 index 0000000..f404b35 --- /dev/null +++ b/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml b/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml new file mode 100644 index 0000000..22e8e7f --- /dev/null +++ b/config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/lightdm/lightdm-gtk-greeter.conf b/lightdm/lightdm-gtk-greeter.conf new file mode 100644 index 0000000..3a2a3cc --- /dev/null +++ b/lightdm/lightdm-gtk-greeter.conf @@ -0,0 +1,65 @@ +# LightDM GTK+ Configuration +# Available configuration options listed below. +# +# Appearance: +# theme-name = GTK+ theme to use +# icon-theme-name = Icon theme to use +# cursor-theme-name = Cursor theme to use +# cursor-theme-size = Cursor size to use +# background = Background file to use, either an image path or a color (e.g. #772953) +# user-background = false|true ("true" by default) Display user background (if available) +# transition-duration = Length of time (in milliseconds) to transition between background images ("500" by default) +# transition-type = ease-in-out|linear|none ("ease-in-out" by default) +# +# Fonts: +# font-name = Font to use +# xft-antialias = false|true Whether to antialias Xft fonts +# xft-dpi = Resolution for Xft in dots per inch (e.g. 96) +# xft-hintstyle = none|slight|medium|hintfull What degree of hinting to use +# xft-rgba = none|rgb|bgr|vrgb|vbgr Type of subpixel antialiasing +# +# Login window: +# active-monitor = Monitor to display greeter window (name or number). Use #cursor value to display greeter at monitor with cursor. Can be a semicolon separated list +# position = x y ("50% 50%" by default) Login window position +# default-user-image = Image used as default user icon, path or #icon-name +# hide-user-image = false|true ("false" by default) +# +# Panel: +# panel-position = top|bottom ("top" by default) +# clock-format = strftime-format string, e.g. %H:%M +# indicators = semi-colon ";" separated list of allowed indicator modules. Built-in indicators include "~a11y", "~language", "~session", "~power", "~clock", "~host", "~spacer". Unity indicators can be represented by short name (e.g. "sound", "power"), service file name, or absolute path +# +# Accessibility: +# a11y-states = states of accessibility features: "name" - save state on exit, "-name" - disabled at start (default value for unlisted), "+name" - enabled at start. Allowed names: contrast, font, keyboard, reader. +# keyboard = command to launch on-screen keyboard (e.g. "onboard") +# keyboard-position = x y[;width height] ("50%,center -0;50% 25%" by default) Works only for "onboard" +# reader = command to launch screen reader (e.g. "orca") +# at-spi-enabled = false|true ("true" by default) Enables accessibility at-spi-command if the greeter is built with it enabled +# +# Security: +# allow-debugging = false|true ("false" by default) +# screensaver-timeout = Timeout (in seconds) until the screen blanks when the greeter is called as lockscreen +# +# Template for per-monitor configuration: +# [monitor: name] +# background = overrides default value +# user-background = overrides default value +# laptop = false|true ("false" by default) Marks monitor as laptop display +# transition-duration = overrides default value +# +[greeter] +background=/etc/lightdm/wallpaper.jpg +#user-background= +theme-name=Qogir-ubuntu-dark +icon-theme-name=Qogir-ubuntu +#font-name= +#xft-antialias= +#xft-dpi= +#xft-hintstyle= +#xft-rgba= +#indicators= +#clock-format= +#keyboard= +#reader= +#position= +#screensaver-timeout= diff --git a/lightdm/wallpaper.jpg b/lightdm/wallpaper.jpg new file mode 100644 index 0000000..54c7509 Binary files /dev/null and b/lightdm/wallpaper.jpg differ diff --git a/local/share/rofi/themes/flat-orange.rasi b/local/share/rofi/themes/flat-orange.rasi new file mode 100644 index 0000000..b65de1e --- /dev/null +++ b/local/share/rofi/themes/flat-orange.rasi @@ -0,0 +1,147 @@ +/** + * ROFI Color theme + * User: mbfraga + * Copyright: Martin B. Fraga + */ + +/* global settings and color variables */ +* { + maincolor: #f17827; + highlight: bold #ffffff; + urgentcolor: #e53714; + + fgwhite: #cfcfcf; + blackdarkest: #22252c; + blackwidget: #22252c; + blackentry: #282a31; + blackselect: #f17827; + darkgray: #848484; + scrollbarcolor: #505050; + font: "Cantarell-Light 14"; + background-color: @blackdarkest; +} + +window { + background-color: @blackdarkest; + anchor: north; + location: north; + y-offset: 20%; +} + +mainbox { + background-color: @blackdarkest; + spacing:0px; + children: [inputbar, message, mode-switcher, listview]; +} + +message { + padding: 6px 10px; + background-color:@blackwidget; +} + +textbox { + text-color:@darkgray; + background-color:@blackwidget; +} + +listview { + fixed-height: false; + dynamic: true; + scrollbar: true; + spacing: 0px; + padding: 1px 0px 0px 0px; + margin: 0px 0px 1px 0px; + background: @blackdarkest; +} + +element { + padding: 2px 15px; +} + +element normal.normal { + padding: 0px 15px; + background-color: @blackentry; + text-color: @fgwhite; +} + +element normal.urgent { + background-color: @blackentry; + text-color: @urgentcolor; +} + +element normal.active { + background-color: @blackentry; + text-color: @maincolor; +} + +element selected.normal { + background-color: @blackselect; + text-color: @fgwhite; +} + +element selected.urgent { + background-color: @urgentcolor; + text-color: @blackdarkest; +} + +element selected.active { + background-color: @maincolor; + text-color: @blackdarkest; +} + +element alternate.normal { + background-color: @blackentry; + text-color: @fgwhite; +} + +element alternate.urgent { + background-color: @blackentry; + text-color: @urgentcolor; +} + +element alternate.active { + background-color: @blackentry; + text-color: @maincolor; +} + +scrollbar { + background-color: @blackwidget; + handle-color: @darkgray; + handle-width: 15px; +} + +mode-switcher { + background-color: @blackwidget; +} + +button { + background-color: @blackwidget; + text-color: @darkgray; +} + +button selected { + text-color: @maincolor; +} + +inputbar { + background-color: @blackdarkest; + spacing: 0px; +} + +prompt { + padding:6px 9px; + background-color: @maincolor; + text-color:@blackwidget; +} + +entry { + padding:6px 10px; + background-color:@blackwidget; + text-color:@fgwhite; +} + +case-indicator { + padding:6px 10px; + text-color:@maincolor; + background-color:@blackwidget; +} diff --git a/packages.sh b/packages.sh new file mode 100644 index 0000000..955f453 --- /dev/null +++ b/packages.sh @@ -0,0 +1,77 @@ +#!/bin/bash + +# Required dependencies +yay -S xorg-server \ + xorg-xbacklight \ + xfce4-power-manager \ + xf86-video-intel \ + intel-media-driver \ + sof-firmware \ + alsa-ucm-conf \ + alsa-utils \ + pulseaudio \ + ponymix \ + lightdm \ + lightdm-gtk-greeter \ + rofi \ + i3-gaps \ + i3status-rust \ + i3lock-fancy-git \ + pulseaudio-ctl \ + picom \ + autorandr \ + nemo \ + gvfs-smb \ + deadd-notification-center-bin \ + awesome-terminal-fonts \ + nerd-fonts-jetbrains-mono \ + ttf-font-awesome \ + noto-fonts \ + noto-fonts-emoji \ + qogir-gtk-theme \ + qogir-icon-theme \ + qt5-styleplugins \ + pavucontrol \ + nitrogen \ + neofetch \ + mpd \ + mpdris2 \ + bluez \ + bluez-utils\ + playerctl \ + lxappearance-gtk3 \ + gnome-terminal-transparency \ + polkit-gnome \ + fish \ + ytmdesktop \ + tlp \ + openssh \ + cronie \ + gthumb \ + pamac-aur-git + +# VMware guest dependencies +#yay -S open-vm-tools \ +# xf86-input-vmmouse \ +# xf86-video-vmware \ +# mesa +#sudo systemctl enable --now vmtoolsd + +sudo chsh -s /bin/fish dunestorm + +sudo systemctl enable --now tlp +sudo systemctl enable cronie +sudo systemctl enable bluetooth +sudo systemctl enable lightdm + +echo "QT_QPA_PLATFORMTHEME=gtk2" | sudo tee -a /etc/environment +echo "GDK_SCALE=1.25" | sudo tee -a /etc/environment +echo "GDK_DPI_SCALE=1.25" | sudo tee -a /etc/environment + +cp -R config/* ~/.config/ +cp -R local/* ~/.local/ + +mkdir ~/Wallpapers +cp -R wallpapers/* ~/Wallpapers + +sudo cp -f lightdm/* /etc/lightdm/ diff --git a/wallpapers/Arch_Orange.png b/wallpapers/Arch_Orange.png new file mode 100644 index 0000000..95f16a6 Binary files /dev/null and b/wallpapers/Arch_Orange.png differ diff --git a/wallpapers/Dunes.jpg b/wallpapers/Dunes.jpg new file mode 100644 index 0000000..477502d Binary files /dev/null and b/wallpapers/Dunes.jpg differ