New terminal

This commit is contained in:
GaspardCulis 2023-10-10 11:12:03 +02:00
parent 23f762ae3b
commit 79ed493e34
12 changed files with 417 additions and 3 deletions

View file

@ -172,7 +172,7 @@ bindsym $mod+Shift+s mode "resize"
######################################
# start a terminal
bindsym $mod+Return exec xfce4-terminal
bindsym $mod+Return exec rio
# kill focused window
bindsym $mod+q kill
@ -408,8 +408,7 @@ exec --no-startup-id ~/.screenlayout/monitor.sh
# set wallpaper
# exec --no-startup-id sleep 2 && nitrogen --restore
exec --no-startup-id sleep 1 && feh --bg-fill /home/gaspard/Images/Wallpapers/Cool.jpg
exec --no-startup-id sleep 1 && feh --bg-fill "/home/gaspard/Images/Wallpapers/ExylCollection/Desktop Flute Altar by Exyl.png"
exec picom --config ~/.config/picom/picom.conf
exec udiskie

View file

@ -9,3 +9,7 @@ alias ga="git add"
alias gc="git commit"
alias gp="git push"
alias gpl="git pull"
# Obsidian
alias life-push="rsync -r ~/Documents/Obsidian/Life/ pixel:~/storage/shared/Documents/Obsidian/Life/"
alias life-pull="rsync -r pixel:~/storage/shared/Documents/Obsidian/Life/ ~/Documents/Obsidian/Life/"

View file

@ -16,6 +16,11 @@ fi
[[ -z "$FUNCNEST" ]] && export FUNCNEST=100 # limits recursive functions, see 'man bash'
## SSH agent
if [[ ! -n ${SSH_CONNECTION} ]]; then
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
fi
## Use the up and down arrow keys for finding a command in history
## (you can write some initial letters of the command first).
bind '"\e[A":history-search-backward'

1
sync
View file

@ -18,6 +18,7 @@ synced_files = [
('shell/bash/.bash_env', '~/.bash_env'),
('shell/bash/.bash_exec', '~/.bash_exec'),
('shell/nu/.nu_aliases', '~/.nu_aliases'),
('term/rio/', '~/.config/rio/')
]
def save():

251
term/rio/config.toml Normal file
View file

@ -0,0 +1,251 @@
# Cursor
#
# Default cursor is Block
# Other available options are: '_' and '|'
#
cursor = '|'
# Blinking Cursor
#
# Default is false
#
blinking-cursor = true
# Ignore theme selection foreground color
#
# Default is false
#
ignore_theme_selection_fg_color = false
# Performance
#
# Set WGPU rendering performance
# High: Adapter that has the highest performance. This is often a discrete GPU.
# Low: Adapter that uses the least possible power. This is often an integrated GPU.
#
performance = "Low"
# Theme
theme = "Monokai Remastered"
# It makes Rio look for the specified theme in the themes folder
# (macos and linux: ~/.config/rio/themes/dracula.toml)
# (windows: C:\Users\USER\AppData\Local\rio\themes\dracula.toml)
#
# Example
# theme = "dracula"
# Padding-x
#
# define x axis padding (default is 10)
#
# Example
# padding-x = 10
# Option as Alt
#
# This config only works on MacOs.
# Possible choices: 'both', 'left' and 'right'.
#
# Example
# option-as-alt = 'left'
# Window configuration
#
# • width - define the intial window width.
# Default: 600
#
# • height - define the inital window height.
# Default: 400
#
# • mode - define how the window will be created
# - "Windowed" (default) is based on width and height
# - "Maximized" window is created with maximized
# - "Fullscreen" window is created with fullscreen
#
# Example
# [window]
# width = 600
# height = 400
# mode = "Windowed"
# Background configuration
#
# • opacity - changes the background transparency state
# Default: 1.0
#
# • mode - defines background mode bewteen "Color" and "Image"
#
# • image - Set an image as background
# Default: None
#
# Example
[background]
opacity = 0.9
#
# [background.image]
# path = "/Users/rapha/Desktop/eastward.jpg"
# width = 200.0
# height = 200.0
# x = 0.0
# y = 0.0
# Window Height
#
# window-height changes the inital window height.
# Default: 400
#
# Example
# window-height = 400
# Fonts
#
# Configure fonts used by the terminal
#
# Note: You can set different font families but Rio terminal
# will always look for regular font bounds whene
#
# You can also set family on root to overwritte all fonts
#
# Example
[fonts]
size = 10
#
[fonts.regular]
family = "FiraCode Nerd Font"
style = "normal"
weight = 400
#
[fonts.bold]
family = "FiraCode Nerd Font"
style = "normal"
weight = 600
#
[fonts.italic]
family = "FiraCode Nerd Font"
style = "italic"
weight = 400
#
[fonts.bold-italic]
family = "FiraCode Nerd Font"
style = "italic"
weight = 600
# Navigation
#
# "mode" - Define navigation mode
# • NativeTab (MacOs only)
# • CollapsedTab
# • BottomTab
# • TopTab
# • Breadcrumb
# • Plain
#
# "clickable" - Enable click on tabs to switch.
# "use-current-path" - Use same path whenever a new tab is created.
# "color-automation" - Set a specific color for the tab whenever a specific program is running.
# "macos-hide-window-buttons" - (MacOS only) Hide window buttons
#
# Example
# [navigation]
# mode = "CollapsedTab"
# clickable = false
# use-current-path = false
# color-automation = []
# macos-hide-window-buttons = false
# Shell
#
# You can set `shell.program` to the path of your favorite shell, e.g. `/bin/fish`.
# Entries in `shell.args` are passed unmodified as arguments to the shell.
#
# Default:
# - (macOS) user login shell
# - (Linux/BSD) user login shell
# - (Windows) powershell
#
# Example 1 using fish shell from bin path:
#
# shell = { program = "/bin/fish", args = ["--login"] }
#
# Example 2 for Windows using powershell
#
# shell = { program = "pwsh", args = [] }
#
# Example 3 for Windows using powershell with login
#
# shell = { program = "pwsh", args = ["-l"] }
# Startup directory
#
# Directory the shell is started in. If this is unset the working
# directory of the parent process will be used.
#
# This configuration only has effect if use-fork is disabled
#
# Example
# working-dir = "/Users/raphael/Documents/"
# Environment variables
#
# The example below sets fish as the default SHELL using env vars
# please do not copy this if you do not need
#
# Example
# env-vars = []
# Disable render when unfocused
#
# This property disable renderer processes while Rio is unfocused.
#
# Example
# disable-renderer-when-unfocused = false
# Use fork
#
# Defaults for POSIX-based systems (Windows is not configurable):
# MacOS: spawn processes
# Linux/BSD: fork processes
#
# Example
# use-fork = false
# Colors
#
# Colors definition will overwrite any property in theme
# (considering if theme folder does exists and is being used)
#
# Example:
#
# [colors]
# background = '#0F0D0E'
# foreground = '#F9F4DA'
# cursor = '#F38BA3'
# tabs = '#443d40'
# tabs-active = '#F38BA3'
# green = '#0BA95B'
# red = '#ED203D'
# blue = '#12B5E5'
# yellow = '#FCBA28'
# Bindings
#
# Create custom Key bindings for Rio terminal
# More information in: raphamorim.io/rio/docs/custom-key-bindings
#
# Example
# [bindings]
# keys = [
# { key = "q", with = "super", action = "Quit" },
# # Bytes[27, 91, 53, 126] is equivalent to "\x1b[5~"
# { key = "home", with = "super | shift", bytes = [27, 91, 53, 126] }
# ]
# Log level
#
# This property enables log level filter. Default is "OFF".
#
# Example
# [developer]
# log-level = "OFF"

View file

@ -0,0 +1,22 @@
[colors]
background = '#0c0c0c'
foreground = '#d9d9d9'
selection-background = '#343434'
selection-foreground = '#ffffff'
cursor = '#fc971f'
black = '#1a1a1a'
red = '#f4005f'
green = '#98e024'
yellow = '#fd971f'
blue = '#9d65ff'
magenta = '#f4005f'
cyan = '#58d1eb'
white = '#c4c5b5'
light_black = '#625e4c'
light_red = '#f4005f'
light_green = '#98e024'
light_yellow = '#e0d561'
light_blue = '#9d65ff'
light_magenta = '#f4005f'
light_cyan = '#58d1eb'
light_white = '#f6f6ef'

22
term/rio/themes/Neon.toml Normal file
View file

@ -0,0 +1,22 @@
[colors]
background = '#14161a'
foreground = '#00fffc'
selection-background = '#0013ff'
selection-foreground = '#08d2cf'
cursor = '#c7c7c7'
black = '#000000'
red = '#ff3045'
green = '#5ffa74'
yellow = '#fffc7e'
blue = '#0208cb'
magenta = '#f924e7'
cyan = '#00fffc'
white = '#c7c7c7'
light_black = '#686868'
light_red = '#ff5a5a'
light_green = '#75ff88'
light_yellow = '#fffd96'
light_blue = '#3c40cb'
light_magenta = '#f15be5'
light_cyan = '#88fffe'
light_white = '#ffffff'

View file

@ -0,0 +1,22 @@
[colors]
background = '#1c1e22'
foreground = '#e6e8ef'
selection-background = '#2f363e'
selection-foreground = '#7d8fa4'
cursor = '#f6f7ec'
black = '#23252b'
red = '#b54036'
green = '#5ab977'
yellow = '#deb566'
blue = '#6a7c93'
magenta = '#a4799d'
cyan = '#3f94a8'
white = '#e6e8ef'
light_black = '#23252b'
light_red = '#b54036'
light_green = '#5ab977'
light_yellow = '#deb566'
light_blue = '#6a7c93'
light_magenta = '#a4799d'
light_cyan = '#3f94a8'
light_white = '#ebedf2'

View file

@ -0,0 +1,22 @@
[colors]
background = '#283033'
foreground = '#cdcdcd'
selection-background = '#3e4c4f'
selection-foreground = '#dfe1e2'
cursor = '#c0cad0'
black = '#000000'
red = '#a60001'
green = '#00bb00'
yellow = '#fecd22'
blue = '#3a9bdb'
magenta = '#bb00bb'
cyan = '#00bbbb'
white = '#bbbbbb'
light_black = '#555555'
light_red = '#ff0003'
light_green = '#93c863'
light_yellow = '#fef874'
light_blue = '#a1d7ff'
light_magenta = '#ff55ff'
light_cyan = '#55ffff'
light_white = '#ffffff'

View file

@ -0,0 +1,22 @@
[colors]
background = '#0a1e24'
foreground = '#ecf0c1'
selection-background = '#0a385c'
selection-foreground = '#ffffff'
cursor = '#708284'
black = '#6e5346'
red = '#e35b00'
green = '#5cab96'
yellow = '#e3cd7b'
blue = '#0f548b'
magenta = '#e35b00'
cyan = '#06afc7'
white = '#f0f1ce'
light_black = '#684c31'
light_red = '#ff8a3a'
light_green = '#aecab8'
light_yellow = '#ffc878'
light_blue = '#67a0ce'
light_magenta = '#ff8a3a'
light_cyan = '#83a7b4'
light_white = '#fefff1'

View file

@ -0,0 +1,22 @@
[colors]
background = '#1b1d1e'
foreground = '#e3e3e3'
selection-background = '#070e50'
selection-foreground = '#f0272d'
cursor = '#2c3fff'
black = '#1b1d1e'
red = '#e60813'
green = '#e22928'
yellow = '#e24756'
blue = '#2c3fff'
magenta = '#2435db'
cyan = '#3256ff'
white = '#fffef6'
light_black = '#505354'
light_red = '#ff0325'
light_green = '#ff3338'
light_yellow = '#fe3a35'
light_blue = '#1d50ff'
light_magenta = '#747cff'
light_cyan = '#6184ff'
light_white = '#fffff9'

View file

@ -0,0 +1,22 @@
[colors]
background = '#1c1d1f'
foreground = '#708284'
selection-background = '#595ab7'
selection-foreground = '#1c1d1f'
cursor = '#708284'
black = '#56595c'
red = '#c94c22'
green = '#85981c'
yellow = '#b4881d'
blue = '#2e8bce'
magenta = '#d13a82'
cyan = '#32a198'
white = '#c9c6bd'
light_black = '#45484b'
light_red = '#bd3613'
light_green = '#738a04'
light_yellow = '#a57705'
light_blue = '#2176c7'
light_magenta = '#c61c6f'
light_cyan = '#259286'
light_white = '#c9c6bd'