Alacritty new terminal emu, ranger devicons, background rotator, 1440p preparedNeed solution for multiple screen resolutions, install.sh selection?
This commit is contained in:
16
.i3/config
16
.i3/config
@@ -1,12 +1,12 @@
|
||||
# T's desktop v3
|
||||
#exec --no-stratup-id xrandr --output eDP1 --primary --auto
|
||||
exec --no-startup-id xrandr --output HDMI-0 --auto --mode 1920x1080 --primary --dpi 96/HDMI-0
|
||||
exec --no-startup-id xrandr --output HDMI-0 --auto --mode 2048x1152 --primary
|
||||
exec --no-startup-id mplayer -fs ~/.i3/boot.mp4
|
||||
exec --no-startup-id xset -dpms && xset s noblank && xset s noexpose && xset dpms 600 1800 360
|
||||
exec --no-startup-id xautolock -time 10 -locker ~/.i3/scripts/locker.sh
|
||||
exec --no-startup-id xautolock -locknow
|
||||
#DAEMONS
|
||||
exec --no-startup-id urxvtd -q
|
||||
#exec --no-startup-id urxvtd -q
|
||||
exec --no-startup-id tracker daemon -s
|
||||
exec --no-startup-id udiskie -t
|
||||
exec --no-startup-id nitrogen --restore
|
||||
@@ -18,7 +18,7 @@ exec --no-startup-id parcellite
|
||||
exec --no-startup-id blueman-applet
|
||||
#Layout
|
||||
exec setxkbmap us altgr-intl
|
||||
exec xmodmap ~/.config/i3/custom.map
|
||||
exec xmodmap ~/.i3/custom.map
|
||||
# US brackets on slovene special characters
|
||||
#exec xmodmap ~/.i3/custom.map
|
||||
|
||||
@@ -65,6 +65,8 @@ for_window [window_role="task_dialog"] floating enable
|
||||
assign [title="^ranger$"] → $WS4
|
||||
assign [title="^ncmpcpp$"] → $WS5
|
||||
assign [class="^URxvt$"] → $WS3
|
||||
assign [class="^Termite$"] → $WS3
|
||||
assign [class="^Alacritty$"] → $WS3
|
||||
assign [class="^Firefox$"] → $WS2
|
||||
assign [class="^Steam*"] → $WSW2
|
||||
assign [class="^Gimp$"] → $WSW4
|
||||
@@ -97,7 +99,7 @@ bindsym $mod+space focus mode_toggle
|
||||
|
||||
#--CUSTOM COMMANDS--#
|
||||
#KEYBOARD LAYOUT SWITCHING
|
||||
bindsym $alt+F3 exec --no-startup-id setxkbmap us altgr-intl && xmodmap ~/.config/i3/custom.map
|
||||
bindsym $alt+F3 exec --no-startup-id setxkbmap us altgr-intl && xmodmap ~/.i3/custom.map
|
||||
bindsym $alt+F2 exec --no-startup-id setxkbmap si
|
||||
|
||||
#LAUNCH PROGRAM
|
||||
@@ -105,10 +107,10 @@ bindsym $mod+d exec --no-startup-id rofi -color-enabled -show run -font "Hack 12
|
||||
bindsym $mod+Shift+d exec --no-startup-id j4-dmenu-desktop --dmenu='rofi -dmenu -font "Hack 12" -o 85 -p "Run:"'
|
||||
bindsym $alt+Tab exec --no-startup-id rofi -show window -font "Hack 12"
|
||||
|
||||
bindsym $mod+t exec urxvtc
|
||||
bindsym $mod+t exec alacritty
|
||||
bindsym $mod+w exec firefox
|
||||
bindsym $mod+Shift+f exec urxvtc -e ranger ~
|
||||
bindsym $mod+m exec urxvtc -e ncmpcpp
|
||||
bindsym $mod+Shift+f exec alacritty -e ranger ~
|
||||
bindsym $mod+m exec alacritty -e ncmpcpp
|
||||
|
||||
#INTEGRATED-SETTINGS
|
||||
bindsym XF86AudioPlay exec mpc toggle
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
clear mod4
|
||||
keycode 49 = Hyper_L asciitilde Hyper_L asciitilde dead_grave dead_tilde dead_grave
|
||||
clear mod3
|
||||
keycode 94 = Hyper_L Hyper_L Hyper_L Hyper_L Hyper_L Hyper_L Hyper_L
|
||||
keycode 135 = Super_R Super_R Super_R Super_R Super_R Super_R Super_R
|
||||
add mod3 = Hyper_L
|
||||
add mod4 = Super_L Super_R
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
ARGS=(
|
||||
"--clock" "-s"
|
||||
"-i${HOME}/Pictures/backgrounds/6164e8_5775038.png"
|
||||
"-i${HOME}/Pictures/bg_1440p/Linux-Wallpapers-19-2560-x-1920.png"
|
||||
"--insidevercolor=35d75588"
|
||||
"--insidewrongcolor=d7355588"
|
||||
"--insidecolor=50505000"
|
||||
|
||||
9
.i3/scripts/rotate_background.sh
Executable file
9
.i3/scripts/rotate_background.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#! /bin/bash
|
||||
WALLPAPERS="/home/tristan/Pictures/bg_1440p"
|
||||
ALIST=( `ls -w1 $WALLPAPERS` )
|
||||
RANGE=${#ALIST[@]}
|
||||
let "number = $RANDOM"
|
||||
let LASTNUM="`cat $WALLPAPERS/.last` + $number"
|
||||
let "number = $LASTNUM % $RANGE"
|
||||
echo $number > $WALLPAPERS/.last
|
||||
nitrogen --set-scaled --save $WALLPAPERS/${ALIST[$number]}
|
||||
Reference in New Issue
Block a user