mirror of
https://github.com/kristoferssolo/solorice.git
synced 2026-02-04 06:32:03 +00:00
Use dotter
This commit is contained in:
13
config/x11/opt-apps
Executable file
13
config/x11/opt-apps
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
autostart="picom nextcloud discord transmission-daemon floorp discord syncthing mullvad-vpn spotify-launcher"
|
||||
|
||||
for program in $autostart; do
|
||||
pidof -sx "$program" || "$program" &
|
||||
done
|
||||
# >/dev/null 2>&1
|
||||
|
||||
remaps & # run the remaps script, switching caps/esc and more; check it for more info
|
||||
xrandr --output DisplayPort-0 --rate 60 --output HDMI-A-0 --rate 60 --left-of DisplayPort-0 &
|
||||
# spotifyd --no-daemon &
|
||||
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
||||
18
config/x11/xinitrc
Normal file
18
config/x11/xinitrc
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
# xinitrc runs automatically when you run startx.
|
||||
|
||||
# There are some small but important commands that need to be run when we start
|
||||
# the graphical environment. There is a link to this file in ~/.xprofile
|
||||
# because that file is run automatically if someone uses a display manager
|
||||
# (login screen) and so they are needed there. To prevent doubling up commands,
|
||||
# I source them here with the line below.
|
||||
|
||||
if [ -f "$XDG_CONFIG_HOME/x11/xprofile" ]; then
|
||||
. "$XDG_CONFIG_HOME/x11/xprofile"
|
||||
else
|
||||
. "$HOME/.xprofile"
|
||||
fi
|
||||
|
||||
ssh-agent awesome
|
||||
# dbus-launch --sh-syntax --exit-with-session awesome
|
||||
21
config/x11/xprofile
Normal file
21
config/x11/xprofile
Normal file
@@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
|
||||
# This file runs when a DM logs you into a graphical session.
|
||||
# If you use startx/xinit like a Chad, this file will also be sourced.
|
||||
|
||||
# xrandr --dpi 96 # Set DPI. User may want to use a larger number for larger screens.
|
||||
setbg & # set the background with the `setbg` script
|
||||
xrdb "$XDG_CONFIG_HOME/x11/xresources" &
|
||||
xrdbpid=$! # Uncomment to use Xresources colors/settings on startup
|
||||
|
||||
autostart="pipewire pipewire-pulse wireplumber dunst flameshot"
|
||||
|
||||
for program in $autostart; do
|
||||
pidof -sx "$program" || "$program" &
|
||||
done
|
||||
# >/dev/null 2>&1
|
||||
|
||||
. "$XDG_CONFIG_HOME/x11/opt-apps"
|
||||
|
||||
# Ensure that xrdb has finished running before moving on to start the WM/DE.
|
||||
[ "$xrdbpid" != "" ] && wait "$xrdbpid"
|
||||
38
config/x11/xresources
Normal file
38
config/x11/xresources
Normal file
@@ -0,0 +1,38 @@
|
||||
Xft.dpi: {{dpi}}
|
||||
|
||||
! special
|
||||
*.foreground: #e0def4
|
||||
*.background: #191724
|
||||
*.cursorColor: #e0def4
|
||||
|
||||
! black
|
||||
*.color0: #1f1d2e
|
||||
*.color8: #26233a
|
||||
|
||||
! red
|
||||
*.color1: #eb6f92
|
||||
*.color9: #eb6f92
|
||||
|
||||
! green
|
||||
*.color2: #f6c177
|
||||
*.color10: #f6c177
|
||||
|
||||
! yellow
|
||||
*.color3: #ebbcba
|
||||
*.color11: #ebbcba
|
||||
|
||||
! blue
|
||||
*.color4: #31748f
|
||||
*.color12: #31748f
|
||||
|
||||
! magenta
|
||||
*.color5: #c4a7e7
|
||||
*.color13: #c4a7e7
|
||||
|
||||
! cyan
|
||||
*.color6: #9ccfd8
|
||||
*.color14: #9ccfd8
|
||||
|
||||
! white
|
||||
*.color7: #6e6a86
|
||||
*.color15: #908caa
|
||||
23
config/x11/xresources.tokyonight
Normal file
23
config/x11/xresources.tokyonight
Normal file
@@ -0,0 +1,23 @@
|
||||
Xft.dpi: 144
|
||||
! TokyoNight colors for Xresources
|
||||
|
||||
*background: #1a1b26
|
||||
*foreground: #c0caf5
|
||||
|
||||
*color0: #15161e
|
||||
*color1: #f7768e
|
||||
*color2: #9ece6a
|
||||
*color3: #e0af68
|
||||
*color4: #7aa2f7
|
||||
*color5: #bb9af7
|
||||
*color6: #7dcfff
|
||||
*color7: #a9b1d6
|
||||
|
||||
*color8: #414868
|
||||
*color9: #f7768e
|
||||
*color10: #9ece6a
|
||||
*color11: #e0af68
|
||||
*color12: #7aa2f7
|
||||
*color13: #bb9af7
|
||||
*color14: #7dcfff
|
||||
*color15: #c0caf5
|
||||
Reference in New Issue
Block a user