Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4642facc91 |
20
config
20
config
@@ -1,7 +1,5 @@
|
|||||||
# Default config for sway
|
# Default config for sway
|
||||||
#
|
#
|
||||||
# Copy this to ~/.config/sway/config and edit it to your liking.
|
|
||||||
#
|
|
||||||
# Read `man 5 sway` for a complete reference.
|
# Read `man 5 sway` for a complete reference.
|
||||||
|
|
||||||
# Set default font for sway and monospace font
|
# Set default font for sway and monospace font
|
||||||
@@ -22,7 +20,7 @@ set $term foot
|
|||||||
# Your preferred application launcher
|
# Your preferred application launcher
|
||||||
#set $menu wmenu-run
|
#set $menu wmenu-run
|
||||||
set $menu "wofi -show drun"
|
set $menu "wofi -show drun"
|
||||||
set $browser firefox
|
set $browser firefox-developer-edition
|
||||||
|
|
||||||
# ... (previous config)
|
# ... (previous config)
|
||||||
|
|
||||||
@@ -78,7 +76,9 @@ client.background $base
|
|||||||
#
|
#
|
||||||
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
||||||
#output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
#output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
||||||
output * bg /home/gh0s7/Pictures/wallpapers/TP1024.BMP fill
|
#output * bg /home/gh0s7/Pictures/Wallpapers/130036304_p21.png fill
|
||||||
|
output * bg /home/gh0s7/Pictures/Wallpapers/ThinkPad/TP1024.BMP fill
|
||||||
|
output eDP-1 scale 1.5
|
||||||
#
|
#
|
||||||
# Example configuration:
|
# Example configuration:
|
||||||
#
|
#
|
||||||
@@ -141,8 +141,9 @@ input * xkb_options caps:escape_shifted_capslock
|
|||||||
bindsym $mod+d exec $menu
|
bindsym $mod+d exec $menu
|
||||||
bindsym Alt+Space exec $menu
|
bindsym Alt+Space exec $menu
|
||||||
|
|
||||||
bindsym Ctrl+Alt+F exec $browser
|
bindsym Ctrl+Alt+f exec $browser
|
||||||
bindsym Ctrl+Alt+L exec swaylock -i ~/Pictures/wallpapers/IBM1024R.BMP -s fill
|
bindsym Ctrl+Alt+l exec swaylock -i /home/gh0s7/Pictures/Wallpapers/ThinkPad/IBM1024R.BMP -s fill
|
||||||
|
bindsym Ctrl+Alt+e exec dolphin
|
||||||
|
|
||||||
# Drag floating windows by holding down $mod and left mouse button.
|
# Drag floating windows by holding down $mod and left mouse button.
|
||||||
# Resize them with right mouse button + $mod.
|
# Resize them with right mouse button + $mod.
|
||||||
@@ -195,7 +196,7 @@ input * xkb_options caps:escape_shifted_capslock
|
|||||||
bindsym $mod+7 workspace number 7
|
bindsym $mod+7 workspace number 7
|
||||||
bindsym $mod+8 workspace number 8
|
bindsym $mod+8 workspace number 8
|
||||||
bindsym $mod+9 workspace number 9
|
bindsym $mod+9 workspace number 9
|
||||||
bindsym $mod+0 workspace number 0
|
bindsym $mod+0 workspace number 10
|
||||||
# Move focused container to workspace
|
# Move focused container to workspace
|
||||||
bindsym $mod+Shift+1 move container to workspace number 1
|
bindsym $mod+Shift+1 move container to workspace number 1
|
||||||
bindsym $mod+Shift+2 move container to workspace number 2
|
bindsym $mod+Shift+2 move container to workspace number 2
|
||||||
@@ -314,9 +315,8 @@ exec_always waybar
|
|||||||
include /etc/sway/config.d/*
|
include /etc/sway/config.d/*
|
||||||
#exec_always fcixt5 -d --replace
|
#exec_always fcixt5 -d --replace
|
||||||
exec --no-startup-id fcitx5 -d
|
exec --no-startup-id fcitx5 -d
|
||||||
exec --no-startup-id brightnessctl set 2000
|
exec --no-startup-id brightnessctl set 16000
|
||||||
exec --no-startup-id /usr/libexec/pipewire-launcher
|
#exec --no-startup-id /usr/libexec/pipewire-launcher
|
||||||
exec_always mako
|
|
||||||
# Idle configuration
|
# Idle configuration
|
||||||
exec swayidle -w \
|
exec swayidle -w \
|
||||||
timeout 300 'swaylock -f -c 000000' \
|
timeout 300 'swaylock -f -c 000000' \
|
||||||
|
|||||||
311
starship.toml
Normal file
311
starship.toml
Normal file
@@ -0,0 +1,311 @@
|
|||||||
|
"$schema" = 'https://starship.rs/config-schema.json'
|
||||||
|
|
||||||
|
# Global Layout
|
||||||
|
add_newline = true
|
||||||
|
command_timeout = 1000
|
||||||
|
|
||||||
|
format = """
|
||||||
|
$os\
|
||||||
|
$username\
|
||||||
|
$hostname\
|
||||||
|
$directory\
|
||||||
|
$git_branch\
|
||||||
|
$git_commit\
|
||||||
|
$git_status\
|
||||||
|
$docker_context\
|
||||||
|
$package\
|
||||||
|
$c\
|
||||||
|
$cmake\
|
||||||
|
$cpp\
|
||||||
|
$golang\
|
||||||
|
$haskell\
|
||||||
|
$java\
|
||||||
|
$kotlin\
|
||||||
|
$lua\
|
||||||
|
$nodejs\
|
||||||
|
$python\
|
||||||
|
$rust\
|
||||||
|
$zig\
|
||||||
|
$conda\
|
||||||
|
$memory_usage\
|
||||||
|
$aws\
|
||||||
|
$gcloud\
|
||||||
|
$cmd_duration\
|
||||||
|
$line_break\
|
||||||
|
$character"""
|
||||||
|
|
||||||
|
right_format = """$time"""
|
||||||
|
|
||||||
|
# Module Configuration
|
||||||
|
|
||||||
|
[os]
|
||||||
|
disabled = false
|
||||||
|
style = "bold blue"
|
||||||
|
|
||||||
|
[os.symbols]
|
||||||
|
Alpaquita = " "
|
||||||
|
Alpine = " "
|
||||||
|
AlmaLinux = " "
|
||||||
|
Amazon = " "
|
||||||
|
Android = " "
|
||||||
|
AOSC = " "
|
||||||
|
Arch = " "
|
||||||
|
Artix = " "
|
||||||
|
CachyOS = " "
|
||||||
|
CentOS = " "
|
||||||
|
Debian = " "
|
||||||
|
DragonFly = " "
|
||||||
|
Elementary = " "
|
||||||
|
Emscripten = " "
|
||||||
|
EndeavourOS = " "
|
||||||
|
Fedora = " "
|
||||||
|
FreeBSD = " "
|
||||||
|
Garuda = " "
|
||||||
|
Gentoo = " "
|
||||||
|
HardenedBSD = " "
|
||||||
|
Illumos = " "
|
||||||
|
Ios = " "
|
||||||
|
Kali = " "
|
||||||
|
Linux = " "
|
||||||
|
Mabox = " "
|
||||||
|
Macos = " "
|
||||||
|
Manjaro = " "
|
||||||
|
Mariner = " "
|
||||||
|
MidnightBSD = " "
|
||||||
|
Mint = " "
|
||||||
|
NetBSD = " "
|
||||||
|
NixOS = " "
|
||||||
|
Nobara = " "
|
||||||
|
OpenBSD = " "
|
||||||
|
openSUSE = " "
|
||||||
|
OracleLinux = " "
|
||||||
|
Pop = " "
|
||||||
|
Raspbian = " "
|
||||||
|
Redhat = " "
|
||||||
|
RedHatEnterprise = " "
|
||||||
|
RockyLinux = " "
|
||||||
|
Redox = " "
|
||||||
|
Solus = " "
|
||||||
|
SUSE = " "
|
||||||
|
Ubuntu = " "
|
||||||
|
Unknown = " "
|
||||||
|
Void = " "
|
||||||
|
Windows = " "
|
||||||
|
Zorin = " "
|
||||||
|
|
||||||
|
[time]
|
||||||
|
disabled = false
|
||||||
|
style = "bold white"
|
||||||
|
format = "[$time]($style)"
|
||||||
|
time_format = "%Y-%m-%d %A %H:%M:%S"
|
||||||
|
|
||||||
|
[username]
|
||||||
|
style_user = "bold green"
|
||||||
|
style_root = "bold red"
|
||||||
|
format = "[$user]($style)"
|
||||||
|
disabled = false
|
||||||
|
show_always = true
|
||||||
|
|
||||||
|
[directory]
|
||||||
|
style = "bold cyan"
|
||||||
|
truncation_length = 3
|
||||||
|
truncation_symbol = ""
|
||||||
|
truncate_to_repo = true
|
||||||
|
read_only = " "
|
||||||
|
|
||||||
|
[character]
|
||||||
|
#success_symbol = "[➜](bold green)"
|
||||||
|
success_symbol = "[❯](bold green)"
|
||||||
|
#success_symbol = "[](bold green)"
|
||||||
|
#error_symbol = "[✗](bold red)"
|
||||||
|
error_symbol = "[❯](bold red)"
|
||||||
|
vimcmd_symbol = "[V](bold green)"
|
||||||
|
|
||||||
|
[git_branch]
|
||||||
|
symbol = " "
|
||||||
|
style = "bold purple"
|
||||||
|
format = "[$symbol$branch(:$remote_branch)]($style) "
|
||||||
|
|
||||||
|
[git_status]
|
||||||
|
style = "bold green"
|
||||||
|
format = '([\[$all_status$ahead_behind\]]($style) )'
|
||||||
|
conflicted = "🏳"
|
||||||
|
ahead = "⇡${count}"
|
||||||
|
behind = "⇣${count}"
|
||||||
|
diverged = "⇕⇡${ahead_count}⇣${behind_count}"
|
||||||
|
up_to_date = "✓"
|
||||||
|
untracked = "?${count}"
|
||||||
|
stashed = "$${count}"
|
||||||
|
modified = "!${count}"
|
||||||
|
staged = "+${count}"
|
||||||
|
renamed = "»${count}"
|
||||||
|
deleted = "✘${count}"
|
||||||
|
|
||||||
|
[cmd_duration]
|
||||||
|
min_time = 2000
|
||||||
|
style = "bold pink"
|
||||||
|
|
||||||
|
# Languages and Tools Symbols (Preserving user choices)
|
||||||
|
[aws]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[buf]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[bun]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[c]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[cpp]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[cmake]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[conda]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[crystal]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[dart]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[deno]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[docker_context]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[elixir]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[elm]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[fennel]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[fortran]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[fossil_branch]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[gcloud]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[git_commit]
|
||||||
|
tag_symbol = ' '
|
||||||
|
commit_hash_length = 8
|
||||||
|
format = "[\\($hash$tag\\)]($style) "
|
||||||
|
style = "bold green"
|
||||||
|
|
||||||
|
[git_state]
|
||||||
|
format = '[\($state( $progress_current of $progress_total)\)]($style) '
|
||||||
|
style = "bold yellow"
|
||||||
|
|
||||||
|
[git_metrics]
|
||||||
|
disabled = false
|
||||||
|
added_style = "bold green"
|
||||||
|
deleted_style = "bold red"
|
||||||
|
format = "[+$added]($added_style)/[-$deleted]($deleted_style) "
|
||||||
|
|
||||||
|
[golang]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[gradle]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[guix_shell]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[haskell]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[haxe]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[hg_branch]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[hostname]
|
||||||
|
ssh_symbol = " "
|
||||||
|
ssh_only = false
|
||||||
|
format = "[@$hostname]($style) "
|
||||||
|
style = "bold cyan"
|
||||||
|
disabled = false
|
||||||
|
|
||||||
|
[java]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[julia]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[kotlin]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[lua]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[memory_usage]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[meson]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[nim]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[nix_shell]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[nodejs]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[ocaml]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[package]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[perl]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[php]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[pijul_channel]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[pixi]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[python]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[rlang]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[ruby]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[rust]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[scala]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[status]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[swift]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[xmake]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[zig]
|
||||||
|
symbol = " "
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
"sway/workspaces",
|
"sway/workspaces",
|
||||||
"sway/mode",
|
"sway/mode",
|
||||||
"sway/scratchpad"
|
"sway/scratchpad"
|
||||||
// "custom/media"
|
// "custom/media"
|
||||||
],
|
],
|
||||||
"modules-center": [
|
"modules-center": [
|
||||||
"sway/window"
|
"sway/window"
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
"tray",
|
"tray",
|
||||||
"battery",
|
"battery",
|
||||||
"clock"
|
"clock"
|
||||||
// "custom/power"
|
// "custom/power"
|
||||||
],
|
],
|
||||||
// Modules configuration
|
// Modules configuration
|
||||||
// "sway/workspaces": {
|
// "sway/workspaces": {
|
||||||
|
|||||||
Reference in New Issue
Block a user