Compare commits
4 Commits
master
...
SMWorkstat
Author | SHA1 | Date | |
---|---|---|---|
|
d370f81f70 | ||
|
0015bb8166 | ||
|
f91ba208eb | ||
|
ca9d68451b |
@ -9,10 +9,14 @@ font pango: Noto Sans 8
|
||||
floating_modifier $super
|
||||
|
||||
#autostart
|
||||
exec --no-startup-id hsetroot -center ~/.wallpaper.png
|
||||
exec --no-startup-id ibus-daemon &
|
||||
exec --no-startup-id hsetroot -cover ~/Pictures/wallpaper/wallhaven-39e3r6.jpg
|
||||
exec --no-startup-id xsettingsd &
|
||||
exec --no-startup-id compton -b
|
||||
|
||||
# Monitor setup
|
||||
exec_always --no-startup-id xrandr --output DP-2 --right-of DP-1 --auto
|
||||
|
||||
# start a terminal
|
||||
bindsym $super+Return exec i3-sensible-terminal
|
||||
|
||||
@ -22,18 +26,19 @@ bindsym $super+d exec rofi -lines 12 -padding 18 -width 60 -location 0 -show dru
|
||||
|
||||
# common apps keybinds
|
||||
bindsym Print exec scrot 'Cheese_%a-%d%b%y_%H.%M.png' -e 'viewnior ~/$f'
|
||||
bindsym $super+l exec i3lock -i ~/.wallpaper.png
|
||||
bindsym $super+l exec i3lock -d -t --image=~/Pictures/wallpaper/wallhaven-0je2yp.jpg
|
||||
bindsym $super+Shift+w exec firefox
|
||||
bindsym $super+Shift+f exec thunar;workspace 3;focus
|
||||
#bindsym $super+Shift+g exec geany
|
||||
bindsym $super+Shift+c exec code --no-sandbox
|
||||
bindsym $super+Shift+s exec slack --silent
|
||||
|
||||
#change volume
|
||||
# bindsym XF86AudioRaiseVolume exec amixer -q set Master
|
||||
# bindsym XF86AudioLowerVolume exec amixer -q set Master 5%-
|
||||
# bindsym XF86AudioMute exec amixer set Master toggle
|
||||
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume 0 +5%
|
||||
bindsym XF86AudioLowerVolume exec pactl set-sink-volume 0 -5%
|
||||
bindsym XF86AudioMute exec pactl set-sink-mute 0 toggle
|
||||
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume 1 +5%
|
||||
bindsym XF86AudioLowerVolume exec pactl set-sink-volume 1 -5%
|
||||
bindsym XF86AudioMute exec pactl set-sink-mute 1 toggle
|
||||
|
||||
# music control
|
||||
#bindsym XF86AudioNext exec mpc next
|
||||
@ -82,24 +87,56 @@ bindsym $super+space floating toggle
|
||||
# change focus between tiling / floating windows
|
||||
bindsym $super+Shift+space focus mode_toggle
|
||||
|
||||
set $workspace1 "1: Terminal"
|
||||
set $workspace2 "2: Firefox"
|
||||
set $workspace3 "3: File"
|
||||
set $workspace4 "4: Time"
|
||||
set $workspace5 "5: Editor"
|
||||
set $workspace6 "6: Chat"
|
||||
set $workspace7 "7: Terminal"
|
||||
set $workspace8 "8: Terminal"
|
||||
set $workspace9 "9: Music"
|
||||
|
||||
|
||||
# switch to workspace
|
||||
bindsym $alt+Control+Right workspace next
|
||||
bindsym $alt+Control+Left workspace prev
|
||||
bindsym $super+1 workspace 1
|
||||
bindsym $super+2 workspace 2
|
||||
bindsym $super+3 workspace 3
|
||||
bindsym $super+4 workspace 4
|
||||
bindsym $super+5 workspace 5
|
||||
bindsym $super+6 workspace 6
|
||||
bindsym $super+1 workspace $workspace1
|
||||
bindsym $super+2 workspace $workspace2
|
||||
bindsym $super+3 workspace $workspace3
|
||||
bindsym $super+4 workspace $workspace4
|
||||
bindsym $super+5 workspace $workspace5
|
||||
bindsym $super+6 workspace $workspace6
|
||||
bindsym $super+7 workspace $workspace7
|
||||
bindsym $super+8 workspace $workspace8
|
||||
bindsym $super+9 workspace $workspace9
|
||||
|
||||
# move focused container to workspace
|
||||
bindsym $super+Shift+1 move container to workspace 1
|
||||
bindsym $super+Shift+2 move container to workspace 2
|
||||
bindsym $super+Shift+3 move container to workspace 3
|
||||
bindsym $super+Shift+4 move container to workspace 4
|
||||
bindsym $super+Shift+5 move container to workspace 5
|
||||
bindsym $super+Shift+6 move container to workspace 6
|
||||
bindsym $super+Shift+1 move container to workspace $workspace1
|
||||
bindsym $super+Shift+2 move container to workspace $workspace2
|
||||
bindsym $super+Shift+3 move container to workspace $workspace3
|
||||
bindsym $super+Shift+4 move container to workspace $workspace4
|
||||
bindsym $super+Shift+5 move container to workspace $workspace5
|
||||
bindsym $super+Shift+6 move container to workspace $workspace6
|
||||
bindsym $super+Shift+7 move container to workspace $workspace7
|
||||
bindsym $super+Shift+8 move container to workspace $workspace8
|
||||
bindsym $super+Shift+9 move container to workspace $workspace9
|
||||
|
||||
# Assign workspace on specific monitor
|
||||
workspace $workspace1 output DP-1
|
||||
workspace $workspace2 output DP-1
|
||||
workspace $workspace3 output DP-1
|
||||
workspace $workspace4 output DP-1
|
||||
#workspace $workspace5 output DP-2
|
||||
workspace $workspace5 output DP-1
|
||||
#workspace $workspace6 output DP-2
|
||||
workspace $workspace6 output DP-1
|
||||
#workspace $workspace7 output DP-2
|
||||
workspace $workspace7 output DP-1
|
||||
#workspace $workspace8 output DP-2
|
||||
workspace $workspace8 output DP-1
|
||||
#workspace $workspace9 output DP-2
|
||||
workspace $workspace9 output DP-1
|
||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||
bindsym $super+Shift+r restart
|
||||
|
||||
@ -134,12 +171,13 @@ bar {
|
||||
|
||||
# window rules, you can find the window class using xprop
|
||||
for_window [class=".*"] border pixel 4
|
||||
assign [class=URxvt] 1
|
||||
assign [class=Firefox|Transmission-gtk] 2
|
||||
assign [class=Thunar|File-roller] 3
|
||||
assign [class=Geany|Evince|Gucharmap|Soffice|libreoffice*] 4
|
||||
assign [class=Audacity|Vlc|mpv|Ghb|Xfburn|Gimp*|Inkscape] 5
|
||||
assign [class=Lxappearance|System-config-printer.py|Lxtask|GParted|Pavucontrol|Exo-helper*|Lxrandr|Arandr] 6
|
||||
assign [class=URxvt] $workspace1
|
||||
assign [class=Firefox|Transmission-gtk] $workspace2
|
||||
assign [class=Thunar|File-roller] $workspace3
|
||||
assign [class=Audacity|Vlc|mpv|Ghb|Xfburn|Gimp*|Inkscape] $workspace4
|
||||
assign [class=Geany|Evince|Gucharmap|Soffice|libreoffice*] $workspace5
|
||||
assign [class=Lxappearance|System-config-printer.py|Lxtask|GParted|Pavucontrol|Exo-helper*|Lxrandr|Arandr] $workspace6
|
||||
assign [class=Spotify] $workspace9
|
||||
for_window [class=Viewnior|feh|Audacious|File-roller|Lxappearance|Lxtask|Pavucontrol] floating enable
|
||||
for_window [class=URxvt|Firefox|Geany|Evince|Soffice|libreoffice*|mpv|Ghb|Xfburn|Gimp*|Inkscape|Vlc|Lxappearance|Audacity] focus
|
||||
for_window [class=Xfburn|GParted|System-config-printer.py|Lxtask|Pavucontrol|Exo-helper*|Lxrandr|Arandr] focus
|
||||
@ -151,3 +189,4 @@ client.unfocused #2f343f #2f343f #d8dee8 #2f343f #2f343f
|
||||
client.urgent #2f343f #2f343f #d8dee8 #2f343f #2f343f
|
||||
client.placeholder #2f343f #2f343f #d8dee8 #2f343f #2f343f
|
||||
client.background #2f343f
|
||||
|
@ -12,10 +12,9 @@ order += "load"
|
||||
order += "cpu_temperature 0"
|
||||
order += "disk /"
|
||||
order += "disk /home"
|
||||
# order += "ethernet eno1"
|
||||
order += "wireless wlo1"
|
||||
order += "ethernet enp0s31f6"
|
||||
# order += "wireless wlo1"
|
||||
order += "volume master"
|
||||
order += "battery 0"
|
||||
order += "tztime local"
|
||||
|
||||
load {
|
||||
@ -35,7 +34,7 @@ disk "/home" {
|
||||
format = "<span background='#a1d569'> %free Free </span>"
|
||||
}
|
||||
|
||||
ethernet eno1 {
|
||||
ethernet enp0s31f6 {
|
||||
format_up = "<span background='#88c0d0'> %ip </span>"
|
||||
format_down = "<span background='#88c0d0'> Disconnected </span>"
|
||||
}
|
||||
@ -53,18 +52,6 @@ volume master {
|
||||
mixer_idx = 0
|
||||
}
|
||||
|
||||
battery 0 {
|
||||
last_full_capacity = true
|
||||
format = "<span background='#a3be8c'> %status %percentage </span>"
|
||||
format_down = "No Battery"
|
||||
status_chr = "Charging"
|
||||
status_bat = "Battery"
|
||||
status_unk = "Unknown"
|
||||
status_full = "Charged"
|
||||
path = "/sys/class/power_supply/BAT%d/uevent"
|
||||
low_threshold = 10
|
||||
}
|
||||
|
||||
tztime local {
|
||||
format = "<span background='#81a1c1'> %time </span>"
|
||||
format_time = " %a %-d %b %H:%M"
|
BIN
.fonts/icomoon/feather.ttf
Executable file
BIN
.fonts/icomoon/feather.ttf
Executable file
Binary file not shown.
3
ibus.md
Normal file
3
ibus.md
Normal file
@ -0,0 +1,3 @@
|
||||
# ibus setup in SMWorkstation
|
||||
|
||||
ibus-setup need work under non-anaconda environment
|
@ -1,4 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
ln -s ${BASEDIR}/i3 ~/.config/i3
|
||||
#ln -s ${BASEDIR}/i3 ~/.config/i3
|
||||
echo $BASEDIR
|
||||
|
Loading…
x
Reference in New Issue
Block a user