Update 21.07.23

This commit is contained in:
Loïc Gremaud 2023-07-21 22:29:21 +02:00
parent b2b8ef0962
commit 747ab315f8
11 changed files with 34 additions and 29 deletions

View File

@ -320,6 +320,8 @@ tiling_drag modifier titlebar
## Syntax:
#exec [--no-startup-id] <command>
#exec_always [--no-startup-id] <command>
exec_always --no-startup-id setxkbmap -option caps:swapescape
exec_always --no-startup-id ~/.screenlayout/default.sh
exec_always --no-startup-id ~/.config/i3/scripts/i3_autostart
## The --no-startup-id parameter disables startup-notification support for this particular exec command.

View File

@ -4,6 +4,10 @@
##-- Workspace Rules ------------------------
workspace 1 output HDMI-A-0
workspace 2 output HDMI-A-0
workspace 3 output DisplayPort-0
## Automatically putting clients on specific workspaces
##
## To automatically make a specific window show up on a specific workspace,

View File

@ -26,6 +26,9 @@ fi
# Enable power management
xfce4-power-manager &
# Enable wireguard tray
conda activate base && wg-tray &
# Enable Super Keys For Menu
ksuperkey -e 'Super_L=Alt_L|F1' &
ksuperkey -e 'Super_R=Alt_L|F1' &
@ -36,13 +39,13 @@ xsetroot -cursor_name left_ptr
# Restore wallpaper
"$idir"/themes/wallpaper.sh
# Lauch notification daemon
# Launch notification daemon
"$idir"/scripts/i3_dunst
# Lauch polybar
# Launch polybar
"$idir"/scripts/i3_bar
# Lauch compositor
# Launch compositor
"$idir"/scripts/i3_comp
# Start mpd

View File

@ -144,7 +144,7 @@ font-5 = "archcraft:size=12;3"
# Default
modules-left = LD menu RD dot-alt LD i3 RD
modules-center = LD mpd RD mpdsep song
modules-right = LD volume sep backlight sep network sep battery RD dot LD sysmenu RD dot-alt LD date RD
modules-right = LD volume sep ethernet RD dot LD sysmenu RD dot-alt LD date RD
# Alternate
;modules-left = openbox 2LD cpu 3LD memory 4LD filesystem 5LD

View File

@ -55,8 +55,8 @@ ws-icon-4 = 5;
ws-icon-5 = 6;漣
ws-icon-6 = 7;
ws-icon-7 = 8;
ws-icon-8 = 9;
ws-icon-9 = 10;
ws-icon-8 = 9;
ws-icon-9 = 10;
ws-icon-default =
; NOTE: You cannot skip icons, e.g. to get a ws-icon-6
; you must also define a ws-icon-5.
@ -434,10 +434,11 @@ interval = 1.0
; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string
; NOTE: if you want to use syntax tags here you need to use %%{...}
;;date = %Y-%m-%d%
; date = %Y-%m-%d%
; Optional time format
time = %I:%M %p
; time = %I:%M %p
time = %k:%M (%a %j/%V) %d/%m/%Y
; if `date-alt` or `time-alt` is defined, clicking
; the module will toggle between formats

View File

@ -21,6 +21,6 @@
sys_adapter = AC0
sys_battery = BAT0
sys_graphics_card = intel_backlight
sys_network_interface = wlan0
sys_network_interface = eno1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

View File

@ -47,7 +47,7 @@ font-1 = unifont:fontformat=truetype:size=6:antialias=false;4
font-2 = Wuncon Siji:pixelsize=4;0
modules-left = i3
modules-right = wlan battery date
modules-right = pulseaudio date
tray-position = right
@ -105,8 +105,8 @@ font-1 = unifont:fontformat=truetype:size=6:antialias=false;4
font-2 = Wuncon Siji:pixelsize=4;0
modules-left = i3
modules-center = backlight pulseaudio
modules-right = wlan battery date
modules-center = network
modules-right = pulseaudio date
tray-position = right
tray-padding = 2

View File

@ -25,19 +25,4 @@
default = current
[core]
editor = nvim
pager = delta
excludesfile = /home/legrems/.gitignore_global
[pager]
diff = delta
log = delta
reflog = delta
show = delta
[delta]
plus-style = "syntax #012800"
minus-style = "syntax #340001"
syntax-theme = Monokai Extended
;syntax-theme = gruvbox-dark
navigate = true
side-by-side = true
[interactive]
diffFilter = delta --color-only

View File

@ -3,3 +3,8 @@
tags
Session.vim
*.rest
cert.crt
cert.key
local_gestion_ssh_key
local_gestion_ssh_key.pub
start_vms.sh

View File

@ -12,9 +12,11 @@ def i3_command(command, *args, **kwargs):
def get_workspaces():
return i3_command("-t", "get_workspaces")
def get_outputs():
def get_output():
return i3_command("-t", "get_outputs")
def test():
pass
print(get_workspaces())
print(get_outputs())
print(get_output())

View File

@ -23,6 +23,9 @@ set-window-option -g mode-keys vi
bind -T copy-mode-vi v send-keys -X begin-selection
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'
set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",*:RGB"
# change color
#set -g pane-border-style 'fg=#660033'
#set -g pane-active-border-style 'fg=#990033 bg=default'