Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ git clone https://github.com/draphy/draphyOS ~/.draphyOS && ~/.draphyOS/install.
| `Super + Shift + 1-0` | Move to Workspace |
| `Super + Shift + x` | Lock Screen |
| `Super + Shift + f` | File Manager |
| `Super + Shift + b` | Browser |
| `Super + Shift + b` | Browser (Firefox) |
| `Super + Shift + v` | Text Editor |
| `Print` | Screenshot (select area) |
| `Super + r` | Resize mode |

Expand Down Expand Up @@ -311,6 +312,24 @@ This will:

</details>

<details>
<summary><strong>Running in a VM? Display not refreshing?</strong></summary>

Picom's `glx` backend doesn't work well in virtual machines. Fix:

1. Edit `~/.config/picom/picom.conf`:
```ini
backend = "xrender";
corner-radius = 0;
vsync = false;
use-damage = false;
```
2. Restart picom: `pkill picom && picom -b`

> **Note:** Rounded corners and blur aren't supported with `xrender`, but opacity and shadows still work.

</details>

---

## 🤝 Contributing
Expand Down
6 changes: 3 additions & 3 deletions configs/i3/config
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,10 @@ bindsym $mod+Print exec --no-startup-id flameshot screen -c
bindsym $mod+Shift+f exec thunar

## Launch // Browser // <Super><Shift> b ##
bindsym $mod+Shift+b exec brave-browser
bindsym $mod+Shift+b exec firefox

## Launch // VS Code // <Super><Shift> v ##
bindsym $mod+Shift+v exec code
## Launch // Text Editor // <Super><Shift> v ##
bindsym $mod+Shift+v exec mousepad

## System // Lock Screen // <Super><Shift> x ##
bindsym $mod+Shift+x exec --no-startup-id ~/.config/i3/lock.sh
Expand Down
9 changes: 4 additions & 5 deletions configs/polybar/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,11 @@ padding-right = 2
module-margin-left = 1
module-margin-right = 1

; Updated fonts with better fallbacks
; Fonts
font-0 = "Fira Code:size=10;2"
font-1 = "FiraCode Nerd Font:size=10;2"
font-2 = "Font Awesome 6 Free Solid:size=10;2"
font-3 = "Font Awesome 6 Brands:size=10;2"
font-4 = "Noto Sans Mono:size=10;2"
font-1 = "Font Awesome 6 Free Solid:size=10;2"
font-2 = "Font Awesome 6 Brands:size=10;2"
font-3 = "Noto Sans Mono:size=10;2"

; Left: workspaces and window title
modules-left = i3 xwindow
Expand Down
38 changes: 38 additions & 0 deletions configs/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>

<channel name="xsettings" version="1.0">
<property name="Net" type="empty">
<property name="ThemeName" type="string" value="Adwaita-dark"/>
<property name="IconThemeName" type="string" value="Mint-Y"/>
<property name="CursorThemeName" type="string" value="Adwaita"/>
<property name="CursorBlink" type="bool" value="true"/>
<property name="CursorBlinkTime" type="int" value="1200"/>
<property name="EnableEventSounds" type="bool" value="false"/>
<property name="EnableInputFeedbackSounds" type="bool" value="false"/>
</property>
<property name="Xft" type="empty">
<property name="DPI" type="int" value="-1"/>
<property name="Antialias" type="int" value="1"/>
<property name="Hinting" type="int" value="1"/>
<property name="HintStyle" type="string" value="hintslight"/>
<property name="RGBA" type="string" value="rgb"/>
</property>
<property name="Gtk" type="empty">
<property name="CanChangeAccels" type="bool" value="false"/>
<property name="ColorPalette" type="string" value="black:white:gray50:red:purple:blue:light blue:green:yellow:orange:lavender:brown:goldenrod4:dodger blue:pink:light green:gray10:gray30:gray75:gray90"/>
<property name="FontName" type="string" value="Fira Code 10"/>
<property name="MonospaceFontName" type="string" value="Fira Code 10"/>
<property name="IconSizes" type="string" value=""/>
<property name="KeyThemeName" type="string" value=""/>
<property name="ToolbarStyle" type="string" value="icons"/>
<property name="ToolbarIconSize" type="int" value="3"/>
<property name="MenuImages" type="bool" value="true"/>
<property name="ButtonImages" type="bool" value="true"/>
<property name="MenuBarAccel" type="string" value="F10"/>
<property name="CursorThemeName" type="string" value="Adwaita"/>
<property name="CursorThemeSize" type="int" value="24"/>
<property name="DecorationLayout" type="string" value="menu:minimize,maximize,close"/>
<property name="DialogsUseHeader" type="bool" value="false"/>
<property name="TitlebarMiddleClick" type="string" value="lower"/>
</property>
</channel>
6 changes: 6 additions & 0 deletions configs/xprofile
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,9 @@ export SSH_AUTH_SOCK

# Export keyring to D-Bus so browsers and apps can access it
dbus-update-activation-environment --systemd DISPLAY XAUTHORITY SSH_AUTH_SOCK

# Auto-detect WiFi interface for polybar (handles USB adapters changing ports)
WIFI_IFACE=$(ip link show 2>/dev/null | grep -E "^[0-9]+: wl.*state UP" | head -1 | awk -F: '{print $2}' | tr -d ' ')
if [ -n "$WIFI_IFACE" ] && [ -f ~/.config/polybar/config.ini ]; then
sed -i "s/^interface = .*/interface = $WIFI_IFACE/" ~/.config/polybar/config.ini
fi
18 changes: 3 additions & 15 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -254,21 +254,6 @@ install_packages() {
print_warning "Some packages may have failed. Continuing anyway..."
fi

# Install Nerd Fonts (optional, don't fail if unavailable)
if ! fc-list 2>/dev/null | grep -qi "FiraCode Nerd Font"; then
print_step "Attempting to install FiraCode Nerd Font..."
if sudo dnf install -y firacode-nerd-fonts 2>/dev/null; then
print_success "FiraCode Nerd Font installed"
elif sudo dnf copr enable -y elxreno/nerd-fonts 2>/dev/null && \
sudo dnf install -y firacode-nerd-fonts 2>/dev/null; then
print_success "FiraCode Nerd Font installed from COPR"
else
print_warning "FiraCode Nerd Font not available. Polybar will use fallback fonts."
fi
else
print_step "FiraCode Nerd Font already installed"
fi

print_success "Packages ready"
}

Expand All @@ -288,6 +273,7 @@ backup_configs() {
"$HOME/.config/dunst"
"$HOME/.config/picom"
"$HOME/.config/gtk-3.0/settings.ini"
"$HOME/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml"
"$HOME/.config/fish/config.fish"
"$HOME/.config/redshift"
"$HOME/.xprofile"
Expand Down Expand Up @@ -341,6 +327,7 @@ install_configs() {
mkdir -p "$HOME/.config/dunst" 2>/dev/null
mkdir -p "$HOME/.config/picom" 2>/dev/null
mkdir -p "$HOME/.config/gtk-3.0" 2>/dev/null
mkdir -p "$HOME/.config/xfce4/xfconf/xfce-perchannel-xml" 2>/dev/null
mkdir -p "$HOME/.config/fish" 2>/dev/null
mkdir -p "$HOME/.config/redshift" 2>/dev/null

Expand All @@ -363,6 +350,7 @@ install_configs() {
safe_symlink "$INSTALL_DIR/configs/dunst/dunstrc" "$HOME/.config/dunst/dunstrc"
safe_symlink "$INSTALL_DIR/configs/picom/picom.conf" "$HOME/.config/picom/picom.conf"
safe_symlink "$INSTALL_DIR/configs/gtk-3.0/settings.ini" "$HOME/.config/gtk-3.0/settings.ini"
safe_symlink "$INSTALL_DIR/configs/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml" "$HOME/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml"
safe_symlink "$INSTALL_DIR/configs/fish/config.fish" "$HOME/.config/fish/config.fish"
safe_symlink "$INSTALL_DIR/configs/redshift/redshift.conf" "$HOME/.config/redshift/redshift.conf"
safe_symlink "$INSTALL_DIR/configs/xprofile" "$HOME/.xprofile"
Expand Down
1 change: 1 addition & 0 deletions uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ remove_configs() {
"$HOME/.config/dunst/dunstrc"
"$HOME/.config/picom/picom.conf"
"$HOME/.config/gtk-3.0/settings.ini"
"$HOME/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml"
"$HOME/.config/fish/config.fish"
"$HOME/.config/redshift/redshift.conf"
"$HOME/.xprofile"
Expand Down