Mise à jouir de plusieurs fichiers
This commit is contained in:
parent
f7107714f8
commit
17e3ab7165
22 changed files with 113 additions and 94 deletions
12
.Xmodmap
12
.Xmodmap
|
@ -97,7 +97,7 @@ keycode 103 =
|
|||
keycode 104 = KP_Enter NoSymbol KP_Enter
|
||||
keycode 105 = Control_R NoSymbol Control_R
|
||||
keycode 106 = KP_Divide U2215 KP_Divide U2215 0x10000f7 VoidSymbol XF86Ungrab 0x10000f7 VoidSymbol XF86Ungrab
|
||||
keycode 107 = Menu Sys_Req Menu Sys_Req
|
||||
keycode 107 = Print Sys_Req Print Sys_Req
|
||||
keycode 108 = ISO_Level3_Shift NoSymbol ISO_Level3_Shift
|
||||
keycode 109 = Linefeed NoSymbol Linefeed
|
||||
keycode 110 = Home NoSymbol Home
|
||||
|
@ -138,7 +138,7 @@ keycode 144 = Find NoSymbol Find
|
|||
keycode 145 = XF86Cut NoSymbol XF86Cut
|
||||
keycode 146 = Help NoSymbol Help
|
||||
keycode 147 = XF86MenuKB NoSymbol XF86MenuKB
|
||||
keycode 148 = Print NoSymbol Print
|
||||
keycode 148 = XF86Calculator NoSymbol XF86Calculator
|
||||
keycode 149 =
|
||||
keycode 150 = XF86Sleep NoSymbol XF86Sleep
|
||||
keycode 151 = XF86WakeUp NoSymbol XF86WakeUp
|
||||
|
@ -208,10 +208,10 @@ keycode 214 = XF86Close NoSymbol XF86Close
|
|||
keycode 215 = XF86AudioPlay NoSymbol XF86AudioPlay
|
||||
keycode 216 = XF86AudioForward NoSymbol XF86AudioForward
|
||||
keycode 217 =
|
||||
keycode 218 = Menu NoSymbol Menu
|
||||
keycode 218 = Print NoSymbol Print
|
||||
keycode 219 =
|
||||
keycode 220 = XF86WebCam NoSymbol XF86WebCam
|
||||
keycode 221 =
|
||||
keycode 221 = XF86AudioPreset NoSymbol XF86AudioPreset
|
||||
keycode 222 =
|
||||
keycode 223 = XF86Mail NoSymbol XF86Mail
|
||||
keycode 224 = XF86Messenger NoSymbol XF86Messenger
|
||||
|
@ -244,5 +244,5 @@ keycode 250 =
|
|||
keycode 251 =
|
||||
keycode 252 =
|
||||
keycode 253 =
|
||||
keycode 254 =
|
||||
keycode 255 =
|
||||
keycode 254 = XF86WWAN NoSymbol XF86WWAN
|
||||
keycode 255 = XF86RFKill NoSymbol XF86RFKill
|
||||
|
|
|
@ -57,9 +57,9 @@ Xautolock.locker: i3lock-wrapper -e
|
|||
XTerm*reverseVideo: on
|
||||
XTerm*selectToClipboard: true
|
||||
|
||||
!URxvt.font: xft:IBM Plex Mono:size=10,xft:DejaVu Sans Mono:size=10
|
||||
URxvt.font: xft:xos4 Terminus:pixsize=16,xft:DejaVu Sans Mono:pixsize=16
|
||||
!URxvt.letterSpace: 1.5
|
||||
!URxvt.font: xft:IBM Plex Mono:size=12,xft:DejaVu Sans Mono:size=12
|
||||
URxvt.font: xft:xos4 Terminus:pixelsize=16,xft:DejaVu Sans Mono:pixelsize=16,xft:Noto Sans Mono:pixelsize=16
|
||||
!URxvt.letterSpace: -1
|
||||
URxvt.depth: 32
|
||||
!URxvt.background: [100]#000000
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@ eval $(ssh-agent -s)
|
|||
|
||||
|
||||
if [ -z "$DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]; then
|
||||
export XDG_CURRENT_DESKTOP=i3
|
||||
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
|
||||
export QT_QPA_PLATFORMTHEME=qt5ct
|
||||
export BROWSER="firefox"
|
||||
|
@ -28,8 +29,8 @@ if [ -z "$DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]; then
|
|||
startx
|
||||
logout
|
||||
elif [ "$XDG_VTNR" -ne 6 ]; then
|
||||
~/.local/bin/vconsole
|
||||
play -q "$HOME/Musique/WELCOME BACK.wav" &
|
||||
# ~/.local/bin/vconsole
|
||||
# play -q "$HOME/Musique/WELCOME BACK.wav" &
|
||||
export BROWSER=elinks
|
||||
fish
|
||||
logout
|
||||
|
|
2
.bashrc
2
.bashrc
|
@ -16,7 +16,7 @@ export GIT_PS1_SHOWUPSTREAM=verbose GIT_PS1_DESCRIBE_STYLE=branch
|
|||
## Define colors
|
||||
|
||||
BASE16_SHELL=$HOME/.config/base16-shell/
|
||||
[ -n "$PS1" ] && [ -s $BASE16_SHELL/profile_helper.sh ] && eval "$($BASE16_SHELL/profile_helper.sh)"
|
||||
[ "$XDG_CURRENT_DESKTOP" = "i3" ] && [ -s $BASE16_SHELL/profile_helper.sh ] && eval "$($BASE16_SHELL/profile_helper.sh)"
|
||||
|
||||
## Reset
|
||||
Text_Reset='\e[0m' # Text Reset
|
||||
|
|
|
@ -77,6 +77,7 @@ Disque dur${goto 140}${if_match ${hddtemp /dev/sda}>50}${color F2777A}$endif${hd
|
|||
CPU${goto 140}${if_match ${execi 5 sensors -j | jq '."k10temp-pci-00c3"."Tdie"."temp1_input"'}>70}${color F2777A}$endif${execi 5 sensors -j | jq '."k10temp-pci-00c3"."Tdie"."temp1_input"' | cut -d. -f1}°C${color}
|
||||
GPU${goto 140}${if_match ${execi 5 sensors -j | jq '."amdgpu-pci-0900"."temp1"."temp1_input"'}>70}${color F2777A}$endif${execi 5 sensors -j | jq '."amdgpu-pci-0900"."temp1"."temp1_input"' | cut -d. -f1}°C${color}
|
||||
GPU${goto 140}${if_match ${execi 5 sensors -j | jq '."amdgpu-pci-0900"."power1"."power1_average"'}>180}${color F2777A}$endif${execi 5 sensors -j | jq '."amdgpu-pci-0900"."power1"."power1_average"' | cut -d. -f1} W${color}
|
||||
Pièce${goto 140}${if_match ${execi 5 sensors -j | jq '."it8792-isa-0a60"."temp2"."temp2_input"'}>30}${color F2777A}$endif${execi 5 sensors -j | jq '."it8792-isa-0a60"."temp2"."temp2_input"' | cut -d. -f1}°C${color}
|
||||
|
||||
${color2}${font2}Système $hr$font$color${voffset 2}
|
||||
Kernel${goto 140}$kernel
|
||||
|
|
|
@ -22,8 +22,9 @@ set base0E CC99CC
|
|||
set base0F D27B53
|
||||
|
||||
#if status --is-interactive
|
||||
if test "$XDG_CURRENT_DESKTOP" = "i3"
|
||||
source $HOME/.config/base16-shell/profile_helper.fish
|
||||
#end
|
||||
end
|
||||
|
||||
function colortest
|
||||
~/.config/base16-shell/colortest base16-$argv[1].sh
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
LocationMode=path-bar
|
||||
ShowHidden=false
|
||||
ShowSizeColumn=true
|
||||
GeometryX=1668
|
||||
GeometryX=516
|
||||
GeometryY=246
|
||||
GeometryWidth=887
|
||||
GeometryHeight=585
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Beware! This file is rewritten by htop when settings are changed in the interface.
|
||||
# The parser is also very primitive, and not human-friendly.
|
||||
fields=0 17 18 48 49 38 39 113 111 46 47 2 1
|
||||
sort_key=47
|
||||
sort_key=0
|
||||
sort_direction=1
|
||||
hide_threads=0
|
||||
hide_kernel_threads=1
|
||||
|
|
|
@ -50,9 +50,8 @@ bindsym $mod+n border normal 1
|
|||
|
||||
# Font for window titles. Will also be used by the bar unless a different font
|
||||
# is used in the bar {} block below.
|
||||
# font xft:xos4 Terminus 16px
|
||||
# font xft:Linux Biolinum 11
|
||||
font xft:IBM Plex Sans, DejaVu Sans 10
|
||||
# font xft:IBM Plex Sans, DejaVu Sans 10
|
||||
font xft:xos4 Terminus, DejaVu Sans Mono 14
|
||||
|
||||
# Use Mouse+$mod to drag floating windows
|
||||
floating_modifier $mod
|
||||
|
@ -102,8 +101,8 @@ bindsym XF86MonBrightnessDown exec --no-startup-id echo $((( $(cat /sys/class/ba
|
|||
bindsym $mod+Home exec --no-startup-id pkill -x -USR1 redshift
|
||||
|
||||
# Volume controls
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id BLOCK_BUTTON=4 ${HOME}/.i3blocks/volume && pkill -RTMIN+10 i3blocks
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id BLOCK_BUTTON=5 ${HOME}/.i3blocks/volume && pkill -RTMIN+10 i3blocks
|
||||
# bindsym XF86AudioRaiseVolume exec --no-startup-id BLOCK_BUTTON=4 ${HOME}/.i3blocks/volume && pkill -RTMIN+10 i3blocks
|
||||
# bindsym XF86AudioLowerVolume exec --no-startup-id BLOCK_BUTTON=5 ${HOME}/.i3blocks/volume && pkill -RTMIN+10 i3blocks
|
||||
bindsym XF86AudioMute exec --no-startup-id BLOCK_BUTTON=2 ${HOME}/.i3blocks/volume && pkill -RTMIN+10 i3blocks
|
||||
bindsym XF86AudioMicMute exec --no-startup-id BLOCK_BUTTON=2 BLOCK_INSTANCE=Capture ${HOME}/.i3blocks/volume && pkill -RTMIN+10 i3blocks
|
||||
|
||||
|
@ -111,7 +110,9 @@ bindsym XF86AudioMicMute exec --no-startup-id BLOCK_BUTTON=2 BLOCK_INSTANCE=Capt
|
|||
bindsym XF86AudioNext exec --no-startup-id mpc next
|
||||
bindsym XF86AudioPrev exec --no-startup-id mpc prev
|
||||
bindsym XF86AudioPlay exec --no-startup-id mpc toggle
|
||||
bindsym XF86AudioStop exec --no-startup-id mocp stop
|
||||
bindsym XF86AudioStop exec --no-startup-id mpc stop
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id mpc volume +2
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id mpc volume -2
|
||||
|
||||
|
||||
# LEDs controls
|
||||
|
@ -278,6 +279,7 @@ workspace $ws8 output HDMI-A-1
|
|||
#assign [class="Surf"] $ws2
|
||||
#assign [class="Vlc"] $ws3
|
||||
#assign [class="Atom"] $ws4
|
||||
assign [class="projectM-pulseaudio"] $ws4
|
||||
|
||||
# Open specific applications in floating mode
|
||||
#for_window [title="alsamixer"] floating enable border pixel 1
|
||||
|
@ -324,9 +326,9 @@ set $mode_system (l)ock, (e)xit, (s)uspend, (h)ibernate, (r)eboot, (S)hutdown
|
|||
mode "$mode_system" {
|
||||
bindsym l exec --no-startup-id xscreensaver-command -lock, mode "default"
|
||||
#bindsym l exec --no-startup-id i3lock-wrapper -e, mode "default"
|
||||
bindsym s exec --no-startup-id xscreensaver-command -lock && systemctl suspend, mode "default"
|
||||
bindsym s exec --no-startup-id systemctl suspend, mode "default"
|
||||
bindsym e exec --no-startup-id i3-msg exit, mode "default"
|
||||
bindsym h exec --no-startup-id xscreensaver-command -lock && systemctl hibernate, mode "default"
|
||||
bindsym h exec --no-startup-id systemctl hibernate, mode "default"
|
||||
bindsym r exec --no-startup-id systemctl reboot, mode "default"
|
||||
bindsym Shift+s exec --no-startup-id systemctl poweroff, mode "default"
|
||||
|
||||
|
@ -373,7 +375,7 @@ exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
|||
exec --no-startup-id conky --config "$HOME/.config/conky/conkyrc1"
|
||||
exec --no-startup-id conky --config "$HOME/.config/conky/conkyrc2"
|
||||
exec --no-startup-id conky --config "$HOME/.config/conky/conkyrc3"
|
||||
exec --no-startup-id xscreensaver -no-splash
|
||||
#exec --no-startup-id xscreensaver -no-splash
|
||||
exec_always --no-startup-id setcursor
|
||||
exec claws-mail --online
|
||||
#exec claws-mail --alternate-config-dir $HOME/.claws-mail-cognix --online
|
||||
|
@ -394,7 +396,6 @@ exec --no-startup-id steam-native -silent -language french
|
|||
#exec --no-startup-id sleep 5 && qbittorrent
|
||||
#exec --no-startup-id gdfs $HOME/.google_drive $HOME/Google_Drive/
|
||||
#exec --no-startup-id transmission-gtk -m
|
||||
exec --no-startup-id play -q "$HOME/Musique/WELCOME BACK.wav"
|
||||
exec --no-startup-id syncthing-gtk
|
||||
exec --no-startup-id SVPManager
|
||||
|
||||
|
@ -411,8 +412,8 @@ bar {
|
|||
bindsym button4 nop
|
||||
bindsym button5 nop
|
||||
# font -xos4-terminus-medium-r-normal--14-140-72-72-c-80-iso10646-1
|
||||
font xft:IBM Plex Mono, DejaVu Sans Mono 11
|
||||
# font xft:Transponder AOE 12
|
||||
# font xft:IBM Plex Mono, DejaVu Sans Mono 11
|
||||
font xft:xos4 Terminus, DejaVu Sans Mono 14
|
||||
strip_workspace_numbers yes
|
||||
|
||||
colors {
|
||||
|
|
|
@ -376,7 +376,7 @@ replaygain "auto"
|
|||
# result in the volume of all playing audio to be adjusted so the output has
|
||||
# equal "loudness". This setting is disabled by default.
|
||||
#
|
||||
volume_normalization "yes"
|
||||
#volume_normalization "yes"
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ hwdec-codecs=all
|
|||
|
||||
# Audio
|
||||
#audio-channels=6
|
||||
#ad-lavc-downmix=no
|
||||
ad-lavc-downmix=no
|
||||
#af=ladspa=/usr/lib/ladspa/bs2b.so:bs2b:[725,4.5]
|
||||
|
||||
# Language
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
-o %(title)s.%(ext)s
|
||||
-o %(title)s.mkv
|
||||
--merge-output-format mkv
|
||||
--sub-lang fr,en
|
||||
--embed-subs
|
||||
--write-sub
|
||||
|
|
|
@ -78,22 +78,22 @@ end=$(($battery_count - 1))
|
|||
for i in $(seq 0 $end);
|
||||
do
|
||||
# if (( percentages[$i] > 0 && percentages[$i] < 20 )); then
|
||||
# squares="■"
|
||||
# squares="█"
|
||||
# elif (( percentages[$i] >= 20 && percentages[$i] < 40 )); then
|
||||
# squares="■■"
|
||||
# squares="██"
|
||||
# elif (( percentages[$i] >= 40 && percentages[$i] < 60 )); then
|
||||
# squares="■■■"
|
||||
# squares="███"
|
||||
# elif (( percentages[$i] >= 60 && percentages[$i] < 80 )); then
|
||||
# squares="■■■■"
|
||||
# squares="████"
|
||||
# elif (( percentages[$i] >=80 )); then
|
||||
# squares="■■■■■"
|
||||
# squares="█████"
|
||||
# fi
|
||||
percents[$i]=$(( percentages[$i] / 2 ))
|
||||
(( percents > 48 )) && percents=48
|
||||
_full_squares=$(( percents[$i] /8 ))
|
||||
for t in $(seq 1 $_full_squares)
|
||||
do
|
||||
squares+="■"
|
||||
squares+="█"
|
||||
done
|
||||
|
||||
if [[ $(( percents[$i] - ( _full_squares * 8 ) )) -eq 7 ]]
|
||||
|
@ -175,7 +175,7 @@ do
|
|||
_blanks=$(( 6 - ${#squares} ))
|
||||
for t in $(seq 1 $_blanks)
|
||||
do
|
||||
squares+="</span><span foreground=\"#515151\" background=\"#515151\">■"
|
||||
squares+="</span><span foreground=\"#515151\" background=\"#515151\">█"
|
||||
done
|
||||
# Print Battery number if there is more than one
|
||||
if (( $end > 0 )) ; then
|
||||
|
|
|
@ -28,4 +28,4 @@ else
|
|||
fi
|
||||
fi
|
||||
|
||||
echo "<span foreground=\"$color\">■</span>"
|
||||
echo "<span foreground=\"$color\">█</span>"
|
||||
|
|
|
@ -63,8 +63,8 @@ my $indi = "N";
|
|||
|
||||
# Output
|
||||
if (($indicators{$indicator} || 0) & $mask) {
|
||||
printf "<span foreground=\"%s\">■</span>", $color_on;
|
||||
printf "<span foreground=\"%s\">█</span>", $color_on;
|
||||
} else {
|
||||
printf "<span foreground=\"%s\">■</span>", $color_off;
|
||||
printf "<span foreground=\"%s\">█</span>", $color_off;
|
||||
}
|
||||
exit 0
|
||||
|
|
|
@ -17,11 +17,11 @@ case $BLOCK_BUTTON in
|
|||
5) mocp -j $(($(mocp -Q "%cs") + 5))s ;;
|
||||
esac
|
||||
|
||||
status="<span foreground=\"#6699CC\">■</span>"
|
||||
status="<span foreground=\"#6699CC\">█</span>"
|
||||
case $origstatus in
|
||||
STOP ) status="<span foreground=\"#F2777A\">■</span>" ;;
|
||||
PAUSE ) status="<span foreground=\"#FFCC66\">■</span>" ;;
|
||||
PLAY ) status="<span foreground=\"#99CC99\">■</span>" ;;
|
||||
STOP ) status="<span foreground=\"#F2777A\">█</span>" ;;
|
||||
PAUSE ) status="<span foreground=\"#FFCC66\">█</span>" ;;
|
||||
PLAY ) status="<span foreground=\"#99CC99\">█</span>" ;;
|
||||
esac
|
||||
|
||||
if [[ "$origstatus" != "STOP" ]]
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
LONG=30
|
||||
SHORT=15
|
||||
LONG=25
|
||||
SHORT=10
|
||||
|
||||
human_time() {
|
||||
local seconds="$1"
|
||||
|
@ -34,6 +34,9 @@ case $BLOCK_BUTTON in
|
|||
1) mpc -q prev ;;
|
||||
2) mpc -q toggle ;;
|
||||
3) mpc -q next ;;
|
||||
4) mpc -q volume +2 ;;
|
||||
5) mpc -q volume -2 ;;
|
||||
#?*) notify-send "Test" "$BLOCK_BUTTON" ;;
|
||||
esac
|
||||
|
||||
status="<span foreground=\"#6699CC\">"
|
||||
|
@ -109,17 +112,17 @@ then
|
|||
|
||||
if [[ "$longsong" =~ § ]]
|
||||
then
|
||||
longsong="<i>${longsong/§/</i> }"
|
||||
longsong="<u>${longsong/§/</u> }"
|
||||
elif [[ "$song" =~ § ]]
|
||||
then
|
||||
longsong="<i>${longsong}</i>"
|
||||
longsong="<u>${longsong}</u>"
|
||||
fi
|
||||
if [[ "$shortsong" =~ § ]]
|
||||
then
|
||||
shortsong="<i>${shortsong/§/</i> }"
|
||||
shortsong="<u>${shortsong/§/</u> }"
|
||||
elif [[ "$song" =~ § ]]
|
||||
then
|
||||
shortsong="<i>${shortsong}</i>"
|
||||
shortsong="<u>${shortsong}</u>"
|
||||
fi
|
||||
|
||||
echo "${longsong} $status$longtime</span>"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
if [[ -f /dev/shm/claws_offline ]]
|
||||
then
|
||||
echo "<span foreground=\"#F2777A\">■</span>"
|
||||
echo "<span foreground=\"#F2777A\">█</span>"
|
||||
exit
|
||||
fi
|
||||
|
||||
|
@ -17,9 +17,9 @@ total=$((${#avail[@]} + ${#aur[@]}))
|
|||
|
||||
if [[ $total -eq 0 ]]
|
||||
then
|
||||
echo "<span foreground=\"#99CC99\">■</span>"
|
||||
echo "<span foreground=\"#99CC99\">█</span>"
|
||||
else
|
||||
echo "<span foreground=\"#FFCC66\">■</span>"
|
||||
echo "<span foreground=\"#FFCC66\">█</span>"
|
||||
if [[ $(cat /dev/shm/updates) -ne $total ]] || [[ -n "$BLOCK_BUTTON" ]]
|
||||
then
|
||||
[[ $total -eq 1 ]] && notify-send "1 mise à jour disponible" "$(for item in ${avail[@]} ${aur[@]}; do echo -n $item; done)"
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
|
||||
if nmcli dev | grep tun0 | cut -f3 | grep " connecté" &>/dev/null
|
||||
then
|
||||
echo "<span foreground=\"#99CC99\">■</span>"
|
||||
echo "<span foreground=\"#99CC99\">█</span>"
|
||||
[[ ! -f /dev/shm/vpn ]] && echo 1 > /dev/shm/vpn
|
||||
else
|
||||
echo "<span foreground=\"#515151\">■</span>"
|
||||
echo "<span foreground=\"#515151\">█</span>"
|
||||
if [[ -f /dev/shm/vpn ]]
|
||||
then
|
||||
notify-send -u critical "VPN" "Déconnecté"
|
||||
|
|
|
@ -13,5 +13,5 @@ do
|
|||
infos="<i>Arrêt</i>"
|
||||
fi
|
||||
notify-send "MPD" "$infos"
|
||||
# pidof cava && sleep 1 && pkill -USR1 cava
|
||||
pidof cava && pkill -USR1 cava
|
||||
done
|
||||
|
|
|
@ -1,2 +1,5 @@
|
|||
let g:netrw_dirhistmax =10
|
||||
let g:netrw_dirhist_cnt =0
|
||||
let g:netrw_dirhist_cnt =3
|
||||
let g:netrw_dirhist_1='/home/breizh'
|
||||
let g:netrw_dirhist_2='/home'
|
||||
let g:netrw_dirhist_3='/home/breizh'
|
||||
|
|
82
.xinitrc
82
.xinitrc
|
@ -1,47 +1,55 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# ~/.xinitrc
|
||||
#
|
||||
# Executed by startx (run your window manager from here)
|
||||
|
||||
if [ -d /etc/X11/xinit/xinitrc.d ]; then
|
||||
for f in /etc/X11/xinit/xinitrc.d/*; do
|
||||
[ -x "$f" ] && . "$f"
|
||||
done
|
||||
unset f
|
||||
userresources=$HOME/.Xresources
|
||||
usermodmap=$HOME/.Xmodmap
|
||||
sysresources=/etc/X11/xinit/.Xresources
|
||||
sysmodmap=/etc/X11/xinit/.Xmodmap
|
||||
|
||||
# merge in defaults and keymaps
|
||||
|
||||
if [ -f $sysresources ]; then
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
xrdb -merge $sysresources
|
||||
|
||||
fi
|
||||
|
||||
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
|
||||
export XDG_CURRENT_DESKTOP="i3"
|
||||
if [ -f $sysmodmap ]; then
|
||||
xmodmap $sysmodmap
|
||||
fi
|
||||
|
||||
DEFAULT_SESSION='i3 --shmlog-size 0'
|
||||
if [ -f "$userresources" ]; then
|
||||
|
||||
/usr/bin/numlockx on
|
||||
[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources
|
||||
|
||||
[[ -f ~/.fehbg ]] && ~/.fehbg
|
||||
[[ -f ~/.screenlayout/home.sh ]] && ~/.screenlayout/home.sh
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
xrdb -merge "$userresources"
|
||||
|
||||
fi
|
||||
|
||||
if [ -f "$usermodmap" ]; then
|
||||
xmodmap "$usermodmap"
|
||||
fi
|
||||
|
||||
# start some nice programs
|
||||
|
||||
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
|
||||
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
|
||||
[ -x "$f" ] && . "$f"
|
||||
done
|
||||
unset f
|
||||
fi
|
||||
|
||||
[ -f $HOME/.fehbg ] && $HOME/.fehbg
|
||||
[ -f $HOME/.screenlayout/home.sh ] && $HOME/.screenlayout/home.sh
|
||||
setxkbmap fr oss
|
||||
|
||||
#[[ -f ~/.Xmodmap ]] && xmodmap ~/.Xmodmap
|
||||
|
||||
case $1 in
|
||||
awesome ) exec dbus-launch awesome ;;
|
||||
bspwm ) exec dbus-launch bspwm-session ;;
|
||||
budgie ) exec dbus-launch budgie-desktop ;;
|
||||
cinnamon ) exec dbus-launch cinnamon-session ;;
|
||||
deepin ) exec dbus-launch startdde ;;
|
||||
enlightenment ) exec dbus-launch enlightenment_start ;;
|
||||
fluxbox ) exec dbus-launch startfluxbox ;;
|
||||
gnome ) exec dbus-launch gnome-session ;;
|
||||
i3|i3wm ) exec dbus-launch i3 --shmlog-size 0 ;;
|
||||
jwm ) exec dbus-launch jwm ;;
|
||||
kde ) exec dbus-launch startkde ;;
|
||||
lxde ) exec dbus-launch startlxde ;;
|
||||
lxqt ) exec dbus-launch lxqt-session ;;
|
||||
mate ) exec dbus-launch mate-session ;;
|
||||
xfce ) exec dbus-launch xfce4-session ;;
|
||||
|
||||
* ) exec dbus-launch $DEFAULT_SESSION ;;
|
||||
esac
|
||||
exec i3 #--shmlog-size=26214400
|
||||
|
|
Loading…
Reference in a new issue